Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

I need a script edit on the Save Menu!

I want to remove save from the call menu, because I want only to save at save points. What script edit can I do to remove the save option in the game?
 
It's not hard or anything, just remove the save command from the command window and get rid of the when in the case in the update_command def.

Well, if you don't know how to script, then you should probably get more detailed instructions on this, as you could make it worse.
 

Mac

Member

Simple stuff, but i will explain more just in case you don't understand ruby that much.

In Scene_Menu

Find these lines:-
Code:
    s1 = $data_system.words.item
    s2 = $data_system.words.skill
    s3 = $data_system.words.equip
    s4 = "Status"
    s5 = "Save"
    s6 = "End Game"

When you've found them delete:-

Code:
s5 = "Save"

After that change the line:-

Code:
s6 = "End Game"

To this:-

Code:
s5 = "End Game"

Next scroll down to this line:-

Code:
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])

Just delete the s6 inside of it so it looks like this:-

Code:
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5])

Now keep scrolling down till you get to this:-

Code:
      when 4  # save
        # If saving is forbidden
        if $game_system.save_disabled
          # Play buzzer SE
          $game_system.se_play($data_system.buzzer_se)
          return
        end
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Switch to save screen
        $scene = Scene_Save.new

Delete that section and go down a little more till you reach this:-

Code:
      when 5  # end game
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Switch to end game screen
        $scene = Scene_End.new

Change 'when 5' too 'when 4' like this:-

Code:
      when 4  # end game
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Switch to end game screen
        $scene = Scene_End.new

And there you have it, no save function. Also after you get rid of it you will most likely need to resize the command window as there will be a blank space.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top