Space Engineers

Space Engineers

Advanced Liftoff Control
27 Comments
Iye  [author] 21 May, 2020 @ 5:10pm 
That actually is an interesting idea. I suppose one would need to do a bit of curve fitting of recorded data onto the gravity formula SE uses and then calculate the distance it would take for gravity to stop you, as well as the distance in which the gravity cuts off. Should be doable.

Cant promise i will really get around to doing it though.
Flatfoot 21 May, 2020 @ 7:50am 
Are there any plans to have this script slow down once approaching the gravity edge? Currently, it sounds like ESCAPE GRAVITY-->BRAKE AND DRIFT,. Would it be feasible to have it be able to coast to a short distance outside of the gravity well?
Re-Evaluated 10 May, 2020 @ 8:39am 
Tested and confirmed, thanks a lot!
Iye  [author] 9 May, 2020 @ 2:14pm 
No, thats not really intentional, just a result of how the script works/developed over time. I think i fixed that now tough. Just moved a single line around :)
Re-Evaluated 9 May, 2020 @ 12:58pm 
thanks for the mod, it works like a charm - almost! When I give the STOP command halfway through the ascent, the program turns off the liftoff thrusters. While it takes me only a single press of the button to turn them back on again, I'm still wondering if this is intentional, and if it is, how I can turn the function off.
Mograth 16 Apr, 2020 @ 7:14pm 
Awesome, thanks.
Iye  [author] 16 Apr, 2020 @ 5:22pm 
Yes, you can set the target speed in the config section at the top. Even if you dont it will still work, assuming the new max speed is larger than the default.
Mograth 16 Apr, 2020 @ 5:06pm 
Is this compatible with mods that increase the max speed?
This one for example: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=382695527
Iye  [author] 16 Apr, 2020 @ 4:55pm 
Ok, im my recent attempts to improve the script i seem to have optimized out the case where atmospheric thrusters are too weak. I didnt notice because my test ship has enough thrusters. I think i fixed it now.
Vorg 16 Apr, 2020 @ 3:02pm 
New problem, It turns the H2 thruster on for just a sec and then shuts it off trying to use just the atmo thrusters. but when the ship is loaded, the atmos have a hard time lifting. Really need H2 also to get up to speed. Before it left the H2 on until it reached 100ms.
Vorg 16 Apr, 2020 @ 2:37pm 
Just tried it. Turns off dampers and ship just plops down on it's gear. tell it stop and it turns dampers back on and ship goes back to hover
Iye  [author] 13 Apr, 2020 @ 5:10am 
I might have fixed it, but im not sure :)

Please report back if you can!
Vorg 12 Apr, 2020 @ 4:23pm 
Tried on two different small grid ships both using tiered parts.

It won't turn thrusters on hard enough to take off unless I put them in the groups though it does seem to find the right thrusters

Randomly shuts down the H2 trying to switch to Ion even though there are the ship doesn't have any. And it happens more often then not.
JamieWS 18 Mar, 2019 @ 8:12pm 
Looks ok now. Thanks for the fix!
Iye  [author] 18 Mar, 2019 @ 5:39pm 
Yup. Turns out I introduced another bug while rewriting the display formatting. Should be all good now...... I hope :)
JamieWS 18 Mar, 2019 @ 2:33am 
I'm having trouble with the script not giving full power to Atmo Thrusters and crashing.
I re uploaded the world file just start the script. I was able to get into orbit easily manually.
I set Atmo and Ion Thrusters to full and used Hydro when it started to slow down.
Ignore the "Will it fly?" script I'm pretty sure it needs updated.
JamieWS 17 Mar, 2019 @ 4:26am 
Thanks! The the hydrogen thrusters will get used when the cargo containers are full.
Iye  [author] 17 Mar, 2019 @ 2:41am 
Thank you!

I found the issue. You did not have a correctly named main cockpit. The ship controllers name needs to contailNot naming a cockpit only works at autogenerate==2, however the default is 1. Ive added some checks so you get notified of this error instead of the script crashing. Ive also reworded the setup guide to make this more clear.

Besides this your ship worked fine. Just note that it wont use the hydrogen thrusters, as it has enough ions to fly once the atmospherics cut off.
JamieWS 16 Mar, 2019 @ 9:50pm 
I've uploaded a world file with screenshots showing the error when the script is run.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1685337030
Iye  [author] 16 Mar, 2019 @ 4:05am 
Im unsure what would need an update. I just made a huge overhaul a couple of weeks ago and it tested it again right now. It works for me. Please point out the problems you have in more detail.
JamieWS 16 Mar, 2019 @ 3:38am 
Needs Updated.
Iye  [author] 2 Mar, 2019 @ 3:15am 
I thought i would just leave a note here, that the issues below should all be fixed with the brand new version.
Arcane Axiom 5 Mar, 2017 @ 2:34pm 
Also fails on a new, absurdly simple ship (one upward hydro thruster, one timer, one RC, script tweaked to use forward thruster), with autoGenerate = 2.
Arcane Axiom 5 Mar, 2017 @ 2:27pm 
Trying to run this on an (admittedly old) ship (old enough that the ion thrusters are just "thrusters"). No matter what I do for it, letting it generate or setting things up manually, all I get out of it is "NullReferenceException"s. And Keen, of course, won't even tell me what line it's on, so I can't debug further.
Iye  [author] 21 Jan, 2017 @ 1:27pm 
@JimmyTheDeath: Yes, it is. It should work within stable and dev. I also wouldnt expect any updates to the game that break it anytime soon (if at all)
JimmyTheSaltyMelon 21 Jan, 2017 @ 12:07pm 
its a script u can use it in any version so long as there is not an update messing with scripts.
SpetS 12 Aug, 2016 @ 8:16am 
any Dev version?