Space Engineers

Space Engineers

78 évaluations
SAS
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Mots-clés : autopilot
Taille du fichier
Publié le
Mis à jour le
72.512 KB
16 nov. 2022 à 23h38
21 nov. 2023 à 8h01
2 notes de changement ( voir )

S'abonner pour télécharger
SAS

Description
==== SAS ====
Stability Assist System
orbital tools

Author: DFPercush
Source code: github.com/DFPercush/SE-SAS
Feed the programmer: ko-fi.com/DFPercush

Setup:
If you want to use a cockpit besides the main one as the reference,
set 'DefaultControlBlock' below. Or use the 'control' command to set.
Make sure your craft has some gyros, power, and enable forward/back
thrusters for station keeping. That's about it.

Update: While locked to any direction, you can still give roll commands
by using Q and E from the active cockpit or control block. This may
only work from that one cockpit.

Commands:

off / stop: Halt program and turn off gyro overrides.

pro / prograde: The direction your ship is moving. Forward.

retro / retrograde: Facing backwards along your direction of movement.

norm / normal: Perpendicular to the plane of your orbit.
If you are moving east, normal would be north.

anti / antinormal: Opposite normal. If moving east, antinormal is south.

out: Radial out. Facing perpendicular to your orbit but
in the same plane. Basically, away from the planet.

in: Radial in. Towards the ground.

disp: Display debugging information.

keep: Maintains a certain min and max altitude.
(no args) Toggle on/off. Maintain the current orbit.
[number] Maintain a circular orbit of [number] height,
in meters, from the center of the planet.
[max] [min] Maintain an orbit of apogee [max] and perigee [min].
on|off|toggle Enable or disable this mode.

control [block] Sets the active cockpit, remote control, or ship controller.
Discussions populaires Tout voir (1)
0
23 nov. 2023 à 18h59
question on propustion settings
dragontuar
42 commentaires
RepziAnon 27 févr. 2024 à 21h24 
When setting up the control block properly, I have no issue with prograde or retrograde. I think it's no fault of the script and the way the script calculates how to hold in, out, normal and antinormal is due to the fault in space engineers planet info that real orbits adjusted, due to the decreased gravity drop off. With other mods I am using like HUD Compass the cut off to which the script recognizes the planet is the same as the compass in that mod, similar to the altitude meter on the HUD. Still not too sure what the fix is, as everything I'm saying is just from experience and I have no experience coding or creating scripts. But, I imagine it as something to do with changing the data of planets themselves, maybe something Real Orbits could fix.
Caffeinix 21 janv. 2024 à 15h59 
Update: if I comment out the call to cockpit.TryGetPlanetPosition and just execute the "if (planetPresent)" block unconditionally, it works (at least for holding prograde), although the displayed orbital elements are quite wrong. I did use the control argument to point the script at the main cockpit, which is a large grid control seat.
Caffeinix 21 janv. 2024 à 15h52 
I'm also trying to use this with Real Orbits, but it says "No planet." despite there very much definitely being a planet. Hoping there might be something I can do to fix that!
RepziAnon 9 janv. 2024 à 18h48 
I'm using this with Real Orbits and it is working well, except for the fact that when I get too far from the planet, not enough to leave the gravity, I loose the ability to use radials, normal and antinormal because it says I am not within gravity. I think the gravity is tied to the cutoff for the HUD altitude display and this is kept vanilla, where as the gravity well now extends far beyond that because of the decreased fall off using Real Orbits. Any Suggestions?
DFPercush  [créateur] 21 nov. 2023 à 8h11 
@BingBong sorry for the late reply, but the commands go in the "argument" box when you select the programmable block from the K menu. It's right next to the "Run" button. Or, if you bind the program's "Run" to the G menu, you can type arguments there as well.
BingBong 28 juil. 2023 à 1h07 
How do use these commands? just type /retro in the chat?

im not even getting the "No ship control block found error lol
manji51 3 mai 2023 à 8h21 
It worked... I'm not sure if I overlooked it or somethin' but still thanks friend!
DFPercush  [créateur] 3 mai 2023 à 7h19 
At the top of the script, where it says
// ==== CONFIG ====
// This is probably the only thing you'll need to change
const string ControlBlock = "Fighter Cockpit";
... change "Fighter Cockpit" to "ControlBlock", or "Control Seat" or whatever the block is named.
manji51 30 avr. 2023 à 15h30 
Error: No ship control block found.
>glances at control seat named "ControlBlock"
I feel like somethings amiss with this script, I'm not sure how to fix this
I would LOVE to have a button I can press to flip me around to retrograde while in combat if this can get fixed/someone can provide a fix
Fogel 2 avr. 2023 à 4h33 
Cant get this to work, it seems I cant set the control block for some reason