Basically I want to try and make a mod to bring the "rewind" feature from dsda-doom to gzDoom.
This is how I think the mod would work.
- Save the game every "x" frames to the same file. ("x" can be user definable in a options menu)
- Have a single hotkey that loads the save file (hotkey can be user definable in a options menu)
Things I think the mod needs to really work
- Saving should repress any sound or message popup. So it is not noticeable by the player.
- The script should pause so it dose not try and save before a game has started or if the game menu is open (esc)
- It would be great to somehow make these saves unique so pressing "use" to respawn will not actually load the rewind save, but the last actual save or quicksave you did
I've looked through the auto-autosave mod, and it is pretty advanced for me (I've only done some ui stuff), and I can not work out how it is actually saving the game.
: TL;DR :
- How do you "save the game" via zscript?
- Would anyone more experienced in zscript be interested in doing this mod for me?