Space Engineers

Space Engineers

评价数不足
Timer Driver
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.407 KB
2017 年 1 月 15 日 下午 6:14
2017 年 1 月 15 日 下午 8:27
3 项改动说明 ( 查看 )

订阅以下载
Timer Driver

在 p3st|cIdE 的 1 个合集中
Scripts
13 件物品
描述
Triggers timer blocks with various names when cockpit controls are manipulated. When they change from forward to back, or return to neutral. When their state changes.

Test rig to show how to set it up: http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=843487428

Timer blocks with the following substrings in their names are triggered for left/right strafe:
MoveX-, MoveX+, MoveX=, MoveX!, for when the control moves left, right, to center, or when its state changes from one to another, correspondingly.
Similarly for MoveY, MoveZ, TurnX, TurnY, and TurnZ.

Roll is on TurnZ. Shift/C for up/down is on MoveY. In SE coordinates, +Z is backwards.

I do suggest using smallship timer blocks. :)

And yes, I missed the best opportunity ever to name this script "Timer Pilot"
29 条留言
p3st|cIdE  [作者] 2019 年 7 月 20 日 下午 9:27 
I think it's possible because I know the script has access to the status variable involved. But I don't know if I actually will. It seems simple enough.
epflederer 2019 年 7 月 20 日 下午 9:20 
Do you think you can add a way for timers to be triggered when dampeners are turned on and off?
epflederer 2018 年 3 月 24 日 下午 4:10 
just a thought. it would make switching weapons or tools as easy as hitting a different mouse button
p3st|cIdE  [作者] 2018 年 3 月 24 日 下午 3:48 
Honestly, I'm not sure. Probably, somewhere in the mod api, there may be a way...
epflederer 2018 年 3 月 24 日 上午 11:33 
Is it possible to add mouse left and right click to this?
epflederer 2018 年 3 月 22 日 下午 12:24 
The hammer rocket and finch missile are not required to use the jet, they are only for rearming the plane if need be.
p3st|cIdE  [作者] 2018 年 3 月 22 日 上午 9:47 
I need to round up the rest of the mods before I can try your jet, missing some weapons still. If you ever want to try hooking up analog controls, my Full Control script might work too. Timer Driver is unfortunately like driving with a D-pad.
epflederer 2018 年 3 月 22 日 上午 8:56 
Did you check out my Jet? I've already got a prototype plane working for my spAce Combat NPC dogfighting mod working, im just ironing out a few kinks with the drone core instructions. thanks again for the great script.
p3st|cIdE  [作者] 2018 年 3 月 21 日 下午 4:35 
That's cool!
epflederer 2018 年 3 月 19 日 上午 11:25 
If anyone is looking into what kind of things can be built with this, look into the Basilisk atmospheric fighter jet. I made it using this script, and it works very well. I hope you try it out.