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,713
Reaction score
8,497
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
11,998
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,221
Reaction score
707
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,713
Reaction score
8,497
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,221
Reaction score
707
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,049
Reaction score
3,713
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 Posts

Latest Profile Posts

Another comic with Backstage Malak...
If you want to ask him anything, you can ask on my DeviantArt page! I'm not sure if you're allowed to do it here.
Forum tip of the day ...
If you get a temporary suspension for being a jerk to people who are trying to help you, and arguing with mods and admins, don't go making new accounts. Chances are, if you p**s us off enough to suspend you for a week, we're not going to hesitate giving you a permanent ban when you give us a reason.
E_6fAErVkAQILXu.png
I'm so close to releasing my game on steam! :blush::blush::blush:
Us:
"This game is awesome! I wish there are more games like this in the future."
Also us:
"I hate how games stopped being original and start copying other successful games."
Should've done this a few days ago but...
PRI_200136808.jpg
Rest in Peace, Sir Clive Sinclair
1940 - 2021
Entrepreneur, Technologist, Father of the Modern British Computing Industry, and protagonist of Legend of ZUN.

Without you, England's games and tech industry wouldn't be where it is.

Forum statistics

Threads
115,292
Messages
1,088,686
Members
149,927
Latest member
antodi
Top