Quote from: gameus on September 27, 2015, 12:09:54 pm
I can hardly remember the add-on and if I had modified the main script or not.
You had to. I didn't see anything different happen by just putting Stormtronics and the script post into an empty project. I changed the configuration to
BATTLE_BGMS = [
# ['BGM_NAME', VOLUME, PITCH, 'DISPLAY_NAME']
['001-Battle01', 100, 100, 'BGM 1'],
['002-Battle02', 100, 100, 'BGM 2'],
['003-Battle03', 100, 100, 'BGM 3'],
['004-Battle04', 100, 100, 'Map']]
And all that did was make the battle music the same as the map's music.
Quote from: MarkHest on September 27, 2015, 08:30:27 am
I don't understand what you mean :p
In Stormtronics, BGM music has a game variable attached to it. In the default configuration, it is
You could use a conditional branch to check what battle music the player has chosen by looking at $game_variables[49] in this case. So, if the player's battle music was 'BGM 1' (which is the first option in BATTLE_BGMS), $game_variables[49] would be 0. 'BGM 2' would give us 1. And so on...
The point I was making was that G_G's add-on could have made it so that "BGM 1" would return 1 instead of 0. Then, you modify Stormtronics to include a "None" or "Default" option for Battle BGM, which we would assign a value of 0. Thus, if $game_variables[49] is 0, we know the player did NOT select a map background music.
This was just my hypothesis.
Quote from: MarkHest on September 27, 2015, 08:30:27 am
Also, this script is an addon to the Stormtronics CMS. I can't remember if I did actual tweaks to the main script itself but the one I posted is the only script.
You could compare the original script with your current script using something like
Text-Compare. And if you don't remember, what's the danger in just posting your Stormtronics script?