[CGMZ] Musical Battles (Patreon)
Downloads
Content
This plugin makes the music playing during battle matter. You can use the current BGM in skill or item damage formulas, and you can also set up skills or items that change the battle BGM as part of their effects. This can be combined with the damage formula to set up a combo where the player first changes the battle music and then deals a strong attack based on the changed music. Be careful, as enemies can also do the same thing.
! SEE BOTTOM OF POST FOR UPDATES !
Hi all, introducing [CGMZ] Musical Battles!
This plugin makes the music heard during battle matter, adding to the potential strategies your players or enemies can use during combat.
Damage Formula
Set up a number value for each Battle BGM in your game, which will then be stored into a game variable for easy access in your damage formulas if that BGM is currently playing when the attack occurs. This means you can make skills or items that are stronger (or weaker) in the case that specific BGMs are playing.
One use for this may be to make a set up attack that changes the battle music, which can then be followed up by an attack that does weak damage if the battle music is not playing but considerably more damage if the battle music is playing. You might find your players and enemies both fighting to control the battle music to boost their attacks and deny the enemy's attacks.
See below gif for how it can look, notice the first cast does weak damage but the second cast after the music has changed does a lot more:
Skills & Items
This plugin allows you to set up skills and items that change the battle music. Simply select the skill (or item) id in the plugin parameters, and then select the BGM file you want it to play when used. These skills or items can still have normal effects as well, beyond changing the music. Music change will occur after other skill / item effects.
This also works for enemy skills, so you can have your enemies trying to control the battle music and make it favorable for them as well.
Integrations
This plugin does not have any integrations that I had to write special code for, but it can work well in combination with other plugins that can change Battle BGM since it simply looks at the battle music when a skill or item is used. One such plugin could be [CGMZ] Battle BGM Control which can allow certain battle themes to play based on actors in your party. You could use this to boost an actor's skills if their theme is playing, which can have a chance to occur if they are in the party when using that plugin. Non-CGMZ plugins that change battle music should also work well with this plugin.
Roadmap
This plugin has quite a few improvements and new mechanics I want to add. They are as follows:
Chance to change BGM instead of always changing BGM when skill / item is used
Skills that choose a random BGM out of a given pool of possible BGMs
Option to make music change occur before other skill / item effects
Casper Gaming plugins are made much better through user suggestions. If you have an idea for a feature you'd like to see implemented that is not already covered above, please let me know. You can leave suggestions in the comments below or in the #suggestions channel of the Casper Gaming Discord.
Support
Casper Gaming provides quick support to any user who needs it. You can leave a comment below with your question or issue, I try to check my Patreon at least once a day. For even quicker support, you can come into the Casper Gaming Discord and ask for help in the #support channel.
Happy RPG Making!
This version adds success chance to your BGM change effects, and a separate string that can display if the music change is not successful. It also added a new string option for when the music that was attempted to change to is already playing. Both of these new display text options are optional, if you do not set them up no text will display in those conditions.