Cities: Skylines

Cities: Skylines

26 ratings
AutoSave Countdown
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
10.240 KB
25 Nov, 2015 @ 8:17am
15 Jan, 2016 @ 2:33pm
3 Change Notes ( view )

Subscribe to download
AutoSave Countdown

Description
Hey to my first mod! This is a simple one, it just shows the time remaining to the next AutoSave, so you can stop building when it saves.
Features:
+ Automaticially hides / shows depending on the usage of AutoSave
+ Changes color depending on the remaining time
+ Change the position of the countdown

How to change the position?
Click on the countdown. It should say "Press Enter to finish positioning" in the top left corner. Now you can drag the countdown text element around, and use the arrow keys to position the label a bit better. After you finished this process, just press Enter to commit the changes. Those changes will be saved into the game, so everytime you load, this values stay the same. You can repeat this process as often you like with clicking it again, and then using enter again.

Its not very big but useful :)
If you find bugs or something, just put them in the comments!

Source: https://github.com/iUltimateLP/skylines-autosave-countdown/
36 Comments
pulec 21 Jun, 2022 @ 12:40pm 
Eh, I noticed the movement with click and arrows or something, but I managed to make the label disappear. Options would be nicer.
pulec 21 Jun, 2022 @ 12:38pm 
Could you make the option for 21:9 and other aspect ratios? This seems to be only for 16:9.

But hey there is source, thanks.
BobGrey 13 Jun, 2019 @ 2:53pm 
I figured out that each time the game saved, the timer is n+1 seconds off (where n is the amount of seconds left on the timer the last save). Fist save is exactly on time. Second save is 1 second early. Thrid save is 2 second early. And so on. Is there any way to force-reset the timer?
Right now, I have my saves set to 10 minutes, and the time was 12 seconds off last time.
BobGrey 13 Jun, 2019 @ 8:51am 
I've been having an issue where the save gets "stuck" on the packaging phase, causing a crash on next save. After some research, it seems that if I stop everything I'm doing when it saves, it won't get stuck on packaging. This requires knowing when the save will occur, so this mod should be of MASSIVE help!
One question: can it be resized? I fell like that with how small it is, I wouldn't notice it, and therefore I wouldn't know when to stop.
Gabrielium 5 Oct, 2018 @ 6:00pm 
The offset might occur because time is being counted during the autosave. If you cancel any ticks while the game is autosaving, that might fix the offset.

There may be an event like "OnSave" that you could detour to start the timer after each save, but I don't have a copy of the source code with me right now so I can't look at it.
Eluminate [NL] 3 Jul, 2017 @ 8:34am 
@Annegret: I looked trough your code and I think I know why the offset occurs. I'm taking a copy of your Github code to test it out and see if the fix I have in mind works.
chill_eule 25 May, 2017 @ 11:26pm 
i'm having the same out-of-sync issue. the longer the game lasts, the more the timer gets behind.
shit slinger 3 Jul, 2016 @ 7:52pm 
Lol
yoda gaming  [author] 3 Feb, 2016 @ 1:06pm 
Hmm, it maybe gets out of sync but I'm not quite sure how to fix that because I think it relies to the Unity Engine..
Darth Bambi 3 Feb, 2016 @ 1:04pm 
I've also had that happen but it doesn't always do it, not a game breaking thing, i just stop what I'm doing when the timer turns orange.