Space Engineers

Space Engineers

ExcavOS [Dev Branch]
58 Comments
Spider289 30 Sep @ 6:42pm 
Website for documentation seems to be back online !
SaltyNUggeTZ 30 Sep @ 1:25pm 
The pages linked (surge and statichost) are both down. Need the documentation please!
Pere250 30 Sep @ 8:12am 
Anyone happen to have the manual? Every link (from other pages as well) to get to the manual is down. Seems like this is a great script based off comments, but I am unable to locate any kind of instructions
Buck Futter 30 Sep @ 7:58am 
The docking tag doesn't seem to work as expected, I have defined the tag and I have put the tag in the connector I use to park the ship but no thrusters turn off.
Currently connected to a space station if that makes any difference..
PF_Cactus  [author] 26 Sep @ 3:40am 
@Calla, as with all settings they are in the custom data of the script block, clearing it will automatically write back in all the defaults.
Calla 25 Sep @ 7:06pm 
Where am I supposed to put the above code to disable the automation features? You did not specify where they go.
尤利 24 Sep @ 11:35am 
cool. if you do I will add it to my mining ships. thanks
PF_Cactus  [author] 23 Sep @ 5:08pm 
after some more in depth inspection of the code i realized there's a lot of legacy code in that just really should be cleaned up. so i'm considering doing a total rewrite of pretty much everything so i can sort out any inconsistencies and duplicate code as well as fix some issues I've ran into today that i can't easily fix without over complicating code needlessly again. this may take a while though.
Pablo Diablo 22 Sep @ 1:09pm 
Thank you for taking this over and updating it! Excited to see it still having a life.
PF_Cactus  [author] 10 Sep @ 2:37pm 
i can't really fix that one easily. i'll have to do some rewriting which i was planning on anyway but it may take a while.
PF_Cactus  [author] 10 Sep @ 1:00pm 
@Unruly, I'm working on that, it shouldn't happen with world loading anymore but it may still happen when copy pasting until i finish rewriting how the initalization phase works.
Unruly 10 Sep @ 12:14pm 
Same thing, claims it's missing controller.
Unruly 10 Sep @ 12:10pm 
Thanks very much, but now I'm getting exceptions again when excav was left running and the grid is copied & pasted.
PF_Cactus  [author] 10 Sep @ 11:22am 
@Unruly, Done and updated. had to push an update anyway as i accidentally left some debug text in the UI that wasn't supposed to be there.
Unruly 10 Sep @ 10:26am 
Update seems to have done it. I've just enabled, cut and pasted a ship w/ it running and no glitch. tvm!

I do notice that exavos doesn't remember the gravity alignment setting when pasted/save reloaded, can that be a thing?
PBS-MD 10 Sep @ 12:46am 
cheers; having issues d/loading the new update, so no hurry at this end ...
PF_Cactus  [author] 9 Sep @ 10:22pm 
@PBS-MD @Unruly
If you see this, I've found a solution, turns out this was something caused by a contribution from someone else that i didn't fully read into properly and after taking a closer look i realized now that this change unintentionally caused the script to run twice on certain ticks and if this happened on the load tick that would result in it trying to cache the blocks and immediately try to use that cache in the same frame which was incomplete. will be posting the fixed version tomorrow after i get some time to fix some other issues like rover mode not being detected properly. (using the fan blade thrusters results in the lift thrust not showing up)
PF_Cactus  [author] 8 Sep @ 8:00pm 
on that note. with the new update i plan to pick up the game again so i might have some more time/experience with the issues that script might be having so i might just have a easier time debugging things. o7
PBS-MD 8 Sep @ 12:43pm 
will (try to) have a look for an exception, see if it's the same; also see if the gravity align is on / turning off makes it work ...
Unruly 4 Sep @ 8:13am 
No rush intended or implied! ;D Sincerely, I've very thankful that people write & share their stuff.
PF_Cactus  [author] 4 Sep @ 8:11am 
the error is specifically the function that finds a controller that's erroring out so that's not the issue. that said. I've not touched this stuff in ages and i've been quite busy. alongside the fact that majority of this was written by GThoro before he went silent on me. so it might take me a while to figure out what could be causing this.
Unruly 4 Sep @ 8:07am 
nm, I see that exception comes after an explicit attempt to find one.
Unruly 4 Sep @ 8:01am 
If alignment is on, is there a chance the script goes to service the alignment before updating it's references to the grid?
Unruly 4 Sep @ 7:59am 
For me it happens *every* load on every ship w/ the dev branch of excav and, I think, every copy-paste, but only when the program was left w/ gravity alignment enabled. It continues fine if gravity alignment was toggle off before the save or being copied.
PF_Cactus  [author] 4 Sep @ 7:45am 
@Unruly Thanks for including the exception. that error in particular is it saying that there is no valid cockpit and or ai controller.

If that trips it means the script couldn't find a controller block which is odd if there is a functional cockpit on the ship. I'm not sure how i'd have to go about resolving this. especially since it works fine on my end so i can't even begin debugging it.
Unruly 4 Sep @ 7:27am 
@PBS-MD nope, me as well. The exception is says it caught on loading the save is:
"Caught exception during execution of script:Missing Controller!"
PBS-MD 21 Aug @ 2:30pm 
Not sure if I've missed something but ... the script is never active when I load up and enter the cockpit; I always have to recompile to get it working/running. Any suggestions ?
PF_Cactus  [author] 5 Aug @ 2:33pm 
@Folx, automatic LCD's is solely for displaying information where ExcavOS also controls various elements of your ship.
Foxl 5 Aug @ 12:49pm 
What is the advantage of this compared to "Automatic LCDs 2"?
Piesolesy 19 Jul @ 5:28pm 
It works btw
Piesolesy 16 Jul @ 3:27am 
Does gravity align work with thruster physics mod?
CedrychSkye 15 Jul @ 6:57pm 
Is there any way to add a delay before the immersion toggle will trigger again? I like that it boots up the first time I get back in the cockpit, but sometimes I have to bounce in and out a few times and it shouldn't have to boot up each time.
PF_Cactus  [author] 14 Jun @ 4:21pm 
@Brianetta, included your changes and pushed the update, thanks for your contributions!
Brianetta 14 Jun @ 3:03pm 
Your DockTag code doesn't do the shut-off and recharge when docking with a static base, because the static state gets set first, and the connector code's docked state is in an else-clause from that. This was why I thought it was broken - it didn't work on my base.
Brianetta 14 Jun @ 2:57pm 
Weird, but OK. I have event controllers on all my miners that do all of these things anyway.
I'll make a new PR with just the first three commits, since that change is a separate bug fix.
PF_Cactus  [author] 14 Jun @ 2:37pm 
@Brianetta, I've looked through your requests, the automation one seems fine and i'll be merging that one soon.

The other one though actually breaks intended functionality rather then fix it. because i think there's a misunderstanding with how that is supposed to operate.

The DockTag goes on the external connector that you are docking with, not on the ship containing Excav. this is to ensure that the engines only shut off when docked with a ship that you know can handle the extra weight of excav ships.

(i've had it happend where mid-air operations ended catastrophically due to unexpected engine shutoff. so i created this to make it only work with certain connectors on my mothership.)
PF_Cactus  [author] 14 Jun @ 1:02pm 
Also, for faster communication, If anyone wants to just contact me to discuss ideas/changes feel free to add me on discord:
- pokerface_cactus
Brianetta 14 Jun @ 12:49pm 
I have a pull request up already, which might serve your needs, @Melfely
PF_Cactus  [author] 14 Jun @ 12:39pm 
@Brianetta, The source repo is technically up to date. it's the april-2023 branch.
@Melfely, I'll gladly check it if you pull request the dev repo https://github.com/brandonvdongen/ExcavOS
Melfely 14 Jun @ 8:14am 
@PF_Cactus well fair enough I presume. IF you want I can do a pull request on your repository with my edits so you can see what I changed in the end.
Brianetta 14 Jun @ 2:23am 
Ignore that last, I found your fork.
Brianetta 14 Jun @ 2:07am 
Any chance you'll update the source repository on Github?
https://github.com/kpiatkowski/ExcavOS
PF_Cactus  [author] 13 Jun @ 11:09pm 
@Melfely, Since i'm not the official project owner I can't give permission to post it, that said. I'll have time later today/tomorrow and i'll See if i can do a official implementation for some of the requested things here like disabling the automatic management altogether and a method of excluding only specific objects from the automatic management.
Melfely 12 Jun @ 7:08pm 
I have made it, was pretty easy to do. Even got the config loader working so its a new field in the custom data. But, If im not allowed to publish it to steam, thats all good. But I am hoping you will allow it.
Melfely 12 Jun @ 6:24pm 
I don't think there is anyways to currently prevent the script from managing thrusters, tanks and batteries. While neat, it is mildly annoying on some grids.

I am tempted to look into making my own version that has a toggle for that, would you mind if it gets posted to steam, "unlisted" or "public"?
hangar-8 12 Jun @ 1:18am 
Having modded a couple of games myself in the past I know how time consuming it can get, so thanks for your continued support (i use this on pretty much every atmospheric capable ship)

Rither in manually created groups or single, the script manages thrusters, turning them on at lift off even if manually shut down (which makes a gentle exit from the base amusing.. there's a large industrial on the back for breaking into orbit)
PF_Cactus  [author] 11 Jun @ 6:32pm 
@hangar-8 i don't remember if the entries are made for it in the config automatically but manually creating thruster groups *should* stop it from auto configuring them. tho this could potentially have been lost in the rework. I've not actually worked on this code in over half a year as i've been quite busy. i just kept seeing requests for features that were already in the dev version so i decided to post this to at least help reduce those requests.
hangar-8 11 Jun @ 4:32pm 
Is there a command to exclude certain thrusters and/or groups from auto management? I usually group front facing thrusters with an on/off toggle on the bar to coast, and they keep getting turned on
Ronin Planetary Industries 11 Jun @ 8:59am 
With temporary control while aligning with gravity, I would just look for mouse input and disable gravity alignment. Then turn it back on after a certain amount of time-out after the last mouse input. I found that works well. If there's some sort of emergency and the player grabs the controls they instantly react and as the player would expect. Then time-out after 2 seconds or so, then g-align straightens the ship out again.
Morphy 10 Jun @ 10:35pm 
Are Atmo thrusters not counted in the Weight screen? I get just the cargo percentile. I've tried both with and without the LiftGroupName setting to avail, I also set the remote block and cockpit as "main". The reading for stopping distance in the Utility screen does work however.