I'm working on a game where you can choose between 5 classes, each class gets a minor transformation and a major transformation, each transformation appears differently based on which class it's from and whether if it is minor or major. The basic idea is the character who transforms gains extra abilities(depending on their level), a percentage boost in stats and maybe a passive effect, such as healing a random ally each turn, or regenerating mana each turn, or counter attacking automatically, etc. These transformations are also supposed to change the battle music(with an optional exception, like certain boss fights the transformation music does not play, or has a chance to play), and of course, both the music and transformation effects are to revert when the duration is over. Any thoughts on these would be appreciated.
Temporary In-Battle Transformation
RPG Maker MZ SupportThat sounds like a State. In a State, you can define duration, extra skills, and many other effects.
For features that you cannot cover directly, I suggest opening a new thread like "change BGM when actor is affected by specific State", maybe in the JS section because that will likely require making a plugin for you.
For features that you cannot cover directly, I suggest opening a new thread like "change BGM when actor is affected by specific State", maybe in the JS section because that will likely require making a plugin for you.
Alright thanks, I will wait to see if anyone has anything of interest to say, then proceed with your suggestion.
As a tip, taking a moment to apply some basic formatting to your post will help you get more and better answers. Many people may click into your thread, see a large block of text, and click back out.
As @Aerosys said, the basic idea is you would apply a state to the actor and use a plugin that executes code in notetags on that state at various times.
You can use my Eval Tags plugin, linked in my signature; or, if you're using any VisuStella plugins, they have applicable notetags in their Battle Core and Skills and States.
For the specific effects, I'd suggest you look up the pinned thread of MZ Script Calls to get the code for what you want (e.g. changing the BGM).
If there's syntax you can't figure out, then something like a bulleted list of the specific thing you want to happen and when it should happen would allow other people to help and give you the necessary code.
As @Aerosys said, the basic idea is you would apply a state to the actor and use a plugin that executes code in notetags on that state at various times.
You can use my Eval Tags plugin, linked in my signature; or, if you're using any VisuStella plugins, they have applicable notetags in their Battle Core and Skills and States.
For the specific effects, I'd suggest you look up the pinned thread of MZ Script Calls to get the code for what you want (e.g. changing the BGM).
If there's syntax you can't figure out, then something like a bulleted list of the specific thing you want to happen and when it should happen would allow other people to help and give you the necessary code.
Thanks for the tips!
Original thread: https://forums.rpgmakerweb.com/threads/temporary-in-battle-transformation.173394/