Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,273
Reaction score
217
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,273
Reaction score
217
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

Have you ever had the problem of not knowing how to name your game?
I tried to draw it to keep the aspect ratio of 48*48
It doesn't look good, but I'm not sure if there are other ways to render larger characters. and then maintain the sharpness or not
SF_Enemy1_6 added!
index.php

Just thought I'd share how my battlers are looking for my 4 main characters. From left to right... Ashlyn the brave fighter, Lizzabelle the peaceful mage, Suki the thief, Saedra the not-so-peaceful mage.

pLZHVLI.png
Power to the Game Make!

Forum statistics

Threads
118,782
Messages
1,118,661
Members
155,951
Latest member
SmectaMyLife
Top