Troop specific Battle Music and Background

Boss battles - at least the final boss - often have their own battle music and maybe background.
In RPG Maker MV there is only the option to set one battle music in the database, which you can change later on
using events. But you have to change it back after the battle event or subsequent battles will use the same music.
The same goes for the battle background.
I myself forgot to change it back multiple times and the result of this was this plugin.

You can set troop specific battle music and background that will only be active during the battle against this troop via comments on the first page of the battle events:
Troop.PNG
Their are 3 different comments:

BattleBgm Name Pan Pitch Volume, where:
- Name is the name of the sound file
- Pan is a number between -100 and 100
- Pitch is a number between 50 and 150
- Volume is a number between 0 and 100

BattleBack1 Name, where:
Name is the name of the image file in your projects img\battlebacks1 folder

BattleBack2 Name, where:
Name is the name of the image file in your projects img\battlebacks2 folder

Troops which do not have set up any of these options will still use the default options.
The options are even active for Battle Test, so you can directly check if it works using the editor.

Plugin usage and credits:
Plugin is free to be used with commercial and non-commercial projects and does not require any credits, yet they are still appreciated.
You may repost this plugin.
You might like to edit your post to include whether or not people can repost this or if they must always link back to this thread. I know a lot of script/plugin writers don't like the possibility of having outdated versions floating around the internet.
@Kes I've done that now.
To the three people who already downloaded this, I hope you'll read this.
I found a bug and the plugin didn't work as described. It is fixed now.
I kept the version at 1.0, because it was only a small fix and shouldn't have happened in the first version anyway.
Amazing! This is the very first plugin that I've tried and it worked perfectly.
I really appreciate you posting this! Thanks!
Does this work for MZ, or just MV?
It worked, this was so useful, Thanks.
Does this work for MZ, or just MV?
Plugin is for MV.
Background Music should work in MZ, however battle Background won't work in MZ.
However I have a newer version of this called BoMZ_BattleAtmosphere, to be found in this thread:
The only concern might be, that it requires a base plugin.
Boss battles - at least the final boss - often have their own battle music and maybe background.
In RPG Maker MV there is only the option to set one battle music in the database, which you can change later on
using events. But you have to change it back after the battle event or subsequent battles will use the same music.
The same goes for the battle background.
I myself forgot to change it back multiple times and the result of this was this plugin.

You can set troop specific battle music and background that will only be active during the battle against this troop via comments on the first page of the battle events:
View attachment 123629
Their are 3 different comments:

BattleBgm Name Pan Pitch Volume, where:
- Name is the name of the sound file
- Pan is a number between -100 and 100
- Pitch is a number between 50 and 150
- Volume is a number between 0 and 100

BattleBack1 Name, where:
Name is the name of the image file in your projects img\battlebacks1 folder

BattleBack2 Name, where:
Name is the name of the image file in your projects img\battlebacks2 folder

Troops which do not have set up any of these options will still use the default options.
The options are even active for Battle Test, so you can directly check if it works using the editor.

Plugin usage and credits:
Plugin is free to be used with commercial and non-commercial projects and does not require any credits, yet they are still appreciated.
You may repost this plugin.
Doesn't work...
@DeterminedKid1000 OP might benefit from some details to assist you. “Doesn’t work…” is not always the most helpful troubleshooting information.
Doesn't work...
@DeterminedKid1000 OP might benefit from some details to assist you. “Doesn’t work…” is not always the most helpful troubleshooting information.
Sorry that it does not work for you, but Ms Littlefish is right, it would be helpful if you could post some screenshots of how you tried to make it work and failed, because for me it is working when used like shown in the screenshot of my original post.
Also sorry for late answer, I'm very inactive.
Sorry that it does not work for you, but Ms Littlefish is right, it would be helpful if you could post some screenshots of how you tried to make it work and failed, because for me it is working when used like shown in the screenshot of my original post.
Also sorry for late answer, I'm very inactive.
Sorry, I should've been more specific... I meant that nothing happened when I copied everything in the screenshot provided above. No music played at all. Or maybe the music didn't change? I have a bad memory... either way, I copied the screenshot and nothing came of it.
can you show a screenshot of the window?
can you show a screenshot of the window?
No, it's okay. I've decided I'm just going to set the battle theme to None, so that way I can play any song I want. The issue is that the original song plays for a few seconds before changing so I'm just removing it entirely.

Problem is the songs I want to change to, are taking a while to load and the only audiostreamingfix plugin thing here gives me malware warnings when I try to download it so I'm scared. Sorry if my reply makes no sense, I have a massive headache and I can't think straight.
make sure you copy the plugin in the right place, not the
rpg main instal folder, but your project folder and install it correctly.

also, its useful to know the version of MV you use as its working for me.
if you use version 1.5.x or 1.6.x it can work, if you use NWJS 0.29
while I use 0.48.4, it works, so it can be incompatible with a lower nwjs.

in that case, you could try to update nwjs to see if it works.

Original thread: https://forums.rpgmakerweb.com/threads/troop-specific-battle-music-and-background.113312/