Space Engineers

Space Engineers

[DX11] Hydrogen LCD Percentage Bars
39 Comments
Blairwitch 10 Aug, 2023 @ 11:29am 
Hello, it's possible to have more information anout install this mod ? I use a dedicated server and this mod doesn't work. I use the p3st|cIdE's script, but no image show on screen. Can you help me ?
{H.K.}Warlama 11 Aug, 2022 @ 3:11pm 
@Morphik i use them all the time. its a staple of my construction. an absolute must have. check out my ship if you like, see what you think. have a great day!
Morphik  [author] 11 Aug, 2022 @ 2:46pm 
Awesome, I'm glad they still work, I haven't touched my mods or even the game in a long time.
cpuquaeler 7 Jul, 2022 @ 6:48pm 
I had the same issue as Tekdrone (100% showing as blank, other values working fine). His solution of “unsubscribing , starting and exiting the game, then resubscribing” worked.
Morphik  [author] 17 Aug, 2021 @ 10:30pm 
You can try using one of my scripts, https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=835036636

This one will show the average of all tanks across the grid.
Adr 17 Aug, 2021 @ 12:17pm 
update - if I "Run" the script it updates. its like the timer is broke or something?
Adr 17 Aug, 2021 @ 12:15pm 
Hi, Great work btw! All installed and working, however the gauges do not change when i either depressurize for oxygen or use hydrogen. Both were at 100% when i switched it on and the images are showing 100%. But after a flight around my hydrogen is down to 88% yet the hydro gauge is still showing 100% after 15mins. I also have it on a station which was at 64% when i turned it on yet its still showing 64% despite the tanks now being full.Same for oxygen - i depressurize and the gauge stays at 100%.... Sure I am doing something wrong :)
Morphik  [author] 25 May, 2021 @ 6:13pm 
You can use this for your script. :steamthumbsup:
Axel-of-Atheara 25 May, 2021 @ 12:04pm 
Can I use these for a script I want to make?
Tekdrone 18 Apr, 2019 @ 1:21am 
And a BIG Thanks for the hard work in building all these gauges. Makes the game much prettier!
Tekdrone 18 Apr, 2019 @ 1:19am 
Thanks for checking it so quick. I was so sure there was something wrong with the final image. Oxygen, Vents, Jumpdrives and other gauges all worked fine. Anyway I have fixed it. I tried many partial changes and deletes and nothing worked so finally I deleted the programming block, the lcds for hydro and oxy. Then I took the mod out of the saved game and closed the game down. I also deleted the folder that held the mod. Started the game up again so it resumed without the mod. Exited the game and stream again. Resubscribed to the Hydro gauges. Started the game and added the mod back to the save and this time everything was back to normal.

I did try many of these changes individually but when ever I resubscribed it seemed to just use whatever was there before. Starting the game once without the mod subscribed too and then exiting and resubscribing seemed to be the key in this problem. It's Space Engineers what else can I say.
Tekdrone 17 Apr, 2019 @ 2:30pm 
All of a sudden I am getting a simi blank image when hydro is 100%. 0-99 seem to work fine but when it reaches 100 the image is just the circle without the color bars or percentage. I loaded the images manually and the hydro 100 image is indeed blank. Has something happened or is it just me? I have also tried unsubscribe and resubscribe after deleting the proper folder and still comes back the same way.
Vas 16 Mar, 2019 @ 5:02am 
Gimp 2.8
So there's more layers I guess and Gimp was only able to translate one of them?
Morphik  [author] 15 Mar, 2019 @ 7:15pm 
Whatever program you used to open the DDS is only showing you the alpha mapping.
Vas 15 Mar, 2019 @ 2:50pm 
I was curious, how did you manage to make this work? When I opened the DDS to study it a bit, it shown the colored and text areas as transparent. I also looked at the script but it doesn't fill in those transparent areas. There's no other layers either that fill in these transparent areas.

https://cdn.discordapp.com/attachments/514930125108936737/556229191432011776/unknown.png

Is it possible to display multiple images on the same LCD by the way?
Morphik  [author] 29 Aug, 2017 @ 8:24am 
I'm not that concerned about the color alerts at the moment, although I will probably make the changes. The 'Image Change Interval' is still fubar and animated LCD textures don't really work right now.
Bertin 29 Aug, 2017 @ 12:16am 
This is the one i use for the color alerts. also avoids ONLINE

void runAlert(string LCDName, string type)
{
var lcd = GridTerminalSystem.GetBlockWithName(LCDName) as IMyTextPanel;

if (lcd.IsWorking)
{
List<string> currentImages = new List<string> {""};
lcd.GetSelectedImages(currentImages);
lcd.AddImageToSelection(type + " Alert 0");
lcd.AddImageToSelection(type + " Alert 1");
lcd.AddImageToSelection(type + " Alert 2");
lcd.AddImageToSelection(type + " Alert 3");
lcd.AddImageToSelection(type + " Alert 4");
lcd.RemoveImagesFromSelection(currentImages);
}
}
Bertin 28 Aug, 2017 @ 10:58pm 
No problem keep doing the good work!:steamhappy:
Morphik  [author] 28 Aug, 2017 @ 9:36pm 
THANK YOU Bertin, thank you thank you thank you.
I have been looking for a way to compare a new image to the old one for a while now. Plus this fixed the screen flashing issue.

I have updated all my scripts that use my image mods.
Bertin 28 Aug, 2017 @ 7:30pm 
This code solves the problem, but still refresh of image takes more than a second:

void LCDImage(String LCDName, String imagename, String log)
{
IMyTextPanel lcd = GridTerminalSystem.GetBlockWithName(LCDName) as IMyTextPanel;
if (lcd.IsWorking) {
if (imagename != lcd.CurrentlyShownImage) {
lcd.AddImageToSelection(imagename);
lcd.RemoveImageFromSelection(lcd.CurrentlyShownImage);
}
}
}

Bertin 28 Aug, 2017 @ 7:27pm 
Hey this behavior is for a new "feature" that only updates an LCD image after a second or so, that and some bad logic in the programming causes the ONLINE image (when the code clears the image selection) you can view the thread on: https://forum.keenswh.com/threads/1-182-203-lcd-bug.7396466/
Morphik  [author] 28 Aug, 2017 @ 8:26am 
I know about it, I am in the process of updating my image mods. Keen felt the need to add Localization ID tags to the data file, even though the localized files cannot be modded. And as far as the online flashing, I am sure is a bug.
I thought the same thing that the names not showing up was causing it but I already updated one of the textures to test that, and it still exists.
p3st|cIdE 28 Aug, 2017 @ 7:04am 
Hey man, have you noticed any strange behavior with these image mods lately, with image names showing up in-game in the lists as all blank strings? My script's having some problems these days, showing your image for one frame then going back to ONLINE (no image selected) and I think it might be related to those blank name strings.
Aaron Tigan 22 Feb, 2017 @ 1:37am 
Would it be possible to get a set of these done up that say Shields? (Obviously to be paired with the Energy Shields mod). I love your textures here so much more than the ones on the workshop that were made for the Shield mod. :)
Morphik  [author] 28 Oct, 2016 @ 8:45pm 
Updated: Textures should no longer be dark.
caffiend 31 Jan, 2016 @ 8:43pm 
Awesome, thanks! I'll be using both of these with the advanced cockpits to indicate fuel & oxygen levels
♫ erikhale gaming 🐺 31 Jan, 2016 @ 8:07pm 
but i have that game year ago
♫ erikhale gaming 🐺 31 Jan, 2016 @ 8:06pm 
yea i got so many people on city XD i think it over 500,900 people
Morphik  [author] 31 Jan, 2016 @ 7:49pm 
Well it's up. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=613423549
Enjoy and have fun!

Also erikhale, I will do more complex ones soon, I just need to keep learning more tricks about using photoshop.
♫ erikhale gaming 🐺 31 Jan, 2016 @ 7:26pm 
or ask u friend for help for mod
Morphik  [author] 31 Jan, 2016 @ 7:25pm 
Actually erikhale, that takes even longer. I am finishing up the oxygen ones now. I will have a mod up in a few minutes.
♫ erikhale gaming 🐺 31 Jan, 2016 @ 6:33pm 
dont worry about it u may make new one
Morphik  [author] 31 Jan, 2016 @ 6:27pm 
I don't see why not, I have the raw photoshop file still. I can simply replace the word Hydrogen with Oxygen and save all the images again. The thing that slows me down is changing all the numbers for every image. :P
caffiend 31 Jan, 2016 @ 6:00pm 
Can you modify this to have a set for Oxygen as well?
[MT] SteelGoodwin 30 Jan, 2016 @ 7:52pm 
Excellent mod here
♫ erikhale gaming 🐺 28 Jan, 2016 @ 6:55am 
:P nice
p3st|cIdE 26 Jan, 2016 @ 6:01pm 
Noice!