Space Engineers

Space Engineers

SE Sputnic
Survival Ready  [developer] 6 Jan, 2022 @ 2:32pm
Docking and undocking
It is performed from the cockpit of the head module by pressing key # 2 on the digital panel # 1. The script works if there is no gravity.

When undocking, the head of the ship is automatically departed by 3 meters and the script for positioning the solar cells to the optimal position relative to the Sun starts. The tail module is held in place by turning on all engines.

When docking, the operation of the script for orientation to the Sun stops, the solar panels are minimized, and the engines of the tail module are turned off so as not to slow down the movement of the ship by the thrusters of the head module.

You can also use the "P" key to dock and undock.
@s2_merge { if Natural Gravity of MyShip = 0.00 { if Status of S1 Connector ? Connectable { Lock S1 Connector Delay 100 OnOff_Off Thruster Run S2 PBL Solar(pause) OnOff_On S1 Hydro Thruster Rotate Hinge Solar to 90 at 3 } else if Status of S1 Connector != Unconnected { OnOff_On Thruster Start S2 Timer Unlock S1 Connector Over S1 Hydro Thruster Forw = 10% Delay 500 Over S1 Hydro Thruster Forw = 0 } } }
Last edited by Survival Ready; 6 Jan, 2022 @ 2:32pm