Space Engineers

Space Engineers

O.I.S. Orbital Flight Computer
85 Comments
bigb3321 24 Nov, 2024 @ 5:57pm 
just a simple question can this script work with the Vector Thrust OS if so can i make it so then when it tilts it shouldn't flip over?
Elfi Wolfe  [author] 22 Jan, 2023 @ 9:06am 
look at:
autolevel off
setting all gryo overrides to 0
Elfi Wolfe  [author] 22 Jan, 2023 @ 9:04am 
To do:
add autoleveloff
add alloff ?
ItsPrimBridge 12 Jan, 2023 @ 1:18pm 
Thank you Elfie, sorry if I was pestering a bit, I was running on zero sleep while trying to figure this out lol
Elfi Wolfe  [author] 12 Jan, 2023 @ 7:57am 
ItsPrimBridge 12 Jan, 2023 @ 3:59am 
Can you make a video on how to set this up? I have no idea how to actually get it working and I've tried reading the guide above but I'm somewhat dyzslexic and have trouble reading
Elfi Wolfe  [author] 26 Apr, 2022 @ 4:05pm 
You can turn off gravdrive with gravedriveoff
And it only gets gravity generators that are in range of an artificial mass.
Simaster48 25 Apr, 2022 @ 1:30pm 
Hi Wolfe, I've been reading through both the guide and here on the workshop page to solve an issue on my orbiting station but can't find anything that seems to work.

Is there a way to make the script ignore certain Gravity Generators or all of them?
Elfi Wolfe  [author] 22 Jan, 2021 @ 6:38am 
It has no autopilot. It is just a flight computer to assist the pilot.
MrFox 21 Jan, 2021 @ 8:59pm 
Can it go back to base/dock if the fuel/power is low?
Elfi Wolfe  [author] 10 Jul, 2020 @ 9:00pm 
custom data program reads on start up.
arguments to change on the fly
blitzstarwarsman 10 Jul, 2020 @ 8:38pm 
do i put this[ targetaltitude 38000
targetforward 70
altitude
and either
shipdirection
or
velocitydirection] in the custom data or Arguments?
ttr 13 Jun, 2020 @ 3:00pm 
Hey.
cool script, however, my few notes:
1) can you add 'reload/reset' option - I found most of my issues that custom block was not read and AFAIK it's because I always populated it after adding script. Also on some occasion I do want to correct some settings and i always changed them in custom block and never run as parameter. So would be possible to add option to force-reload data form custom block. Recompile block does not help - i think it's because it's already having data in storage.
2) Any chance to add inclination option as heading (so analogue to velocity-/ship- -direction)? This could give more detailed orbit setting (eg, inclination 30, alt 30K, vel 200m/s) - and would be very helpful for multiple sattelities lunch.
3) can status of PB be showed also on block details? for about 20-30 mins I did thought that script does not work as nothing was showing up.
blitzstarwarsman 23 Apr, 2020 @ 7:25pm 
o thx
Elfi Wolfe  [author] 13 Apr, 2020 @ 4:37pm 
velocitydirection keeps try to go the direction you are currently going.. so you can spin the ship or satellite.
Ship direction is the forward direction of the ship.. so if you turn it will start to change the deltaV to the new direction.
blitzstarwarsman 13 Apr, 2020 @ 3:10pm 
whats the diffrence from velocitydirection and ship direction
Elfi Wolfe  [author] 7 Apr, 2020 @ 7:20am 
targetaltitude 38000
targetforward 70
altitude
and either
shipdirection
or
velocitydirection

and then autolevelon if you want it to always maintain down towards planet.
blitzstarwarsman 7 Apr, 2020 @ 1:30am 
this is confusing i just want to orbit at 70/ms and 38,000 meters from the ground how do i do that?

Elfi Wolfe  [author] 20 Feb, 2020 @ 8:52am 
Requested:
autolevel to be any facing.
Elfi Wolfe  [author] 10 Feb, 2020 @ 10:29am 
Added orbital V needed.
Elfi Wolfe  [author] 31 Jan, 2020 @ 2:02pm 
orbital V (m/s) =PI * (local gravity(m/s2) * radius(m)) ^ 0.5
Elfi Wolfe  [author] 29 Jan, 2020 @ 10:30am 
orbital V (m/s) =100 * (local gravity * radius) ^ 0.5
so cap V to 100
lets see math works down to Radius (km) = 1 / g
0.25g Radius max is 4km
0.1g Radius max is 10km
0.05g Radius max is 20km
Elfi Wolfe  [author] 28 Jan, 2020 @ 10:15am 
Working on:
Display of orbital velocity needed at current gravity.
or even try to do orbital velocity (which runs into speed limit problems)
orbital V (m) =100 * (local gravity * radius) ^ 0.5
Sander 6 Jan, 2020 @ 8:22pm 
Thank you so much for responding, fixed my problem <3
Elfi Wolfe  [author] 6 Jan, 2020 @ 2:52pm 
It goes based on the first ship controller in list.
if the ship does not like that.. you can change to going sideways in the script which is forward for you.
targetforward 0
targetright 1000 or -1000
Sander 6 Jan, 2020 @ 12:16pm 
I put this in my custom data:
altitude
targetaltitude 30000
autolevelon
velocitylimit 10
shipdirection
targetforward 1000
apogee 0.00

But its not going the ships direction "witch is forward", its going sideways??
Any idea how I can get it to go straight "Forward", my remote control is pointing "Forward", but still its going sideways?
TwitchingPsycho 15 Aug, 2019 @ 11:46am 
Nice! And thanks.
Blacky Watchy 10 Jun, 2019 @ 2:53pm 
cool. now i can do hovertanks (they are no so funtional as a ship but looks cool)
JCataclisma 30 Mar, 2019 @ 7:22pm 
This is AWESOME!
Elfi Wolfe  [author] 19 Mar, 2019 @ 4:54pm 
Note:
change lidar range finder to 999,999 to handle larger modded worlds.
ㄥoㄥıʞɐꞱ 29 Oct, 2018 @ 9:58pm 
Great Script man, keep up that great work :3
Elfi Wolfe  [author] 6 Sep, 2018 @ 5:33pm 
Now another program could do that and pass in a command to the flight computer to go up or stop.
Enigmus 6 Sep, 2018 @ 5:26pm 
I was hoping a single forward facing camer that tells the script to increase the altitude wouldn't break the bank, but fair enough. Thank you any way.
Elfi Wolfe  [author] 6 Sep, 2018 @ 5:19pm 
This code does not have enough space to add in lidar of enviroment. sorry.
Enigmus 6 Sep, 2018 @ 5:13pm 
Looking for a ground skimming orbit. It would need a form of collision avoidance for things like cliffs and steep mountains. Would adding those be something that would interest you?
Avallex 1 Jun, 2018 @ 11:52am 
Ah okay, thank you for your help, was just seeing that when the target gravity was 0.3 and the ship was moving downward the ship would go past 0.3 well into 0.4 sometimes not having enough thrust to slow down and then being pulled into gravity where it cant escape, but when it moves upwards it stop right where the target is, sorry if this is just me not understanding something.
Elfi Wolfe  [author] 1 Jun, 2018 @ 9:26am 
Program sees them but with zero thrust. It will set override on them, but is expecting zero thrust from them.
Avallex 1 Jun, 2018 @ 2:53am 
Okay, thank you, it's just they're turned off cause it's too high in the planet's gravity for them to work yet the program uses them to calculate slowing down
Elfi Wolfe  [author] 31 May, 2018 @ 4:41pm 
It works on max effective thrust. so a thruster turned off or ineffective would not add to effective thrust. /adds to bug checks to do.
Avallex 31 May, 2018 @ 4:03pm 
Brilliant script, a suggestion though, it seems to be calculating thrust needed with thrusters that are turned off in the console, (atmospheric thrusters) cause the ship is too high for them to work, maybe theres a setting or something I missed if it's me xd, so if it's not me, maybe add that?
macgabhann74 6 May, 2018 @ 9:18am 
hopefully soon he does do a great job but this also explains why I have not seen him posting on another you tubers account recently hes usually full of good ideas
Elfi Wolfe  [author] 6 May, 2018 @ 9:15am 
Yeah Spets is trying to get his channel back up.
macgabhann74 6 May, 2018 @ 9:14am 
Elfi Wolfe just thought you should know That you tube channel you linked appears to have been terminated
Elfi Wolfe  [author] 23 Mar, 2018 @ 5:20pm 
To do: add appogge argument in minutes
Elfi Wolfe  [author] 23 Feb, 2018 @ 5:35pm 
Just updated workshop with hot fix for API changes.
Dat Newb 17 Feb, 2018 @ 1:37pm 
Ok thanks.
Elfi Wolfe  [author] 17 Feb, 2018 @ 12:24pm 
No timers anymore if the script set up the script. and each script needs it's own PB
Dat Newb 17 Feb, 2018 @ 12:23pm 
Last questions. Do you need a timer for each script; and does each script need it's own PB?