Single Save Slot

Single Save slot
Version: 1.0

Introduction

This script does the following: It lets you have only 1 save file, and gives you the option if you want to overwrite the file or not. Pretty straightforward, eh?
*Note* Don't expect too much, since this is one of my first scripts :*)

Screenshots

Content Hidden Spoiler
http://img223.imageshack.us/img223/8338/screenkn6.png[/img]


Demo

Megaupload
Sendspace

Script

It appears the families have had some trouble saving, so they were unable to locate the script (Look in the demo).

Instructions

Simply copy/paste the scripts marked with a * in your folder. After that you can go to Scene_Title, and change

    @continue_enabled = false
    for i in 0..3
      if FileTest.exist?("Save#{i+1}.rxdata")
        @continue_enabled = true
      end
    end
Expand to see the code.


with

    @continue_enabled = false
    for i in 0..3
      if FileTest.exist?("Save")
        @continue_enabled = true
      end
    end
Expand to see the code.


That's all there is to it. Don't forget to copy Menu2 from the pictures folder. It's the picture for that scene in my own game, so you'd better make a picture for that yourself. Just make sure it says 'Do you wish to overwrite' or something like that in your picture, otherwise the player won't know why he's given 2 choices. Don't forget to name it Menu2!

There's also an option to make the commands vertical, instead of horizontal. Simply remove then ', 1' in Scene_Savechoice. Here's what you should be looking for:

@command_window = Window_Command.new(240, [s1, s2], 1)
Expand to see the code.


If you want, you could keep the original Window_Command script. Just remove the ', 1' too, otherwise it's going to give you an error.

FAQ

None so far.

Compatibility

None so far.

Credits and Thanks

Tsunokiette, for making the Advanced Command Windows.

Terms and Conditions

Free for commercial and non commercial use, as long as you give credit.
The 'Yes' and 'No' in that screenshot look quite awkward...they're too aligned to the left with the select box.

Other than that, glad to see you've got it figured out finally ^^
Well that's an easy fix, just go to Scene_Savechoice and add spaces to "Yes" and "No". To have it centered, just change them to this:

    s1 = "       Yes"
    s2 = "        No"
Expand to see the code.
Please rehost it to sendspace ;P

@Tassadar
Thank you ;P
Uploading it now. I'll update the first post.
Hmm, i can save but cant load file ;| Help
Follow the instructions I posted in the first post, and everything should be fine. You could of course just copy Scene_Title into your own project.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=29680