Space Engineers

Space Engineers

SAS
42 Comments
RepziAnon 27 Feb, 2024 @ 9:24pm 
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 Jan, 2024 @ 3:59pm 
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 Jan, 2024 @ 3:52pm 
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 Jan, 2024 @ 6:48pm 
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  [author] 21 Nov, 2023 @ 8:11am 
@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 Jul, 2023 @ 1:07am 
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 May, 2023 @ 8:21am 
It worked... I'm not sure if I overlooked it or somethin' but still thanks friend!
DFPercush  [author] 3 May, 2023 @ 7:19am 
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 Apr, 2023 @ 3:30pm 
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 Apr, 2023 @ 4:33am 
Cant get this to work, it seems I cant set the control block for some reason
Aperson 23 Mar, 2023 @ 8:48am 
do i need to enable the mod in the world settings or so i not need to enable it?
ExileStudios 19 Mar, 2023 @ 6:54pm 
so i renamed my the program block the script is loaded on to control seat as that is the block i am using to control my vehcile and it still says Error: no ship control block found. how do i fix this?
Silverado Legion 17 Feb, 2023 @ 5:16am 
Programmable blocks were not removed. Remember to turn on in-game scripts. Also, if you are in survival, you have to unlock it first.
BraveCaperCat 11 Feb, 2023 @ 9:09am 
i did enable experimental mode it still doesn't work.
DFPercush  [author] 10 Feb, 2023 @ 1:51pm 
@Bad Caxeira - Prograde and retrograde should work anywhere. (anti)Normal and (anti)radial will work as long as you're in the gravity well of a planet. (P-grav is >0)
sv_memes 1 8 Feb, 2023 @ 4:24pm 
Does it work without an Orbit Mod?
Fischchen 28 Jan, 2023 @ 4:31am 
@BraveCaperCat, you have to enable experimental mode.
BraveCaperCat 27 Jan, 2023 @ 8:19am 
there isn't a programmable block anymore - it was removed in some random update, as it doesn't show up for me.
DFPercush  [author] 27 Jan, 2023 @ 7:27am 
@ThatBirbArtist I don't think you need to mess with custom data, just the first line of config inside the script that reads: const string ControlBlock = "Fighter Cockpit";
I might consider some kind of auto detect for this in the future, but for now, that just needs to be set to whatever block you're piloting, kind of like "control from here". It might matter if there are different cockpits, helms, seats, etc facing different directions.
ThatBirbArtist 26 Jan, 2023 @ 2:28pm 
Nevermind, in order to connect the Prog. Block to the cockpit is to go into the controlling block's "Custom Data" and then type in 'ControlBlock=(block)'
ThatBirbArtist 26 Jan, 2023 @ 2:18pm 
I've been struggling to figure out why the prog. block keeps saying that there is "no control block found." If you can help, it'll mean worlds for me!
BraveCaperCat 17 Jan, 2023 @ 8:49am 
Why do you play KSP???
🅵🅴🅳=unprincipled 12 Jan, 2023 @ 12:24pm 
ksp 2 soon!!!
splatman95 10 Jan, 2023 @ 2:45am 
Kerbal Space Engineers
Zox1e 6 Jan, 2023 @ 2:49am 
Can you make video to show how to use it?
G1gg1l3s 27 Dec, 2022 @ 7:20pm 
JEB! DID YOU TURN ON THE SAS?

*ship falling on the launch pad after engine ignition*
Kenionatus 21 Dec, 2022 @ 11:29am 
@jb2018 Yup, retrograde means your (or rather your ship's) back side pointed to where you're going.
jb2018 12 Dec, 2022 @ 4:48pm 
correct me if i am wrong, would this make "turn and burn" easier?
Gontarekt 11 Dec, 2022 @ 11:12am 
Thanks for making this, I remember months ago wondering if there was a script for exactly this, in particular an automatic retrogade, you've gone and done the full ksp setup!
SPIKE!! 10 Dec, 2022 @ 2:37pm 
maybe ksp
Aventurine 9 Dec, 2022 @ 5:20am 
hm where do i know the logo from? XD
Zox1e 8 Dec, 2022 @ 1:49am 
I have the error

Error: No ship control block found.
But I set 'ControlBlock' to the name of my cockpit
ThePolishTech 5 Dec, 2022 @ 12:27pm 
now we need to make a 25m/s burn... Wait bill thats retrograde!
lapis 5 Dec, 2022 @ 10:40am 
where is mechjeb2.0 ????????
Stingray13225 4 Dec, 2022 @ 6:07pm 
@cress this is a script that you load in a programmable block that is meant for having easier times navigating in space (like being able to point your main engines the opposite of your velocity) its not a mod on its own just meant to help space travel
Cress 4 Dec, 2022 @ 4:04pm 
Yea I was wondering if this game even had orbit mechanics... I'm pretty sure without other mods this won't do anything?
John 4 Dec, 2022 @ 2:04pm 
does this work with the real orbits mod?
Scott 4 Dec, 2022 @ 12:01pm 
Jeb approves of this mod
ijaxsonl 4 Dec, 2022 @ 10:21am 
is that a ksp reference?
MauseLoch9000 4 Dec, 2022 @ 7:47am 
How did this get featured by keen?! Anyway, nice script, I need this for my SE but Realistic world
DFPercush  [author] 21 Nov, 2022 @ 2:56am 
Dang, I knew I should've added that muffin button.
supersquid2000 19 Nov, 2022 @ 11:14am 
No snacks? lol awesome job.