Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

i dont know how to create npcs

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
andrew95434
Member
Member
Posts: 11
Joined: December 2nd, 2010, 7:57 am
Name: andrew galvario

i dont know how to create npcs

Post by andrew95434 »

i know the codes, but i dont know where are they placed (in what directory) and how i associate it with a character.
i dont know how can i add the npcs to the map, too.

sorry for my english
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: i dont know how to create npcs

Post by arcones »

Just out of curiosity, are you using FPS mode, RPG mode, or Kart mode? (I'm assuming you aren't using the last one)
Image
Want a user bar like this one? PM Leo!
andrew95434
Member
Member
Posts: 11
Joined: December 2nd, 2010, 7:57 am
Name: andrew galvario

Re: i dont know how to create npcs

Post by andrew95434 »

im using rpg mode
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: i dont know how to create npcs

Post by arcones »

Ah, alrighty then. The next question would be, which version of Sandbox are you using? I'm assuming you're using 2.6.1. If that's the case, click on your Sandbox folder and double click on the folder titled docs. Once that's done, double click on the RPG-MODE_Readme.

I'd also recommend looking under data>rpg>and all files contained there because there really isn't a lot of documentation of RPG mode yet.

Arcones
Image
Want a user bar like this one? PM Leo!
andrew95434
Member
Member
Posts: 11
Joined: December 2nd, 2010, 7:57 am
Name: andrew galvario

Re: i dont know how to create npcs

Post by andrew95434 »

i read the RPG-MODE_Readme but it doesnt contain nothing about npcs
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: i dont know how to create npcs

Post by arcones »

I know, however, the documentation on NPC's isn't really around so here's what we have so far: RPG Documentation
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: i dont know how to create npcs

Post by Leo_V117 »

As of the next release. Current RPG scripting will be invalid as our wonderful RPG programmer (Hirato), Has replaced all the current RPG code with a different style. It seems that the newest RPG code is faster and more "to-the-point" than the previous version. I'll just say this to you andrew95434, Enjoy it while you can, 2.6.2 (2.7) will not include the current RPG-script.
andrew95434
Member
Member
Posts: 11
Joined: December 2nd, 2010, 7:57 am
Name: andrew galvario

Re: i dont know how to create npcs

Post by andrew95434 »

i dont undestand nothing... there are not a tutorial of that? i only want to know where i place the npc's script, in what directory, and how i add it in the map
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: i dont know how to create npcs

Post by arcones »

When coding, you need to create a .cfg file for the coding which also has the name of your map as the prefix. Ex: mapname.ogz mapname.cfg
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: i dont know how to create npcs

Post by Leo_V117 »

Might as well try this...

Create (or load) a map and save it as "rpgtestscript/map".
go to "my_stuff/rpg/rpgtestscript" and copy "map-art.cfg", paste it into the same folder and call it "map", inside the "map.cfg", type this:

Code: Select all

//RPG Script
//Provided by Leo_V117
Below that, start writing the code for your NPC's.
Thats it!

Hope this helps.
- Leo
Locked