Space Engineers

Space Engineers

221 ratings
HudLcd - Display your LCD text on your HUD!
Type: Mod
Tags: hud
File Size
5.975 MB
Apr 22, 2017 @ 1:46pm
Jun 4, 2020 @ 11:17am
12 Change Notes ( view )

Subscribe to download
HudLcd - Display your LCD text on your HUD!

Updated and Working again :)

HudLcd displays the Text of selected LCDs on your HUD!

Now with multiple LCDs, and lots of colour options!

This Mod is written with little C# experience (mainly C++, Java) and I haven't had the time to do extensive Bug tests. (I will Hotfix as soon as bugs come to my attention.)

Requires the Text HUD API!

- Display multiple LCDs on your HUD
- Configure Position, Fontsize and Colour!
- Debug and Monospace font support (thanks to Text HUD API v2)

- figure out how to make Text HUD API use custom Fonts (not a Monofont version; this helps display Automatic LCDs Scripts/etc) semi fixed with Debug and Monospace Font support.

How do I display my LCD?

To display an LCD on your HUD write a line in the LCD Custom Data tagged with "hudlcd". The LCD has to be on the same grid you are controlling! (Not connected via landing gear or connectors). Controlling a grid means you are sitting in a cockpit, remote controlling or viewing through a camera.
If you already have something in your Custom Data for a Script (like Automatic LCDs 2) you can also prepend the hudlcd with // so the script treats the line as a comment (the Script must support some sort of comment system).
For Automatic LCDs this can be achieved by beginning a line with "// hudlcd".

It is also possible to use the LCD Title but it is currently unreliable due to a current bug[] in SE. Meaning it works well to finetune your formatting because you can see the changes you are making in realtime if you have your UI background opacity turned down. Unfortunately due to this bug you have to refresh (change) the Title every time you reload your save. So I encourage you to make the finetuning of the formatting in the Title and then save the final tag in your Custom Data.

The Title is evaluated before Custom Data.

You can adjust the positioning, fontsize, colour, shadow of the LCD Text on your HUD by adding the following to the tag:



If you want to use the default value of any of the Parameters just leave it blank.
Only changing the colour would look like so: hudlcd::::Red
Only changing the position: hudlcd:-1:1

The middle of your screen is 0:0.
PosX adjusts the horizontal alignment, PosY the vertical.
Both values have to be between -1 and 1.
PosX: (left) -1 <- 0 -> 1 (right)
PosY: (bottom) -1 <- 0 -> 1 (top)
+----------+ | 1 | | | | |-1 --0-- 1| | | | | -1 | +----------+
Top-Left: hudlcd:-1:1
Above your Hotbar: hudlcd:-0.35:-0.65
Default: hudlcd:-0.98:-0.2 (this places the text over your left HUD elements as seen in the first screenshot)

1 is normal size
2 is double size
0.5 is half size

You can flip the Text on it's head by making this value negative, ¯\_(ツ)_/¯

Half Fontsize: hudlcd:::0.5
Default: uses the LCD Font Size

By default HudLcd will try and get the Font Colour of the LCD Panel.
If you don't like that then you have several options of changing this:
The following formats work for the Colour option:

{Colourname}, taken from the long list below
Red: hudlcd::::red

{r,g,b} or {r,g,b,a}
where r = red [0-255], b = blue [0-255], g = green [0-255], a = alpha [0-255]
pink: hudlcd::::255,0,255
white with reduced alpha: hudlcd::::255,255,255,150

At any point in the Text of your LCD you can use the tag <color={Colour}> to change the following text.

You can apply a shadow to the text by setting this to 1.
Example: hudlcd::::red:1

Featured in the Screenshot: Automatic LCDs 2
Thanks to Cheetah for suggesting to hook the mod into the LCD Panels instead of using the ControlledEntityChanged Event.
If you have any suggestions or similar you can open a pull request here:

All Colours supported by the Text HUD API:
aliceblue ,antiquewhite ,aqua ,aquamarine ,azure ,badetblue ,beige ,bisque ,black ,blanchedalmond ,blue ,blueviolet ,brown ,burlywood ,chartreuse ,chocolate ,coral ,cornflowerblue ,cornsilk ,crimson ,cyan ,darkblue ,darkcyan ,darkgoldenrod ,darkgray ,darkgreen ,darkkhaki ,darkmagenta ,darkoliveGreen ,darkorange ,darkorchid ,darkred ,darksalmon ,darkseagreen ,darkslateblue ,darkslategray ,darkturquoise ,darkviolet ,deeppink ,deepskyblue ,dimgray ,dodgerblue ,doneydew ,firebrick ,floralwhite ,forestgreen ,fuchsia ,gainsboro ,ghostwhite ,gold ,goldenrod ,gray ,green ,greenyellow ,hotpink ,indianred ,indigo ,ivory ,khaki ,lavender ,lavenderblush ,lawngreen ,lemonchiffon ,lightblue ,lightcoral ,lightcyan ,lightgoldenrodyellow ,lightgray ,lightgreen ,lightpink ,lightsalmon ,lightseagreen ,lightskyblue ,lightslategray ,lightsteelblue ,lightyellow ,lime ,limegreen ,linen ,magenta ,maroon ,mediumaquamarine ,mediumblue ,mediumorchid ,mediumpurple ,mediumseagreen ,mediumslateblue ,mediumspringgreen ,mediumturquoise ,mediumvioletred ,midnightblue ,mintcream ,mistyrose ,moccasin ,navajowhite ,navy ,oldlace ,olive ,olivedrab ,orange ,orangered ,orchid ,palegoldenrod ,palegreen ,paleturquoise ,palevioletred ,papayawhip ,peachpuff ,peru ,pink ,plum ,powderblue ,purple ,red ,rosybrown ,royalblue ,saddlebrown ,salmon ,sandybrown ,seagreen ,seashell ,sienna ,silver ,skyblue ,slateblue ,slategray ,snow ,springgreen ,steelblue ,tan ,teal ,thistle ,tomato ,turquoise ,violet ,wheat ,white ,whitesmoke ,yellow ,yellowgreen
Popular Discussions View All (4)
Dec 29, 2020 @ 5:42pm
Not working on Dedicated Server 1.197.73
Jul 1, 2020 @ 12:25pm
PINNED: What to check if it's not working.
Sep 15, 2017 @ 3:50pm
Crash on world exit
< >
Kapitan Oczywisty May 1 @ 12:43am 
I've modified this mod and added multiple displays support among other stuff

@Jawastew how merging new features is going? :)
Storm Apr 22 @ 4:05am 
j1ko now you can add a screen to use on hud and reference it from cockpit as a work around.
J1k0 Mar 1 @ 3:15am 
Cant get it work with a programmable block lcd either. so both options i would have loved to see are not available. For example the normal scenario : you have a small ship and dont want to add multiple lcds to the ship (because the cockpit block and the programmable block both already have an lcd) i have to add additional lcds to make this work with hud lcd :/
Jawastew  [author] Feb 28 @ 8:56am 
@J1k0 I haven't added support for cockpit lcds, those weren't around when I created the mod (:
J1k0 Feb 27 @ 5:14pm 
I absolutetly love the idea of this mod - however - i need a lcd block to make it work right ? So i cant use the output of a cockpit lcd and bring it onto the hud ?
szalkerous[tm] Dec 23, 2020 @ 6:16pm 
I will start a new topic to keep the troubleshooting contained somewhere...
szalkerous[tm] Dec 21, 2020 @ 9:09pm 
I did do most of that checklist, only exception is #5 which is tough to do on a dedicated server since removing other mods will break the world.
Jawastew  [author] Dec 20, 2020 @ 4:32am 
Last time I checked it also displays in your cryo chamber
Jawastew  [author] Dec 20, 2020 @ 4:31am 
szalkerous[tm] Dec 19, 2020 @ 5:35pm 
This mod doesn't seem to be working on my DS. I do get the F2 menu, but nothing is listed under mods. However, the logs on the DS (Torch) do not mention any errors and the mod is being loaded. Where should I start looking?

Also, does the HUD text appear in the cryo chamber as well? I tried both.