Space Engineers

Space Engineers

CAT Life Support Manager - Oxygen, Airlocks and Alarms oh my
87 kommentarer
Herix_Lord 1. sep. 2024 kl. 4:55 
Well I be studying the script if I did something wrong until you look in to it or I figure it out.
Loues.S.Cat  [ophavsmand] 1. sep. 2024 kl. 4:49 
haven't been in SE for a fair while, but I shall have a look see when I get a moment
Herix_Lord 1. sep. 2024 kl. 4:25 
Hi! I have a problem with pressurizing the room in nut shell i turn the tank ON and whe all rooms are 100% pressurized the Tank will go OFF with is fine but it wont go back ON until I set
it to. I played little bit with the code so maybe I messed up something.
aleks 13. jan. 2021 kl. 0:30 
( не устанавливается.
Avarice 29. aug. 2020 kl. 5:01 
Can I specify panels to watch certain vents or groups containing vents?
ruze0110 28. mar. 2020 kl. 11:06 
merci
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 9:08 
Can't even remember what ship that was running on.
Can't hurt to remove it now.
Oloneus 12. okt. 2019 kl. 9:07 
pretty much yes xD to clean up the code
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 9:00 
You mean all the parts labled "//Really dont use this 0.o" :p
Oloneus 12. okt. 2019 kl. 8:23 
please take a look at this pastebin: https://pastebin.com/Df73UGL6

I removed everything "Air Lock" from it, hope you don't mind

it's somewhat obsolete xD
Oloneus 12. okt. 2019 kl. 7:05 
Thumbs up :) I I`ll give it another go later today.
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 6:56 
The Single Missing line to set the LCD to show text has been added.
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 6:46 
I do already have some functions for string parsing used to save and loading data from strings which I have used in custom data storage. I could use that to have the pb format its content, save to the block custom data and then read it back out to see if it has changed. I don't like doing a lot of string parsing though, it tends to be costly.
If people are loading scripts they know about the editor. If I make a custom control solution I'd have to tell them how to use it.
still, I shall have a poke at that.
And looks like I missed the set show text thing on the LCD setup oups.
Oloneus 12. okt. 2019 kl. 6:07 
btw. is there a way, to read settings from the custom data of the programmable block?`

say, the defined Tag,
max/min values.

so instead of changing the values in the editor, which I'm sure some ppl may either completely screw up or never actually find.

You could have a "hint" on the LCD screen, stating: "change settings in Progammable Blocks "custom data" ... something along that line.

but works smoothly again thank you
Oloneus 12. okt. 2019 kl. 6:03 
first thing I found, when placing an LCD screen, and adding the tag to it, it shows "online" and does not yet switch to "text" etc.
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 5:32 
There we go.
Give that one a go and let me know how it goes for you.
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 5:14 
I am addressing the warnings and getting rid of the old sub-grid function in favour of methods keen gave us that cut down on the scripts resource demands.
When I am done is should auto set the LCDs to the right display type anyway, but the script was 'working', just not a drop in solution. You just needed to set the LCDs to show text manually because that was changed.
Oloneus 12. okt. 2019 kl. 2:18 
Thank you :)


Tasks you might want to take a look:

- LCD panels don't work anyomre (lotsa deprecated errors)
- LCD panels on blocks can be used now (see ISY's mods, like "!IIM-performance"
- Timers are not necessary anymore

- Would be nice to use the programmable Blocks LCD Screen, to have "runtime infos" or smthg to get feedback, if the program is running at all.

if you need feedback, contact me anytime, especially for testing, I'm currently playing around with SE again, to see if I can build decent airlocks.
Loues.S.Cat  [ophavsmand] 12. okt. 2019 kl. 2:06 
Sure, I have some time. I'll have a look see now
Oloneus 12. okt. 2019 kl. 1:36 
Heyho Cat,

it's been a while since march and I wonder, is there any way we can see an update on your awesome script?

I'm usually using MMasters Airlock, and have been using your script to keep my Oxygen levels stable.

have a nice weekend.
UncleAge
Vermillion 12. mar. 2019 kl. 5:04 
please put it on github so we can contribute :)
Loues.S.Cat  [ophavsmand] 11. mar. 2019 kl. 16:55 
This is so old... I have rewritten 80% of it.
At this point I'm not sure much of it is worth salvaging.
I may just replace it shortly.
mat1k 11. mar. 2019 kl. 16:52 
The airlock system proved a pain but the main part was ok. I was using it along side mmasters airlock control to ensure the o2 tanks had space for the airlock to cycle
Loues.S.Cat  [ophavsmand] 11. mar. 2019 kl. 13:12 
Hmm I shall have a look at it now and see what is still does.
mat1k 11. mar. 2019 kl. 12:31 
I had this working back in september. Might see if i can get it going again now
JoMakaFloe 21. feb. 2019 kl. 8:16 
will this script ever be updated? (if you are going to update it, do so after full release)
Vermillion 21. feb. 2019 kl. 0:57 
is there a github? it would be nice to make a pull request
Loues.S.Cat  [ophavsmand] 27. feb. 2018 kl. 15:31 
Sorry. life has been distracting me.
I'll see if I can update it with all Keen's changes.
HeavyGuns 22. feb. 2018 kl. 14:54 
Pretty sure this needs an overhaul. I would love to see it working. Can anyone suggest another way to mange O2 in tanks?

You can get it to compile by changing the 'float' variables to 'double', but then the compiler warns that several methods have been deprecated and it says what the new methods are. But it looks like a full rewrite, which is beyond me...
Ambi 16. feb. 2018 kl. 11:09 
I get this error when trying to compile

Program[496,17]: Error: Cannot implicitly convert type 'double' to 'float'.
An explicit conversion exists (are you missing a cast?)

That is a letter for letter retype of the error
Lozzie's Friends 7. jan. 2018 kl. 2:46 
For some weird reason the script fails to recognise my oxygen tanks. Any ideas as to why?
Conflicted Shadow 7. nov. 2017 kl. 19:06 
can this work in conjunction with a different airlock script?
Wyldhunt 18. juni 2017 kl. 17:16 
I agree. Excellent mod. I'd be thrilled to see it updated.
phoech 22. maj 2017 kl. 3:43 
Hiya Cat, would be awesome to see this script up and running fully again, you've done such a good job so far.
Loues.S.Cat  [ophavsmand] 15. mar. 2017 kl. 20:47 
Old script.
A lot of commands have gone into legacy.
I'll update it when I have a bit of time.
Tiger 15. mar. 2017 kl. 19:52 
Yes, the hydrogen issue seriously limits this script's usefulness... which is very unfortunate, since any ship with oxygen farms really needs a script like this to avoid wasting ice.

It also spits out a ton of errors when compiling, yet the script still works (for controlling oxygen production, anyway).
Warlocc 29. sep. 2016 kl. 8:03 
I want to echo a previous post. The HUGE issue with this script is that it disables hydrogen generation.

Ideally it would toggle the tanks off/on instead of the generators, allowing hydrogen to still fill.

Or, it should detect hydrogen like it detects oxygen tanks.
Varana 18. juli 2016 kl. 8:42 
I dont understand what I must do to get this airlock control to work :S

So I want to do this, I have a corridor with a vent, a door, and a room with another vent. I want to set up that if there is a leak in the corridor or if the corridor vents starts suckin air, the door of the room closes automatically. And viceversa, if the rooms vent starts suckin air or id there is a leak, the room door will close autocatically.

Can I do that with this script? I tried to change "SETUP ACTIONS" of each vent, but I think the script wipes those controls.
phoech 21. juni 2016 kl. 19:21 
Finally got this sucker working after much hassle, now I notice that my O2 is full and turns off O2 Gens, Now I can't turn them on to generate hydrogen for my Thrusters or hydr tanks. :-(
phoech 16. juni 2016 kl. 5:06 
YES PLEASE! Some kind of guide would be good, I can't get anything to work at all, did what I thought were the rights things but nothing.
[KONA]Kumacuda 27. maj 2016 kl. 7:48 
Any chance on putting a tutorial together? I got it half way working but can't for the love of me figure out how to get the LDC panel working.
greypurple 30. jan. 2016 kl. 15:58 
Will this track multiple airlocks?
Krougal 17. jan. 2016 kl. 22:34 
Another suggestion/request.
Seperate thresholds for O2 generators and farms. For example if I hit critical I want to use the generator, but only up to say maybe the minimum setting. Farms I want to run all the way up to maximum setting (but I need them to stop before filling 100%)
Krougal 16. jan. 2016 kl. 13:59 
Amazing work!

Is it possible to have demand from Cryopod and Medbay also turn on O2 gen?

The use case I have is I have 1 O2 tank & AV (ship is too small for airlock so I depressurize it instead). The thing is I still need to generate H2 on demand for jetpack. Not to mention I like topping off O2 supply without resorting to bottles.
Loues.S.Cat  [ophavsmand] 18. sep. 2015 kl. 2:41 
O2 Farms are a pain in the backside. Turning them off means they still work, but they will only draw on solar power. so... while off, and in sunlight, they will still produce O2 if you have any solars. What kind of ship will take advantage of light and O2 farms, but not also have solars...
TheAndyman707 17. sep. 2015 kl. 5:20 
Hey, using this and it is fantastic. Did you manage to get it to support Oxygen Farms?
KilledJoy 29. maj 2015 kl. 20:02 
Ah completely understand that.
Loues.S.Cat  [ophavsmand] 29. maj 2015 kl. 18:15 
Yes. I have exams in 5 days though. So a bit busy right now
KilledJoy 29. maj 2015 kl. 18:12 
Can you add Air Farms to the script??
Tamster 28. maj 2015 kl. 6:41 
i've worked and edit your script a bit to use farm, it work like this :
activate farm at min lvl, (set at 70
activate gen at Critical lvl set at 40
gen fill up till wanted lvl (set at 75
farm finish to fill up to 85
contact me ;)