Cities: Skylines

Cities: Skylines

26 个评价
AutoSave Countdown
   
奖励
收藏
已收藏
取消收藏
Mod
文件大小
发表于
更新日期
10.240 KB
2015 年 11 月 25 日 上午 8:17
2016 年 1 月 15 日 下午 2:33
3 项改动说明 ( 查看 )

订阅以下载
AutoSave Countdown

描述
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 条留言
pulec 2022 年 6 月 21 日 下午 12:40 
Eh, I noticed the movement with click and arrows or something, but I managed to make the label disappear. Options would be nicer.
pulec 2022 年 6 月 21 日 下午 12:38 
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 2019 年 6 月 13 日 下午 2:53 
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 2019 年 6 月 13 日 上午 8:51 
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 2018 年 10 月 5 日 下午 6:00 
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] 2017 年 7 月 3 日 上午 8:34 
@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 2017 年 5 月 25 日 下午 11:26 
i'm having the same out-of-sync issue. the longer the game lasts, the more the timer gets behind.
shit slinger 2016 年 7 月 3 日 下午 7:52 
Lol
yoda gaming  [作者] 2016 年 2 月 3 日 下午 1:06 
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 2016 年 2 月 3 日 下午 1:04 
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.