Pre-Battle Phase with Pre-Battle Music??

So I'm trying to have there be a sort of pre-battle phase to combat, as well as some accompanying music to fit.

Like, when a random encounter occurs, there will be options on screen (fight, talk, formation, run), and the real fight music only begins when the player presses FIGHT.
Here's an example of Pre-Battle Music [Enemy Approaches]


And here's an example of Battle Music


Is there any way I can do that? What plugins might I need?
I'm not sure why what the music sounds like is relevant to your request 😛

But you would need a custom plugin to have it work exactly the way you describe.

As a starting point, you could set up all of your troops so that the actual enemies you want to fight are only halfway (right-click them in the troop and select Appear Halfway, that will make them not be there at the start of battle).

Then I think you'd need to include one actual enemy that is set to have no battler sprite, just so the battle doesn't automatically end from having no enemies in it.

Then make a Turn 0 troop event that has a Wait command for a few seconds, then it makes all the enemies Appear, removes the invisible placeholder enemy, and changes the BGM.

I'm not positive if having the Wait in turn 0 will prevent the Fight/Escape box from popping up. And that setup doesn't work exactly the way you described, it will have a set amount of time. It wouldn't allow the player to sit there indefinitely listening to the music before selecting Fight and making the enemies appear then.

But it's an approach that avoids commissioning a plugin.
I'm not sure why what the music sounds like is relevant to your request 😛
I assume they wanted to be sure you understood exactly what they were asking for, which is more than I can say for some folks who post questions here.
For anyone who wants to see OP's desire in action, here you go:


As you should be able to see, there's one track for before any actions in battle have been taken. Once the player has chosen their move and commenced combat, the true battle theme starts up.
So I'm trying to have there be a sort of pre-battle phase to combat, as well as some accompanying music to fit.

Like, when a random encounter occurs, there will be options on screen (fight, talk, formation, run), and the real fight music only begins when the player presses FIGHT.
Here's an example of Pre-Battle Music [Enemy Approaches]


And here's an example of Battle Music


Is there any way I can do that? What plugins might I need?

Well, I think you can accomplish this with VisuStella's battle core using these two sections here:
1672718144616.png


This will run a javascript code that will launch before the action and after it. I'm not sure if this will be the desired action for you since I don't mess with these settings.
As for the code itself, you could search for help from someone who knows js and RPG maker or you can search it yourself. (Archeia posted a script call list that contains most codes from MZ and MV so, that might prove to be useful for you. If you can't manage it from there, you should ask for advice from experienced programmers here in the forum)
Well, I think you can accomplish this with VisuStella's battle core using these two sections here:
Unfortunately, those won't help with the OP's request.
- The Pre-Start and Post-Start phases of the action take place within milliseconds of each other. There is no actual divider

- These notetags refer to the individual actions within each turn; the OP is asking for the music to change one time before the proper battle starts, not to go back and forth on every battler's turn during their action.
Unfortunately, those won't help with the OP's request.
- The Pre-Start and Post-Start phases of the action take place within milliseconds of each other. There is no actual divider

- These notetags refer to the individual actions within each turn; the OP is asking for the music to change one time before the proper battle starts, not to go back and forth on every battler's turn during their action.
Oh, I see. Then this won't be of help. If that's the case, it would be best if the OP requested a plugin that does this.

I have no idea if there are any plugins for MZ that allow this.

Original thread: https://forums.rpgmakerweb.com/threads/pre-battle-phase-with-pre-battle-music.153629/