Page 1 of 3
what to do when starting an rpg?
Posted: April 22nd, 2012, 12:18 pm
by infernape
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.
Re: what to do when starting an rpg?
Posted: April 23rd, 2012, 6:10 am
by Tony
Start at this tutorial, it will answer most beginner questions:
http://www.sandboxgamemaker.com/wiki/in ... G_tutorial
Re: what to do when starting an rpg?
Posted: April 23rd, 2012, 10:20 am
by infernape
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
]
Re: what to do when starting an rpg?
Posted: April 23rd, 2012, 5:39 pm
by chocolatepie33
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
button for code, as that preserves formatting and allows for a lot of lines to be compacted easily.
Re: what to do when starting an rpg?
Posted: April 23rd, 2012, 6:46 pm
by Sircameron
Looks like you need to go into your critter's .cfg file and change the number for the
# = the number for the script (in the scripts folder) that you want it to use.. In your case "8"
Re: what to do when starting an rpg?
Posted: April 23rd, 2012, 8:18 pm
by Hirato
are you sure you're starting "Ogre Quest" via either the menu or...?
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"
Re: what to do when starting an rpg?
Posted: April 24th, 2012, 10:58 am
by infernape
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?
Re: what to do when starting an rpg?
Posted: April 27th, 2012, 7:17 pm
by Hirato
So your map is named "Ogre Quest" too? in that case, make sure to put it in quotes
Re: what to do when starting an rpg?
Posted: April 28th, 2012, 5:28 am
by infernape
Eerm sorry if i sound stupid but, put what in quotes?
Re: what to do when starting an rpg?
Posted: April 28th, 2012, 10:17 am
by kddekadenz
"Ogre Quest"