Space Engineers

Space Engineers

768 arvostelua
(THYA) Shield HUD Script
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tunnisteet: other_script
Tiedostokoko
Julkaistu
Päivitetty
469.744 KB
28.10.2015 klo 20.15
12.4. klo 20.37
45 muutosilmoitusta ( näytä )

Tilaa ladataksesi
(THYA) Shield HUD Script

2 kokoelmassa, tekijä Perdurable
(THYA) Mod Pack
2 luomusta
Perdurable's Mod Pack
109 luomusta
Kuvaus
<<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://gtm.steamproxy.vip/profiles/76561198005266347/myworkshopfiles/?appid=244850

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

Recommended Mods:
THYA Shield HUD Graphics Pack 1%
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=540003236


Please support me on Patreon:
https://www.patreon.com/Perdurable
Suositut keskustelut Näytä kaikki (3)
7
9.11.2023 klo 20.23
How do I use this with Cockpit LCDs?
vizthex
3
2
16.3. klo 11.39
For those who like me can't figure out the LCD name...
Baboo85
5
10.11.2020 klo 9.58
Dual Shield support question.
Nightfall301
568 kommenttia
Simboulis-PC 18.5. klo 5.01 
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 10.5. klo 23.10 
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 5.4. klo 9.42 
Would it be possible to make this compatible with Basic Defense Shield?
xdevourx 17.2. klo 12.57 
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 9.2. klo 14.26 
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 30.1. klo 7.22 
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 15.1. klo 17.18 
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  [tekijä] 22.11.2024 klo 12.23 
Ahh, okay that makes sense. Thanks for sharing!
{H.K.}Warlama 22.11.2024 klo 10.32 
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!