Space Engineers

Space Engineers

Not enough ratings
Automatic Horizon
   
Award
Favorite
Favorited
Unfavorite
Tags: autopilot
File Size
Posted
392.139 KB
26 Feb, 2022 @ 4:50am
1 Change Note ( view )

Subscribe to download
Automatic Horizon

Description
Automatically balances your ship in natural gravity.
Works at ANY MUTUAL ARRANGEMENT of the cockpit and gyroscopes!

Based on P.R.E.D.A.T.O.R.'s automatic balancing script (special thanks for you, my friend!).
https://steamoss.com/sharedfiles/filedetails/?id=1726889799

How it works:
Script finds "main" cockpit and all gyroscopes in the same grid of your programming block. Then it controls gyroscopes to make your main cockpit always stay horizontally. Automatically takes control of new gyroscopes added to the same grid (while script is running).


Installing:

1. Copy this to "Custom data" of your Programming Block:

GYRO_SENSE=5;
YAW_SENSE=0.5;
YAW_FIX=false;
PITCH_FIX=true;
ROLL_FIX=true;

2. in terminal menu (K-menu), check the box "Main cockpit" of your chosen cockpit
3. This script starts with argument "start" (upper, lower - doesn't matter)
4 Comments
The Captain 20 Nov, 2023 @ 12:09pm 
)
kennet0508 27 Jul, 2022 @ 2:36pm 
nevermind! i tried renaming and making a named group, once i started reading the script i realised it was in the settings of the cockpit xD i would probably edit your description the following way.

instead of:
2. Mark main cockpit as "Main cockpit"
to:
2. in terminal menu (K-menu), check the box "main cockpit" of your chosen cockpit
kennet0508 27 Jul, 2022 @ 2:29pm 
Im only getting Main cockpit not found, how do you "mark" the main cockpit?
Rusted Droid 18 Apr, 2022 @ 6:01pm 
Script fail if only Remote control block on ship/contraption/satelite