Space Engineers

Space Engineers

Not enough ratings
PE3 Air Vent Monitor (imaged)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.161 KB
26 Jun, 2016 @ 3:16am
24 Feb, 2017 @ 7:09am
4 Change Notes ( view )

Subscribe to download
PE3 Air Vent Monitor (imaged)

Description
See also PE Cargo Monitor Script
See also PE Jump Drive Charge Monitor Script

This is a simple Script for displaying the current Oxygen values of multiple AirVents on multiple Screens (1 AirVent can be displayed on multiple Screens, multiple AirVents are supported by 1 Script).

It uses Morphiks awesome OxygenPercentage Bars
Parts of the Script have also been reused from Morphiks Script, i added the Multi AirVent Support.

Offline AirVents are displayed by showing the Oxygen Level Texture, switched with the default 'Danger' Image
on each program run.

Non functional or damaged AirVents are displayed by showing the default 'Construction' Texture, switched with the default 'Danger' Image on each program run.


Installation

1. Subscribe to Morphiks OxygenPercentage Bars
2. Subscribe to this Script
3. Build a Programmable Block and load this Script
4. Build a Timer Block and set Actions 1: Run this Script with default argument, Actions 2: Start the Timer
5. Build LCDs and name them as you like (LCDs that should show the same, should be named the same)
6. Go inside the Script and change LCD_ID and VENT_ID to your desired (Not the whole name but a part of it that exists in both LCD and Vent Names, i use 'ShipID-Vent')
7. Add '#' followed by a number between '000' and '999' to every AirVent and LCD Combos Custom Names.

Exmpl.: 'MyShip AirVent Airlock 1 #000' and 'MyShip AirVent-LCD #000'

8. Start the Timer


Planned Features

-Display Construction & Danger Texture if Air Vent is not functional or damaged - Done
-Display a texture to indicate if the AirVent is Offline - Done
Popular Discussions View All (1)
0
3 Jul, 2016 @ 10:42pm
PINNED: Changelog
mahtrok
15 Comments
WileyCoyote 18 Jun, 2024 @ 3:02pm 
Does this still require a timer block? I know most scripts no longer require a timer block to run them again and again.
Wallard 12 Dec, 2020 @ 9:07pm 
There must be something in common that is broken between yours and Morphik's version of these scripts because this one doesn't work either.. I'm no stranger to using scripts and I followed the instructions for each one. :Shrug: It's pretty odd, because the Jump Drive LCD script works just fine.
Morphik 23 Sep, 2016 @ 11:25pm 
I didn't change my texture naming scheme. And SpetS, it does that flicker the first time one of my images is loaded when the game is loaded, I suspect it is because of the fact I use a higher resolution picture than the standard so the game takes a second to load it.

Once the image is loaded the first time, it shouldn't flicker again if it loads again. Until you reload the world that is. That's why I usually have a few LCD's just cycle the images once the world loads so the images all get loaded correctly and the flickering goes away.
mahtrok  [author] 14 Sep, 2016 @ 2:31pm 
Ok, so that's definetly a problem with the texture ID, maybe i can Check the code again, some time the next days.
SpetS 14 Sep, 2016 @ 1:46pm 
ok, it worked, kinda. but the image goes black for a second and then update the next image :/
mahtrok  [author] 14 Sep, 2016 @ 1:13pm 
Did you Check if the error also accures if oxygen level is somewhat below 100%? So if something like Vent #000 -80% -'Oxygen080' is happening?
Second idea, Check in the LCDs how the textures are named, maybe morphik changed their names so that the 'Oxygen100' aso is wrong..
mahtrok  [author] 12 Sep, 2016 @ 10:26pm 
Ok, never tried this in DEV so maybe that's the problem. It worked for me in stable when i last tried it. I don't play SE anymore.
SpetS 12 Sep, 2016 @ 8:03pm 
yes, I added both packs. just in case, I'm using DEV version
mahtrok  [author] 12 Sep, 2016 @ 7:42pm 
Just a guess, but sounds to me like it is missing the image for the oxygen 100% status, did you add Morphiks texture pack?
SpetS 12 Sep, 2016 @ 12:56pm 
what is this error? what I'm doing wrong?

Vent #000 -100% -'Oxygen100'
#000 " does not exist!

does it work in DEV version?