- Joined
- Mar 31, 2014
- Messages
- 177
- Reaction score
- 26
- First Language
- English
- Primarily Uses
- RMMV
Welcome! The aim of this tutorial is to help RGSS3 begginers learn how to change their menu screen according to their wish.
This is slightly more advanced and powerful than Tweaking your title screen. It's a menu, and it's a bundle of things.
Scene_Menu Class
Disable Menu Commands
Scene_MenuStatus
Sorry if i can not do this here, but i will try to update this thread continuously and add more and more and more and don't hesitate to post your own ideas here!
So i'm going to add much more on this, mostly on saturday afternoons, cuz i'm free then. Hope it really helps you
.
This is slightly more advanced and powerful than Tweaking your title screen. It's a menu, and it's a bundle of things.
Scene_Menu Class
How to disable windows from showing up, or add your own
#-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super create_command_window create_gold_window create_status_window endLook out. Any idea what you can do with it? You can easily remove any window you don't like... for example in adventures, it's rare to have an gold window cuz no currency
. So:
#-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super create_command_window# create_gold_window create_status_window endJust comment the gold window method and get yourself rid of that thing in your adventure.
If you know much about those windows, you'd perhaps like to add your own method in there to add an extra window to the menu scene, this is the perfect place
#-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super create_command_window create_gold_window create_status_window endLook out. Any idea what you can do with it? You can easily remove any window you don't like... for example in adventures, it's rare to have an gold window cuz no currency
#-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super create_command_window# create_gold_window create_status_window endJust comment the gold window method and get yourself rid of that thing in your adventure.
If you know much about those windows, you'd perhaps like to add your own method in there to add an extra window to the menu scene, this is the perfect place
#-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window @command_window = Window_MenuCommand.new @command_window.set_handler
item, method
command_item)) @command_window.set_handler
skill, method
command_personal)) @command_window.set_handler
equip, method
command_personal)) @command_window.set_handler
status, method
command_personal)) @command_window.set_handler
formation, method
command_formation)) @command_window.set_handler
save, method
command_save)) @command_window.set_handler
game_end, method
command_game_end)) @command_window.set_handler
cancel, method
return_scene)) endSo, as before, you can easily disable one of these. In the menu scene, you'll find it to be "Greyed Out". See later to remove them.
You simply have to comment on their line to not completely vanquish their evil existence, but surely disabling them :/. Creepy
You simply have to comment on their line to not completely vanquish their evil existence, but surely disabling them :/. Creepy
Scene_MenuStatus
Changing actor's status
#-------------------------------------------------------------------------- # * Draw Simple Status #-------------------------------------------------------------------------- def draw_actor_simple_status(actor, x, y) draw_actor_name(actor, x, y) draw_actor_level(actor, x, y + line_height * 1) draw_actor_icons(actor, x, y + line_height * 2) draw_actor_class(actor, x + 120, y) draw_actor_hp(actor, x + 120, y + line_height * 1) draw_actor_mp(actor, x + 120, y + line_height * 2) endAdd this method at the last of the class. Let me show you what i did.
This is a method in Window_Base, used in this class. If we define it here, it will change it for only this class, so other places won't be disturbed.
What can you do? A lot! Just comment a line, change the length of the bars. It's up to you to experiment here!
For example, no magic? Comment the MP Line and get rid of it.
Also, you can just increase size of the bars by adding to the bar width, which is the second argument in most of these.
And too, push the name down, or up, or anywhere by - or + <value>!
#-------------------------------------------------------------------------- # * Draw Simple Status #-------------------------------------------------------------------------- def draw_actor_simple_status(actor, x, y) draw_actor_name(actor, x, y) draw_actor_level(actor, x, y + line_height * 1) draw_actor_icons(actor, x, y + line_height * 2) draw_actor_class(actor, x + 120, y) draw_actor_hp(actor, x + 120, y + line_height * 1) draw_actor_mp(actor, x + 120, y + line_height * 2) endAdd this method at the last of the class. Let me show you what i did.
This is a method in Window_Base, used in this class. If we define it here, it will change it for only this class, so other places won't be disturbed.
What can you do? A lot! Just comment a line, change the length of the bars. It's up to you to experiment here!
For example, no magic? Comment the MP Line and get rid of it.
Also, you can just increase size of the bars by adding to the bar width, which is the second argument in most of these.
And too, push the name down, or up, or anywhere by - or + <value>!
Sorry if i can not do this here, but i will try to update this thread continuously and add more and more and more and don't hesitate to post your own ideas here!
So i'm going to add much more on this, mostly on saturday afternoons, cuz i'm free then. Hope it really helps you
Last edited by a moderator:
