Space Engineers

Space Engineers

Fancy LCD Sign Script
20 Comments
Souls 8 Aug, 2022 @ 12:10am 
@Viruz Was busy over the weekend but yeah it seems to be working at least to some level now, even on dedicated server. Thanks! In case it helps anything, it seems for me at least that if a screen is blank and not updating, power-cycling the screen seems to get it back to working order.
Viruz  [author] 5 Aug, 2022 @ 4:10pm 
Luckily there is a workaround, I've removed the code which changes the content type which seems to fix it. However, this means that you will need to set the content type to "Script" manually, make sure to do this BEFORE placing the script, additionally, make sure that you set the background and foreground colour you want before you setup the script. Doing so after will cause the screen to be blank.

Repasting the grid is also an option which will fix it.

I'll release a patch now and i'll make a bug report on the forums after I look further into it.
Viruz  [author] 5 Aug, 2022 @ 4:10pm 
@Souls OK I think I've found the issue, it seems to be caused by a bug, every time the signs need to refresh, the code sets each sign's content type to "Script" and the script selected to "None" (as this is how sprites are drawn). However, it seems that there is a bug on dedicated servers that if the content type is changed, then the LCD will be blank.

This also affects the "Colour" and "Background" properties in the terminal for the sign, changing these settings also causes the sign to be blank.
Souls 3 Aug, 2022 @ 6:10pm 
@Viruz no worries, thanks for looking into it!
Viruz  [author] 3 Aug, 2022 @ 2:33pm 
@Souls Sorry for the late reply, I did try it out on a few multiplayer servers and also a single player and hosted game and it does seem to break on dedicated servers with the same issue. I will try to figure out what the cause is tomorrow and release a fix.
Souls 2 Aug, 2022 @ 6:03pm 
I think I've done everything right, but nothing seems to show up. It does switch LCD's to script mode, but nothing shows on them, just blank coloured background. I think I heard something about issues with sprites and scripts in multiplayer, is this script confirmed to work in multiplayer or would that be the problem?
Ronin Planetary Industries 20 Jun, 2022 @ 4:26pm 
If this worked with "MMaster's Automatic LCDs 2"... just being able to use an ICON of an inventory item rather than the word in English... brilliant.
PH 19 Jun, 2022 @ 9:53pm 
Thank you!
Viruz  [author] 19 Jun, 2022 @ 11:51am 
@PH I've added a new discussion with the text version of the table.
Viruz  [author] 19 Jun, 2022 @ 11:33am 
@PH Thanks, i'm glad you like it!

I'll also make a discussion right now with the data in text.
There's also a page on the wiki which I used to help create the script here [github.com].
PH 19 Jun, 2022 @ 5:36am 
This is absolutely amazing. Thanks for putting this together and sharing it.

Is the list of data names available in text anywhere? If not, would you mind putting it in a guide or discussion topic?

Thanks again!
Rezun 12 May, 2022 @ 11:31pm 
That sucks, I prefer the Image to LCD converter then.
Viruz  [author] 12 May, 2022 @ 7:05am 
@Rezun You would have to keep the script running if you were to reload the world or turn the LCD off and on again as the sign would not load, it'll just be a blank screen.

The sign would display as normal if you were to place a pb with the script in again as since the configuration for each sign would still be saved.
Rezun 12 May, 2022 @ 6:04am 
Do I need to keep the script running, or can I remove the PB after I finish configuration?
Viruz  [author] 10 May, 2022 @ 11:59am 
Glad you like it!
Jawa 10 May, 2022 @ 10:33am 
What an awesome script! Definitely getting this one.
Viruz  [author] 10 May, 2022 @ 8:16am 
@Whiplash141 Oh right cool, yeah I might do that instead then. I'll update it sometime later today. Thanks! :steamthumbsup:
Whiplash141 9 May, 2022 @ 8:04pm 
BTW, the built in INI parser (MyIni) supports multi-line text natively using the pipe symbol so you wouldn't need to make your own newline delimiter, users could just input it directly:

[Fancy LCD Script - Config]
; New lines are lead with the pipe (|) character
Sign Text=
|[Bridge]
|Authorised Personnel Only

:slimehappy:
AcidTripN 8 May, 2022 @ 5:50pm 
wow looks cool
Typhon Plume 8 May, 2022 @ 3:51pm 
Okay this looks very impressive and promissing, can't wait to try it out.