Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Calvinchun

Scripts Edits

Question

Hi guys!

 

I'm getting better in rmxp. In script, i know how to show a logo in title screen. But i did not know how to put a scripts that play a different sound when push the "new game" button then the default SE decision. Example when i push the new game button, It play different sound effect then the default decision SE.

(P.S : I want to thanks everyone because you all are like my second family.yes.gif )

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

class Scene_Title

NEW_GAME_SE = ['', 100, 100]
# ['SE FILENAME', VOLUME, PITCH]

 alias new_game_se command_new_game
 def command_new_game
   original = $data_system.decision_se
  $data_system.decision_se = RPG::AudioFile.new(*NEW_GAME_SE)
  new_game_se
  $data_system.decision_se = original
 end
end

 

Just configure the NEW_GAME_SE array at the top. I didn't test, but it should work fine.

Edited by ForeverZer0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...