Beast Form

So I'm trying to make a skill or state that will change an Actors images as soon as he enters a battle and then Revert back to Normal after the battle ends.


Something Similar to World of Warcrafts Worgen Class. You can change from human to beast outside of combat but force beast mode upon entering combat.


Any ideas?
This sounds like a very interesting idea! One way to do this would be simply to change the actors during battle, and then switch them back automatically through an event on the map. If you make a skill to remove the human, and put the beast into battle, you could get it to run automatically. Just make an event on the map to automatically add the human and remove the beast from the party, this way it will only be in battle. As for changing freely outside as well, simply copy the beast to another party slot in the database. Have the map event only remove one. The skill could switch out the human for the beast. 
If you're using evented battles, just place the change commands before the battle processing command and revert after it.


If you're using random battles, it's a bit trickier - you'll have to look for a script that executes a common event before entering battle or something similiar
Well, first, I am not 100% sure it goes here...


Secondly, which RM are you using? I'll assume MV, but correct me if I'm wrong!


Thirdly, easy peasy! With a plugin or some plugins, even easier. First off, the plugins you'll need for my method!


Right, then set up something in your Base Troop event which looks a bit like this. (in the troops tab obviously)

Spoiler
t1.PNG

Then with Hime's plugin I showed you, this next one should work!

Spoiler
t2.PNG


$gameTroop.aliveMembers().length == 0;

(Also the copy paste code is in the above spoiler!)


Then all you need is the outside of battle transform skill which can be set up like this:

Spoiler
t3.PNG

Then we need to set up the common event itself!

Spoiler
t4.PNG



And then it should work! I hope this worked!
If you have no need for the human form in combat at all, you could simply change the SV battler to the animal form instead of having the human image. No events needed, unless you really want to play an animation of the transformation. But if the player understands that he is simply in animal form in combat, that really shouldn't be too important. Out of combat, you'll want to have a switch called "Beast form" or something like that. Then make your shapeshift skill call up a common event. In the common event, set it up like the picture below. When used in human form, you'll turn into a beast. Then when used it beast, it'll turn you back. You can change the animation to whatever. Should suit your needs. Bleh. Kloe beat me to it, haha.


beastform.png
If you have no need for the human form in combat at all, you could simply change the SV battler to the animal form instead of having the human image. No events needed, unless you really want to play an animation of the transformation. But if the player understands that he is simply in animal form in combat, that really shouldn't be too important. Out of combat, you'll want to have a switch called "Beast form" or something like that. Then make your shapeshift skill call up a common event. In the common event, set it up like the picture below. When used in human form, you'll turn into a beast. Then when used it beast, it'll turn you back. You can change the animation to whatever. Should suit your needs. Bleh. Kloe beat me to it, haha.


View attachment 35883



I actually started to use your idea as a temp solution.


I created a common event that would auto run at the start of the game that would simply switch the [SV] Battler image once the actor has learned the ability at lvl 5.


The idea of using a switch is great. Can't believe I hadn't considered it myself.
Actually, @Kloe just made me aware of a plugin that should help your case here. It has level up events, so you can call a common event every time your actor levels up simply stating if actor level => 5, change SV battler. That way you won't need to plop an event for it on every possible map that your guy could hit level 5 on, it'll just do it passively. Here's the link: http://himeworks.com/2015/10/level-up-events/
Also using the way I explained, all you'd need when they turned level 5 would be turn on the switch and switch the graphics OR force use the skill so it works. By "the skill" I mean the skill I showed you how to make in my earlier post...
Unfortunately I can't get any of these methods to work.


I have the common event set to change the SV Battler at Level 5 so I'll be in beast form in battles.


What I'm having trouble with is creating a skill that can be used outside of battle to change from human to beast or from beast to human.


This is vital because I have an area in the game that will only allow the player to enter if he is in his beast form.
Unfortunately I can't get any of these methods to work.


I have the common event set to change the SV Battler at Level 5 so I'll be in beast form in battles.


What I'm having trouble with is creating a skill that can be used outside of battle to change from human to beast or from beast to human.


This is vital because I have an area in the game that will only allow the player to enter if he is in his beast form.

Look at my first post! I even gave you a screenshot of EXACTLY how it's set up! If you can't scroll up for some reason, HERE is a link to my post!
Yeah. Both the events that Kloe (Bottom two hidden chunks)  and I posted are for the OUT of combat skill. Just make the skill itself call the common event, and set up the common event as per those pictures. Also, if you made the skill and just aren't seeing it, make sure your actor can use the Skill Type you have it assigned to (ie. Special, Magic, etc.)
Well I feel dumb...


Kloe's first post worked like a charm.


The reason it wasn't working for me the first time I tried it was


because I still had the Parallel event that called the Common event


that only changed the SV Battler image.


Once I deleted that everything worked out the way Kloe said it would.


I apologize for my ignorance and I appreciate the help.
One last question. How would I set it to where it shows an animation of some sort before the character transforms?
Out of battle? Look at the event I posted earlier. See where it says "show animation" Sonic Wave? Replace Sonic wave with whatever animation you want.


In Battle? You'll have to use the base troop events plugin that Kloe linked for ya and have that "show animation" when it transforms you.
I was referring to in battle and I tried adding an animation in the Base Troop Event but it didn't work.


Also it's not reverting back to human form at the end of the fight.


This process is getting to be a lot more difficult than I had hoped it would be haha.
Mind posting an Alt+Print Screen  Screenshot of your event so we can see what's wrong?
2016-04-06.png


I added the additional Conditional Branch so that the actor only Transforms when he has learned the Skill


This part works just fine.


2016-04-06 (1).png


I assumed this is the part that is suppose to change back to Human after the fight. Which doesn't work.
your span is wrong - if the troop event has the span = battle, it will only be checked once in the entire battle (usually when the condition is first met or at the beginning)
The condition is wrong, take another look at EXACTLY what I put. Setting the switch as the condition doesn't do the job since you want it to check at the end of each turn not just the point when the switch turns on.
The condition is wrong, take another look at EXACTLY what I put. Setting the switch as the condition doesn't do the job since you want it to check at the end of each turn not just the point when the switch turns on.



You also set the switch as the condition?


2016-04-06 (2).png


From the looks of things my set up is EXACTLY what you put.

Original thread: https://forums.rpgmakerweb.com/threads/beast-form.60076/