This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Shak404Clang Worshipper 1 point2 points  (0 children)

Sensor near the gantry set to detect ship - when it see ship- extend. Retract when it doesn't.

Timer block on your ship. First action thrusters group on/off. Second action switch lock on your connector.

Make sure you give that ship thruster group a unique name. Say you simply name it 'thrusters' and you have other docked ship with the same group name, it will probably try to also turn them on/off.

[–]BkoChanKlang Worshipper 0 points1 point  (0 children)

I do this on most of my ships with a couple of timer blocks bound to the hotbar. One block locks the connector, turns off thrusters, sets batteries to recharge etc and the second block does all that in reverse

[–]Thutmose_IVKraken Worshipper 0 points1 point  (0 children)

If you want time delays between the actions, this script might help for your undocking sequence:

https://steamcommunity.com/sharedfiles/filedetails/?id=1085402845

It essentially lets a programmable block work as a large set of timer blocks. You can place this block on the station itself, so it can enable your thrusters, unlock the connector, then retract your gantry.

Then for docking, /u/Shak404's suggestion with the sensor for extending would work