Space Engineers

Space Engineers

十分な評価がありません
KaienFlyByScript
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
6.837 KB
2017年9月14日 17時49分
2017年10月15日 2時25分
7 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
KaienFlyByScript

解説
Sorry my english is poor..

This script can make an aircraft FLY BY the mother ship.

For the mother ship, which you control it directly. you need:
1 radio antenna. (laser antenna will NOT work!)
1 ship controller. (cockpit, flight seat, or remote control)
1 programmable block
1 timer

load this script to the programmable block.
write these lines to the custom data of the programmable block. then set the timer to loop this programmable block.


motherCode=2nd
CockpitNameTag=<your ship controller name>
stAName=<your radio antenna name>
LCDNameTag=<your lcd name>



For the fly by ship, which will controlled by the script automaticly, you need:
all 6 direction thrusters. you can have more than one thruster for each side.
1+ Gyroscope
1 radio antenna
1 ship controller
1 programmable block
1 timer
1 lcd panel (named LCD, set show text to ON, sorry this one's name can not be modified)

the same as before.
load this script to the programmable block.
and write these lines to the custom data of the programmable block.
then set the timer to loop this programmable block.

sonCode=1st
stAName=Antenna 2
CockpitNameTag=Cockpit
LCDNameTag=LCD
flyByDistance=50
upMode=true
flyByOffsetDirection=RIGHT
flyByForwardDistance=150
flyByUpDistance=-50
dockingForward=FORWARD
dockingUp=UP
dockingLeftDistance=-4.75
dockingUpDistance=-20.07
dockingForwardDistance=54.90

and, IMPORTANT. Open the settings of the antenna on the flyby ship, set "Assigned programmable block" to the programmable block which you load and run the script.

if every thing is right. you will see two lines on the lcd of the flyby ship:
伴飞: 关
<your position to mother ship>

if you move your flyby ship by your self (neer to the mother ship). you see that number change.

and the final step. Add a shot cut button to the flyby ship controller to turn the automatic control ON/OFF.
when you control the flyby ship, (by cockpit, flight seat or remote control), press G, find your programmable block. and drag it to you shotcut bar. select "RUN", and input "FLYBY" in the input box for arguments.

and then, press that button, you will see the first line of the LCD change to
伴飞: 开

and you fly by ship will automaticly fly to its position.

you can leave the flyby ship, return to you mother ship. and drive it to any where you want~ see the flyby ship can do~

you can also use "DOCKING" as the arguments of your drone's programmable block. on you control bar. and this will turn on/off docking mode. when docking completed. it will automaticly turn off your thrusters and spotlight~

HAVE FUN!

if you have any suggestion, or find any issue for this script, please leave the message below. thank you.

custom data sample for son ship:

sonCode=1st
stAName=Antenna 2
CockpitNameTag=Cockpit
LCDNameTag=LCD
flyByDistance=50
upMode=true
flyByOffsetDirection=RIGHT
flyByForwardDistance=150
flyByUpDistance=-50
dockingForward=FORWARD
dockingUp=UP
dockingLeftDistance=-4.75
dockingUpDistance=-20.07
dockingForwardDistance=54.90

custom data sample for mother ship

motherCode=2nd
stAName=Antenna 2
CockpitNameTag=Cockpit
LCDNameTag=LCD

v1.0 change:
1. use motherCode and sonCode to match up mother ships and drones
2. added up offset and forward offset
3. added upMode
4. added docking mode
8 件のコメント
wu.will.china  [作成者] 2021年6月5日 20時01分 
sorry, this script is outdated. please try to use https://steamproxy.net/sharedfiles/filedetails/?id=1406061291 instead.
Ericsin 2021年6月3日 11時03分 
Hello and good day!!
I get an error message stating "Assembly not found. please compile script."
please help me get this working again.
still_MORTAL 2020年7月11日 23時21分 
为什么我总是显示找不到组件,Open the settings of the antenna on the flyby ship, set "Assigned programmable block" to the programmable block which you load and run the script有人知道这个是怎么操作的么
Mijitninja 2019年10月14日 11時09分 
I could use a little help. when I activate the script on my drone it just spins and never seems to recieve the position of the mothership. any advice?
超级气球need u 2018年8月13日 23時56分 
请问有没有母船停止子船伴飞或着陆的指令?FLYBYON只能开不能关
woostyboy 2018年3月24日 8時12分 
Wow, thank you.
wu.will.china  [作成者] 2018年3月24日 1時10分 
yes, it can do it.
woostyboy 2018年3月15日 4時21分 
Can you use the script to dock onto a moving large grid ship? Thanks.