Space Engineers

Space Engineers

CAT Life Support Manager - Oxygen, Airlocks and Alarms oh my
87 則留言
Herix_Lord 2024 年 9 月 1 日 上午 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  [作者] 2024 年 9 月 1 日 上午 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 2024 年 9 月 1 日 上午 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 2021 年 1 月 13 日 上午 12:30 
( не устанавливается.
Avarice 2020 年 8 月 29 日 上午 5:01 
Can I specify panels to watch certain vents or groups containing vents?
ruze0110 2020 年 3 月 28 日 上午 11:06 
merci
Loues.S.Cat  [作者] 2019 年 10 月 12 日 上午 9:08 
Can't even remember what ship that was running on.
Can't hurt to remove it now.
Oloneus 2019 年 10 月 12 日 上午 9:07 
pretty much yes xD to clean up the code
Loues.S.Cat  [作者] 2019 年 10 月 12 日 上午 9:00 
You mean all the parts labled "//Really dont use this 0.o" :p
Oloneus 2019 年 10 月 12 日 上午 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 2019 年 10 月 12 日 上午 7:05 
Thumbs up :) I I`ll give it another go later today.
Loues.S.Cat  [作者] 2019 年 10 月 12 日 上午 6:56 
The Single Missing line to set the LCD to show text has been added.
Loues.S.Cat  [作者] 2019 年 10 月 12 日 上午 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 2019 年 10 月 12 日 上午 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 2019 年 10 月 12 日 上午 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  [作者] 2019 年 10 月 12 日 上午 5:32 
There we go.
Give that one a go and let me know how it goes for you.
Loues.S.Cat  [作者] 2019 年 10 月 12 日 上午 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 2019 年 10 月 12 日 上午 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  [作者] 2019 年 10 月 12 日 上午 2:06 
Sure, I have some time. I'll have a look see now
Oloneus 2019 年 10 月 12 日 上午 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 2019 年 3 月 12 日 上午 5:04 
please put it on github so we can contribute :)
Loues.S.Cat  [作者] 2019 年 3 月 11 日 下午 4: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 2019 年 3 月 11 日 下午 4: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  [作者] 2019 年 3 月 11 日 下午 1:12 
Hmm I shall have a look at it now and see what is still does.
mat1k 2019 年 3 月 11 日 下午 12:31 
I had this working back in september. Might see if i can get it going again now
JoMakaFloe 2019 年 2 月 21 日 上午 8:16 
will this script ever be updated? (if you are going to update it, do so after full release)
Vermillion 2019 年 2 月 21 日 上午 12:57 
is there a github? it would be nice to make a pull request
Loues.S.Cat  [作者] 2018 年 2 月 27 日 下午 3:31 
Sorry. life has been distracting me.
I'll see if I can update it with all Keen's changes.
HeavyGuns 2018 年 2 月 22 日 下午 2: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 2018 年 2 月 16 日 上午 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 2018 年 1 月 7 日 上午 2:46 
For some weird reason the script fails to recognise my oxygen tanks. Any ideas as to why?
Conflicted Shadow 2017 年 11 月 7 日 下午 7:06 
can this work in conjunction with a different airlock script?
Wyldhunt 2017 年 6 月 18 日 下午 5:16 
I agree. Excellent mod. I'd be thrilled to see it updated.
phoech 2017 年 5 月 22 日 上午 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  [作者] 2017 年 3 月 15 日 下午 8:47 
Old script.
A lot of commands have gone into legacy.
I'll update it when I have a bit of time.
Tiger 2017 年 3 月 15 日 下午 7: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 2016 年 9 月 29 日 上午 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 2016 年 7 月 18 日 上午 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 2016 年 6 月 21 日 下午 7: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 2016 年 6 月 16 日 上午 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 2016 年 5 月 27 日 上午 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 2016 年 1 月 30 日 下午 3:58 
Will this track multiple airlocks?
Krougal 2016 年 1 月 17 日 下午 10: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 2016 年 1 月 16 日 下午 1: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  [作者] 2015 年 9 月 18 日 上午 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 2015 年 9 月 17 日 上午 5:20 
Hey, using this and it is fantastic. Did you manage to get it to support Oxygen Farms?
KilledJoy 2015 年 5 月 29 日 下午 8:02 
Ah completely understand that.
Loues.S.Cat  [作者] 2015 年 5 月 29 日 下午 6:15 
Yes. I have exams in 5 days though. So a bit busy right now
KilledJoy 2015 年 5 月 29 日 下午 6:12 
Can you add Air Farms to the script??
Tamster 2015 年 5 月 28 日 上午 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 ;)