HeroofTime123

Regular
Regular
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

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,970
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

Regular
Regular
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'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
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

Regular
Regular
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'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
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

Regular
Regular
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'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
First Language
Tagalog
Primarily Uses
RMVXA
try to look at BattleManager too.. it might be there if not in Scene_Battle...
 

HeroofTime123

Regular
Regular
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

Regular
Regular
Joined
Aug 3, 2012
Messages
23,857
Reaction score
13,843
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

Regular
Regular
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

Curiosity kills cats. Not people. Remain ever curious!
"You dont have to negotiate if they dont have a hostage" :kaopride:
sketch1701194888871.png
Spiffing up maps is actually a lot of fun.
So the concept for my Game Jam project is way more than I can complete before the deadline. But I think I found a way to get the core done and make the incomplete parts either not really noticeable or make them a part of the story for now. That sneaky, dastardly Krampus! Then I can complete the rest. Did I mention that this is fun?

Forum statistics

Threads
136,551
Messages
1,267,440
Members
180,225
Latest member
Stormswinds
Top