Space Engineers

Space Engineers

NDS Ascent Control
8 Comments
Klous 18 Mar, 2022 @ 6:47pm 
Doesnt work, it lifts off about 50 feet. Then drops back and hits the ground then lifts off and repeats that over and over.
nicknds  [author] 14 Aug, 2020 @ 5:31pm 
I'm happy to help. Let me know if you find any bugs and I'll squash them

Be safe, have a good day
ronon_dex 14 Aug, 2020 @ 8:58am 
thats interesting,nice to know that
Spaceman Spiff 14 Aug, 2020 @ 7:06am 
I''ll check it out. This tweak to your script will make it one that I will probably use the most. Thank you for your knowledge of coding and willingness to do this change.
nicknds  [author] 14 Aug, 2020 @ 5:30am 
For the coder whose name I don't remember; loops like for, foreach, and while don't require the curly brackets if you only enclose one line

for (int i = 0; i <= 10; i++)
Echo($"Counting From {i} to 10");

while (true)
Echo("Endless loop");

foreach (string text in stringList)
Echo(text);


To enclose more than one you require the brackets

while (true)
{
Echo("Endless loop");
Echo("End the loop");
}
nicknds  [author] 14 Aug, 2020 @ 5:25am 
NostalgicFruit, I added an update that double checks everything is disabled when done

Spaceman Spiff, I didn't notice your comment and I am very sorry but I added your request. Thrusters that aren't needed turn off. Thrusters turn on if you give input so you can dodge asteroids. Dampeners toggle as needed to make sure you are ascending straight up



Added secondary deactivation process to ensure nothing is overridden after completing the ascension

Added automatic fall protection function

Upgraded directional calculations to properly determine if the ship is going forwards, instead of just calculating speed

Added thrust efficiency process which constantly toggles Thrusters as needed
-Relevant Thrusters turn on when you provide input
-All Thrusters turn on when ascension is complete

Added gravity radius calculations

Added an optional early brake distance
NosFruit 12 Aug, 2020 @ 1:16am 
Hey is there a way to automatically turn off "Gyro Override"? I have to manually do it after I get to space.
Spaceman Spiff 24 May, 2020 @ 1:42pm 
I really like your script (it's pretty cool how it rotates the ship at the point where the up thrusters are less powerful than the rear thrusters). Could you modify it so it starts shutting off thrusters when they are no longer needed so it'll conserve hydrogen? That would make the usefulness of this script stellar!