Menu Music
This script allows you to assign a BGM and BGS to play in the menu. They will be played until you return to the map, where the map music will then replay.
You can compile a list of music that will be played and control which one to use during the game using variables.
Download
Script: download here
Installation
Place this script below Materials and above Main
Usage
In the configuration below, start by choosing a BGM variable, which is the ID of the variable that will hold the BGM to play. Then choose a BGS variable. You can set it to 0 if it is not needed.
Next, set up the list of BGM and BGS to be played. Each file has a number assigned to it: this is the number that you will set the variables to in order to play the appropriate music.
The “Disable Switch” is used to prevent the menu music from auto-playing when the switch is on, in case you want the map BGM to continue while in the menu. You can assign it to any switch.
It doesn’t crash for me but it doesn’t work at all
This isn’t compatible with Galv’s Menu Themes
When you go into menu music but exit the map music restarts. Is there a way after you exit the menu the map music resumes to the point it left off of when you entered the menu. Like let me use this number example. The map music at 6 currently when you enter the menu and exit the map music start back over at 1 is there a way that if the map music currently at 6 then when u go in and exit the menu then the music resumes from 6? I hope I explained it clear enough.
A little quick question, is there a way to have more then one BGM? I’m using a Multiple Menu Theme script and I thought it would be more interesting if each Menu Theme had their own BGM by a flip of a switch or a changed value of a variable.
Which menu script are you using? Does it use a variable to determine which music is active?
I’m using Galv’s Menu Theme Engine. And yep, that’s the plan~! The Variable “Menu Music” would be set at a different number that would play a different theme depending on what Menu Theme that would be selected. That would be activated through a Commom Event. The Common Event would change the theme and the variable so, there would be a different BGM for each Theme 😀
I have updated the script to support music lists that play based on the value of a variable. See the usage section for more info.
Niiice! Thanks a lot Hime~!
Is there a way to adjust the volume of the BGM and BGS that are chosen for use in the script?
Add this line after line 109
$game_temp.menu_bgm.volume = 70
I inserted that in and it keeps telling me undefined method for “menu_bgm”
Hey, when I tried using this with Moghunter’s CMS in VXAce, the music does not play! Is there a way I can fix this? o3o
I am not familiar with that script. Maybe you can ask the question on one of the forums and see if anyone has any experience with that script.
When I use this script and have an item in my inventory have a common event attached to it that exits the menu, the Menu BGM still plays… Are you able to reproduce it? Or is it just me? 😐
It was a bug. I have fixed it and updated the script.