Wes Lesley

Veteran
Veteran
Joined
Nov 25, 2016
Messages
76
Reaction score
5
First Language
Dutch
Primarily Uses
"Oh God no it's him again!" I hear you think.


Yes, it is I, glory and praise be me, but only on Saturdays.


So I was faffing about with RMMV and I found I could change the battle music but... it's a permanent change.


I tried finding a thread on this forum and checked through written tutorials on how to script a fight where the music for that fight is different than usual.


What I could do, is during the script, change battle music to boss music, have the fight, change the battle music to what it was before...


but is there also a way to do this automatically after the next fight? or at least return to the default music it was before?


that's what those common events are for, right?


suppose i have a light world and a dark world (I don't, but suppose) where each get their own overworld theme, town theme, battle theme... but the bosses get something special.


Can this be done automatically or does it have to happen manually?


Thanks for your patience, understanding, support and assistance.
 

frzhrt834

Infamous Warrior of Storms
Veteran
Joined
Aug 4, 2015
Messages
139
Reaction score
14
First Language
French
Primarily Uses
RMMV
I guess you can use a combination of common events and switches to do it automaticly. But really I think it's more simple for the developper to do this manually, like when you switch between worlds, you make the needed changes, and so on.
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,809
Reaction score
1,969
First Language
English
Primarily Uses
RMMV
Run a common event before and after each fight. It checks a variable that determines which battle music to play and sets it back to 0 at the end of a fight. Default music is set at 0, then mini-boss at 1 and boss at 2. The only thing it requires is to manually set the variable at the start of a (mini-)boss fight.


It could easily be made to work with light/dark worlds, just requires an extra conditional branch that checks which world the player is in.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,813
Reaction score
14,622
First Language
English
Primarily Uses
RMVXA
What I do is I have a common event that I call to set the boss music before the fight, and another common event to set the music back to the original normal battle music. This way if I want to change the music based on location in the story (or say I decide to change my battle music completely mid game) I only have to edit the common event.
 

Latest Threads

Latest Profile Posts

i want to make videogame, though i am burned out on games with RPG elements, but the only gamedev tool i know how to use is rpg maker. :/
Rakon wrote on xizorandy's profile.
Hello! I found a post of lightning strike pictures you posted. You said you made them, am I allowed to use them in my commercial project. Would be really cool!^^
evhht2zr.png

Have a nice day!
It's almost 3 month and this piece of drawing is still not finished yet.
aaaa.jpg

Really busy with other stuffs like commission and coping with personal problem.
Stella & Elyune, maybe used for promotional art if my game project finished one day.

Forum statistics

Threads
112,253
Messages
1,066,840
Members
145,860
Latest member
tommyelliott
Top