Space Engineers

Space Engineers

35 个评价
Orbital Drop Position Calculator
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
281.754 KB
2019 年 9 月 11 日 上午 2:24
2019 年 9 月 11 日 上午 3:23
3 项改动说明 ( 查看 )

订阅以下载
Orbital Drop Position Calculator

描述
Updated to compile without issues. Very handy script!

Updated: 11.9.2019
Special thanks to MartinRWolfe and Malware.


Original Script: https://psteamcommunity.yuanyoumao.com/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 条留言
[MM] Toasterific 2021 年 4 月 6 日 下午 10:09 
what about Pertam?
HLK 2020 年 5 月 4 日 下午 2: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 2020 年 1 月 1 日 下午 3: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 2019 年 11 月 25 日 上午 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 2019 年 11 月 6 日 下午 10: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 2019 年 11 月 1 日 上午 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 2019 年 10 月 1 日 下午 4: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  [作者] 2019 年 10 月 1 日 上午 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 2019 年 10 月 1 日 上午 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 2019 年 9 月 17 日 下午 6:01 
*Taken