Barotrauma
Advanced Airlock
21 comentarios
zuff  [autor] 15 ABR 2023 a las 12:43 
I've updated the airlock and uploaded a new version you can find here: https://steamproxy.com/sharedfiles/filedetails/?id=2962801973

Feedback would be highly appreciated!
TheOneTader 23 MAR 2023 a las 10:12 
Mind if I use this in the subs I publish(credit to you of course)
Wolkendawn 12 FEB 2023 a las 1:12 
I am likewise having an issue with left-side exits... I can't get the water to drain before the door opens. It just opens and floods the airlock access room with water instead.
Icarus 31 DIC 2022 a las 20:51 
Is there any way to flip which side is the detected as the inside and which side is detected as the outside? If I try using this for a left-side exit it breaks
Panoramix le Druide 13 NOV 2022 a las 16:33 
+1 for an override command. been stuck with a broken exterior door and no way to open for fixing :[
Torroc 24 SEP 2022 a las 0:25 
Would love to see this with the button doors rather then the buttons on their own.
Toriatrix 13 DIC 2021 a las 11:15 
Not working for me, it's just opening the door straight away.
King133x 10 NOV 2021 a las 13:19 
Is it possible to overide somehow? when there is a leak inside you can accidentally lock it/yourself out by cycling it
妖の夢[Yume] 3 OCT 2021 a las 8:37 
the lights flickering , it seems to be a bug of the WIFI component change caused by the update
Hermann 2 OCT 2021 a las 8:40 
Dope
Sankt Kaiser 21 MAY 2021 a las 1:07 
This is awesome, and almost exactly what I felt was missing from every other airlock the game provides and I tried to build. Thank you very much for this!
kwogger 8 MAY 2021 a las 22:32 
Well done! This is probably the most robust airlock system I've used. I think the state system here is an excellent base for any complicated system.

A few notes on reducing item count; YMMV on how much less readable these might be:
- Drop state 3 & jump straight to 4
- Use regex instead of the combination of sgn and logic components
- Water detector can be wired directly w/o wifi since it's only used twice
- For the pump, if you use set_targetlevel instead of set_speed, you can also have it draining in state 1 to help with leaks
- Label for the memory is swapped, you're reading from wifi 1 and writing to wifi 0
- Simplifing button logic, three blocks with all buttons attached to each:
1) RegEx w/ "([14])" and use the capture group. Wire that and buttons to an adder - this advances the state on button press.
2) Sgn + And for 2, output 5
3) Sgn + And for 5, output 2

That should drop the component count to around 30ish, depending on how aggressively you combine wifi components.
Rkendall_1234 29 ABR 2021 a las 19:06 
I love it but I'm too lazy to add it to like every fuckin ship I have downloaded. Because if I mess around I might use one sub then the next time another. I hate how this isn't in some subs because it's a great idea and thing that adds realisim.
zuff  [autor] 23 ABR 2021 a las 8:16 
@Tyrian - Technically you are correct, but what it does is use duct vents to completely fill the chamber with water before opening the door, thus removing the ragdoll push in normal airlocks

@Rep1le - No, I'm not sane. If you have an easier way to do it then by all means do it! I'd love to see it.
Rept1le 13 ABR 2021 a las 16:01 
Are you mentally sane right now? Also, why did you need that many components, I can think of other simpler ways to do it
Tyrian 8 ABR 2021 a las 6:07 
This doesn't seem to actually match pressure to the side it's opening to? Depending on which state the doors are in, it's just either pumping the chamber up completely and then opening the door, or just opens the door straight away.
Wchemik 8 ABR 2021 a las 0:13 
I can kill people with this Therefore I love it
Rubyko 7 ABR 2021 a las 2:48 
This is really neat, I've been looking for good Air Lock solutions since my friends always seem to fumble around them for some reason so maybe the stage lights will be helpful.
Soggerston 7 ABR 2021 a las 0:04 
good addon mod or whatewer you call it. good boi
FluffyZarkus 6 ABR 2021 a las 1:01 
i want and airlock thats just a gas chamber, would be kinda funny
Tuxlion 5 ABR 2021 a las 19:29 
is there a way to override this during main gameplay so as to not stop the crew from entering and leaving the sub incase of an emergency?