How can I change battle music for one map?

Misery

Veteran
Veteran
Joined
Apr 9, 2021
Messages
262
Reaction score
25
First Language
Meow
Primarily Uses
RMMZ
I thought it would be straightforward editing of the map encounters thing, but there's no option... seemed to have been an MV plugin once, but no longer, and with this being MZ...

(Edited title to specify)
 
Last edited:

Misery

Veteran
Veteran
Joined
Apr 9, 2021
Messages
262
Reaction score
25
First Language
Meow
Primarily Uses
RMMZ
That's for all battles or one battle, right? I would more like to change it for just one map...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,919
Reaction score
8,605
First Language
German
Primarily Uses
RMMV
then you would need to place the command to change it in an erasing autorun on that map so that it is changed to that music on entering the map, and edit all transfer events out of the map to change it back when leaving the map.
 

Misery

Veteran
Veteran
Joined
Apr 9, 2021
Messages
262
Reaction score
25
First Language
Meow
Primarily Uses
RMMZ
What's an erasing autorun?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
12,002
First Language
English
Primarily Uses
RMVXA
Create an event with no graphic & put it in a convenient place. Many people put it top left corner out of the way.

Andar mistyped the setting for the event. It is not autorun, but parallel process. Parallel processes run the moment the map starts to load so there is no delay, and do not interfere with player movement etc.

Event Command menu tab 3
Select Change Battle BGM and select the track you want.
Event Command menu tab 2
Select Erase event. What this does is run the event once when you enter the map and never again unless you re-enter the map.

That's it.
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,243
Reaction score
719
First Language
Poland
Primarily Uses
RMMV
Instead of erasing event I would simply turn it off with self switch.
 

Misery

Veteran
Veteran
Joined
Apr 9, 2021
Messages
262
Reaction score
25
First Language
Meow
Primarily Uses
RMMZ
Seems to have worked, thanks.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,919
Reaction score
8,605
First Language
German
Primarily Uses
RMMV
Instead of erasing event I would simply turn it off with self switch.
completely wrong
if it is erase the event will run again if the map is reloaded (re-entered)
if you switch it off, it will never run again - only the first time the player enters the map
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,243
Reaction score
719
First Language
Poland
Primarily Uses
RMMV
@Andar Oh!!! So that's how "Erase Event" work!! And I was simply it turning off by SelfSwitch
 

Misery

Veteran
Veteran
Joined
Apr 9, 2021
Messages
262
Reaction score
25
First Language
Meow
Primarily Uses
RMMZ
This seems to interfere even with other maps that don't have this music, why is that?

Or... not, it seems to be the default music, now I wonder how I'll stop it from interfering...
 
Last edited:

HexMozart88

The Master of Random Garbage
Veteran
Joined
May 15, 2016
Messages
2,092
Reaction score
3,842
First Language
English
Primarily Uses
RMVXA
You need to change it back when you leave the map or it will play for all maps.
 

Latest Threads

Latest Profile Posts

I just don't know why, but it's funny.
5.gif
Ugh. The one time I forget to save every hour or so is also the day my computer crashes. That's life!
Even though I spent 100's of dollars on my game already. I think I might just have to give it away for free. Since I haven't heard back from people if I could use some of their graphics. Even from a global mod here. Maybe I can make a donation thing.
you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.

Forum statistics

Threads
115,968
Messages
1,094,497
Members
151,240
Latest member
TecoSolip
Top