Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: tekmansam on July 13, 2009, 12:17:16 AM

Title: Werewolf help.
Post by: tekmansam on July 13, 2009, 12:17:16 AM
I have written a common battle event for one of my main characters that changes him into a werewolf by removing him from the party and adding in the werewolf as a separate character.  I'm proud of this little code but there is one snafoo.  I do not know of any way to add this new character anywhere but the last position because when the character leaves the party, if he is not at the bottom, all the other characters shift up one to fill the hole and then the werewolf is added in the 4th position, regardless of what position the shapeshifting character was in.  The only solution I have to this problem is make sure the character stays in the 4th position always.  If anyone has some inspiration on working around this let me know.  If there was a way to change battler association like you can with the sprite that would be awesome but unfortunately it isn't as simple as that, it seems.
Title: Re: Werewolf help.
Post by: Prpl_Mage on July 13, 2009, 12:36:25 AM
You could just make the werewolf a class instead of a separate character.
That way the character will change into a werewolf and still be the same character.
Downside of this is that all equipment will be unequipped. You'll have to make an event remember the equipment and re-equip it.
Title: Re: Werewolf help.
Post by: tekmansam on July 13, 2009, 12:40:00 AM
You could just make the werewolf a class instead of a separate character.
That way the character will change into a werewolf and still be the same character.
Downside of this is that all equipment will be unequipped. You'll have to make an event remember the equipment and re-equip it.

That was the first thing I tried but I didn't see a way to set a seperate battle chara for the class.  I thought only heros have charas not the classes themselves....maybe I overlooked it.  Sounds like something simple that I probably would overlook.  I'll check it out again.

I remember now, I did that and even though the class had the correct animation set, the character's class changed correctly but retained his original animation.  Also, I wanted the effect to persist outside of battle so it seemed natural to create a hero with his own chara but I could live without that and simply use "change sprite association."