Space Engineers
617 оценки
Orbital Autopilot and Map
2
3
   
Награда
Добавяне към любими
В любими
Премахване от любими
Тагове: autopilot
Размер на файла
Публикуван на
Обновен на
407.058 KB
2 юни 2018 в 15:41
23 септ. 2021 в 14: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://steamcommunity.com/sharedfiles/filedetails/?id=380168871
or this one:
https://steamcommunity.com/sharedfiles/filedetails/?id=599536562
383 коментара
The Great Drone 2 юни в 12:57 
Hi, I'm within the planet SOI, but I keep getting error not in planet SOI.
BlindLight98 30 май в 16: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 28 апр. в 21:05 
I also modified the script to transmit the 3d map of the satellites position to LCDs in my main base.
Come and See 28 апр. в 18: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 22 дек. 2023 в 10:46 
Google is your friend
FlightError 10 дек. 2023 в 10:42 
What is "planet SOI" I keep getting that error while trying to get it to work.
evabay 10 ноем. 2023 в 10:45 
its set to that by default
Apticrok 10 ноем. 2023 в 8:16 
set the display mode: text and image. Good mod!
evabay 25 окт. 2023 в 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  [автор] 27 ноем. 2022 в 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.