Space Engineers

Space Engineers

(THYA) Shield HUD Script
vizthex 9. nov. 2020 kl. 23:21
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.
< >
Viser 1-7 af 7 kommentarer
MadWolfZade 24. sep. 2021 kl. 6:36 
Me too, please someone answer.
vizthex 24. sep. 2021 kl. 14:35 
I guess ya don't lmao. Posted this a year ago and got no answer, ah well.
Dragon Fire 813 3. okt. 2021 kl. 2:53 
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 3. okt. 2021 kl. 2:57 
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 3. okt. 2021 kl. 2:57 
Hope that helps.
Jordi_NL 11. juli 2022 kl. 16:56 
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

---
==Lucanmoonshadow== 9. nov. 2023 kl. 20:23 
Oprindeligt skrevet af 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:
Sidst redigeret af ==Lucanmoonshadow==; 9. nov. 2023 kl. 20:23
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50