Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,277
Reaction score
219
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,206
Reaction score
874
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,277
Reaction score
219
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 Posts

Latest Profile Posts

Me: *sudden burst of motivation to do something amazing*
Me, 5 minutes later: "Yeah, that's not happening"
1iVi6I.png


Continuing our countdown with Capsule Monster #13 Tomey Thomas! I loved the idea of a tiny book gaining sentience and being a little wizard. It’s a shame none of his spells are useful XD
Have to be more organised and serious. It helps that im running out of time at work :|. so much to do. Trying to make game studio professional. www.bmpgames.com
imgur links are back!
now I CAN keep getting away with NOT replacing them with updated renders!
yay!
I forgot RPG Maker even existed. Such good memories. Might boot up steam and download MV one more time

Forum statistics

Threads
131,552
Messages
1,220,793
Members
173,220
Latest member
ZecaVn
Top