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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,510
Reaction score
16,405
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,693
Reaction score
3,031
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,693
Reaction score
3,031
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,693
Reaction score
3,031
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
23,375
Reaction score
13,018
First Language
English
Primarily Uses
RMMZ
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!
 

Latest Threads

Latest Posts

Latest Profile Posts



I am curious that can you "understand/get the point" about what does this place do generally?
(ARPG game)
If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.
ChillingAtTavern.png

After 'multiple breakdowns', it's finally over. 10/10 will do this again.
Ever notice that villains can reform and become better people, but heroes can only ever die... or live long enough to see themselves become villains?

Isn't that interesting?
xabileug wrote on Kaelan's profile.
Will you be back?

Forum statistics

Threads
129,844
Messages
1,205,657
Members
171,000
Latest member
Nurseval
Top