Help - Search - Members - Calendar
Full Version: Remove save function
RPG RPG Revolution Forums > Scripting > Script Tutorials > RGSS2
filiusrex091

Remove save function



What this script does;


This is a little script that simply removes the save function from the menu. I wrote this
for my Ace project, but decided to share it


Script


CODE
#------------------------------------------------------------------------------
#------------------ Filius rex's remove save command For VXA ------------------
#------------------------------------------------------------------------------
#
#                This simply removes the save command from the menu.
#------------------------------------------------------------------------------

class Scene_Menu < Scene_MenuBase
    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(:game_end,  method(:command_game_end))
    @command_window.set_handler(:cancel,    method(:return_scene))
  end
end

class Window_MenuCommand < Window_Command
   def make_command_list
    add_main_commands
    add_formation_command
    add_original_commands
    add_game_end_command
  end
end
Laue
Yanfly's Menu Engine does the same thing and more to be honest.
filiusrex091
Really? Sorry, this is my very first script and I didn't do much research regarding other scripts that are already available. Anyways, I have used
that menu system for VX and I found it too be quiet difficult to set up. So the real point of this script is just so that you can paste it in without having to read through a long customization module. sweat.gif
Laue
QUOTE (filiusrex091 @ Apr 8 2012, 01:54 AM) *
Really? Sorry, this is my very first script and I didn't do much research regarding other scripts that are already available. Anyways, I have used
that menu system for VX and I found it too be quiet difficult to set up. So the real point of this script is just so that you can paste it in without having to read through a long customization module.

You should try the Ace one. It's very easy to customize and set up. Or to modify.
filiusrex091
Thanks for the heads up. I guess I'l have to check that out. As for my script, I may do another update with more features
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.