Space Engineers

Space Engineers

617 个评价
Orbital Autopilot and Map
2
3
   
奖励
收藏
已收藏
取消收藏
标签: autopilot
文件大小
发表于
更新日期
407.058 KB
2018 年 6 月 2 日 下午 3:41
2021 年 9 月 23 日 下午 2:40
7 项改动说明 ( 查看 )

订阅以下载
Orbital Autopilot and Map

描述
This script allows you to keep a ship in orbit around a planet and render an orbital map.

Instructions:

You ship will need a few components for this script to do its job.
The most important is a ship controller. This can be either a remote control or a cockpit. It must be named "OrbitController" for the script to find it. This block will define the orientation of the ship when orbiting a planet with the autopilot. The Up side of this block will point away from the planet, and the Front side will point forward.

The autopilot can be activated with the argument "toggleAutopilot". When activated it will attempt to allign the ship with the target orbit and then accelerate to the required orbital velocity. In order for the autopilot to work your ship will need a gyroscope and 1 thruster in each direction.

To select an orbit you can run the script with the arguments "forward", to generate an orbit based on your current direction, or "input", to generate an orbit based on the input variables. There are a lot of things you can change in the input section of the script, so I suggest you take a look at that.

The orbital map can be rendered by adding an lcd panel named "OrbitDisplay". This will display the planet (grey), the ship (green), the target orbit (light blue) and the current trajectory (magenta). If you add waypoints to the ship controller (if it is a remote control), these will be also be displayed (blue).

Extra stats and error messages can be displayed on an lcd panel by naming it "OrbitStats".


A Speed mod is highly recommended for autopilot functionality.
I suggest one of these:
https://steamproxy.net/sharedfiles/filedetails/?id=380168871
or this one:
https://steamproxy.net/sharedfiles/filedetails/?id=599536562
383 条留言
The Great Drone 6 月 2 日 下午 12:57 
Hi, I'm within the planet SOI, but I keep getting error not in planet SOI.
BlindLight98 5 月 30 日 下午 4:09 
If I wanted to tell the script to go to the altitude specified in the input section but maintain the current direction/angle of orbit, how would I achieve that?
Come and See 4 月 28 日 下午 9:05 
I also modified the script to transmit the 3d map of the satellites position to LCDs in my main base.
Come and See 4 月 28 日 下午 6:40 
Nice mod when paired with Real Orbits. I put a bunch of satellites around my planet with ore detectors and they sniff out all the goodies.
SMooreAce 2023 年 12 月 22 日 上午 10:46 
Google is your friend
FlightError 2023 年 12 月 10 日 上午 10:42 
What is "planet SOI" I keep getting that error while trying to get it to work.
evabay 2023 年 11 月 10 日 上午 10:45 
its set to that by default
Apticrok 2023 年 11 月 10 日 上午 8:16 
set the display mode: text and image. Good mod!
evabay 2023 年 10 月 25 日 上午 11:26 
i cant get it to display the orbit or stats on screens, i names them properly and i recompiled and ran the script multiple times and everything else works fine
Renener  [作者] 2022 年 11 月 27 日 上午 9:59 
There should be a line in the script where it looks for a block named "OrbitController". You can probably change that to whatever name you have in mind.