Space Engineers

Space Engineers

评价数不足
Khjin's TickTimers
   
奖励
收藏
已收藏
取消收藏
标签: other_script
文件大小
发表于
更新日期
103.077 KB
2020 年 11 月 4 日 下午 5:58
3 月 10 日 上午 1:18
10 项改动说明 ( 查看 )

订阅以下载
Khjin's TickTimers

描述
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://psteamcommunity.yuanyoumao.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
热门讨论 查看全部(1)
2
2021 年 1 月 2 日 下午 5:44
VTimer Definition Sharing!
Khjin
43 条留言
Khjin  [作者] 3 月 10 日 上午 1:23 
Did some fixes, hopefully this will resolve any issue you guys are having.
Sebforce116 2024 年 11 月 27 日 下午 10:55 
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 2023 年 5 月 4 日 上午 11:19 
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  [作者] 2023 年 5 月 4 日 上午 8:19 
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 2023 年 5 月 2 日 下午 1:59 
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  [作者] 2023 年 5 月 1 日 下午 5:44 
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 2023 年 4 月 19 日 下午 2:03 
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 2023 年 4 月 17 日 下午 7:22 
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 2023 年 3 月 16 日 下午 1:20 
invalid code detected 17
invalid code detected 41
Khjin  [作者] 2023 年 1 月 1 日 上午 5:25 
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.