Space Engineers

Space Engineers

Not enough ratings
Oxygen Tank Level Control(Obsolete since hydrogen update)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
948.000 B
19 Jul, 2015 @ 3:18am
19 Jul, 2015 @ 4:52am
4 Change Notes ( view )

Subscribe to download
Oxygen Tank Level Control(Obsolete since hydrogen update)

Description
! THIS SCRIPT IS OBSOLETE SINCE HYDROGEN ADDED IN GAME, USE IT ONLY FOR SCRIPTING EXAMPLE

This script allow you to regulate Oxygen Tank Level by controlling the Oxygens Generators.

Like that, you can use the AirVent depressurize function that ever blocked by Oxygen Tank Full.

Just use it with a timer block(interval 3 sec is a good deal).

You can change start and stop tank level by editing constants in script.

Edit :
- Added Oxygen Farm Control
- Removed GeneratorRunning variable controle(game don't save theses vars so need to turn off generators manually after reloading game).
- Optimizing code to avoid a bug if blocks not existing(supposing that's what make my game crash when i was mining far from my base, but can also not be because of my script...)
7 Comments
Joretap0  [author] 8 May, 2016 @ 9:17am 
Done, thanks for the comment, forgotten this script
NarrowAscent 6 May, 2016 @ 3:07am 
Please mark script as obsolete then till you cover it again. Thanks for the work though. Hope you get back into it
Joretap0  [author] 27 Dec, 2015 @ 4:30am 
Really, i don't know, i don't play this game for the moment, and i don't know that there is hydrogen now, but i think it's not possible cause i suppose that hydrogen is created by the same factory, and this script shut-down the factories.
I will try to find an issue next time that i play, but it's not for now :/
Mannorot2015 16 Dec, 2015 @ 10:51pm 
When the script is working it stops the oxygen generator and thereby stops the production of hydrogen too, so the hydrogen tanks dont fill up. Is there any way to work around this?
jarhead 31 Jul, 2015 @ 10:21am 
ok thanks
Joretap0  [author] 31 Jul, 2015 @ 9:17am 
No problem, do what you want with it ;)
jarhead 26 Jul, 2015 @ 6:55pm 
mind if i use this to try to combine it with a few other scripts i am working on to make my ship almost fully automated?