Space Engineers

Space Engineers

42 个评价
TrainControl
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
928.155 KB
2022 年 11 月 13 日 上午 11:05
2022 年 11 月 13 日 上午 11:37
2 项改动说明 ( 查看 )

订阅以下载
TrainControl

描述
This script is written to help with the creation of trains and locomotives in Space Engineers

Features:
Cruise control
Three gear for forward and backward movement


Supported commands:
To use these commands paste them in programmable block and press the "Run With Argument" button or create shortcut in the hotbar (Run with Argument -> command)

'switch lockers' - release or lock support wheels
'stop' - stop the locomotive/train
'first forward' - select specific gear
'second forward' - select specific gear
'first backward' - select specific gear
'throttle up' - select the next gear
'throttle down' - select the previous gear


Setup:
1) Your locomotive should have:
a) Backward and Forward Thrusters
b) Cabin
c) "Lockers" (wheels in group, that helps train to stay on the rail)

2) Add forward and backward tags to each thruster (by default, "fwd" and "bwd")
3) Add support wheels to the lockers group (by default, tag is "Lockers")
4) Add prefix [TC Controller] to the cabin name
5) Add this script to the programmable block on the model

Optional Steps:
1) Add the [TC LCD] tag to the name of the screens you want to display the script interface on. If there multiple screens on the block (like in the cockpits) then add tag with number of screen (it will be look like this [TC LCD][NumberOfScreen]SomeBlockName)
2) You can change the max train speed on each gear in the script


This script was created mostly for OPC Genesis Locomotive and was used by me for some time. It's not perfect if you are seeking for flexible solution, but if some of you really interested in it (tell me about it in the comment section!) I'll continue my work on this script.
3 条留言
Foltast  [作者] 2022 年 11 月 30 日 上午 10:27 
I will soon be launching the Pax Consolidation exhibit which is on my server, I will release it as a world in the future when a few more objects are completed, so stay tuned ;)
Gazingus Dingle Bordaviq VI 2022 年 11 月 25 日 下午 10:01 
you should release a world with all your creations, or some blueprints for planetary bases compatible with OPC assets
Official Zealiux 2022 年 11 月 15 日 上午 6:02 
Nice