Space Engineers

Space Engineers

(THYA) Shield HUD Script
vizthex Nov 9, 2020 @ 11:21pm
How do I use this with Cockpit LCDs?
The page doesn't say how, and I can't find a guide or anything for it.
I'd like it to render in the Fighter Cockpit, if that's relevant.
< >
Showing 1-7 of 7 comments
MadWolfZade Sep 24, 2021 @ 6:36am 
Me too, please someone answer.
vizthex Sep 24, 2021 @ 2:35pm 
I guess ya don't lmao. Posted this a year ago and got no answer, ah well.
Dragon Fire 813 Oct 3, 2021 @ 2:53am 
It's actually documented in the script itself. Just load it in a PB block and look near the top of the script. It tells you how to use it with blocks with multi-screens which includes cockpits.
As some general advice regarding scripts, most authors tend to put a lot a script instructions in the script itself near the top. So look there if you are having issues finding guides for features.
Dragon Fire 813 Oct 3, 2021 @ 2:57am 
And just to help you out, here is the section from the script regarding multi-screen blocks:

  • Refactored the way the script retrieves multi-surface block configuration (ie cockpits) IOT allow it to play well with other scripts

    How to use for multi-surface blocks:

    [1] Place the LCD Prefix somewhere in the NAME of the block -> Example: Industrial Cockpit [Shield LCD]
    [2] The script will search the CUSTOM DATA of the block for the beginning of its configuration information
    [2.1] If not found, the script will insert this section in the configuration and write it back to the block's custom data
    [2.2] If found, the script will retrieve the given configuration and use it to display stuff on the block's surfaces

    NOTES:
    [1] This script now allows for a preface to be placed in the CUSTOM DATA - anything that is written BEFORE the script's config will stay there
    [2] The script will also append three dashes (---) AFTER the end of its configuration information. DO NOT insert any extra data BEFORE the dashes or it may break the script!
    [2] The CUSTOM DATA of the block will contain instructions on how to configure the settings once it has successfully parsed the configuration
Dragon Fire 813 Oct 3, 2021 @ 2:57am 
Hope that helps.
Jordi_NL Jul 11, 2022 @ 4:56pm 
For those that are still confused: Once you do the above step Dragon fire has mentioned go into the custom data of the cockpit or the programmable block (as that also has it's own LCD)
Example using a small block programmable block:
1: Name it: Programmable Block [Shield LCD]
2: Go into the custom data
3: Change |0=none to: |0=THYA-C

So your code will look like the following:
; Shield Script Config
; Below you'll find the configuration for the THYA Shield HUD Script.
; To set up your screens, fill in the VALUE portions below with the type
; of display you'd like. The numbers represent which display to use,
; and are in the same order as found in the terminal window.
; Valid types: THYA-H, THYA-C, THYA-V, TDS, TDL, BTS, BTL, CTD, CRB, CCB.
; EXAMPLE: 0=THYA-H -> will display the Horizontal graphics option
;
[Shield Script]
Config=
|0=THYA-C
|1=none

---
Originally posted by Jordi_NL:
For those that are still confused: Once you do the above step Dragon fire has mentioned go into the custom data of the cockpit or the programmable block (as that also has it's own LCD)
Example using a small block programmable block:
1: Name it: Programmable Block [Shield LCD]
2: Go into the custom data
3: Change |0=none to: |0=THYA-C

So your code will look like the following:
; Shield Script Config
; Below you'll find the configuration for the THYA Shield HUD Script.
; To set up your screens, fill in the VALUE portions below with the type
; of display you'd like. The numbers represent which display to use,
; and are in the same order as found in the terminal window.
; Valid types: THYA-H, THYA-C, THYA-V, TDS, TDL, BTS, BTL, CTD, CRB, CCB.
; EXAMPLE: 0=THYA-H -> will display the Horizontal graphics option
;
[Shield Script]
Config=
|0=THYA-C
|1=none

---
HUGE help, thanks a ton! :praisesun:
Last edited by ==Lucanmoonshadow==; Nov 9, 2023 @ 8:23pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50