Space Engineers

Space Engineers

85 ratings
Orbital Drop Position Calculator
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
10.447 KB
10 Apr, 2018 @ 6:11am
19 Sep, 2019 @ 8:45am
4 Change Notes ( view )

Subscribe to download
Orbital Drop Position Calculator

Description
What is this?
This script is for calculate the position directly above the desired position on the planet surfafe.
It makes it possible to drop things to their precise position from orbit.
I'm using this script in multiplayer, for making planet base, dropping supply crate for friends, and squash enemy base from orbit!

Setup
Building 1 Programmable Block and any power source, and load this script in Programmable block.

How to use it?
1.Create GPS in the desired drop zone, and press "Copy to clipboad" button.
2.Open Programmable block, paste(Ctrl + V) in argument, and press "Run" button.
3.Press "Custom Data" button.The GPS coordinates are generated like this :

[Orbital Drop Position Calculator Calculation Result] ;Directly above the target point, ;On the outline of the gravity sphere Drop Position=GPS:Drop Pos(Earth):44721.44:-2286.61:-92859.87: ;Directly above the target point, ;Further away from the gravity sphere by the value of offsetDistance Jump Position=GPS:Jump Pos(Earth):45155.23:-2308.79:-93760.61:

Select and copy(Ctrl + C) the GPS coordinates.(Between "GPS" and ":" at the end)

4.Return to GPS menu, Press "Create from clipboad" button.
Popular Discussions View All (1)
1
6 May @ 7:17am
Fix for Script writing to every LCD
DrCuddles
25 Comments
MegaMick 17 Jan @ 12:12pm 
+1 for planet updates plz xD
Fuchs Tairn 25 Jan, 2024 @ 2:50am 
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 16 Mar, 2023 @ 8:29am 
+1 for Pertam adding :-)
Th98ioozuopos 9 Jul, 2021 @ 3:47pm 
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 12 Apr, 2021 @ 7:46am 
Is it posible to update for Petram planet?
HLK 4 May, 2020 @ 2:36pm 
You can find the coordinates in the Sandbox.sbc in your savegames folder in the <MyObjectBuilder_SessionComponent xsi:type="MyObjectBuilder_WorldGenerator"> object
HLK 4 May, 2020 @ 2:33pm 
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 21 Oct, 2019 @ 2:26am 
Does this work properly if I edit the gravity falloff of planets on the world?
Delebre 11 Sep, 2019 @ 2:28am 
I uploaded a fixed version which takes care of the compile issues:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1860078981
Megakole 25 May, 2019 @ 10:22am 
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