Space Engineers

Space Engineers

评价数不足
Gravity Sensor (Activates timer on each state)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.601 KB
2016 年 11 月 14 日 下午 12:13
2016 年 11 月 14 日 下午 3:06
3 项改动说明 ( 查看 )

订阅以下载
Gravity Sensor (Activates timer on each state)

描述
General Information

Gravity Sensor
The system is designed to activate a timer when there is gravity and activate another timer in no gravity situations. I'm using this function to activate my side rotors with a timer to change my thruster side to down to create a type of VTOL.


Setup

Blocks that you'll need:
- 1x Programmer Block
- 3x Timer Blocks
- 1x Cockpit or Remote Control block

Arrangement:
- Place all blocks and name them as you wish.
- Paste the script into your programmer block and assign your cockpit and timer blocks (which you won't use the loop for... remember we have 3 timers) names under "Variables to edit" section.
- Loop the program by using one of the timers, that timer's name won't matter. The order is:
1. Run programmer block with default variable
2. Timer "Start"
3. Set timer to 1 second. No need to trigger it extensively with "trigger now".
4. Start the timer.

- Enjoy

Update History:
◙ 201614112213 (ver 1.0)
◘ Initial Release

◙ 201614112251 (ver 1.1)
◘ Added information text

◙ 201615110210 (ver 1.4)
◘ Added one more timer, we have 3 timers now, one for gravity on state, one for gravity off state and one for looping the program.
8 条留言
Airomis 2021 年 3 月 14 日 下午 1:34 
dose this still work? and do you need the loop timer or is that no longer needed?
Vandolizm 2017 年 3 月 16 日 上午 4:43 
Nevermind it works flawlessly i ♥♥♥♥♥♥ up the setup with a typo
Nemesismax  [作者] 2017 年 3 月 15 日 下午 11:00 
@Vandolizm, I'll check it when I have time, I forgot that this old script was still published...
Vandolizm 2017 年 3 月 15 日 下午 10:47 
Not working for me script throws an error
Nemesismax  [作者] 2016 年 11 月 25 日 上午 5:04 
Thank you :)
Bad Humour 2016 年 11 月 24 日 上午 8:32 
Nice updates btw :)
broken 2016 年 11 月 17 日 上午 10:36 
Nice out of the box thinking.
WillEatsPie 2016 年 11 月 15 日 上午 6:41 
cool