Space Engineers

Space Engineers

760 个评价
(THYA) Shield HUD Script
   
奖励
收藏
已收藏
取消收藏
标签: other_script
文件大小
发表于
更新日期
447.710 KB
2015 年 10 月 28 日 下午 8:15
2024 年 5 月 14 日 下午 10:08
43 项改动说明 ( 查看 )

订阅以下载
(THYA) Shield HUD Script

在 Perdurable 的 2 个合集中
(THYA) Mod Pack
2 件物品
Perdurable's Mod Pack
109 件物品
描述
<<Current Script Version 1.7.6a May 2024>>
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://steamoss.com/profiles/76561198005266347/myworkshopfiles/?appid=244850

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

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


Please support me on Patreon:
https://www.patreon.com/Perdurable
热门讨论 查看全部(3)
7
2023 年 11 月 9 日 下午 8:23
How do I use this with Cockpit LCDs?
vizthex
2
2023 年 11 月 21 日 上午 3:31
For those who like me can't figure out the LCD name...
Baboo85
5
2020 年 11 月 10 日 上午 9:58
Dual Shield support question.
Nightfall301
563 条留言
xdevourx 23 小时以前 
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
Kirov_Reporting. 1 月 30 日 上午 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 1 月 15 日 下午 5: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  [作者] 2024 年 11 月 22 日 下午 12:23 
Ahh, okay that makes sense. Thanks for sharing!
{H.K.}Warlama 2024 年 11 月 22 日 上午 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!
{H.K.}Warlama 2024 年 11 月 22 日 上午 10:25 
I have done more digging and banging my head on the wall, i have found out so far that adding [Shield LCD: to the name is the right way to go. but any name with "THYA" in it just wont respond. if you add
[Shield LCD:TDS]
[Shield LCD:TDL]
[Shield LCD:BTS]
[Shield LCD:BTL]
[Shield LCD:CTD]
[Shield LCD:CRB]
[Shield LCD:CCB]

all these work for me i have tested and re tested. but as soon as you try to use THYA name it breaks.. i dont have it all solved yet. but this is what i have so far.
{H.K.}Warlama 2024 年 11 月 22 日 上午 6:30 
@jturp i appreciate it. i have been driving myself insane trying to get this to work. i wish you luck.
jTurp  [作者] 2024 年 11 月 22 日 上午 4:04 
I'll have to check it out, shouldn't be any different than any other multi-screen block
{H.K.}Warlama 2024 年 11 月 21 日 下午 6:13 
hello all i have a question. im trying to get the shield info to display on the middle screen of the "console module block" that released with the signals DLC. i have tried every witch way to get this to work, but to no success, i know its gotta be a simple fix. but im in no way geared as a programmer or a genius in any way. and im really struggling with this, could someone help me resolve this problem, it would be much appreciated!
Trace_117 2024 年 10 月 16 日 下午 5:50 
I know others have already requested support for Deflector Shields so i am commenting to add in my support for that as well