Charas-Project
Game Creation => Requests => Tutorials => Topic started by: Squall-Leon81 on February 11, 2008, 10:03:02 PM
-
Well I just want to know a thing:How can I make an event that, using a battle skill, will change during the fight a character into another one.
For Example the main human character that become an Angel during the battle.
-
Quite easy actually.
Create your hero in the database and all that.
Now there are two options. I'll name both.
1st:
<>Copy the hero and make it a class.
<>Create a class with the battle character and such for the angel/seraph.
<>Make the skill activate a switch called "transfo-skill" and"BattleAvatar"or something shiny like that.
<>Make a battle event (in every fight) that activates when the switch "transfo-skill" is on(conditional branch/fork).
<>Then make some nifty battle animation and Show Battle Animation at "Hero1"
<>Now make the event "Change Hero Class. Hero 1 to Seraph"
<>Then simply turn the switch "transfo-skill" off and"BattleAvatar" on
<>Now create an event on the world mapp or such with a parallel procces that only goes of if "BattleAvatar" is on.
<>Make this event change the class of "Hero1" back to "Hero" instead of "Seraph and then turn the switch off(or you'll have soem sweet lagg).
2nd
<>Copy the hero and paste.
<>Edit this one with stats and skill for the angel/seraph.
<>Make the skill activate a switch called "transfo-skill" and"BattleAvatar"or something shiny like that.
<>Make a battle event (in every fight) that activates when the switch "transfo-skill" is on(conditional branch/fork).
<>Then make some nifty battle animation and Show Battle Animation at "Hero1"
<>Now make the event "Change party" Add Hero1 (Seraph one) and then remove Hero1.
<>Then simply turn the switch "transfo-skill" off and"BattleAvatar" on
<>Now create an event on the world mapp or such with a parallel procces that only goes of if "BattleAvatar" is on.
<>Make this event change the party back to its original order and then turn the switch off(or you'll have soem sweet lagg).
That should work to be honest.
-
Well I've tried with the first method,but the battle charset doesn't change.
The second one doesn't work.
-
XD Everyone always says to just change the class. No-one ever bothers to check. I had this same problem myself ages ago.
The way I eventually got round it was that I put the 'transformed' sprites on the animation as the untransfromed ones. When they transformed I also inflicted the with a condition which didn't have any affect, but changed their sprite to the normal sprite in the transfromed state. It only worked for me because she could only attack in one form and use magic in the other, so I made the walking and attacking sprites normal, and the skill sprite in the transformed state.
It's by no means perfect, but it was sufficient for me. The biggest problem was that she was her de-transformed state briefly whenever she got hit XD
The other way I've doneit is by having two characters and switching between them for the transformation, but you have to find a good way of making them both recieve experience, have the same equipment... It's a pain.