Additional "disableautosave" Option(s)

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
0mnicydle
Posts: 93
Joined: Thu Jun 27, 2013 6:19 pm

Additional "disableautosave" Option(s)

Post by 0mnicydle »

According to the wiki the cvar "disableautosave" has the following options:

0 - Autosave whenever you enter a new level and whenever the level requests it. (Default)
1 - Autosave only when the level requests it.
2 - Never autosave.

I don't know if this is a bug or what, but I have this set to 2, yet scripts are able to autosave anyway with the "level.MakeAutoSave" command, forcing me to edit scripts to truly disable autosave. Same with 1, but I wouldn't have expected otherwise.

Assuming this isn't a bug, I guess "only when the level requests it" is something internal to a map file, and doesn't cover scripts. I believe option 2 should also prevent scripts from invoking autosave, or there should be an additional option to cover scripts as well.

Additionally, I would really like if there was another option for this cvar to ONLY allow autosave when entering a new level. I am not opposed to autosaves before gameplay has even started (to the contrary), but I find mid-level autosaves that bring the game to a halt (as currently implemented) to be extremely undesirable. It would be nice if I didn't have to forgo the former to avoid the latter.
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: Additional "disableautosave" Option(s)

Post by Marisa the Magician »

Could be possible that it only covers the ACS version of autosave but not the zscript one, then.
Post Reply

Return to “Feature Suggestions [GZDoom]”