Continuous BGM from one Battle scene to another

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
I'm trying to make the same BGM goes from one battle scene to another.


The problem is, in order to switch for some events and a new battle scene to occur, I'm forced to go to the scene map which stop or restart the Battle BGM if l put the same song in the events.


Is there any line l could disable in rpg scripts that would resolve this?
 

lianderson

Veteran
Veteran
Joined
Dec 27, 2012
Messages
442
Reaction score
340
First Language
English
Primarily Uses
N/A
Step 1, make the area have no music what so ever. Check off the box.


Step 2, set both the background and battle music to the same thing via events.


Step 3, Murda.
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
I don't think you read through what l asked.
 

lianderson

Veteran
Veteran
Joined
Dec 27, 2012
Messages
442
Reaction score
340
First Language
English
Primarily Uses
N/A
Does the area have a song playing normally?
 

lianderson

Veteran
Veteran
Joined
Dec 27, 2012
Messages
442
Reaction score
340
First Language
English
Primarily Uses
N/A
Wait, the victory is the problem... hmmmmmmmmmmmmm... sorry about that.
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
There is nothing playing, l disabled everything using Yanfly Victory Aftermath.


I used fade BGM in the map before going in the battle.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
you should try to use the save and replay command inside the battle - there is nothing else short of a specific script that has even a chance of doing what you want.


I don't know if those commands work with battle-BGM, but if they don't you'll need a script anyway.


Unfortunately the battlesequence may prevent you from saving the current position of the BGM at the end of the battle - by default, a battle ends before the final troop event can be prozessed, so in that case you'll have to trick the engine with an immortal-state-workaround.


However, if you're using a battleplugin with action sequences, you should be able to put the save command in there.


And then, at the beginning of the second battle, have a troop event use the replay BGM command.


@lianderson the OP wants to continue a longer BGM at the same second it was stopped in the previous battle, your method would simply restart the same BGM from the beginning again at the second battle.
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
@lianderson: Actually the problem is when you return to the map it will restart the music where it was before the battle began. which, even though they are the same musics, can still sound funny. This can only be fixed with a script.


@lolshtar: Since you asked about if you could disable a line in scripts to do this, I moved you to Learning RGSS support. If you decide you need a full script for this, please report the thread and ask for it to be moved to Script Requests.
 
Last edited by a moderator:

lianderson

Veteran
Veteran
Joined
Dec 27, 2012
Messages
442
Reaction score
340
First Language
English
Primarily Uses
N/A
I are wrong today. Listen to the smarter peoples. :(
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
Save and Replay works... with a 2 seconds music stop inbetween scenes.


I guess I'll need a script for this since there seem to be nothing else.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,381
Reaction score
8,537
First Language
English
Primarily Uses
RMMV
I've moved this thread to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
I've moved this thread to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Ace Requests?


Really...?
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,381
Reaction score
8,537
First Language
English
Primarily Uses
RMMV
I apologize, where should it be?
 
Last edited by a moderator:

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,381
Reaction score
8,537
First Language
English
Primarily Uses
RMMV
Okay, well, when I moved it it was in "learning RGSS" not Javascript,  and you specifically requested moving it to script requests, not plugin requests. So I'll move it again for you.


Also, you don't need to quote someone to reply. You can just reply.
 
Last edited by a moderator:

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
Quoting is the best way to make sure the quoted person get a warning.


Oh, I see. It was in MV threads when l posted it as a question.
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV


For some wierd reason, my Battle BGM event does not work at all, l always used normal BGM.


I see that the music was the same before the first encounter, would it work if the music change within the first encounter?
 
Last edited by a moderator:

Ahuramazda

Veteran
Veteran
Joined
Nov 9, 2012
Messages
262
Reaction score
127
First Language
English
Primarily Uses
RMMZ
That does seem a bit odd, cause as long as you change the battle BGM to the same thing as the Map BGM (via event or otherwise) there shouldn't be any kind of problems.


Are you having the events happen in a cutscene style event with specific music for the background that is different than the music you are wanting for battle? Also pop a screenshot of the event so we can see  what else might be happening :D
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
Gotta go to work, ill be screenshotting all the events as a edit when l get back


Before Battle Start, Fadeout BGM 





Start BGM on turn 0 





Change BGM when boss appear





Fade Current BGM and play BGS when boss is defeated, start new song





Current method to keep playing the BGM is using the save BGM event and replay on the next battle, but there is a stop inbetween scenes


 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top