Space Engineers

Space Engineers

58 vurderinger
Hydrogen Gauge Images
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
5.295 KB
18. jan. 2016 kl. 8:52
11. maj 2019 kl. 15:57
5 ændringsbemærkninger ( vis )

Abonner for at downloade
Hydrogen Gauge Images

Beskrivelse
A version of my Hydrogen Gauge in-game script that uses Morphik's DX11 Hydrogen LCD Percentage Bars (or Morphik's LCD Percentage Bars) mod's additional textures to display the fill percentage.

INSTALLATION:
It's up to you to remember which LCD is which somehow. Just name your LCD "LCD Hydrogen Gauge" (the default name), put this script in a programmable block, and take ownership of all the blocks. Then run it with the "go" command. It no longer requires a timer block. "reset" or "stop" will stop it again.

TROUBLESHOOTING:
If you get [OFFLINE] ... you probably forgot to install the mod. Yeah, it needs the mod for the textures.

If it's stuck at 0% even though you know there's a Hydrogen gauge with gas, your Programmable Block may not have enough access to check the Hydrogen Tank blocks fill levels, so check ownership permissions.

MAINTENANCE:
If you decide to permanently remove some tanks, either recompile the script or run it with the argument "reset". Otherwise it will not be able to achieve 100% filled.

TODO:
periodically rescan to auto-correct after building
support sound block audio warning; having trouble with IMySoundBlock :(

CUSTOMIZING:
You can change the prefix string in the script to make it use other texture sets. It can be changed to handle texture sets with different percentage subdivisions easily.

It's fairly trivial to change a subblock id string from "Hydrogen" to "Oxygen" and change which texture set to use, change the lcd name and bam make this into an oxygen gauge script. Left as an exercise for you. ;)
99 kommentarer
p3st|cIdE  [ophavsmand] 10. aug. 2023 kl. 18:11 
Keen broke the images display of this in an update some years back
Blairwitch 10. aug. 2023 kl. 11:32 
Hello, it's possible to have more information anout install this script ? I use a dedicated server and this mod doesn't work. I've install the mod for pictures, but no image show on screen. Can you help me ?
p3st|cIdE  [ophavsmand] 17. okt. 2021 kl. 15:16 
@Alcatraz you would need to modify the subtype string to "" (empty string) for oxygen. I think KSW must have changed it at some point.
p3st|cIdE  [ophavsmand] 5. aug. 2021 kl. 2:29 
this hasn't really worked in some time, something is wrong with the script or the image feature in the game, I never worked it out. I made Tank Gauge so we'd have something that functions in the meantime
Crane 4. aug. 2021 kl. 12:53 
Is this not working since that last patch? script looks good get a readout but no gauge, I have installed the textures but still just a black screen
p3st|cIdE  [ophavsmand] 11. jan. 2021 kl. 19:45 
Either of these would be easy to make work with some mod, if you know the mod's tank subtype id, though the generic percentage bars mod textures would work better in such case for this script, if it even works anymore
BinaryKiller Recoded 11. jan. 2021 kl. 1:48 
Hey, mind making one for the BioGas Mod as well?
p3st|cIdE  [ophavsmand] 9. jan. 2021 kl. 13:00 
Try this lol Tank Gauge
p3st|cIdE  [ophavsmand] 9. jan. 2021 kl. 7:17 
I added the link to the mod to the Steam Required Items feature which was added after I made this script :steammocking:
p3st|cIdE  [ophavsmand] 9. jan. 2021 kl. 7:13 
@Atlantis256 do you have the mod installed?