Space Engineers

Space Engineers

Not enough ratings
Energy Shields - (Smple) Status on LCD
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.424 KB
9 Apr, 2017 @ 2:20pm
5 Jan, 2018 @ 8:14am
4 Change Notes ( view )

Subscribe to download
Energy Shields - (Smple) Status on LCD

Description
Another monitoring script by me, but this time it monitors Energy Shields blocks...
Setup is simpler, than previous one, because I decided to add auto scan of target blocks, and output LCDs. But you still need to add special tags into their names, and turn on "Show Public Text" parameter.
-----------------------------------------------------------------------------------------------------------------------------
WARNING! This script using automatic block search during initialization. So if you remove/lost/add/rename some shields or [tagged] LCDs, after script run, you have to ReCompile and ReRun it!
-----------------------------------------------------------------------------------------------------------------------------
If you don know, how to use scripts with LCD panels, watch the video, attached to my first script: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=680705140

The main difference between this script and shown in video, that you don't need to use arguments in programmable blocks, because now it finds all blocks, with "shields generator" in name, than output found data into all of your LCDs, which have '[Shield]' in their name. It could be any number of displays and shields in monitored grid.

So, to make this script work, yor have to
1) Place any number of any type Shields into your grid, and make sure, they have "shields generator" fragment in their names.
2) Place any number of LCD Panels in your grid, and add '[Shield]' tag into their names. Make sure 'show text on screen' option is on.
3) Load my script into your Programmable block, "Check code", "Remember & Exit"
4) Add two actions into your Timer: Programmable block - "RUN", and this Timer - "Start"
Than "Trigger now" on timer. If everything set up correctly, you'll see dynamically updating status of your shields on all tagged displays.

4) Just "RUN" it. It will self-update each 1.5sec :)
-----------------------------------------------------------------------------------------------------------------------------
If you have huge ship, with many Shields, and you don't want to have corner lcds for this script, I uploaded alternative mini-version of this script. It just shows overall status of all your shields, and nothing more.
https://pastebin.com/d2QwD6F6

To be able to use this script with full one, I made to search output lcds with [ShiledM] tag!
35 Comments
seppi141 26 Apr @ 3:04am 
i cant get it to work..
AZRAEL 10 Nov, 2023 @ 1:58pm 
2023/11/10 ive updated the MINI script only to suit my needs on a corner lcd. rules havnt changed, just made it work and changed the output a bit. https://pastebin.com/Z6biNuVA
Broken old man 5 May, 2022 @ 3:32pm 
LCD error on check
Zatch E'Olivers(Zeo)[FR] 7 Apr, 2020 @ 5:04am 
ah,well, i should try. i come back when i know if this work.
scad.luncher  [author] 7 Apr, 2020 @ 1:51am 
@Zatch E'Olivers(zeo3434) didn't tested it on this mod...
Zatch E'Olivers(Zeo)[FR] 4 Apr, 2020 @ 10:18am 
this script work with DarkStar shield i guess ?
AeryToast 2 Dec, 2019 @ 4:36pm 
Lags every time it runs, possibly because of so many string split operations on the List text.
matthewvogt 16 Apr, 2019 @ 1:25pm 
I wouldnt recommend this mod on multiplayer bet single player it worked fine.
Kiffer 6 Apr, 2019 @ 9:44am 
This script with https://gtm.steamproxy.vip/sharedfiles/filedetails/?l=danish&id=484504816

caused my server to have memory leaks twice :/
scad.luncher  [author] 13 Jan, 2019 @ 3:55am 
@TheMadCat, sorry I didn't tested my script with shield's names containg other tags or just special symbos like "{}". Did other lcd scripts read data coorectly from your blocks with such symbols in their names?