Space Engineers

Space Engineers

617 avaliações
Orbital Autopilot and Map
2
3
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Marcadores: autopilot
Tamanho:
Publicado em:
Atualizado em:
407.058 KB
2 jun. 2018 às 15:41
23 set. 2021 às 14:40
7 notas de alterações ( ver )

Subscreve para transferir
Orbital Autopilot and Map

Descrição
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 comentários
The Great Drone 2 de jun. às 12:57 
Hi, I'm within the planet SOI, but I keep getting error not in planet SOI.
BlindLight98 30 de mai. às 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 de abr. às 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 de abr. às 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 dez. 2023 às 10:46 
Google is your friend
FlightError 10 dez. 2023 às 10:42 
What is "planet SOI" I keep getting that error while trying to get it to work.
evabay 10 nov. 2023 às 10:45 
its set to that by default
Apticrok 10 nov. 2023 às 8:16 
set the display mode: text and image. Good mod!
evabay 25 out. 2023 às 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  [autor] 27 nov. 2022 às 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.