Space Engineers

Space Engineers

291 Bewertungen
(Old, new in desc) Precise Timers (Frame by Frame Countdown of Timers)
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Dateigröße
Veröffentlicht
Aktualisiert
614.000 B
14. Apr. 2015 um 6:54
18. Apr. 2015 um 6:03
2 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
(Old, new in desc) Precise Timers (Frame by Frame Countdown of Timers)

Beschreibung
MORE IMPORTANT UPDATE: Yeah, I had to get drunk enough, but I finally updated it. A few efficiency updates as well as now it re-triggers itself with the fancy (now half a decade old update feature). Only took me half a decade, but it's here.
New Version RIGHT HERE! CLICK CLICK!

Important Update: Before I was checking if the timer already existed in the list of timers it checks by their name, and could cause some unintentional behavior. Now it works perfectly as intended.

Allows the countdown delay to be set to a certain amount of frames instead of seconds.

Setup:
Add this script to a Programmable Block and create a timer that Triggers itself and the Programmable Block.

Add "Adv" (Without quotation marks, capitals matter) to the end of a timer name to mark it for Tick by Tick countdown.
When you do so, the delay will be considered in terms of Ticks instead of seconds, and there is 60 ticks in a second (So 30 seconds delay would become half a seconds delay)

Be aware if you remove Adv in the Timer Name it wont stop being a Precise Timer until you reload the world or you recompile the programming block.

Be aware that it takes up to 10 seconds for the script to recognize a newly named timer. So wait 10 seconds after you renamed the timer before testing it.

Example: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1652380541

(When I say frame above, I mean a Sim Tick. I say Frame since it is more intuitive to more people. This means that this script is not affected by your FPS, but only by Sim Speed, which is good)
160 Kommentare
SioxerNikita  [Autor] 3. Dez. um 0:53 
@Stepver I have no idea what they might be, because I personally tested the new version multiple times.
Stepver 29. Nov. um 18:33 
neither this or the newer version seem to be working for me. the timers still say in seconds and no ammount of recompiling the scripts or reloading the game seems to be working
SioxerNikita  [Autor] 9. Nov. um 16:18 
Finally updated the script, doesn't need timer anymore.

Finally drunk enough to bother :P

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3603011639
Wächter 6. Sep. um 15:38 
still works, thanks
Blarfnarg 22. Jun. um 4:37 
Can anyone verify if this script is still working? I cannot seem to get it to work in my game.
SioxerNikita  [Autor] 26. Sep. 2024 um 13:31 
Hopefully, I really should've updated it to trigger by itself XD regardless still works.
Merlin 25. Sep. 2024 um 23:35 
A decade later and the script still works perfectly.
SioxerNikita  [Autor] 10. Mai 2024 um 17:28 
@YCMKNDY90 No clue haven't played for a long time, since May 11th 2022 XD
L5sumu 10. Mai 2024 um 17:02 
Isn't the Automatons timer block compatible?
Marcusinfestus 21. Okt. 2023 um 18:55 
I get it. Too bad really. This mod makes so many things possible!