Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: rm2k3_rulez on May 11, 2008, 07:56:39 PM
-
Ok here it is an easy party switcher. i dont know if anyone has made this yet but here goes..........
First make a map called Party Switcher Make some events for your characters to be switched out. Now make a variable called [members in party] In your intro or whenever you get your main guy in your party add 1 to [members in party] this shows that 1 member is in the party with you. Now make a variable called [In Party 1] for your first guy. It should look like this on the event.(Note I did think of this myself and I tested it this morning)
Message:What do you want?
Show Choices:Join Party/Leave Party/ Nothing
Join Party:Handler
Branch if Variable [members in party] is 4
Message: Theres no room for me.
Else
Branch if Varaible [In Party 1] is 1
Message: I'm already in your party.
Else
Message:[hero name] has joined the party.
Variable Oper:[In Party 1] +1
Variable Oper:[members in party]+1
Change Party Members:Add [hero name]
End
Leave Party Handler
Branch if Variable [In Party 1] is 0
Message:I'm not in your party yet.
Else
Message:[hero name] has left the party
Variable Oper: {in Party 1] Set 0
Change Party Members:remove [hero name]
Variable Oper: [members in party] - 1
End
Nothing Handler
End
Take note that for each character you make you'll need to make a variable called [In Party x] x= the number of the character like 2 or 3. Now a sorta tricky part, lets make a CMS [a custom menu system] Now enter this in the common event and name the common event CMS make it a parallel process and the trigger swotch should be Open Menu Enter this. Make a variable called open menu too.
Key Input Proc:[Open Menu](Should be cancel button)
Show Choices:Regular Menu/Party Changer/Nothing
Regular Menu Handler
Open main Menu
Party Changer Handler
Ok next part make a new map called Party Changer and teh event with your character we made just a few seconds ago put that event in the new map called Party Changer. Now make 3 variables one called Map ID, another called X Cooridnate and the other called Y Coordinate Now enter this for party changer handler
Party Changer Handler
Memorize Position [Map ID] [X Coordinate] [Y Coordinate]
Teleport:Map Party Changer
Nothing Handler
End
In game results:
You now should be in your party changer map but you also need to make a teleport event that teleports you back to the same spot you were in. So on a map event in the map Party Changer Enter this
Recall to memorized postion
Make the event below hero and then also touched by hero. It will teleport you back to the same spot you were in when you selected the choice Party Changer. This tutorial was made to help Fisherson out for he needed an easy to do party switcher. Any questions or comments please just post them here. I hope this was an easy to understand tutorial for everyone to read. One more thing this might require a fair amount of knowledge of rpg maker 2003. Enjoy! :)
-
Awesome Rmk23 you did a good job i'm goning to giv this a try
tonight and again good job.
-
Thanks Fisherson i'm glad you like it. I read a different party switcher tutorial somewhere else and it sounded confusing so I just made my own tutorial and made the party switching easier. One thing did anything confuse you at all? if so please let me know.
-
the cms part i cant do it