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

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
is there a way to remove every window command but Quit and then position it with x and y?
 

no dur hah

super advanced member in the galaxy
Veteran
Joined
Oct 13, 2014
Messages
63
Reaction score
45
Primarily Uses
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...
 

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
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.....
 

Bastrophian

The Pixel Heartist!
Veteran
Joined
Oct 26, 2013
Messages
3,830
Reaction score
2,070
First Language
English
Primarily Uses
Other
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....
 

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
469
First Language
Lithuanian
Primarily Uses
Like this?

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 
 
Last edited by a moderator:

Bastrophian

The Pixel Heartist!
Veteran
Joined
Oct 26, 2013
Messages
3,830
Reaction score
2,070
First Language
English
Primarily Uses
Other
Like this?

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? :) )  
 

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
Like this?

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!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top