Space Engineers

Space Engineers

Fancy LCD Sign Script
20 条留言
Raven 2022 年 8 月 8 日 上午 12:10 
@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  [作者] 2022 年 8 月 5 日 下午 4:10 
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  [作者] 2022 年 8 月 5 日 下午 4:10 
@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.
Raven 2022 年 8 月 3 日 下午 6:10 
@Viruz no worries, thanks for looking into it!
Viruz  [作者] 2022 年 8 月 3 日 下午 2:33 
@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.
Raven 2022 年 8 月 2 日 下午 6:03 
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 2022 年 6 月 20 日 下午 4:26 
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 2022 年 6 月 19 日 下午 9:53 
Thank you!
Viruz  [作者] 2022 年 6 月 19 日 上午 11:51 
@PH I've added a new discussion with the text version of the table.
Viruz  [作者] 2022 年 6 月 19 日 上午 11:33 
@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 2022 年 6 月 19 日 上午 5:36 
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 2022 年 5 月 12 日 下午 11:31 
That sucks, I prefer the Image to LCD converter then.
Viruz  [作者] 2022 年 5 月 12 日 上午 7:05 
@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 2022 年 5 月 12 日 上午 6:04 
Do I need to keep the script running, or can I remove the PB after I finish configuration?
Viruz  [作者] 2022 年 5 月 10 日 上午 11:59 
Glad you like it!
Jawa 2022 年 5 月 10 日 上午 10:33 
What an awesome script! Definitely getting this one.
Viruz  [作者] 2022 年 5 月 10 日 上午 8:16 
@Whiplash141 Oh right cool, yeah I might do that instead then. I'll update it sometime later today. Thanks! :steamthumbsup:
Whiplash141 2022 年 5 月 9 日 下午 8:04 
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 2022 年 5 月 8 日 下午 5:50 
wow looks cool
Typhon Plume 2022 年 5 月 8 日 下午 3:51 
Okay this looks very impressive and promissing, can't wait to try it out.