Space Engineers

Space Engineers

Expanse Flight Controls
113 Comments
jackik 25 Aug @ 12:35pm 
there's also commands you can use to add GPS coordinates
jackik 25 Aug @ 12:33pm 
@Reign you could consider using another script or mod to modify the custom data of the block
Syntec 12 Jul @ 6:47pm 
I can't for the life of me get this to work well, its always slamming my ships into gps coordinates, deorbit just crashes into the surface :( everything seems to be just a bit off for me
Reign 27 May @ 2:05am 
Hi there, you did a great job. I'm looking to see if you could add a chat command function for inputting gps coordinates. Hunting down the programmable block every time to enter a waypoint is a bit tedious. I've tried to make it easy with a simple unique character in the terminal search, but it's just not so immersive. Resetting a button isn't so bad, but not the best. Let me know what you think - There should be a way with grid name - this would likely need to be a mod, instead of a script.
Assassino2933 6 Feb @ 1:56am 
Is there a version of this that doesn't require an epstien drive? So i can use it outside of the expanse server/mod. I love the vector indicators and also the flip and burn. Thanks!
ravennst 6 Nov, 2023 @ 6:03am 
Is there a way to exclude specific gyros being affected by the script? I have a gyro that uses an override for drilling and the script completely overwrites those settings.
Cobra Commander 14 Aug, 2023 @ 5:10pm 
Where do you put the commands you keep referring to ? How ? You don't explain any of this. Do you add the control block to the hotbar ? The Drive ? The Cockpit ? How do you actuate commands like Tune, etc ?
DracoNB 3 Aug, 2023 @ 8:57am 
With updates to the server and zones, the custom data is wrong in many places trying to do 2000 in 350 zones causing your drives to light you up like a christmas tree after zone transfers. Can we get an update for the zones?
⎝⧹Greedynuf⧸⎠ 25 Jul, 2023 @ 8:44pm 
this should work without the mod
z64555 2 Jul, 2023 @ 11:41pm 
Any chance that the PBScreenNumber and ControllScreenNumber settings can be changed with custom data? I think these two are important for users who don't want to (or can't) dig through the code to change them directly.

great script, btw.
EneCtin 1 Jun, 2023 @ 11:59pm 
Forgot... add a flip and burn to approach speed (something like 100m/s). Most of the times you want to shed excess speed but continue on that general vector for the approach.

Great script, by the way
EneCtin 1 Jun, 2023 @ 11:56pm 
Can you add a estimated travel distance until flip and burn to zero? And of just burn to zero ? It varies with mass of the ship, but I never know when to slow down at right the opportune moment
Add it to the info displayed, pls.

Also, maybe a warning: "Ship mass changed by more than 10% since last computation"
Jawa  [author] 1 Apr, 2023 @ 12:23pm 
Crixtl, edit these values at the top of the script:

int PBScreenNumber = 0;
int ControllerScreenNumber = 0;
Crixtl 31 Mar, 2023 @ 8:51pm 
Is there a way to select witch display use in a cockpit?
ExileStudios 19 Mar, 2023 @ 7:27pm 
i did everything this told me to do and yet nothing works
huey 12 Mar, 2023 @ 9:56pm 
On Expanse server, default v1.4 that came with the rockhopper worked fine. Upgraded to v1.5 - any GPS I entered and then hit "plot" would erase the GPS and complain of no GPSes. Reverted to v1.4, worked fine again.
Jivar 1 Mar, 2023 @ 6:05pm 
I came across the Caught Exception error, by first removing all associated blocks and first trying different scripts, i then replace all the blocks and it seems to have worked. I'm not sure what exactly caused this but i will try to see if i can reproduce the error.

It seems to have a problem with the Remote Control Block, as far as i can tell it doesn't work when the ship already has it on the grid. If you try to load the script or recompile it when the block is already on the grid it creates this issue (for me), but this is just from my own investigation. I suggest fiddling with all the settings and getting everything compiled before adding the control block to avoid problems, i will correct this is the problem reoccurs.
SugerGlider 23 Feb, 2023 @ 11:10am 
only use he has is for some moons atm
so not high on his list of things to do
Fischchen 9 Jan, 2023 @ 10:51am 
You still haven't fixed the orbit command, did you?
Jawa  [author] 2 Jan, 2023 @ 7:53pm 
That is essentially what "Set Burn" does, but it goes by thrust % instead of acceleration
jivaii 2 Jan, 2023 @ 3:13pm 
Would it be possible to set an acceleration parameter, such as 1 g, or 9.8 m/s acceleration thrust for gameplay with high speed limit and g-forces mod that can kill an engineer for accelerating too fast?
Jawa  [author] 8 Nov, 2022 @ 4:34pm 
Yes, it does require Aryx epsteins right now.
sv_memes 1 6 Nov, 2022 @ 7:17pm 
Do I really need the Aryx mod for this to work?
SugerGlider 27 Oct, 2022 @ 6:01pm 
zzang
u trying on SD expanse or other?
Zzang 9 Oct, 2022 @ 7:10pm 
I keep getting this on the PB and nothing will run. I have tried everything I can think of. but it just keeps spitting this out at me.

Caught exception during execution of script:Object reference not set to an instance of an object.
at Program.InstanceCheck()
at Program..ctor()
Jawa  [author] 18 Aug, 2022 @ 8:22pm 
I do still want to make that update. I have not managed to get back to it.
I'll try to fit it in.
TheLegend27 16 Aug, 2022 @ 9:02am 
Not sure if you're still working on this but is there any chance you can add an option to max the acceleration to 10m/s^2 (in other words 1G)? Would really appreciate it :)
germstorm 14 Aug, 2022 @ 12:27am 
I would also like to use this script with the vanilla thrusters.
TwinIndifferent 13 Aug, 2022 @ 7:08am 
Still waiting for non-Aryx mode. Using different type of epstein thruster.
Fischchen 17 Apr, 2022 @ 6:43am 
Hey Jawa, thanks a lot for fixing the custom data bug!

Unfortunately the orbit command still dosent work at all:
The orbit command dosent stop when the orbit is reached. It just says
Error:
No gravity field detected. Unable to initiate orbit sequence
Atapari 11 Apr, 2022 @ 10:12am 
I'm using EFC on a solo world and it doesn't seem to remember GPS points I put into custom data. I'll copy/paste into the spot, hit ok, then if I hit custom data again it's still there, but if I tell the PB to plot, it says "No Trip GPS set in Custom DataShip" and if I then open custom data the GPS point is gone. It didn't used to do this, been loving it until now!
Jawa  [author] 25 Mar, 2022 @ 7:06pm 
Update pushed. There were a few items I did not have ready yet, so I am going to try and get another update out soon.
Jawa  [author] 24 Mar, 2022 @ 10:40am 
I am about to release an update that will include a fix for that.
CODE7 23 Mar, 2022 @ 11:07am 
Can confirm that the PB keeps locking up.
No1syJun1or 21 Mar, 2022 @ 8:41am 
Hey an idea might be to make a tutorial video for setup
Leo 18 Mar, 2022 @ 5:52pm 
Hi, just a friendly notice of a typo in this mods description. It's the 4th point from last in the "Features" bullet point list. Near the end of the mentioned point/sentence I see "boos" when I assume you mean "boost". Though I would like a mod that did give me boos (as in beer). lol.
Jawa  [author] 15 Mar, 2022 @ 12:02pm 
When doing multiple GPS point trips, it is designed to pass through each GPS and correct vector to the next. It only stops at a GPS if it approaches from >85 degrees (basically no usable momentum to save).

I need to look into the PB locking up.
Juno 24 Feb, 2022 @ 4:56pm 
When performing multiple GPS points (I can't get individual ones to work), the ship overshoots every GPS point despite raising or lowering the GPS buffer. The tuning also does not seem to work as smaller ships will still overshoot there rotation. I am using the epstein drive mod from AryxErin.

The script also bricks the PB upon setup most of the time, forcing me to delete the PB itself as the block won't even perform other scripts anymore.

Is there any fix to these issues?
Artemin 10 Feb, 2022 @ 12:52am 
@Delphin_1 IIRC from further below it's on the planned features list, look a few pages later into the comments.
Delphin_1 9 Feb, 2022 @ 9:09am 
Can you use it with normal thrusters?
Drewdus 5 Feb, 2022 @ 1:24pm 
In season 6 when the Roci is being chased by the Pella and they do a 180 no scope with the railgun... can we get that added to the script?
Kaito 2 Feb, 2022 @ 6:49pm 
It apparently can't find my cockpit or remote controls. I tried putting the tag in all of them, one by one, and recompiling the script. Every time, it would reset the custom data (I had set sigma draconis to false), and then complain that it couldn't find a ship controller.

On a separate grid, I had the same issue as Tipp. Same crash, same stack trace.
Fischchen 1 Feb, 2022 @ 7:33am 
Hey Jawa, do you have an estimate, when the crash problem is fixed?
Jawa  [author] 30 Jan, 2022 @ 10:20pm 
Hey Alderon, I already have plans for that. I just have had limited time recently so my progress on the next update has been slow.
Alderon Tyran 29 Jan, 2022 @ 7:42pm 
I realized this is probably a long ask but I was curious if you can make a version of this script compatible with _any_ thruster? I've been wanting to use this on a few vanilla vertical ships I have but obviously can't without the Thruster mod. Is a vanilla compatible version in the cards?
Apollox 21 Jan, 2022 @ 7:42am 
I too have been having similar issues to others here. It only occurs when I recompile the script after changing anything in the custom data. It used to be just changing the max speed but that has changed to anything at all, such as changing Sigma_Draconis_Expanse_Server from true to false (how does something like that break the PB so badly?). It gives the same error message as the one @Tipp has pointed out. As has been said before, it completely bricks the PB. I'm not going to pretend to know enough to give suggestions but this doesn't seem to be user error.
TheMorpheus 21 Jan, 2022 @ 12:19am 
Hello.
I have encountered same issues as @Tipp
i have no idea but sometimes the script breaks while travelling between planets,etc.
Jawa  [author] 17 Jan, 2022 @ 1:52pm 
Tipp, I suspected a custom data issue because the script stores that data to a file, and a recompile will not be able to remove it (which is the idea). If it is an error that breaks the PB so that no script can work on it, that sounds like it must be an error occurring at the game level, not the script level. I'm not sure a script is even capable of that. I will need to do some testing and get more info on this.

As for thrusters being on, you can open the k menu and select all thrusters and set the override to 0.
Fischchen 17 Jan, 2022 @ 9:01am 
Hey Jawa,

I don't think you understand the problem with the "The Error Caught exception during execution of script:Object reference not set to an instance of an object. At Program..ctor()" error.

It literally makes the Programming Block unusable. It just breaks permanently. No commands, no other scripts, this error somehow completely and permanently bricks the Programming Block. The only solution I've found for now is to grind and rebuild it.

Also, I've found that sometimes this error occurs, just when reloading / closing and opening the world.

This issue is quite dangerous, as if the last command was to go to GPS it will keep the thrusters on 100%, which will inevitably crash the ship.
Nicole Morningstar 16 Jan, 2022 @ 3:04pm 
Thank's, Jawa!