Space Engineers

Space Engineers

(THYA) Shield HUD Script
Nightfall301  [udvikler] 23. maj 2018 kl. 23:30
Dual Shield support question.
Perdurable and I anticipated this request, and have kicked around implementation ideas, and have seen at least one vote for it, already. The script is already able to pull the data from each shield generator type, independently (had to be, the mods use different methods for supplying information) - it's just a matter of how complex the script starts to get once the display code starts splitting up.
My question is, what do you, the users, feel the best method for setting this up would be?
Adding yet another configuration variable? Like "[D Shield" and "[E Shield" for splitting the two display types? Also, how would this change be reflected in the alert lights and alarm setup recently added? Some sort of cascade detection - "If D Shield = 0 AND E Shield <24 (or vice versa), then alarm"?
Keep in mind, this will add another group of variables to the program code itself, and the THYA graphics have no way to differentiate whether they are displaying Defense or Energy shields. And before someone proposes combined graphics display, remember, each % is a seperate image, meaning that the current 3 graphics "modes" comprise 303 images. Adding "Defense" or "Energy" to those images could be as many as 606, and doing a combined setup would be 10201 images for just one graphics mode (covering all potential combinations by percentage). Think of the load times that would bring.
I've poked around in some other scripts, looking at other folks' monospace pixel display setup, which could open some possibilities.
Now, from my personal standpoint, this "layered shield" idea makes some small bit of sense. Having tested it, however, I don't feel the two mods work together quite the way I would envision them. Currently, hits registered by a grid drain the Cython shield before the DarkStar one. The way most sci-fi seems to work, the hits should be absorbed by the outer "bubble" (DarkStar), draining that shield system completely before ever reaching the "energy armor" (Cython). Or if you look at it as the bubble not being an absolute catch-all, anything that manages to get through the bubble should then hit the energy armor. It's quite possible that if DarkStar's modAPI petition is granted, the mods will work together in exactly the sci-fi manner outlined above. We're just not there, yet. That's my 2¢, anyway.
Sidst redigeret af Nightfall301; 16. juli 2018 kl. 19:58
< >
Viser 1-5 af 5 kommentarer
Dr Nox 6. jan. 2019 kl. 0:00 
If/When the petition is granted, I'm sure any shield meta (if one is ever developed) will use the dual shield strategy, just because of the inherent usefulness two shields has on your survivability. Until that point however, I can agree with you in the fact dual shield support isn't quite needed yet.
TauXv9 7. jan. 2019 kl. 16:57 
my server uses both for reduncancies due to the Defense shields weaknes to EMP attacks
Nightfall301  [udvikler] 12. jan. 2019 kl. 8:49 
I did poke around in the monospace realm, and incorporated my results in v1.6.3 as the CRB and CCB modes. Many thanks to JTurp for his code contributions enabling simultaneous dual shield system monitoring.
TauXv9 12. jan. 2019 kl. 14:24 
awesome!
Dragon Fire 813 10. nov. 2020 kl. 9:58 
How about a setting in the PB block to chose which shield to use or use both. That way you add another PB block and change the LCD tag to manage a different shields alarms and displays. Add a third PB block to have combined shields.
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50