RandomBGM VX + ACE
#1
RandomBGM VX + ACE

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. Winking

Instructions

For VX

You will need to set the values of 2 Constants found in the RandomBGM module.
The first Constant will let you play a random BGM including the default one (see above) while the other one defines whether or not the boat or ship or airship will play their usual BGM.

For Boat, Ship and Airship:
Code:
PLAY_BGM = [nil, nil, true]

For VX ACE

Leave a Random BGM Note in the Main Map's Notebox like the following:
Code:
<switch SwitchID bgm Bgm1 Bgm2 Bgm3>

Leave a No Vehicle BGM Note in the Main Map's Notebox:
Code:
<no vehicle bgm>

For All RGSS Editions

Clear Main Map's Game Switch
Code:
$game_map.clear_main_bgm



Terms & Conditions

Free for use in any game. Gamer
Due credit is mandatory.
Do not repost it anywhere!
That's it! Tongue sticking out
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }




Users browsing this thread: 1 Guest(s)