Space Engineers

Space Engineers

Planetary Orbit
53 Comments
Suzuki Hiakura 14 Feb, 2022 @ 7:25am 
Am unsure, but I may have used this script in some orbital constructions... forget if it was this or another, but did also mix other scripts with the one I used such as an auto docking script capable of docking to a moving station. Was quite elaborate and liked it a lot. Will have to check again but their are alternatives if this one doesnt work. Believe this was the first I used though, with recent updates and my not having played in so long, unsure if it still works.
Jab  [author] 9 Feb, 2022 @ 10:27am 
@ChickenKing Hello,

It's probably best to rewrite it at this point. This is so old.
ChickenKing 9 Feb, 2022 @ 10:25am 
Was hoping this worked with the real orbits mod but since it doesn't seem to be maintained I doubt it would work in the first place, not going to try it till an update if that's even possible at this point
nlstag 24 Feb, 2021 @ 12:59am 
I guess he didn't get back to it
Suzuki Hiakura 16 Jan, 2020 @ 10:17pm 
so this doesn't work?
Seagull Lung 30 Dec, 2019 @ 1:38am 
i hope this gets a rez cannot find anything like it
Doctor Sweety 20 Apr, 2019 @ 1:15pm 
RIP
Snowey Racoon 18 Apr, 2019 @ 9:22pm 
did this mod die, because it really seamed like a good mod
PeterFargo 6 Jun, 2017 @ 7:57pm 
Maybe a good tuturial as well?
PeterFargo 6 Jun, 2017 @ 7:56pm 
definately wanting to have a SS just above a planet
Wictor_Little 6 Jun, 2017 @ 6:10am 
Yes man, get back to it, WE COUNTING ON YOU!!! :D
Jab  [author] 6 Jun, 2017 @ 3:41am 
Oh wow. I forgot about this. :| I have a better GPU now, so I might get back to this script. :)
Wictor_Little 5 Jun, 2017 @ 1:49pm 
Is this updated? i would love a space station that orbits the planet... since planets do not rotate.
Jab  [author] 9 Jan, 2017 @ 8:53am 
This script is so old. It definitely needs to be updated.
B1487E 8 Jan, 2017 @ 11:56pm 
When I ran it, my ship would only go 1m/s and would just go on a totally random flight path? Is there something I am doing wrong? The ship I am using is a 1:2 scale Imperial Star Destroyer.
Anach 19 Aug, 2016 @ 12:16am 
Well I know you'd make over 500 people quite happy :)
Jab  [author] 19 Aug, 2016 @ 12:09am 
Depends. I'd have to jump back in and redo the way the script finds out the center of gravity.
Anach 18 Aug, 2016 @ 2:52pm 
The description sounds great. Is there any chance of an update?
Jab  [author] 1 Jan, 2016 @ 7:44am 
@agrimes I just need to properly work with the gravity vectors.

Also, C# isn't my native programming language, though I must say I fared pretty well with it so far.
agrimes 31 Dec, 2015 @ 5:49pm 
Hey, I was looking at the source code (haven't tried to run it yet) first thing I noticed that you were unpacking the vectors and then performing calculations identical to built-ins on them... for example you unpack, then basically throw pathagaras at the vectors a number of times, when you could simply just take the vector and call .length() on it.

Under speed mod, a "natural" orbital trajectory is possible but not stable. The equation is simply, iirc, V = sqrt( alt_above_center * A_G) where A_G is acceleration due to gravioli... So the logic would be to look at the proposed orbit, compute the required velocityy, if over the limit, abort and park ship outside of SoI. Otherwise, the code would simply tune the velocity to null out the vertical component of the vector at the desired altitude.

As Bill KERMAN would explain, planets are surrounded by a spherical vortex of gravioli particles...
Jab  [author] 29 Dec, 2015 @ 3:47pm 
I'm still alive. I'm planning on sitting down and working on this with my Project Zomboid mods. You are not forgotten. It might be due to a possible update that this is breaking. Will find out someitme soon.
Anubis4123 29 Dec, 2015 @ 3:35pm 
It looks awesome, I really like it! Unfortunately, I can{t use it, I dunno why. Says:

" Caught exception during execution of script: Input string was not in a correct format "

I love orbiting planets and moons in KSP! It would be just deadly awesome if you could fix this prob. Looking forward to it and good luck :steamhappy:
Doctor Sweety 29 Dec, 2015 @ 3:23pm 
Awesome concept, waiting for update ;)
artiedee 22 Dec, 2015 @ 1:10pm 
Thanks
Jab  [author] 22 Dec, 2015 @ 7:24am 
hmmm. i'll take a look at this when i get a chance. sorry for the inconvenience, guys.
artiedee 21 Dec, 2015 @ 1:52am 
same
Airborne Elmo 20 Dec, 2015 @ 10:27pm 
Im getting an error when running the script. It says "Caught exception. Input string is in an invalid format"
artiedee 16 Dec, 2015 @ 1:26am 
I have multiple antenas on my grid and multiple rc blocks maybe thats why.
artiedee 15 Dec, 2015 @ 10:30pm 
catching an exception, the antenna name or rc name are not specified..
artiedee 14 Dec, 2015 @ 11:45am 
Ah didnt know that.
Jab  [author] 14 Dec, 2015 @ 5:39am 
The problem is his stuff is not accurate further away from the center. I'm looking at making a precise calculation.
artiedee 13 Dec, 2015 @ 6:19am 
Script is called: Planetary Compass
artiedee 13 Dec, 2015 @ 6:19am 
Nice! I was thinking of using Pennywises script to get the center, maybe u can check his maths!
Jab  [author] 12 Dec, 2015 @ 4:46pm 
Looking into getting the center coordinates of gravity. Wish me luck. :|
artiedee 9 Dec, 2015 @ 3:21pm 
Its an amazing script quite surprised it didnt get mroe exposure, but once I fully implement it I will advertise it more!
Jab  [author] 9 Dec, 2015 @ 1:13pm 
Going to work on this sometime soon. Haven't forgotten. :)
artiedee 3 Dec, 2015 @ 7:28am 
seems like ur way ahead of us!
Jab  [author] 3 Dec, 2015 @ 7:23am 
I was planning on adding this as an additional function to the coordinates input. Now I may as well put it in. :)
artiedee 3 Dec, 2015 @ 7:14am 
Can we just have the GPS copied from our GPS tab and paste that into the LCD panel Public title and it will accept them>?

Jab  [author] 2 Dec, 2015 @ 12:23pm 
@Shadow also 'reset' argument for the program block before doing that.
Jab  [author] 2 Dec, 2015 @ 12:23pm 
@Shadow try clearing your text panels.
Shadow 2 Dec, 2015 @ 5:49am 
Not really sure what i'm doing wrong, but i keep getting: Caught exception during execution of script: Input string was not in correct format. The ship i am testing it on is nothing but a cross structure with thrusters, cockpit, remote control, reactors and whatever is necessary for your script to run. I'd really like to make this work, as i'd like a permanent orbiting base floating around 5k from the planet surface.
artiedee 2 Dec, 2015 @ 3:06am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=558981481

Its a compass navigation script.

Jab, check out this script, the guy figured out how to do direction such as North, South. Would be amazing if your scripts could play together!

All Im asking is to take the same point of reference for North!
artiedee 2 Dec, 2015 @ 2:58am 
thank you!
Jab  [author] 1 Dec, 2015 @ 10:02pm 
@artiedee I was thinking about adding that to the settings.
artiedee 1 Dec, 2015 @ 5:15am 
you could take -y as north(up) that will play together with the auto-hover script that automatically adjusts the ship to gravity vector...
artiedee 1 Dec, 2015 @ 5:14am 
Would be cool if you could control which direction u are orbiting like north to south, or east to west.
Bone Jester 27 Nov, 2015 @ 3:34am 
ha spent 4 hours sunday placing gps coords for this purpose, todasy founf your script ..lol awsum :)
Jab  [author] 26 Nov, 2015 @ 10:33pm 
Updated. Brought memory down to one unit. Added randomness seting, and waypoint radius.
Jab  [author] 26 Nov, 2015 @ 8:32pm 
Updated. Added a Text Panel for settings. Call it "OrbitSettings" in the Control Panel. The script *Should* generate the settings.

Working on Random offsets as well as needing only one text screen for memory.