Charas-Project

Game Creation => RPG Maker => Topic started by: newguy99 on July 25, 2013, 03:50:51 AM

Title: Weapon variable?
Post by: newguy99 on July 25, 2013, 03:50:51 AM
How can I make my battle sprite for my hero change when he equips different weapons. I have the different battle characters I want to use but how do I make them work?
Title: Re: Weapon variable?
Post by: A Forgotten Legend on July 25, 2013, 11:06:40 AM
Alright, there's a couple ways to go about this.  First, if all the battle sprites are from the same template, you can use the default system they put in the program.  If you take a look at the item database and click on a weapon it has two animation windows.  One is for the attack animation, and the other is for the weapon's animation.  If your battle characters are all the same format, then you can just use a battle weapon template and move them around on the sheet to fit the sprites you have.


If not, there is another way to do this that I just actually finished working on with a a little help from prpl_mage.  The only reason I would use this way is if you aren't using battle characters at all, but using battle animations instead.  Basically, this method changes the class of the hero depending on the weapon the hero has equipped and thus changing the character's battle animation.  If you planned on having the ability to change classes in you game this could prove a little more tedious because you would need multiple versions of the same class with the different battle animations.
Title: Re: Weapon variable?
Post by: Prpl_Mage on July 25, 2013, 04:29:45 PM
Yeah basically,
If you want them to carry said weapon in all poses and not just the attacking you have to create a battlechar for each type. Or y'know, go the complicated way and make the battlechars from battleanimations in which case you can have one (3 frame) pose and 22  weapon sprites.