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
44,094
Reaction score
15,512
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,023
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,023
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,023
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,512
Reaction score
12,003
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!
 

Latest Threads

Latest Posts

Latest Profile Posts


AABS laser beams features:
1,Shoot penetrating laser beams for player's normal attack
2,Beam's width/damage/comsumes/loot can be controlled by events/variables with great flexibility
3,Beam can rebound to walls or certain regionID
4,Can play SE when shooting beams
5,Beam's images can be solid images or animated ones.
Surprising nobody, it turns out "next Friday" for the next Jump into Javascript has become "possibly Sunday if you're lucky" XD
Folks, if anyone sends you a message inviting you to add their API to your game, please report them. We don't want people spamming our members asking them to add stuff to their games for their own (or others') benefit. We've updated the forum rules to confirm this.
I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...

Forum statistics

Threads
117,014
Messages
1,103,823
Members
152,911
Latest member
WakeNBake
Top