Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: xknightsbloodx on August 30, 2006, 11:02:34 AM

Title: Need help creating a skill
Post by: xknightsbloodx on August 30, 2006, 11:02:34 AM
Would anyone like to help guide me on creating a transformation in battle?

I have an ability I would like to make which transforms the character into a demon, or etc during battle giving him an overall stat boost and maybe a few extra abilities.

Unsure of where to begin I created a new class and labled it "demon" thinking maybe I could use an event to make that particular character "change class" into a demon.

No idea where to go from there, or if there might be an easier way? help is appreciated ^^
Title:
Post by: DragonBlaze on August 30, 2006, 01:31:34 PM
The only way I've heard how to do this with the defult battle system was to make a new hero called 'demon' or whatever. When transforming, you would remove the hero, then add the demon hero. You'll probably want to record the heros level into a varaiable then set the demon's level to that variable though. Switch the characters back at the end of the battle.

I really suck at programming the DBS, so there may be a better way to do it out there. A couple of years back when I still used the DBS and wanted to do something like this, that was the only way I found that worked.
Title:
Post by: emiiru on August 30, 2006, 02:07:59 PM
 Thought that when you transformed that way, with only that one party member in the party, it would go game over or something.
Title:
Post by: EXO Muffin on August 30, 2006, 06:10:44 PM
Yeah, it would have a glitch. You have to add the demon guy,  THEN remove the hero.
Title: I think I got it
Post by: xknightsbloodx on August 31, 2006, 10:47:13 AM
Alright, I think I have the code set up right now, I created a skill set for the "demon" which is linked to an event.

In the monster group page I set the condition on page one as "hero uses this skill"
then it removes the hero and adds the demon.

Only problem I face now is keeping the demons level equal to the heros.

Out of the oven and into the frying pan huh? lol
Title:
Post by: WarxePB on August 31, 2006, 01:52:43 PM
Actually, you could just make the demon hero into a Class, and simply change the class of the hero when he wants to transform. That's much more efficient, and it makes it easier to have multiple class changes as well. (I'll assume you made the demon class already)
To do that, create a Common Event, with the Trigger set to Call. (If you want to have multiple transformations, create a Conditional Branch, checking if the Switch that activates the skill is ON.) Create a Change Class command (on page 4 of the Event Commands), that changes the Hero into the Demon class, with whatever options you want. Then Call that event from the M. Group page where you would've put the code anyways.
Title:
Post by: DragonBlaze on August 31, 2006, 03:18:46 PM
Quote
Originally posted by Warxe_PhoenixBlade
Actually, you could just make the demon hero into a Class, and simply change the class of the hero when he wants to transform. That's much more efficient, and it makes it easier to have multiple class changes as well. (I'll assume you made the demon class already)
To do that, create a Common Event, with the Trigger set to Call. (If you want to have multiple transformations, create a Conditional Branch, checking if the Switch that activates the skill is ON.) Create a Change Class command (on page 4 of the Event Commands), that changes the Hero into the Demon class, with whatever options you want. Then Call that event from the M. Group page where you would've put the code anyways.


Does that change the  graphics of  the character as well though? I didn't think it did.
Title:
Post by: WarxePB on August 31, 2006, 07:15:05 PM
Yeah, you can still change the graphics. It's basically like swapping heroes, except that you can keep the level and skills of the first hero for the second.