Home Creators Posts Import Register Favorites Logout

Content

I'm implementing an autosave feature to help people who aren't used to saving the game often.

The engine autosaves the game when finding secrets, when picking up powerups, when picking up keys, and when using the keys. This means that every secret, every powerup, every key and every door locked by a key will become a savepoint.

Right now, the autosaves are saved to the quick.sav file from the quicksave function defined in the default.ini file, and there's no autoload yet. So, when dying, the quickload button (defaulted to F9) must be manually pressed.

What's left to implement in the autosave system:

Make autosave trigger item list editable (likely through cvar bitflags).

Don't autosave twice if too quickly (e.g. find secret, get powerup).

Optionally, don't autosave when health is too low.

Autosave when substantially recovering from very low health (e.g. from 10 to 75).

When using the "restart" command, try to load an autosave first instead if the autosave file is from the same map in the same gaming session.

Optional autosave & autoload when shutting down and booting up the game.

The next version should be released before all that is done.

When the autoload is implemented, the autosave will not use the quick.sav file anymore, to not disturb manual usage of the quicksave & quickload buttons.

Comments

Pritchard

I have mixed feelings about the restart command change - I would still want a way to quickly restart the level from scratch. From my perspective it would be preferable to keep its function simple and consistent with its name.

Pritchard

That being said I think a lot of these ideas have merit - especially saving when gaining a large amount of health back, that's clever and not something I can recall being done before.