Space Engineers

Space Engineers

764 ratings
(THYA) Shield HUD Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
469.744 KB
Oct 28, 2015 @ 8:15pm
Apr 12 @ 8:37pm
45 Change Notes ( view )

Subscribe to download
(THYA) Shield HUD Script

In 2 collections by Perdurable
(THYA) Mod Pack
2 items
Perdurable's Mod Pack
109 items
Description
<<Current Script Version 1.7.6b April 2025>>
This script displays your ships shields as a % and/or visual bar to an LCD display. It works with both DarkStar's Defense Shield Mod and Cython's Energy Shields. It is VERY easy to edit/customize and will soon have an updated beginners step by step video tutorial on how to set it up correctly.

Current Version Features:
-Works with Ash Like Snow's Defense Shield Mod (Formerly DarkStar's)
-Works with Cython's Energy Shields Mod
-Works with both shield mods on the same ship.
-Cockpit Shield Displays
-Horizontal Shield Images 0-100%
-Vertical Shield Images 0-100%
-Arched Shield Images 0-100%
-Corner LCD text display.
-Corner LCD rainbow display.
-Corner LCD shield display.
-Text / Shield Per Second shield display.
-Text / Shield Per Second, and Text Bar shield display.
-Multiple LCD's on the same grid with the same name display the same Shield.
-CRB and CCB modes support the center ceiling display of the MA Heavy Bridge Mod. (Was removed - Re-added in 1.7.6a

Bugs:
-Currently Images display very slow and will lag way behind your actual shield. We are working on a fix for this.

Troubleshooting Common Issues:
-Make sure your LCD is named in the correct format. Examples [Shield LCD:THYA-C] or [Shield LCD:BTS]
-Edit the script then save and re-run it.
-Delete the script in the programming block and reload the stock script.
-Load a new world with only the shield and graphics mods. Some other mods may conflict with the script.
-If you are using the "Shield with better hit sounds" version you may encounter a "Named Block Not Shield Generator" error in the programming block. We are currently looking into this issue. For now, I suggest you do not use it.
-If you are a server operator DO NOT subscribe the server to this script. It will cause numerous issues. Each user must subscribe to this script individually.
-If you are still having issues please contact me.

Notes:
-Video Tutorial https://youtu.be/XdALaS6uNQY
-GitHub Link = https://github.com/THYA-Engineering/SE-ShieldHud
-All comments will be deleted after the user's issue is corrected to avoid confusion.

Special Thanks to:
-Sgtigram for some debugging help.
-Nightfall301 for fixing the flashing LCD issue.
-Nightfall301 for adding support for corner LCD displays.
-Nightfall301 for updating the script with support for Defence Shields.
-JTurp for updated the script to support both shield mods simultaneously.
-JTurp for eliminating the need to rename your shield generators.

JTurp's Workshop Page:
https://steamcommunity.com/profiles/76561198005266347/myworkshopfiles/?appid=244850

Required Mods:
Cython's Energy Shields:
http://steamcommunity.com/workshop/filedetails/?id=484504816
or
Ash Like Snow's Defense Shield
http://steamcommunity.com/sharedfiles/filedetails/?id=3154379105

Recommended Mods:
THYA Shield HUD Graphics Pack 1%
http://steamcommunity.com/sharedfiles/filedetails/?id=540003236


Please support me on Patreon:
https://www.patreon.com/Perdurable
Popular Discussions View All (3)
7
Nov 9, 2023 @ 8:23pm
How do I use this with Cockpit LCDs?
vizthex
3
1
Mar 16 @ 11:39am
For those who like me can't figure out the LCD name...
Baboo85
5
Nov 10, 2020 @ 9:58am
Dual Shield support question.
Nightfall301
568 Comments
Simboulis-PC May 18 @ 5:01am 
is it possible to use the specific modes like DS or ES on a non-corner LCD block?
@Galax
wont work as you cant use pb blocks (atleast to my point of knowledge at the point of writing) on consoles and thus ingamescripts are not possible for you consoleros.
Galax May 10 @ 11:10pm 
Hi, I have nearly the same question as Riker, could you make it compatible with Aegis Shield System? it is the only shield solution which works great on console servers...
lord.riker Apr 5 @ 9:42am 
Would it be possible to make this compatible with Basic Defense Shield?
xdevourx Feb 17 @ 12:57pm 
To answer my own question and for anyone else with the same question: Deflector shields is based off of Energy Shields and thus the naming convention is the same as Energy Shields for this mod and the graphic pack also works for deflector shields.
xdevourx Feb 9 @ 2:26pm 
Deflector Shields says its compatible with this script but i dont see any instructions as to what the naming convention should be on either page. Could someone kindly enlighten me :D
Endy Jan 30 @ 7:22am 
It compiles, but it throws an exception in Custom Data:

Exception Message:
Index was outside the bounds of the array.

Stack trace:
at Program.ParseShieldInfo_E(String shieldName, Int32& curShields, Int32& maxShields)
at Program.SubMain(String argument, UpdateType updateSource)
at Program.Main(String argument, UpdateType updateSource)
AresWalker Jan 15 @ 5:18pm 
Does this script also work with Tiberius' "Deflector Shields" mod? The mod functions very similarly to Cython's in that its a skin shield so I assume it should work or at least only need slight modification but I don't know.
jTurp  [author] Nov 22, 2024 @ 12:23pm 
Ahh, okay that makes sense. Thanks for sharing!
{H.K.}Warlama Nov 22, 2024 @ 10:32am 
ok, i feel like a COMPLETE idiot for posting this, but i post it for the sake of others in the future that may have fallen into the same hole i fell into. .......I forgot to add the THYA graphics pac into my mods list........i hope others can learn and avoid my mistake!