Space Engineers

Space Engineers

HudLcd v2 1/2 beta w/ Multi-screen blocks
26 Comments
Dziwo 16 Jun @ 12:56pm 
So, I had the same problem as @UncleFester and it seems that I need to change something in the name (just type in a space and delete it for example) for the hudlcd mod to notice a change in the custom data. Works fine if I do that.
Kapitan Oczywisty  [author] 7 Oct, 2024 @ 8:13am 
I have not play SE in ages, though I couldn't find anything suggesting custom data was changed in the game. Functionally custom data are treated the same way as name with only difference that backslash_newline is removed, the same text should work in both places.
- Make sure there is no competing definitions in the name, since name has a higher priority and can override custom data
- Try to restart game, there might be a bug that changes in custom data are not recognized
- Check if there is anything in the SE log with hudlcd in it %appdata%\SpaceEngineers\SpaceEngineers.log
You can also share command which you are using. I don't have time to debug this myself, but I'll keep this on my radar. Please let me know what did you found
UncleFester 30 Sep, 2024 @ 9:55am 
Using this from pluginloader (since the orginal HudLCD started crashing my game last week)

But only way to get it to work is if command is in name field - doesn't appear to look at custom data anymore?
SKY.fungi-guy 15 Sep, 2024 @ 4:13pm 
@Kapitan I apologize for the long delayed response, I lost the game and forgot that I was working on this issue. However, I'm hoping to fit this functionality into my new game so I will double down and try on my current world! Will update with any news or success.
Kapitan Oczywisty  [author] 26 Nov, 2023 @ 3:09pm 
What is your configuration text?
SKY.fungi-guy 22 Nov, 2023 @ 12:07am 
@Kapitan Oczywisty (or anyone that knows), I have successfully gotten LCD text on my HUD, and cockpit Panel1 text on my HUD, but not on the HUD while in the cockpit. I really want my external LCD to be on my HUD while I'm in the cockpit. What am I missing? Thanks!
[★] Kassandros 5 Jun, 2023 @ 9:39pm 
Any chance your going to put this on the plugin loader?
vala 12 Feb, 2023 @ 6:24am 
cant seem to change the colour after changing it once
Kapitan Oczywisty  [author] 26 Jun, 2022 @ 11:53am 
Wraith 26 Jun, 2022 @ 7:47am 
Could you add an option to display to all players in range instead of just the owner.
NorthStrider 20 Mar, 2022 @ 5:25am 
is this compatible with nexus seemless plugin?
Kapitan Oczywisty  [author] 5 Mar, 2021 @ 10:31pm 
@J1k0 Yes
J1k0 1 Mar, 2021 @ 12:03am 
is it possible to use the lcd of a programmable block ?
Kapitan Oczywisty  [author] 15 Jan, 2021 @ 1:31pm 
@alesyx2000 I'm unable to test this now, but I can write few steps to possibly fix this.
- make sure that both this mod and Text HUD API are enabled
- make sure you're owning LCD and it has power (might be some optimization for powerless-grids)
- try the same command in the Name (not title)
- try adding only "hudlcd" and if it's working add remaining settings one-by-one to see if any is breaking

@andbruu It shouldn't be the case, there are direct events to OnCustomDataChange and OnCustomNameChange, so every change should recheck settings. This was working in my tests.
Also I'm pretty sure it's possible to rewrite SDS-OS to draw on HUD (script -> mod unfortunately), but as far I remember there is no way to extract image from LCD in graphic mode.
alesyx2000 27 Dec, 2020 @ 1:18am 
@andbruu
I restarted the game, copy pasted the ship, and wrote the hudlcd line in the name of lcd, as part of the testing process.
For the content of the lcd i have some random text i wrote manually no mod or script output.
andbruu 27 Dec, 2020 @ 1:06am 
@alesyx2000
In my experience, writing in custom data only updates on restart, or when i paste the ship in. Writing in the block name seems to update live. If your trying to show lcd "filler" made by other mods, I can only get it to show text (as created by Automatic LCD), but not the fancy graphics of SDS-OS.
alesyx2000 27 Dec, 2020 @ 12:34am 
p.s. the screen has stuff written on it.
alesyx2000 27 Dec, 2020 @ 12:33am 
Hello. I have a problem, in a new world (creative) with Text HUD API and this mod only, i male an lcd and add "hudlcd 0.1x-0.1 #blue first range=100 nohide" to Custom Data and nothing appears anywhere on screen whether or not i am sitting in a cockpit or not about 2 blocks away from lcd.
Kapitan Oczywisty  [author] 14 Dec, 2020 @ 11:36am 
@andbruu Any of:
1) start hudlcd line with // (double slash), this will be ignored by Automatic LCDs 2 Docs
2) add hudlcd line then line with --- (triple dash) then AutoLCD commands Docs
3) use name for hudlcd configuration

This Mod is very forgiving in the way you're writing configuration and I'm pretty sure you can make any script work with it. If not - give me a shout.
andbruu 13 Dec, 2020 @ 10:03am 
If using this with AutoLCD, how should I write it in custom data, along with the AutoLCD commands?
Kapitan Oczywisty  [author] 15 May, 2020 @ 1:02pm 
This was probably last minute change, which went unnoticed.. Fixed, Thanks for investigating.
MoonMoon 15 May, 2020 @ 4:19am 
ive figured out the fix and tested it successfully. in the HudSurface.cs file for the regex setting for range on line 357, changed

regexRange = new Regex(@"(?xi) (?: range ) (?: = ( [a-z]+ | \d{1,3},\d{1,3},\d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);

to the following allows for successful matching of a 1-3 digit number input after "range=" in the custom data of an lcd.

regexRange = new Regex(@"(?xi) (?: range ) (?: = ( \d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);

i made the change and saved the file, did a reload of the game, and was able to set the range to 1 meter, 10 meters, and 110 meters all successfully displaying/not displaying when entering/leaving the range.
MoonMoon 14 May, 2020 @ 8:30pm 
i dont see the same line in your picture in the code that i have in my files. i have this

regexRange = new Regex(@"(?xi) (?: range ) (?: = ( [a-z]+ | \d{1,3},\d{1,3},\d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);
PuLs 14 May, 2020 @ 6:11pm 
Hello. Problem with the range option. I tried different spellings. At 100m, the hudlcd disappears. I opened the code and I think you have an incorrect regular expression for the range option.
Link to a screenshot of the regular expression range option and the search result for it [yadi.sk]
UPD:
Writing with the help of a translator may be a misunderstanding.
Dorimanx 14 May, 2020 @ 4:35pm 
Yes, i see this too. range is locked to 100. please allow changing. thanks.
MoonMoon 14 May, 2020 @ 12:44pm 
This appears to be working fine so far. However, the range function doesnt seem to work properly. I set it to 1 and even 200 but it seems to continue displaying 100 meters away. have yet to check the stable version as i wanted to use this one for the cockpit functionality.