Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Disabling the Save Menu

Started by Sophist, June 30, 2010, 06:54:50 AM

0 Members and 1 Guest are viewing this topic.

Sophist

I could'a swore there was a button to do this. I want traditional save points in my game, and can't do it because of this. :I
[fright]you awoke in a burning paperhouse
from the infinite fields of dreamless sleep
[/fright]

Mitsarugi

Quote from: Anski on June 30, 2010, 06:54:50 AM
I could'a swore there was a button to do this. I want traditional save points in my game, and can't do it because of this. :I

go into the script editor, find "Scene_Menu"

find [spoiler]def create_command_window
    s1 = Vocab::item
    s2 = Vocab::skill
    s3 = Vocab::equip
    s4 = Vocab::status
    s5 = Vocab::save
    s6 = Vocab::game_end
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])
    @command_window.index = @menu_index
    if $game_party.members.size == 0          # If number of party members is 0
      @command_window.draw_item(0, false)     # Disable item
      @command_window.draw_item(1, false)     # Disable skill
      @command_window.draw_item(2, false)     # Disable equipment
      @command_window.draw_item(3, false)     # Disable status
    end
    if $game_system.save_disabled             # If save is forbidden
      @command_window.draw_item(4, false)     # Disable save
    end
  end
[/spoiler]
exchange s5 with s6 , makes "s5 = Vocab::game_end" (delete s6 = Vocab::game_end)
delete s6 here " @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])"

then
[spoiler]Sound.play_decision
      case @command_window.index
      when 0      # Item
        $scene = Scene_Item.new
      when 1,2,3  # Skill, equipment, status
        start_actor_selection
      when 4      # Save
        $scene = Scene_File.new(true, false, false)
      when 5      # End Game
        $scene = Scene_End.new[/spoiler]
exchange when 4 with when 5 , makes :
      when 4      # Save
         $scene = Scene_End.new
delete when 5

OR

in an event page 3 
go to system settings
"change save acces"
disable
       

modern algebra

If you don't mind it being in the menu, but just want to disable the option, you can use the event command: Change Save Access and disable it.

Mitsarugi

Quote from: modern algebra on June 30, 2010, 01:03:42 PM
If you don't mind it being in the menu, but just want to disable the option, you can use the event command: Change Save Access and disable it.

i already said that :p

modern algebra


Sophist

Thanks bros, shit's resolved. :D
[fright]you awoke in a burning paperhouse
from the infinite fields of dreamless sleep
[/fright]