Space Engineers

Space Engineers

27 ratings
Leveller
   
Award
Favorite
Favorited
Unfavorite
Tags: autopilot
File Size
Posted
Updated
380.482 KB
3 Mar, 2019 @ 4:50pm
28 Apr, 2022 @ 6:18am
4 Change Notes ( view )

Subscribe to download
Leveller

In 1 collection by p3st|cIdE
Scripts
13 items
Description
This is an in-game script that simply removes vessel roll vs. the planet gravity vector using available gyroscopes.

It's a very simple script compare to Gravity Aligner. All it does is remove roll over time and combat roll angular velocity the ship may have. As a side effect it drastically improves steering response on planets.

It only has 3 commands: stop, go, and toggle. blank works as toggle.

I recommend you use stop to stop it, because otherwise you risk leaving your gyros set to override and non-responsive to pilot steering.

It doesn't need a group, mostly self-configurates. Very simple, as I mentioned.

For those who miss the old, simple Gravity Aligner, enjoy!

If you want to watch what it's doing, rename a text panel to "debug" or fiddle the string in the script. There's a few tuning parameters near the top.

If you hate SE planet steering behavior, but you must have ability to freely roll your vessel for whatever reason, consider my other script Planetary Yaw.
95 Comments
p3st|cIdE  [author] 26 Apr @ 2:40pm 
I don't believe this simple script has such options, but you can probably hack the script to do it pretty easily if you're scripty at all. Gravity Aligner is probably what you want.
OMEGA 26 Apr @ 1:40pm 
can i exclude a gyro
p3st|cIdE  [author] 18 Sep, 2022 @ 11:02am 
idk, I rarely use autopilot and can't vouch for it
LeviOz 18 Sep, 2022 @ 10:16am 
No, it's pointed the correct way. I can also control the tram with the remote control myself. It's just the autopilot that causes it to roll.
p3st|cIdE  [author] 18 Sep, 2022 @ 6:44am 
hmm maybe the remote is oriented wrongly
LeviOz 18 Sep, 2022 @ 2:53am 
I am using Gravity Aligner right now, but it has the same exact problem. It can allign perfectly well, if I control it with a seat it stays upright perfectly. However, when I turn on autopilot on my remote control (it's an automated tram system), it puts the override on 60 rpm to one side and just flips the train.
p3st|cIdE  [author] 18 Sep, 2022 @ 2:51am 
due to how Keen handles gyros, it's truly difficult to make them balance under load against gravity, so if this train is heavy, you may have a bad time. The train would need to be bottom-heavy. When I tried using hoverrails, it didn't work out so well. My train could balance, but when it hit one of the sharp turns, it'd not be able to handle the turn and usually try to go off the rail or fall over. Leveller doesn't have very many options, so it's not very tuneable for such purposes, you may want to upgrade to Gravity Aligner which has far more dials to fiddle with.
LeviOz 18 Sep, 2022 @ 2:16am 
So, I'm using this script with the hoverrails mod. However, when I turn on the remote control, the script puts the roll override on full to the right which causes the train to immediately roll of the track.

Any way to prevent this?
jglenn1562 18 Aug, 2022 @ 10:18pm 
I have not tried that yet.
p3st|cIdE  [author] 18 Aug, 2022 @ 8:54pm 
have you ever tried just leaving a gyro on Override but set to zero velocity?