lYuukil

Warper
Member
Joined
Mar 25, 2018
Messages
4
Reaction score
0
First Language
Italian
Primarily Uses
RMMZ
I don't know if I'm in the right section, if not I'm sorry, it's the first time I post. I am blocked because I changed the SE of the "cursor" and "decision" for my title screen and of course it changed the "cursor" and "decision" in everything in the game. How can I change only the title screen SE? I'd love to make different SE when I select "new game" and "options". I know how plugins work but I don't know how scripts work so if there is some script please explain me like I'm noob.
Thank you
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,966
Reaction score
16,019
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSS3 Script Requests. Thank you.



I assume you are asking for a script for Ace.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,482
Reaction score
1,248
First Language
English
Primarily Uses
RMVXA
I'd love to make different SE when I select "new game" and "options". I know how plugins work but I don't know how scripts work so if there is some script please explain me like I'm noob.
This allows you to set a sound for all three by default. It can be changed if you need more or less. Depending on your game.
Ruby:
module R2_Title_Cursor_Sounds
  New = "Chest"
  Continue = "Coin"
  Quit = "Bite"
end

class Window_TitleCommand < Window_Command

  alias r2_title_command_init   initialize
  def initialize
    r2_title_command_init
    @new_snd = RPG::SE.new(R2_Title_Cursor_Sounds::New, 100, 100)
    @continue_snd = RPG::SE.new(R2_Title_Cursor_Sounds::Continue, 100, 100)
    @quit_snd = RPG::SE.new(R2_Title_Cursor_Sounds::Quit, 100, 100)
  end
 
  def process_cursor_move
    return unless cursor_movable?
    last_index = @index
    cursor_down (Input.trigger?(:DOWN))  if Input.repeat?(:DOWN)
    cursor_up   (Input.trigger?(:UP))    if Input.repeat?(:UP)
    cursor_right(Input.trigger?(:RIGHT)) if Input.repeat?(:RIGHT)
    cursor_left (Input.trigger?(:LEFT))  if Input.repeat?(:LEFT)
    cursor_pagedown   if !handle?(:pagedown) && Input.trigger?(:R)
    cursor_pageup     if !handle?(:pageup)   && Input.trigger?(:L)
    @new_snd.play if @index == 0 && last_index != @index
    @continue_snd.play if @index == 1 && last_index != @index
    @quit_snd.play if @index == 2 && last_index != @index
  end

end
 

lYuukil

Warper
Member
Joined
Mar 25, 2018
Messages
4
Reaction score
0
First Language
Italian
Primarily Uses
RMMZ
This allows you to set a sound for all three by default. It can be changed if you need more or less. Depending on your game.
Ruby:
module R2_Title_Cursor_Sounds
  New = "Chest"
  Continue = "Coin"
  Quit = "Bite"
end

class Window_TitleCommand < Window_Command

  alias r2_title_command_init   initialize
  def initialize
    r2_title_command_init
    @new_snd = RPG::SE.new(R2_Title_Cursor_Sounds::New, 100, 100)
    @continue_snd = RPG::SE.new(R2_Title_Cursor_Sounds::Continue, 100, 100)
    @quit_snd = RPG::SE.new(R2_Title_Cursor_Sounds::Quit, 100, 100)
  end
 
  def process_cursor_move
    return unless cursor_movable?
    last_index = @index
    cursor_down (Input.trigger?(:DOWN))  if Input.repeat?(:DOWN)
    cursor_up   (Input.trigger?(:UP))    if Input.repeat?(:UP)
    cursor_right(Input.trigger?(:RIGHT)) if Input.repeat?(:RIGHT)
    cursor_left (Input.trigger?(:LEFT))  if Input.repeat?(:LEFT)
    cursor_pagedown   if !handle?(:pagedown) && Input.trigger?(:R)
    cursor_pageup     if !handle?(:pageup)   && Input.trigger?(:L)
    @new_snd.play if @index == 0 && last_index != @index
    @continue_snd.play if @index == 1 && last_index != @index
    @quit_snd.play if @index == 2 && last_index != @index
  end

end
Okay, it's a script. Does it works with rpg maker mz? I'm a little more familiar with plugins, so sorry for my noobness, how do I make the script work? Thank you
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,482
Reaction score
1,248
First Language
English
Primarily Uses
RMVXA
Actually I'm using rpg maker MZ
Are you using VX Ace at all? Your profile says your primary use is vx ace. Change that so we don't get confused.

Okay, it's a script. Does it works with rpg maker mz? I'm a little more familiar with plugins, so sorry for my noobness, how do I make the script work? Thank you

The script is for VX Ace and will not work for MZ

Click on the report link on your first post and ask for the thread to be moved to MZ support
 

lYuukil

Warper
Member
Joined
Mar 25, 2018
Messages
4
Reaction score
0
First Language
Italian
Primarily Uses
RMMZ
Are you using VX Ace at all? Your profile says your primary use is vx ace. Change that so we don't get confused.



The script is for VX Ace and will not work for MZ

Click on the report link on your first post and ask for the thread to be moved to MZ support
Oh, now I changed everything and reported my first post, thank you and sorry again :hswt:
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
4,138
Reaction score
3,189
First Language
EN
Primarily Uses
RMMZ

I've moved this thread to Plugin Requests. Thank you.

 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,691
Reaction score
2,602
First Language
Dutch
Primarily Uses
RMMV
TSR_SmartTitle might do the trick to change BG and SE to your liking
how far your savefile progresses.
 

Latest Threads

Latest Profile Posts

Hello! I’d like to ask where is a good place to start logging about my game dev progress as production of my game goes forth
In one of our campus classrooms was a bag full of stuff people forgot there... my bag. That I forgot there xD
You know your room is too tiny for how much stuff you have when it gives you literal insomnia. I just cleared a bunch of stuff out and man it feels good!
1670381555475.png
Meet the Kernel. You encounter him in cyberspace. He's important!
I released a test version of my game on itch.io. If anyone wants to check it out, here's the link (for now in Brazilian Portuguese only, sorry).

https://rafael-lobo.itch.io/insolita

Forum statistics

Threads
127,093
Messages
1,183,887
Members
167,007
Latest member
nayomitsu
Top