please help!
How Do you change the music in the title screen?
RPG Maker VX SupportShould be in the Database under the System tab (don't have VX but assuming it's the same as the other makers).
It is, on the bottom-left side of the System tab near Element Names, to be specific.
We use this script:
Just paste it in scripts under materials and before main. Then replace the:
"CRPG_TestintroMusic1_Loop" with the name of the audio file in your folder.
With this script you can also have a second song that will play randomly from time to time on the title screen, indicated by this part of the script:
# Plays 1/4 of the time:
RAND_BGM_2 = "CRPG_TestintroMusic1_Loop"
You'll need to change that song title too
-Sage
Code:
#==============================================================================
# Random Title BGM
#==============================================================================
# Snippet by piejamas
#==============================================================================
module Customisation
# Plays 3/4 of the time:
RAND_BGM_1 = "CRPG_TestintroMusic1_Loop"
# Plays 1/4 of the time:
RAND_BGM_2 = "CRPG_TestintroMusic1_Loop"
end
class Scene_Title
def play_title_music
#------------
# changed:
#------------
title_bgm = rand(3)
case title_bgm
when 0
Audio.bgm_play("Audio/BGM/#{Customisation::RAND_BGM_2}", 100, 100)
when 1...3
Audio.bgm_play("Audio/BGM/#{Customisation::RAND_BGM_1}", 100, 100)
end
RPG::BGS.stop
RPG::ME.stop
end
end
"CRPG_TestintroMusic1_Loop" with the name of the audio file in your folder.
With this script you can also have a second song that will play randomly from time to time on the title screen, indicated by this part of the script:
# Plays 1/4 of the time:
RAND_BGM_2 = "CRPG_TestintroMusic1_Loop"
You'll need to change that song title too
-Sage
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-change-the-music-in-the-title-screen.4102/