I think I have save disabled in my game. But I also have the menu modified so that save is not an option, just load. Save is done at specific points. But I also have quicksave available
Disable save not working
RPG Maker VXAce SupportThis script turns the save menu into a scene where you can both save and load.
The save_enabled method in the Window_MenuCommand class tells whether the save scene is available to be displayed.
The save_enabled? method in the Window_FileAction class is used to tell whether the save action is available. This is what is used to actually save the game.
I am pretty sure the idea behind always allowing the save scene to be accessible was that players are still allowed to load games even if they are not allowed to save the game.
Tested this script in a new RPG Maker VX Ace project, and it works as expected. The Save action cannot be used when saving is disabled.
@Kes Are you sure you want this change that also makes loading inaccessible?
P.s. the delete action is broken in the script.
The save_enabled method in the Window_MenuCommand class tells whether the save scene is available to be displayed.
The save_enabled? method in the Window_FileAction class is used to tell whether the save action is available. This is what is used to actually save the game.
I am pretty sure the idea behind always allowing the save scene to be accessible was that players are still allowed to load games even if they are not allowed to save the game.
Tested this script in a new RPG Maker VX Ace project, and it works as expected. The Save action cannot be used when saving is disabled.
@Kes Are you sure you want this change that also makes loading inaccessible?
P.s. the delete action is broken in the script.
I'm not sure exactly what you mean when you say that this makes loading inaccessible. I can load both an ordinary save or the autosave either from freshly loading the game or from within an already open game by selecting it in the Save Menu.
Nor am I sure what you mean when you say the delete action is broken. I've just successfully deleted an old save file from within the Save menu, so I suspect you mean something else.
He means that if you "disable access to the save menu" by using an event, it effectively disables the menu to load. Because save and load game is in the same menu scene.
I'm not sure about "deleting" part.
@TheoAllen If that's what is meant, then it's not a problem in this instance as I don't want the player to save or load on those particular maps. They are not normal maps, but maps where you choose skills to learn or upgrade. If I were more competent, I would do this through a Menu window, but I'm not, so maps it is.
That is what I meant. Good to hear its what you wanted ^^
As for the delete issue. I created a new fresh VX Ace project, plugged in the script and tested it. You can create saves but cannot delete them.
Perhaps I fixed it for and just don't remember doing so >_>
As for the delete issue. I created a new fresh VX Ace project, plugged in the script and tested it. You can create saves but cannot delete them.
Perhaps I fixed it for and just don't remember doing so >_>
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/disable-save-not-working.120387/