Space Engineers

Space Engineers

35 arvostelua
Orbital Drop Position Calculator
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
281.754 KB
11.9.2019 klo 2.24
11.9.2019 klo 3.23
3 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Orbital Drop Position Calculator

Kuvaus
Updated to compile without issues. Very handy script!

Updated: 11.9.2019
Special thanks to MartinRWolfe and Malware.


Original Script: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1357741912

--------------------------------
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 :

//RESULT
//Drop Position = GPS:Drop Position(Earth):44721.44:-2286.61:-92859.87:
//Jump Position = GPS:Jump Position(Earth):45155.23:-2308.79:-93760.61:

Select and copy(Ctrl + C) the GPS coordinates.(Behind "GPS")

4.Return to GPS menu, Press "Create from clipboad" button.
13 kommenttia
[MM] Toasterific 6.4.2021 klo 22.09 
what about Pertam?
HLK 4.5.2020 klo 14.34 
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]));
TwinMinds 1.1.2020 klo 15.06 
Unfortunately this script is has hard-coded planet locations for vanilla solar system only. This does not work for scenarios as they have different planet locations, nor does it work for any non-vanilla planets.
Target 25.11.2019 klo 10.03 
For anyone having issues with it changing all your lcd panels:
There is a function called WriteToLcd, if you change the body of the function (the part between {}) with "return;" (without the quotes) it fixes the issue :)
superv6 6.11.2019 klo 22.33 
does this work with a completely freefalling object. my weapon has a gyro to stabilise but no thrusters to keep it aligned
Elfi Wolfe 1.11.2019 klo 9.20 
Rulin. There is a few Rangefinder scripts or LIDAR mappers that can return the GPS of what you "lased". So you can use those scripts to get the GPS of the enemy base.
Rulin 1.10.2019 klo 16.10 
Ah ok, too bad. I thought you had a workaround for this. Btw, I made a suggestion on keens feedback site to add a remote gps feature to camera- and telescope (new) -blocks. You can vote for it here: https://support.keenswh.com/spaceengineers/general/topic/idea-enhanced-cameravision-new-binoculars-and-telescope
Delebre  [tekijä] 1.10.2019 klo 10.50 
@Rulin, That is certainly one application of the script, but.. I don't know.. tunnel under them?
I tend to use it for coordinating my landings/travel. Knowing where to jump to in space, gets me as close as possible, and then I can just descend straight down to my base.
Rulin 1.10.2019 klo 7.36 
Sounds cool, but how do you get the gps of an enemy base when you have to stand there in order to get the coords?
frogboy1320 17.9.2019 klo 18.01 
*Taken