Space Engineers

Space Engineers

Not enough ratings
InfoGraphX ShieldUpdate Beta
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
88.775 KB
24 Jun, 2019 @ 4:24am
30 Jun, 2019 @ 10:35am
6 Change Notes ( view )

Subscribe to download
InfoGraphX ShieldUpdate Beta

Description
Greetings fellow space engineers,

Inspired by the work of Perdurable's (THYA) Shield HUD Script, I updated the SwiftyTheFox's InfoGraphX Mod/Script V1.3 to support Cython's Energy Shields and DarkStar's Defense Shield.

New Version 0.5

Displays shields operate status:
The shield status of both shield types is now displayed as icon color.

Green: shield is up and working
Yellow: one of both shield types are not working / the defense shield is overloaded
Red: both shield types are not working / shields down
Grey: shield is destroyed or does not exist
Blue: defense shield is coming online

Better text value format and scaling:
The values for HP are now scaled to display large numbers.
(k = 1/1.000, m = 1/1.000.000.)
DPS values are now rounded.

The example custom data setup was updated too.

To setup a basic example like in the preview image to show all current features you need the following blocks on your grid:

1 Programmable Block for the script
3 LCD Panels with following names: CSHIELDINFO , ESHIELDINFO, DSHIELDINFO
All LCDs must be set to Content - Script - None ! and for better look make the background color black
Battery or Reactor for enough power supply
One or more Cython's Energy Shield generators - NOTE: Dont change the custom names !
A DarkStar's Defense Shield system with a emitter and a controller.

Once you have loaded this script in the a Programmable Block.
Put the following configuration text in the Programmable Block custom data:

SCREEN:DSHIELDINFO:0
GRAPH:BAR:SIMPLE:GRADIENT
GEOMETRY:300,170:64,215
GRADIENT:0.0:0,255,0
GRADIENT:0.4:255,255,0
GRADIENT:0.8:255,0,0
UPDATE:DSHIELD:HEAT

GRAPH:BAR:SIMPLE:GRADIENT
GEOMETRY:374,170:64,215
GRADIENT:0.1:255,255,0
GRADIENT:0.3:0,255,0
UPDATE:DSHIELD:HEAL

GRAPH:BAR:SIMPLE:GRADIENT
GEOMETRY:448,170:64,215
GRADIENT:0.0:0,255,0
GRADIENT:0.5:255,255,0
GRADIENT:0.8:255,0,0
UPDATE:DSHIELD:RATIO

GRAPH:GAUGE:SIMPLE:GRADIENT:CIRCLE
GEOMETRY:114,170:256,256
GRADIENT:0.0:255,0,0
GRADIENT:0.3:255,255,0
GRADIENT:0.6:0,255,0
UPDATE:DSHIELD:HP

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:256,26:1,1
TEXT:DEFENSE SHIELD STATS
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:130,270:1,1
GRADIENT:0.0:100,100,100
UPDATE:DSHIELD:HPTXT

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:114,320:1,1
TEXT:Damage
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:314,320:1,1
GRADIENT:0.0:100,100,100
UPDATE:DSHIELD:DPSTXT

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:114,350:1,1
TEXT:Last Damage
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:314,350:1,1
GRADIENT:0.0:100,100,100
UPDATE:DSHIELD:LDMGTXT

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:114,380:1,1
TEXT:Highest Damage
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:314,380:1,1
GRADIENT:0.0:100,100,100
UPDATE:DSHIELD:HDMGTXT

SCREEN:ESHIELDINFO:0
GRAPH:BAR:SIMPLE:GRADIENT
GEOMETRY:300,170:64,215
GEOMETRY:374,170:64,215
GRADIENT:0.1:255,255,0
GRADIENT:0.3:0,255,0
UPDATE:ESHIELD:HEAL

GRAPH:GAUGE:SIMPLE:GRADIENT:CIRCLE
GEOMETRY:114,170:256,256
GRADIENT:0.0:255,0,0
GRADIENT:0.3:255,255,0
GRADIENT:0.6:0,255,0
UPDATE:ESHIELD:HP

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:256,26:1,1
TEXT:ENERGY SHIELD STATS
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:130,270:1,1
GRADIENT:0.0:100,100,100
UPDATE:ESHIELD:HPTXT

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:114,320:1,1
TEXT:Damage
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:314,320:1,1
GRADIENT:0.0:100,100,100
UPDATE:ESHIELD:DPSTXT

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:114,350:1,1
TEXT:Last Damage
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:314,350:1,1
GRADIENT:0.0:100,100,100
UPDATE:ESHIELD:LDMGTXT

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:114,380:1,1
TEXT:Highest Damage
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:314,380:1,1
GRADIENT:0.0:100,100,100
UPDATE:ESHIELD:HDMGTXT

SCREEN:CSHIELDINFO:0
GRAPH:GAUGE:SIMPLE:GRADIENT:CIRCLE
GEOMETRY:250,190:256,256
GRADIENT:0.0:255,0,0
GRADIENT:0.3:255,255,0
GRADIENT:0.6:0,255,0
UPDATE:SHIELD:HP

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:256,26:1,1
TEXT:ALL SHIELD STATS
GRADIENT:0.0:100,100,100

GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:250,290:1,1
GRADIENT:0.0:100,100,100
UPDATE:SHIELD:HPTXT

After updating the Programmable Block custom data, click on recompile,run and now the stats should be displayed on the LCDs.

For further help and configuration of the graphs / visuals visit the InfoGraphX modpage.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1714887316

Here a overview about of all (new) custom data config / update commands for InfoGraphX:

For both shield types:

UPDATE:SHIELD:HP
Shows the combined HP of both shield types (as graph)
UPDATE:SHIELD:HPTXT
Shows the combined HP/MaxHP of both shield types as text

For Cython's Energy Shields:

UPDATE:ESHIELD:HP
Shows the HP of all Cython's Energy Shields-Generators (as graph)
UPDATE:ESHIELD:HEAL
Shows energy shield recharge minus damage in relation to 10% of max shield hp (as graph)
UPDATE:ESHIELD:HPTXT
Shows the HP/MaxHP of all Cython's Energy Shields-Generators as text
UPDATE:ESHIELD:DPSTXT
Shows Energy Shields damage in per second as text
UPDATE:ESHIELD:LDMGTXT
Shows the last Energy Shields damage as text
UPDATE:ESHIELD:HDMGTXT
Shows the highest Energy Shields damage as text

For DarkStar's Defense Shield:

UPDATE:DSHIELD:HP
Shows the HP of DarkStar's Defense Shield (as graph)
UPDATE:DSHIELD:HEAT
Shows the heat of the defense shield (as graph)
Note: Heat reduces shield recharge. At 100% there is no shield recharge.
UPDATE:DSHIELD:HEAL
Shows the current defense shield recharge rate in relation to its max / normal recharge rate (as graph)
UPDATE:DSHIELD:RATIO
Shows the incoming damage (dps) in relation to the shield recharge rate (as graph)
A value above 50% means, that the damage is higher than the schield recharge.
The defense shield will lose continusely hp. At 100% the damage is twice so high than the recharge rate.
UPDATE:DSHIELD:HPTXT
Shows the HP/MaxHP of DarkStar's Defense Shield as text
UPDATE:DSHIELD:DPSTXT
Shows Defense Shields damage in per second as text
UPDATE:DSHIELD:LDMGTXT
Shows the last Defense Shields damage as text
UPDATE:DSHIELD:HDMGTXT
Shows the highest Defense Shields damage as text

This mod /update is still work in progress. There will be optimisations and addtional features in the future.

Thanks to SwiftyTheFox, Perdurable, Cython and DarkStar for their awesome work and mods !!!

Original mods:

InfoGraphX
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1714887316
(THYA) Shield HUD Script
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=543765745

Shield Mods:

Cython's Energy Shields:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=484504816
DarkStar's Defense Shield
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1365616918

2 Comments
singules  [author] 22 Jul, 2019 @ 1:46pm 
Thx for the info i will have a look in this for next update.
SwiftyTheFox 17 Jul, 2019 @ 12:58pm 
Just wanted to drop the info that I updated a single line in my script that had a bug preventing the use of groups. Please check the source code of 1.3.1.

I changed the index for an array element from 4 to 3 in the config parser where it looks for the :GROUP definition in the UPDATE tag.