Space Engineers

Space Engineers

Orbital Drop Position Calculator
25 条留言
MegaMick 1 月 17 日 下午 12:12 
+1 for planet updates plz xD
Fuchs Tairn 2024 年 1 月 25 日 上午 2:50 
you need to change line 168 to output color too, i made it like: return $"GPS:{name}:{Position.X:#.##}:{Position.Y:#.##}{Position.Z:#.##}:#FFFF9900"; copy to clipboard wouldnt work without a color.
==>KT<== JudgeKane 2023 年 3 月 16 日 上午 8:29 
+1 for Pertam adding :-)
Narinder 2021 年 7 月 9 日 下午 3:47 
Can you make a script or another part to this one that takes in account of velocity of desired object to drop from a said position in or out of gravity till it hits gravity as long as it maintains the exact speed till it reaches gravity and will take in account of mass of ship to predict how fast it will accelerate till it hits ground and pinpoint where it will hit.

Like say you were orbiting a planet at a speed of 200m/s at lets say 0.75g and dropped an escape pod down to the surface, could you make a script that could pinpoint exactly where its going to hit.

and of course have variables that can be changed manually depending on the planet, gravity-of-planet, gravity-where-stationed, and velocity, etc. that way people can use it on any sort of planet modded or vanilla?
Âmøur 2021 年 4 月 12 日 上午 7:46 
Is it posible to update for Petram planet?
HLK 2020 年 5 月 4 日 下午 2:36 
You can find the coordinates in the Sandbox.sbc in your savegames folder in the <MyObjectBuilder_SessionComponent xsi:type="MyObjectBuilder_WorldGenerator"> object
HLK 2020 年 5 月 4 日 下午 2:33 
To add support for Triton you need to add two lines:

after
double[] planetTitan = new double[]{36384.5,226384.5,5796384.5,9785,0.25};
add
double[] planetTriton = new double[]{-284463.5,-2434463.5,365536.5,48151.8,1.0};

after
planetsList.Add(new PlanetData("Titan",new Vector3D(planetTitan[0],planetTitan[1],planetTitan[2]),planetTitan[3],planetTitan[4]));
add
planetsList.Add(new PlanetData("Triton",new Vector3D(planetTriton[0],planetTriton[1],planetTriton[2]),planetTriton[3],planetTriton[4]));
blm1123581321 2019 年 10 月 21 日 上午 2:26 
Does this work properly if I edit the gravity falloff of planets on the world?
Delebre 2019 年 9 月 11 日 上午 2:28 
I uploaded a fixed version which takes care of the compile issues:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1860078981
Megakole 2019 年 5 月 25 日 上午 10:22 
Is there a way to make this or does it currently work with kinetic rounds like gravity railguns or would it be just as simple as pointing the gun straight down
IraGfC 2019 年 3 月 20 日 上午 11:58 
Is there a way to omit LCDs from the script? Several of my LCDs keep getting changed into the script's data display, but they do not have anything typed into the custom data tab.
filipe 2019 年 1 月 1 日 上午 6:03 
awesome!
supersquid2000 2018 年 8 月 9 日 下午 8:25 
This would be nice to use in reverse for calculating transport coordinates for the transporter mod. One to beam down......
kendall 2018 年 7 月 30 日 上午 9:40 
this is the best. I assume. Haven't actually tried it yet. But good job!
Hawkeye 2018 年 7 月 29 日 下午 4:36 
Nice! I was just making an epic dropship and this is just perfect for it.
Lokii 2018 年 5 月 22 日 下午 12:25 
@Sunoko Ahhhhh, i gotcha, very nice, I like the way you did that, I'm definitely a fan of your work

If i ever get around to porting my script from python to c# for in-game use I'll have to add some extra functionality so mine isnt too similar to yours, perhaps i'll add orbital calculations for sat placement or something, in any case, great job on this script
commie._.tears 2018 年 4 月 14 日 上午 11:54 
Is there any way to make it trigger something when it gets to the desired coordinates?
. 2018 年 4 月 14 日 上午 7:00 
Thank you
Sunoko  [作者] 2018 年 4 月 14 日 上午 5:34 
@. LCD support Added. Please put any LCDs and write "CalcLCD" into Custom Data.

@Loki-Reaper Variable that necessary for calculation (gravity,planet position etc) are entered in the script, we can find them in SANDBOX_0_0_0_.sbs in the save data folder. And we can find the formula in the SE wiki article.
So this script only work for vanilla planet.(We can adding new planet data to this script by appending it to PB custom data, but I could not find the variable about customer planet.)
Lokii 2018 年 4 月 13 日 下午 1:27 
Haha,i've been outdone it seems, i have literally the exact same thing as this script but in python on an external editor, out of curiosity, how did your math play out ? Mine used known planet centers in a list that was read in from just a text file to create unit-vector, does this script only work if the planet is at 0,0,0 or does it detect the planet and grab its center?
commie._.tears 2018 年 4 月 12 日 下午 5:01 
@luis.mendez6 ahh, yes, we can now drop nukes from orbit! HAHAH
. 2018 年 4 月 11 日 下午 7:36 
I like it but I would like it if you could put it on an LCD
Lmecha 2018 年 4 月 10 日 上午 9:53 
good script, usefull on Role play worlds
Sir Luis 2018 年 4 月 10 日 上午 9:17 
im thumbing this up right now then bombs away!!!!!!
Sir Luis 2018 年 4 月 10 日 上午 9:16 
MMMMMMMMM i can drops bombs from outer space ?? with this?