what to do when starting an rpg?

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.
infernape
Member
Member
Posts: 16
Joined: April 21st, 2012, 11:23 am

what to do when starting an rpg?

Postby infernape » April 22nd, 2012, 12:18 pm

Ok, so far I have made a map, added the first two npc's (2 ogres from mapmodel).
I have made a .cfg file and named it 'ogrequest' thats what my games called. Where do I save it?
Also can I just start making an rpg as soon as I download the program because somewhere else i read that i need to move files around? I didnt understand this?
I also read something about a critter? what is this and is it important when i want to make npc's with quests?
Also is there a third person for prg mode, where your a robot monkey, because no matter how many times i press '9' it doesnt work?
As you can tell I am very new to this so sorry.

User avatar
Tony
Member
Member
Posts: 113
Joined: November 13th, 2011, 5:04 am
Name: Tony
Location: Cincinnati, Ohio, USA

Re: what to do when starting an rpg?

Postby Tony » April 23rd, 2012, 6:10 am

Start at this tutorial, it will answer most beginner questions:

http://www.sandboxgamemaker.com/wiki/index.php?title=RPG_tutorial
Rockin' the Web for All the Right Reasons

Image Mind Reading Mastered
Image Canonize Juan Valdez and his Burro

infernape
Member
Member
Posts: 16
Joined: April 21st, 2012, 11:23 am

Re: what to do when starting an rpg?

Postby infernape » April 23rd, 2012, 10:20 am

Ok Well I did all it said and ended up with a critter ogre thing, But when I press 'E' The ogre sais something like 'do you want apples or i dont know, it seems like the scripts that its preprogramed with, this is asuming critters are preprogramed with differant scripts, however i followed the tutorial so shouldnt the ogre say what i made him say in this part?
Data/rpg/games/Ogre Quest/scripts/8.cfg

include scripts/1 //includes the default NPC script

r_script_say "Hello, how are you doing" [ // 0 - it's good practice to number your entries
r_response "I'm well, yourself?" 1 //goes to dialogue #1
r_response "Goodbye" -1 //closes the dialogue
]

r_script_say "I'm glad to hear it" [ // 1
r_response "Goodbye" -1
]

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: what to do when starting an rpg?

Postby chocolatepie33 » April 23rd, 2012, 5:39 pm

I'm not an RPG coding expert, but I think you might be editing the wrong file... I'm probably wrong on that, however.

Also, please use the [code][/code] button for code, as that preserves formatting and allows for a lot of lines to be compacted easily.
Julius wrote:Contribute to http://www.opengameart.org NOW!

Save the wiki!

User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

Re: what to do when starting an rpg?

Postby Sircameron » April 23rd, 2012, 6:46 pm

Looks like you need to go into your critter's .cfg file and change the number for the

Code: Select all

r_char_script #

# = the number for the script (in the scripts folder) that you want it to use.. In your case "8"

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: what to do when starting an rpg?

Postby Hirato » April 23rd, 2012, 8:18 pm

are you sure you're starting "Ogre Quest" via either the menu or...?

Code: Select all

newgame "Ogre Quest"


As stated in that tutorial, the directory and the cfg need to have the same names, ie "data/rpg/games/Ogre Quest/" and "data/rpg/games/Ogre Quest.cfg"
This is not a url, clicking it is pointless

infernape
Member
Member
Posts: 16
Joined: April 21st, 2012, 11:23 am

Re: what to do when starting an rpg?

Postby infernape » April 24th, 2012, 10:58 am

Thanks for the advise.
This is what is in my data/rpg/games/Ogre Quest/critters/0.cfg

Code: Select all

 r_char_name "Bob"
 r_char_mdl "ogre"
 r_char_script 8


This is in data/rpg/games/Ogre Quest/scripts/8.cfg

Code: Select all

 r_script_say "Hello, how are you doing" [ // 0 - it's good practice to number your entries
   r_response "I'm well, yourself?" 1 //goes to dialogue #1
   r_response "Goodbye" -1 //closes the dialogue
 ]
 
 r_script_say "I'm glad to hear it" [ // 1
   r_response "Goodbye" -1
 ]


This is in data/rpg/games/Ogre Quest.cfg

Code: Select all

 r_preparemap Ogre Quest 0
 
 firstmap Ogre Quest
 
 gameversion 1
 compatversion 1
 
 exec data/rpg/hud_standard.cfg


I can not see what is wrong? But I am new to rpg scripting.

are you sure you're starting "Ogre Quest" via either the menu or...?

This is exactly how I open up my game:
Open rpg from platinumartsandbox.2.7.1
Load map
My maps
rpg/Ogre Quest

I think this is right?

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: what to do when starting an rpg?

Postby Hirato » April 27th, 2012, 7:17 pm

So your map is named "Ogre Quest" too? in that case, make sure to put it in quotes
This is not a url, clicking it is pointless

infernape
Member
Member
Posts: 16
Joined: April 21st, 2012, 11:23 am

Re: what to do when starting an rpg?

Postby infernape » April 28th, 2012, 5:28 am

Eerm sorry if i sound stupid but, put what in quotes?

User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: what to do when starting an rpg?

Postby kddekadenz » April 28th, 2012, 10:17 am

"Ogre Quest"
Kelgar is an advanced RPG beeing developed in Sandbox


Return to “Sandbox General Support”

Who is online

Users browsing this forum: No registered users and 1 guest