Jump to content
Sign in to follow this  
ProfCreepyPasta

Start Menu Sound Effect

Recommended Posts

I've been trying to find a script that plays a custom sound effect when you open the menu (or start menu) instead of playing the default sound from the database. Is there a script for this? Because I can't find any scripts related to this at all. 

 

Example, like when you open the start menu in Pokemon games.

post-54816-0-36035300-1451525409_thumb.png

Share this post


Link to post
Share on other sites

You need to change the call menu method in scene map and replace Sound.play_ok with a line that play another sound effect

class Scene_Map
  def call_menu
    sound = RPG::SE.new("sound_effect_file_name",100,100) #arguments 2 and 3 are volume and pitch
    sound.play
    SceneManager.call(Scene_Menu)
    Window_MenuCommand::init_command_position
  end
end


Then you just need to put this script in Materials ,put your sound file in the audio/SE folder and replace sound_effect_file_name with the appropriate thing

 

Edit: This screenshot looks familiar ,hmm ...

Edited by Shiggy

Share this post


Link to post
Share on other sites

You need to change the call menu method in scene map and replace Sound.play_ok with a line that play another sound effect

class Scene_Map
  def call_menu
    sound = RPG::SE.new("sound_effect_file_name",100,100) #arguments 2 and 3 are volume and pitch
    sound.play
    SceneManager.call(Scene_Menu)
    Window_MenuCommand::init_command_position
  end
end


Then you just need to put this script in Materials ,put your sound file in the audio/SE folder and replace sound_effect_file_name with the appropriate thing

 

Edit: This screenshot looks familiar ,hmm ...

 

Oh okay, thanks. I put that script in materials and it worked.

Share this post


Link to post
Share on other sites

9RWO0dm.pngThis thread is closed, due to being solved. If for some reason you would like to re-open this thread, just send me a PM. (=

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted