Space Engineers

Space Engineers

Not enough ratings
Khjin's TickTimers
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
103.077 KB
Nov 4, 2020 @ 5:58pm
Mar 10 @ 1:18am
10 Change Notes ( view )

Subscribe to download
Khjin's TickTimers

Description
03/10/2025 FIXES 🥳
- Fixed RotateToAngle
- Additional preventative changes


About the Script
Tick Timers is a script that aims to reduce the number of timers used in a grid. It also enables players to share their timer definitions to other players that have the same or similar setup. The script also provides custom functionalities that otherwise will not be accessible to a normal timer. These functionalities allow for better control over blocks like rotors and pistons.

Please check out the detailed guide here:
https://steamcommunity.com/sharedfiles/filedetails/?id=2578102311

---
Love this script and wanna see more of my content?
Follow me on my gaming page!
https://www.facebook.com/gaming/khjingaming
Popular Discussions View All (1)
2
Jan 2, 2021 @ 5:44pm
VTimer Definition Sharing!
Khjin
43 Comments
Khjin  [author] Mar 10 @ 1:23am 
Did some fixes, hopefully this will resolve any issue you guys are having.
Sebforce116 Nov 27, 2024 @ 10:55pm 
I think Contact's broken pistons in this script, I don't know how to describe or what specifically, but it is definitely not working as intended. But Rotors and Hinges seem to work fine still.
COSTAS Milo May 4, 2023 @ 11:19am 
Thank you very much
thank you for your reply . and your request
This allows to see the limits of the script
= does not allow to turn "on" an off timer with a Vtimer by the program block
with custum data code
it was worth a try
Khjin  [author] May 4, 2023 @ 8:19am 
Sorry if I get it wrong here but I'll try. So if you have an actual timer called ActualTimer and you want to turn it On and Trigger it using a virtual timer, you can do this:

@vtimer:60 <---- creates the virtual timer with 60 ticks delay
ActualTimer,OnOff_On <---- turns on the real timer
ActualTimer,TriggerNow <---- triggers the real timer

Your example is impossible since in there, an Off vtimer is trying to turn itself on which is impossible.
COSTAS Milo May 2, 2023 @ 1:59pm 
Thank you for your answer and your script.
I would like the Program Block switch "on" the timer currently off : to activate it
And" trigger now " it
name of timer for exemple: vtimer
So i put your exemple in program data in PB
@vtimer:60
@vtimer:30:OnOff_On
@vtimer,TriggerNow

Argument PB setup = error message
So how to write correctly the data ?
just switch on the timer with Tick Timers
Thank you very much
Khjin  [author] May 1, 2023 @ 5:44pm 
Hello @COSTAS Milo, that example is the definition only and does not contain any actions. Please refer to the Actions section to add actual actions when running the script. It is expected to do nothing since it's only defining 3 timers. Cheers.
Peekofwar Apr 19, 2023 @ 2:03pm 
Discovered a new problem: Whenever I dock my hovercraft with connectors, the Tick Timers program stops working right and needs to be setup again...

I have a program that turns off the hover engines and all thrusters and changes the lighting configuration when you run "ParkMode", however after docking, the program only turns off the headlights and none of the engines or thrusters turn off. After undocking, it still needs to be re-setup.

I think it's related to groups, since the headlights aren't in a group and are called directly by name by the program.
Peekofwar Apr 17, 2023 @ 7:22pm 
Problem: "Lock" and "Unlock" aren't working for landing gear/magnetic plates. No errors, but the mag plate isn't responding to the commands.
Gigawatts Mar 16, 2023 @ 1:20pm 
invalid code detected 17
invalid code detected 41
Khjin  [author] Jan 1, 2023 @ 5:25am 
Sadly it can't be supported. The property only currently works for programs that are ran on demand. As a work around, you can use real timers to run the argument by triggering them.