Space Engineers

Space Engineers

54 ratings
Oxygen and Hydrogen Tank Monitor with Images
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.294 KB
26 Aug, 2016 @ 9:04pm
15 Jan, 2018 @ 8:27am
7 Change Notes ( view )

Subscribe to download
Oxygen and Hydrogen Tank Monitor with Images

Description
This script is an Adapted version of Mahtrok's "PE3 Air Vent Monitor (imaged)" script, which can be found by Clicking Here. Published with his permission of course.


This script uses a tag and numerical identification system. Which means there is a tag for the tanks and another for the LCD Panels. A example of this: "tnk#000" is tank 000, "LCD-Tank#000" is the LCD Panel that will track tank 000. Multiple LCDs can be used to track one tank, as well as multiple tanks can be set to the same number. Numbers can range from 000 to 999.

Installation

1. Subscribe to my Oxygen LCD and Hydrogen LCD Mods

2. Subscribe to this Script

3. Build a Programmable Block and load this Script



4. Add the tags and number to your Tanks



5. Add the tags and number to your LCDs



Example: 'Oxygen Tank tnk#000' and 'LCD Panel LCD-Tank#000'

6. If followed correctly you should see the images on the LCDs.


and the script will track the tanks level as such.
46 Comments
Alcatraz 30 Nov, 2024 @ 12:08pm 
Hello again guys, lucky me... I got a simply solution:

At line 100, simply add ·· // ··


imageName = warningImage;
}
}

At this line, add the 2 slash ===> //screen.ShowTextureOnScreen();
if (imageName != screen.CurrentlyShownImage)
{
screen.AddImageToSelection(imageName);
screen.RemoveImageFromSelection(screen.CurrentlyShownImage);


Hope it helps. Greetings
Alcatraz 30 Nov, 2024 @ 11:53am 
Hello there,

Similar problem:

Program(100,35): Error: 'IMyTextPanel' does not contain a definition for
'ShowTextureOnScreen' and no accessible extension method
'ShowTextureOnScreen' accepting a first argument of type
'IMyTextPanel' could be found (are you missing a using directive or an
assembly reference?)

I'm no programmer nad trying to figure it out =/

Any suggestion?
Thanks
NorimaR 6 Jan, 2024 @ 9:03am 
Program(100,35): Error: 'IMyTextPanel' ***
Titan Nya 11 Sep, 2020 @ 2:13pm 
Well then i guess my dirty edit was useless :p
Was just trying to make this one not be broken :p

I'll use your other script on new ships, i'll stay with my dirty edit for this one as i don't want to go find all lcd and all other things to redo the config... i'll unsub from this one
Morphik  [author] 11 Sep, 2020 @ 10:13am 
Titan Nya, https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=835036636 , This script of mine should still work and it works like the jump drive script that lumps all hydrogen/ Oxygen tanks into a average.
Titan Nya 8 Sep, 2020 @ 7:28am 
Well made a new (dirty) version for me using the jump script as template and changing things around until it work... I'm not able to write code on my own but editing in a dirty way i can...

It work even better as it round all tanks type as one...

If Morphik allow it i could publish it... until then (or if there is no answer at the end of 2020)

if i do publish it i'll link this one and the jump one in the description... And if someone who is more skilled can then make a cleaner version...
Titan Nya 8 Sep, 2020 @ 3:03am 
Broken... Any Eta on fix or should we try to fix it ourselves?
Argo 5 May, 2020 @ 10:23pm 
it's broken, pops errors
Titan Nya 9 Nov, 2019 @ 7:28am 
Would it be possible to use this script to check the internal Hydrogen Engine tank level?
Zael'a 4 Feb, 2019 @ 3:56pm 
tells me my hydrogen tanks (from another mod) are filled with oxygen. now to find out what went wrong and who's lying to me :D