Pausing BGS while an ME plays.

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
So what I'm trying to do is have a BGM and a BGS play at the same time, while staying perfectly synched with each other. Each one is a different version of the same song and I found out that the BGS will play before the BGM after a battle because of the ME. Is there a way to make it so the BGS will not play while the ME plays? I looked around a lot in the Scripts but I can't find anything that controls this, unless I missed it.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I'm not aware of any way to detect the end of an ME being played.


What you'd probably need is for someone to check the timing of BGM and BGS - it sounds like the BGS.play is not happening at the same time. Unfortunately I don't have the time to look at it myself right now.


I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
 
Last edited by a moderator:

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
If I can't base it on the ME timing, is it possible to have two BGM's playing at the same time? That's probably harder but I figured I'd ask.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Yeah, the engine won't allow you to play 2 BGMs at the same time...
 
Last edited by a moderator:

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
Well then is there a way to make it so the BGM and BGS won't play until the player leave the battle scene entirely. The way it is now, the BGS starts as soon all the enemies die and the BGM starts after the Victory theme. So can I just make it so the map BGM and BGS won't play until the player leaves the battle?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You could... There's a part in terminate of Scene_Battle which plays the BGS I think... removing that might do the trick...
 

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
I can't find the line that says that. I found one that stops the ME once you leave the battle but that doesn't help me. I think this might be a step in the right direction though, but I don't know what I would put in there to make the BGM and BGS wait until the player exits the Battle Scene before playing.

Screen Shot 2015-01-31 at 12.05.06 PM.png
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
try to look at BattleManager too.. it might be there if not in Scene_Battle...
 

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
I've been messing around in the BattleManager already. I managed to make the BGM restart after a battle, like the BGS does but I cannot get it to wait. I've tried making it so the BGM and BGS won't play after the battle ends, but that stops them from playing entirely until the player changes maps. The part that I took a screenshot of looks like that might help but like I said before, I don't know what I would have to put in there to tel it to wait until the player returns to the map to play the BGM and BGS without making it stop both altogether. 

Screen Shot 2015-02-01 at 12.08.48 PM.png
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
An alternative is to have no victory theme at all, then you won't get the time lag problem.  I personally didn't have it in my last game and I've not got it in my current game, because it is the piece of music which the player will hear most often.  After a few hours, it is - imo - incredibly threadbare as an audio effect, even if you have e.g. a different one for bosses/mini-bosses.  Several players commented favourably about not having it in my last game, so it looks like I'm not alone.
 

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
An alternative is to have no victory theme at all, then you won't get the time lag problem.  I personally didn't have it in my last game and I've not got it in my current game, because it is the piece of music which the player will hear most often.  After a few hours, it is - imo - incredibly threadbare as an audio effect, even if you have e.g. a different one for bosses/mini-bosses.  Several players commented favourably about not having it in my last game, so it looks like I'm not alone.
I just went with this one. It's not as bad as I thought. Thanks!
 

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

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,855
Messages
1,017,007
Members
137,563
Latest member
MinyakaAeon
Top