Menu > Equip scene edit needed (or help to do it myself)

gregbaby

Evil Genius. o_O
Veteran
Joined
Jan 20, 2013
Messages
257
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Hello everyone!

My game has only one playable character and therefore I'm looking to do a slight edit to the menu. When I go into my menu and select Equip I want it to bypass the actor select bit and jump straight to the equipment selection screen. I've had a dig about in the script files but I'm not sure which lines I need to comment out to get it working for me.

Any advice would be greatly appreciated!

Cheers,

Greg
 
Last edited:

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

I've moved this thread to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

 

gregbaby

Evil Genius. o_O
Veteran
Joined
Jan 20, 2013
Messages
257
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Apologies. This is a VX Ace topic also.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV
Sorry, because there is only one RGSS support section, I forget there are multiple request sections.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Not everything can be solved by commenting out something. :D

Try this snippet:
Code:
class Scene_Menu < Scene_MenuBase

  alias skip_act_sel9972 create_command_window
  def create_command_window
    skip_act_sel9972
    @command_window.set_handler(:equip, method(:call_equip_scene))
  end

  def call_equip_scene
    if $game_party.members.size > 1
      command_personal
    else
      SceneManager.call(Scene_Equip)
    end
  end

end
Put it below the default scripts.
This should do what you asked for, although I haven't tested it.
Also, if you use a custom menu, it might interfere with this snippet.
 
Last edited:

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
231
Reaction score
85
First Language
english
Primarily Uses
N/A
Not everything can be solved by commenting out something. :D

Try this snippet:
Code:
class Scene_Menu < Scene_MenuBase

  alias skip_act_sel9972 create_command_window
  def create_command_window
    skip_act_sel9972
    @command_window.set_handler(:equip, method(:call_equip_scene))
  end
 
  def call_equip_scene
    SceneManager.call(Scene_Equip)
  end
 
end
Put it below the default scripts.
This should do what you asked for, although I haven't tested it.
Also, if you use a custom menu, it might interfere with this snippet.
Works perfectly, thanks for your help, any chance you can edit it so that if you have more than 1 party member it goes back to the way it was?
 

gregbaby

Evil Genius. o_O
Veteran
Joined
Jan 20, 2013
Messages
257
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Thanks Sixth! You seem to be the only person on this forum that still helps with VX Ace queries, you sir are a legend!
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
I have edited the snippet in my previous post.
Now it will use the default way if the party got more than 1 members.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top