Removing Every Menu Command but Quit and position it with x and y

● ARCHIVED · READ-ONLY
Started by tearsofthenight 7 posts View original ↗
  1. is there a way to remove every window command but Quit and then position it with x and y?
  2. If the only menu command would be quit, why not just make it so that when you press the menu button, the game quits? It'd just be a unnecessary to have a menu with only one command...
  3. Snoop said:
    If the only menu command would be quit, why not just make it so that when you press the menu button, the game quits? It'd just be a unnecessary to have a menu with only one command...

    Because i want a simple pause menu.....
  4. ok, well, try this to get rid of the menu options

    Go to the script editor

    Under "Window", go to Window_MenuCommand

    Scroll down to the sections that say "Add main commands to list, Add formation command to list, and add save command to list" And comment out all the commands in those sections. If you dont know, that means putting a "#" in front of them. 

    Shaz showed me how to do this :) . Anyway, that should take care of the commands, not sure how to center it though....
  5. Like this?

    Spoiler
    Code:
    class Scene_Menu < Scene_MenuBase   def start    super    create_command_window  end   alias :mrts_half_create_command_window :create_command_window  def create_command_window    mrts_half_create_command_window    @command_window.x = Graphics.width/2 - @command_window.width/2    @command_window.y = Graphics.height/2 - @command_window.height/2  endend class Window_MenuCommand < Window_Command  def make_command_list    add_game_end_command  endend 
  6. Mr. Trivel said:
    Like this?

    Spoiler
    class Scene_Menu < Scene_MenuBase def start super create_command_window end alias :mrts_half_create_command_window :create_command_window def create_command_window mrts_half_create_command_window @command_window.x = Graphics.width/2 - @command_window.width/2 @command_window.y = Graphics.height/2 - @command_window.height/2 endend class Window_MenuCommand < Window_Command def make_command_list add_game_end_command endend 
    Well then! Humph!.....i'll just shut up then. :p  (lol, but i like. Mind if i stash this away in my cache of scripts? :) )  
  7. Mr. Trivel said:
    Like this?

    Spoiler
    class Scene_Menu < Scene_MenuBase def start super create_command_window end alias :mrts_half_create_command_window :create_command_window def create_command_window mrts_half_create_command_window @command_window.x = Graphics.width/2 - @command_window.width/2 @command_window.y = Graphics.height/2 - @command_window.height/2 endend class Window_MenuCommand < Window_Command def make_command_list add_game_end_command endend 



    Thank you!