Space Engineers

Space Engineers

SE Sputnic
Survival Ready  [developer] 6 Jan, 2022 @ 2:58pm
Landing on the planet
Landing is possible on planets and moons with an atmosphere. Works if both modules are connected. Aim the ship with its nose to the surface of the planet and press the button # 3 on the number pad # 2.

Landing is carried out with the help of parachutes using the ship's center of gravity shifted to the tail, due to which, in the process of landing, it occupies a vertical position with its tail forward.

The opening of the parachutes is set to a height of 500 m, and the autoparking is activated for the landing gear.

Landing will not start if there are less than 4 canvas in the ship's inventory.
@landing { * check numbers of canvas \x = InvX comp[Canvas] of MyShip if Value of x < 4 { Run S1 PBL EasyPlay = info(Out of Canvas) Stop } * Acceleration to the level of gravity 0.15g Run S1 PBL EasyPlay = info(Landing) OnOff_Off Thruster if Value of grav = 0 { Over of Thruster Forw = 50% OnOff_On Thruster Forw When Value of grav > 0.15 OnOff_Off Thruster Forw } * prepare for landing AutoDeploy of Parachute = True AutoDeployHeight of Parachute = 500 Autolock of Landing Plate = True * Landing gear engagement expectations When Status of Landing Plate = Locked Delay 500 * Opening solar panels to charge batteries Rotate Hinge Solar to 0 at 3 Run S1 PBL EasyPlay = info(Ready) }
Last edited by Survival Ready; 6 Jan, 2022 @ 2:59pm