Space Engineers

Space Engineers

Not enough ratings
HellArea Docking script for Client
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
18.707 KB
19 Mar, 2018 @ 10:40pm
29 Nov, 2019 @ 10:06am
13 Change Notes ( view )

Subscribe to download
HellArea Docking script for Client

Description
This is a small server-client script for docking in the Space. Standalone code, from other my project.

Client side designed for Miner, or any docking grid. Tested on a fast small and big overloaded ships.

Updated
Added support for AQM Assembler Queue Manager.

How to use
Script requires an Antenna block, Programmable block, Remote control.
Any number of Connectors, Thrusters and Gyroscopes.

Setup
No need. Just add code to the Programming block.

Control
Activation works from both sides by Grid name.

Client command looks like
Dock:MyBaseName
Use the same Dock command for canceling.

Update 1.10
Global Log support

Update 1.04
Unload command added.
Use Unload:MyBaseName to unload the ship.

Update 1.02
Clients can now dock to each other. Use Dock:Miner.[ShipName]

More detail.
Current destination Grid name is stored in the Program block in Custom Data.
It can also be useful to get the current docking status
string DockingState=(Block.CustomData=="")?"Idle":"Busy";
8 Comments
Dots 8 Jun @ 5:24am 
script is broken and gives out a bunch of errors. Wish the script was updated.i tried to update it myself via chatgpt but it fails badly and gets stuck on "TransmitMessage" part. I tried for 8 hours from 6 AM to the time of posting this and nothing works.
Корсар 29 Nov, 2019 @ 5:31pm 
Is there no way to assign a specific connector? And change the speed of flight and parking?
Корсар 29 Nov, 2019 @ 3:55pm 
Thank you very much!!!
Cruel Sun  [author] 29 Nov, 2019 @ 10:07am 
Updated
Корсар 28 Nov, 2019 @ 7:50pm 
I'm getting a bunch of Errors with both Scripts. Mainly Intergrid Communication ones.
Would you be able to fix that please, as I can't get it to work?
Would be awesome, as it seems all automated docking Scripts that support docking to a mobile Base are broken at the moment
Cruel Sun  [author] 3 Nov, 2018 @ 2:10am 
Добавил ролик, чтоб коротко увидеть - самый первый.
Cruel Sun  [author] 3 Nov, 2018 @ 1:52am 
Hello. I can write и на русском языке без гуглотранслятора.
Итак, по шагам.
Как и было сказано есть два варианта - стыковаться с базой и стыковаться с таким же клиентом.

Для другого клиента: MyGridClass - это самая первая строка скрипта - для клиента по умолчанию она задана как Miner. Ты можешь указать свой класс - но как примером, надо задавать Dock:Miner.Мой корабль

Для стыковки с базой все ровно так же, только у нее по умолчанию Platform. Соответственно, будет Dock:Platform.Моя база
Fenya:3 2 Nov, 2018 @ 12:39pm 
Google translator!

Hello. I am having trouble with your script. It does not work as it should, it does not respond to arguments. In the program block 3 extra lines were added:
"Using:
Dock: MyGridClass.MyGridName
Upload: MyGridClass.TiGridName"
Please substitute or explain what is wrong.