Space Engineers
37 คะแนน
TrainControl
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
แท็ก:  other_script, autopilot
ขนาดไฟล์
โพสต์
อัปเดต
928.155 KB
13 พ.ย. 2022 @ 11: 05am
13 พ.ย. 2022 @ 11: 37am
2 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
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  [ผู้สร้าง] 30 พ.ย. 2022 @ 10: 27am 
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 25 พ.ย. 2022 @ 10: 01pm 
you should release a world with all your creations, or some blueprints for planetary bases compatible with OPC assets
Official Zealiux 15 พ.ย. 2022 @ 6: 02am 
Nice