Barotrauma

Barotrauma

Otillräckligt med betyg
Battery charge bar
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
28.183 KB
24 okt, 2022 @ 13:24
1 ändringsnotis ( visa )

Abonnera för att ladda ner
Battery charge bar

Beskrivning
Displays the remaining battery charge in a visually appealing way using nothing but vanilla components.


Will handle multiple batteries if you add up all the charge_out values, make sure to divide the TOTAL capacity of your batteries for the memory value.
You can also use the charge % instead of the charge out value, in this case rounding may make it ever so slightly less accurate, but you will not have to adjust the value when you buy upgrades.
6 kommentarer
Lammert  [skapare] 30 jun @ 8:56 
Everything with regex components has this issue now unfortunately, the devs of the game are working on a fix.
Gubbins 29 jun @ 11:32 
The text display keeps on saying "TIMEOUT" after 5 or so minutes of it running, is there anything I can do to fix this?
KJ 26 okt, 2022 @ 18:39 
Ah, I didn't even think of it that way. That's pretty neat!
Lammert  [skapare] 26 okt, 2022 @ 16:17 
The vanilla batteries do have their own charge indicators yes.. this setup is meant to be used to have an indicator for perhaps the control room, as opposed to just having a text field with "70%" on it.
KJ 26 okt, 2022 @ 15:05 
aren't these already on vanilla batteries?
KJ 26 okt, 2022 @ 15:04 
hmmmmm