![]() |
![]() +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: ![]() |
RandomBGM XP - kyonides - 08-07-2023 RandomBGM XP
by Kyonides
Introduction Inspired by a forumer's support thread, I came up with a way to keep playing the current map's randomly chosen BGM while visiting what we could called here the child maps or dependent maps. There is a way to prevent the game from playing the vehicle's BGM as well. ![]() Instructions Set the values of the MAP_BGMS Constant found in the RandomBGM module. It will let you play a random BGM including the default one. Example: Code: MAP_BGMS[2] = [10, "001-Battle01", "003-Battle03", "005-Boss01", "007-Boss03"] Clear Main Map's Game Switch Code: $game_map.clear_main_bgm Terms & Conditions Free for use in any game. ![]() Due credit is mandatory. Do not repost it anywhere! That's it! ![]() RE: RandomBGM - kyonides - 08-07-2023 New Ports Available!
From now on, you can also make some good use of the RandomBGM script on RMXP and RMVX! ![]() The main differences are that XP has no vehicle by default and VX has no map notebox at all. ![]() This means you gotta depend on your trustworthy CONSTANTS to get the job done. ![]() The main post has been updated with the ![]() ![]() |