DXgeneration8
09-02-2006, 12:43 PM
Im going over the necessities of making games on RM2K so on and so forth....
also, this also assumes you know the basics suck as new pages and event mode.
Variables:
IMO, this is the most confusing one to understand, so im going to explain this first.
Variables, all they do is hold a number. so lets do this as in a real situation. Say theres a man eating cocktail wienie threatening that he will eat you if you dont collect his bananas for him. So you have to go look for these bananas. So make a weinie on the map, make him say, with the message command, "i will kill you. find my bananas" now choose "variable operation" and call your variable Banana. choose "set" under operand put 0. done. now, the variable BANANA holds 0.
Somewhere else, maybe on the same map, or another dimension, whatever your game goes with, Make the hero find a item named "banana". in that event, change the variable (with "variable options") BANANA to 1 (set operand to 1), then erase event. now, edit the weinie in the event section. make a second page for the weinie (on top, it says "new page") make sure you are on the second page (the tabs indicate which page you are on) on the side it says "switch, switch, variable, item, hero, or timer". select variable. make sure that the banana variable is selected, and set that number below the variable selection to 1. on the side, where you edit the script, put a message like... "YAY" on the second page. so test it now. you should talk to the weinie, hell give you the first message. then find the banana. after you talk to the weinie again, he should say "YAY" or whatever you typed there. or you can always make it so you eat that god damned weinie and not go through all that trouble... and eat the banana :D
Im not too good with explaining things, so i hope you understand. questions, PM me or ask here. thats always easier. Ill update about C. Branches and switches later... Im doing "homework" :D
Switches:
The easiest there is to know.
I can probably explain this in a few sentences...plus im tired.
here it goes.
Switches, pretty much the most simple crap to know. It can open doors, make treasure chests unopenable (or usable) after opened, simple crap like that. So ill use an example first then explain how to do it. say you want your hero to open a door with a switch in the other room, well all you have to do is make a switch in the "switch operations" option... name it "door" ...okay. make an event that would be the door. make two pages, and have the second page only active when the switch "door" is on. in the first page, put a message that says "Door Locked" so then make another event in the corner that could be a switch. now depending on how you do it, you may need to change the event start condition to "Push Key"....anyway.... in the switch event, make the first command with the "switch operations" option. set the switch "door" to the ON option. now, in the door event, on the second page, under the "event conditions" set switch to the switch named "door" and on the side, set the command to teleport, then to the other map where the door leads to. i hope you get the idea...and anything i typed.... im tired. so switches pretty much do absolutely very little, like open a door.... go ahead. try this stuff out. tell me if you get it... if not, ill try to make it clearer.
also, this also assumes you know the basics suck as new pages and event mode.
Variables:
IMO, this is the most confusing one to understand, so im going to explain this first.
Variables, all they do is hold a number. so lets do this as in a real situation. Say theres a man eating cocktail wienie threatening that he will eat you if you dont collect his bananas for him. So you have to go look for these bananas. So make a weinie on the map, make him say, with the message command, "i will kill you. find my bananas" now choose "variable operation" and call your variable Banana. choose "set" under operand put 0. done. now, the variable BANANA holds 0.
Somewhere else, maybe on the same map, or another dimension, whatever your game goes with, Make the hero find a item named "banana". in that event, change the variable (with "variable options") BANANA to 1 (set operand to 1), then erase event. now, edit the weinie in the event section. make a second page for the weinie (on top, it says "new page") make sure you are on the second page (the tabs indicate which page you are on) on the side it says "switch, switch, variable, item, hero, or timer". select variable. make sure that the banana variable is selected, and set that number below the variable selection to 1. on the side, where you edit the script, put a message like... "YAY" on the second page. so test it now. you should talk to the weinie, hell give you the first message. then find the banana. after you talk to the weinie again, he should say "YAY" or whatever you typed there. or you can always make it so you eat that god damned weinie and not go through all that trouble... and eat the banana :D
Im not too good with explaining things, so i hope you understand. questions, PM me or ask here. thats always easier. Ill update about C. Branches and switches later... Im doing "homework" :D
Switches:
The easiest there is to know.
I can probably explain this in a few sentences...plus im tired.
here it goes.
Switches, pretty much the most simple crap to know. It can open doors, make treasure chests unopenable (or usable) after opened, simple crap like that. So ill use an example first then explain how to do it. say you want your hero to open a door with a switch in the other room, well all you have to do is make a switch in the "switch operations" option... name it "door" ...okay. make an event that would be the door. make two pages, and have the second page only active when the switch "door" is on. in the first page, put a message that says "Door Locked" so then make another event in the corner that could be a switch. now depending on how you do it, you may need to change the event start condition to "Push Key"....anyway.... in the switch event, make the first command with the "switch operations" option. set the switch "door" to the ON option. now, in the door event, on the second page, under the "event conditions" set switch to the switch named "door" and on the side, set the command to teleport, then to the other map where the door leads to. i hope you get the idea...and anything i typed.... im tired. so switches pretty much do absolutely very little, like open a door.... go ahead. try this stuff out. tell me if you get it... if not, ill try to make it clearer.