Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,272
Reaction score
213
First Language
ENGLISH
Primarily Uses
RMMV
It is possible that you  can have a different sound file played when pressed the new game in the title menu select screen.

I kinda like when you press the new game button it will played a different sound file instead of the already set "OK" sound effect on the title screen.

And make it compatible with this script.

https://yamiworld.wordpress.com/title-decorate/vertical-commands/
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,201
Reaction score
854
First Language
Hungarian
Primarily Uses
RMVXA
Assuming Yami's script did not change the overwritten method I used, here is a little snippet doing what you want:

Code:
module TitleSE   

  Setup = {   #  RPG::SE.new("file_name", volume, pitch),   
    :new_game => RPG::SE.new("Absorb2",       80,   100),   
    :continue => RPG::SE.new("Bell1",         80,   100),   
    :shutdown => RPG::SE.new("Crash",         80,   100), 
  } 

end

class Window_TitleCommand < Window_Command
  
  def process_ok   
    if current_item_enabled?     
      TitleSE::Setup[current_symbol].play     
      Input.update     
      deactivate     
      call_ok_handler   
    else     
      Sound.play_buzzer   
    end 
  end 

end
You can setup the SE for each command on the title screen with this in the module settings with the 'Setup' options.

I guess the settings do not need further explanations, they are rather self-explanatory.

Insert this at the top of your custom script list.

If it doesn't work with Yami's script, let me know and I will try to make a compatibility patch.
 
Last edited:

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,272
Reaction score
213
First Language
ENGLISH
Primarily Uses
RMMV
Assuming Yami's script did not change the overwritten method I used, here is a little snippet doing what you want:

module TitleSE Setup = { # RPG::SE.new("file_name", volume, pitch), :new_game => RPG::SE.new("Absorb2", 80, 100), :continue => RPG::SE.new("Bell1", 80, 100), :shutdown => RPG::SE.new("Crash", 80, 100), } endclass Window_TitleCommand < Window_Command def process_ok if current_item_enabled? TitleSE::Setup[current_symbol].play Input.update deactivate call_ok_handler else Sound.play_buzzer end end end
You can setup the SE for each command on the title screen with this in the module settings with the 'Setup' options.

I guess the settings do not need further explanations, they are rather self-explanatory.

Insert this at the top of your custom script list.

If it doesn't work with Yami's script, let me know and I will try to make a compatibility patch.
Works Great, Thanks for the scripts.
 

Latest Threads

Latest Profile Posts

Hi everyone! Enjoying this nice long weekend. How are you all doing? :)
I just successfully tested having events check if specific actors are in a particular party slot and then changing image to match. This will let me make scenes take into account who is in the party at the time and arrange them accordingly - this is important since I'll have extra actors beyond current party. The script used is the same from MV and is compatible with my current core plugin setup in MZ. Thank goodness.
That awkward moment when you're talking about thinking about writing a limited shop stock plugin for MZ and then find out you already wrote one...last May. My memory is so bad.
When I open my project and I'm like, hell yeah.
Some drawings I made in Lapis, one day I intend to involve them in some RPG Maker project.
* maybe two wall frames
*or some sprite flower tiara, or maybe it inspires someone to do something.
bdd19b62e539d17b3b00cc3d63034f7d.jpg

fcca5c8471b34483da8e032cfe579275.jpg

Forum statistics

Threads
118,426
Messages
1,115,866
Members
155,379
Latest member
blooko
Top