[minimod][v1.4.1] Autoautosave

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

[minimod][v1.4.1] Autoautosave

Postby m8f » Wed Mar 21, 2018 8:37 am

2018 Cacowards Mini Mod Safari wrote:autoautosave is a must-have for anyone who frequently forgets to save across long periods of time but doesn't want to resort to savescumming, automating the saving process every X minutes under Y conditions. Extremely useful!


Autoautosave is a universal autosaver.
It works as a configurable checkpoint system.
It is designed to be compatible with any monster and weapon mod, and any map.

Download
Image
Source code

Features
  • autosave on various events: enemies alerted and killed, health or armor drops or rises, items are found, etc.
  • periodic autosave.
  • autosave on every event is optional.
  • some events have fine-tuning options.
  • optional screenshot taking when events happen.
  • three options for event reporting: console, on-screen, and voice.
  • interface for mod support.

Spoiler: Thanks to:


As always, feedback and bug reports are appreciated.

This mod is a part of m8f's toolbox.
Last edited by m8f on Wed Jul 15, 2020 10:35 am, edited 52 times in total.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.1] Autoautosave

Postby Someone64 » Wed Mar 21, 2018 9:04 am

How is mod compatibility with this thing? Could mods that change the Mastermind and Cybie, keys, powerups, etc easily break it?
Someone64
 
Joined: 23 Feb 2016

Re: [WIP][v0.1] Autoautosave

Postby m8f » Wed Mar 21, 2018 9:14 am

Most of the events are universal. Changing monsters, keys, etc will just cause to some events to not happen. Autoautosave will not crash, it will just autosave less often. That's why I'll have to extend pickups, keys, and monsters events to other games and mods manually.

Edit 2018-03-31: now all events should work with any mod - if you notice game isn't saved when it should be - please tell me.
Last edited by m8f on Sat Mar 31, 2018 10:59 am, edited 1 time in total.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.1] Autoautosave

Postby insightguy » Wed Mar 21, 2018 9:20 am

m8f wrote:- player has less than 25 health.

Is it possible for the player to set this threshold? I would imagine there are people who want to autosave even at 10 hp for those long streches without healing items
User avatar
insightguy
^HEY! My avatar is up there^
Banned User
 
Joined: 23 Mar 2011

Re: [WIP][v0.1] Autoautosave

Postby m8f » Wed Mar 21, 2018 9:24 am

Not yet, but I plan to make everything configurable. I just wanted to stabilize features before implementing options.
Edit: right now you can change it in ACS, if you are up to. This is controlled by healthLimit variable.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.1] Autoautosave

Postby Someone64 » Wed Mar 21, 2018 9:35 am

Here's a list of event's I'd like to see for a configurable universal autosave mod (this list may include things already implemented):
when player's health reaches certain level (or under, or over)
player's armor reaches certain level (or under, or over. both shouldn't be mutually exclusive)
time interval
key pickup (would be nice to have a separate addon that entirely replaces keys to be loaded after a mod that replaces keys)
kill any monster considered a boss
save on hotkey (yeah, GZDoom has its own for that but the first save requires naming)

There's also something interesting that the UAC Survival Pack mod did where it spawns its items beside certain types of item spawns which works universally. Maybe you could implement it in the same way and spawn an invisible item directly on the spawn spot that auto saves the game instead? This could be a solution to the mod compatibility problem.
Someone64
 
Joined: 23 Feb 2016

Re: [WIP][v0.1] Autoautosave

Postby m8f » Wed Mar 21, 2018 9:45 am

Thanks for the list and for the compatibility suggestion! I'll look into it.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.1] Autoautosave

Postby 4thcharacter » Thu Mar 22, 2018 12:00 am

How about a toggle? I wouldn't like it autosaving on some parts for more challenge, but there are some parts where we would find that an autosave would be neat, like the all monsters are killed and 5 mins. have passed.
User avatar
4thcharacter
"I have returned."
 
Joined: 02 Jun 2015

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby m8f » Thu Mar 22, 2018 4:32 am

Update:
Someone64 wrote:How is mod compatibility with this thing?

Done.
insightguy wrote:
m8f wrote:- player has less than 25 health.

Is it possible for the player to set this threshold?

Done.
Someone64 wrote:when player's health reaches certain level (or under, or over)
player's armor reaches certain level (or under, or over. both shouldn't be mutually exclusive)
time interval
key pickup
kill any monster considered a boss
save on hotkey (yeah, GZDoom has its own for that but the first save requires naming)

Done.
4thcharacter wrote:How about a toggle?

Done.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby namsan » Thu Mar 22, 2018 5:23 am

This mod is so great. It really improved my Quality of Life.
I was tapping quicksave key on every 20 seconds, but now I don't have to.
Thanks!
User avatar
namsan
Loves English but hates Revenants
 
Joined: 31 Mar 2012
Location: Japan
Discord: Namsan#8146

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby Someone64 » Thu Mar 22, 2018 6:34 am

I have a really interesting idea for auto saving but it is probably out of the scope of this mod. There is a mod called Keymaster by JPL and a similar concept can be applied to auto saving. Basically, random enemies, items, or whatever else are assigned auto saver status. They have floppy disk icons floating over their heads. Murdering the monster or collecting the item with this status will auto save your game. Would be great fun for no save runs where you actually have to go and earn your autosaves when you turn off time interval saving.

If not, though, would be nice to apply the icon concept at least. So for example, you have the current feature set with certain items set to be auto save items, you could maybe have an icon floating over them making it easily understandable to the player that their auto save mod is working and that picking up this or that item will save the game.

Also, you should probably increase the threshholds for the health and armor stuff because ridiculous mods like Russian Overkill where 10000 health and armor can be easily attained are a thing. Not only that but it seems these can't be disabled.

EDIT: It seems compatibility with the Doomzone mod isn't so good. It doesn't seem to detect monsters with over 2000 health, it doesn't save on Cybie and Mastermind kill, and doesn't save on weapon pickup. Is it just the mod working in a strange way or autoautosaver not working?
Someone64
 
Joined: 23 Feb 2016

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby m8f » Thu Mar 22, 2018 7:31 am

namsan wrote:This mod is so great...

I'm glad that mod helps. Thanks for kind words.

Someone64 wrote:random enemies, items, or whatever else are assigned auto saver status

That's an interesting idea, but this will affect gameplay a lot, so I don't plan implementing this. Plus, saving in the middle of a battle under enemy fire isn't wise, and this inevitably will happen if random enemies' death will cause autosave.
Someone64 wrote:icon floating

I tried to make this mod as silent and unobtrusive as possible, and icons are out of scope of this mod.
Someone64 wrote:increase the threshholds

Will do.
Someone64 wrote:compatibility with the Doomzone

I'll investigate it.

Thanks for great feedback!
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby m8f » Thu Mar 22, 2018 8:07 am

Someone64 wrote:It seems compatibility with the Doomzone mod isn't so good. It doesn't seem to detect monsters with over 2000 health, it doesn't save on Cybie and Mastermind kill, and doesn't save on weapon pickup. Is it just the mod working in a strange way or autoautosaver not working?

Strange, I receive autosaves both on weapon pickups and Cyberdemon kill with the Doomzone. Maybe you have not enough health or not enough time has passed since previous autoautosave? Please, take a look at options, there is "At least N seconds must pass before new autoautosave". Maybe you want to decrease this.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby Tesculpture » Fri Mar 23, 2018 6:25 am

So, this is the doom equivalent of this?

Would it be possible to have it autosave when a boss monster is alerted? Better yet, when ten or more monsters are alerted at the same time?
User avatar
Tesculpture
 
Joined: 07 Feb 2016

Re: [WIP][v0.2] Autoautosave (+universal, +options)

Postby m8f » Fri Mar 23, 2018 6:54 am

I don't know how autosave can warn player, if player isn't already warned by suspicious powerup or key :)
About saving when monster is alerted - I'll check if this is possible. If it is, it must be in Autoautosave.

Edit: totally possible.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Next

Return to Gameplay Mods

Who is online

Users browsing this forum: Akatsuki, Carrotear, Common Crawl [Bot], Semrush [Bot], Sinael, Smashhacker and 226 guests