Space Engineers

Space Engineers

86 个评价
Orbital Drop Position Calculator
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
10.447 KB
2018 年 4 月 10 日 上午 6:11
2019 年 9 月 19 日 上午 8:45
4 项改动说明 ( 查看 )

订阅以下载
Orbital Drop Position Calculator

描述
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.
热门讨论 查看全部(1)
2
10 月 9 日 上午 7:17
Fix for Script writing to every LCD
DrCuddles
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