The request I want to make ought to be easy (or it may be effortless).
Basically what I want to do is this: make the world music continue after a battle instead of reseting to the begining of the song.
This is the default of how RUBY configures music related to battles:
World Music Start --> Initiate Battle --> Battle Music Start --> Victory Music Start --> World Music Restart
Instead I rather have it be:
World Music Start (Save Point A) --> Initiate Battle --> Battle Music Start --> Victory Music Start --> World Music RESUME from Point A
If this makes sense and is doable I would appreciate it!
Thanks ^_^
YES! I have requested this before, and no one knew what I meant. Ha! I want this script as well! :^^: :^^:
no need ruby for that.
use rmxp...
?...
Could you lead the way >.<...I have asked this very question in RMXP and they didn't give me ANY answer -_-...is it so uncommon no one has ever tried to do this?
$game_system.memorize_bgm
$game_system.resume_bgm
...
:O_o:
The methods may not be named the same but look in Game_System to find them.
Where do you enter these lines of code?
I would asume at the top of your battle handlar script and at the end of it.
I'll give it a test before I can say for sure.
Quote from: Tsunokiette on January 05, 2006, 12:28:54 AM
$game_system.memorize_bgm
$game_system.resume_bgm
...
:O_o:
The methods may not be named the same but look in Game_System to find them.
these methods are not the same for when you even call the script $game_system.memorize_bgm it crashes so to say
$game_system.bgm_memorize
$game_system.bgm_restore
are the ones that works for me >.> but they DO NOT remember the exact point in the song it was remembered JUST the song that we being played
*edited at 11:18 pm*
Oh I remember something the BGS and the ME do what you want a bit
the bgs could be playing then you play an me, and the background contiunes where it left off when the me finished. Perhaps you can inport your battle music into your ME resorce and then ...work from there?
Not sure how that would work... Wouldn't the map song have to be playing the whole time during battle then? And if SiR_VaIlHoR is there, could you explain how you did this?
OK, I found a way to do this, but somehow I need to change the volume of the BGS in the script when a random battle occurs. Does anyone know how to change the volume of a BGS using code?
Upon further research, I found I can use:
Audio.bgs_play($game_system.playing_bgs, 0, 100)
But it cannot change the "RPG::AudioFile into String"
Is there a way to change it to a format that it can play?
Quote from: skyrune83 on February 28, 2007, 03:16:57 AM
Upon further research, I found I can use:
Audio.bgs_play($game_system.playing_bgs, 0, 100)
But it cannot change the "RPG::AudioFile into String"
Is there a way to change it to a format that it can play?
Should be
Audio.bgs_play($game_system.playing_bgs.name, 100, 100)But what was ACTUALLY requested in this topic is pretty much impossible without rewriting the entire sound engine of RMXP.
Thanks a bunch! That's just what I was looking for. :lol: