Space Engineers

Space Engineers

Not enough ratings
Expand LCD Panel
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.431 KB
14 Jun, 2016 @ 5:17pm
14 Feb, 2020 @ 2:01pm
12 Change Notes ( view )

Subscribe to download
Expand LCD Panel

Description
With this script lcd panels can be easily expanded. Texts with many lines can be displayed without problems. The script adapts automatically to the font size. Furthermore, lcd panels can be copied to other lcd panels. It is also possible to copy text from an ldc panel on an extern grid.

Setup:
1. Subscribe this script
2. Place a programmable block and access its control panel
3. Press "Edit" to open the code editor
4. Press "Browse Workshop" at the bottom of the code editor
5. Choose the script "Expand LCD Panel" and press "Ok"
6. Press "Check Code" (should have no errors) and then "Remember & Exit"
7. Run the programmable block
8. Place a lcd panel and edit the public title (See chapter Configure for details)
9. To copy from an extern grid, establish an antenna connection

Configure:
To use a lcd panel as an extension, the public title has to be adapted. First, the command Expand is written therein, then, separated by a space, the name of the lcd panel, which is to be expanded. For example, the command Expand LCD Panel extends the lcd panel named LCD Panel. For copy, the command Copy has to be used in the same way. For copy text from an lcd panel on an extern grid, the name of the grid has to be in front lcd panel name. The name of the grid and the name of the lcd panel is separated by ->. For example, the command Copy Base->LCD Panel copies text of the lcd panel named LCD Panel on the grid namen Base. Please concider that only text and no settings can be copied from extern grids.

Settings:
With the values in the section Settings in the upper part of the code (before the Main function) can be set whether the font and the colors to be taken over by the lcd panel, which is to be extended (master).

The following can be set:
useMasterFont: use font type of master
useMasterFontSize: use font size of master
useMasterFontColor: use font color of master
useMasterFontAlignment: use font alignment of master
useMasterBackgroundColor: use background color of master
useMasterShowTestOnScreen: show text on screen if master does it too
selfUpdating: script is runned periodically by self (no timer block needed)

Command:
The commands Expand and Copy can be changed in the section Commands.
12 Comments
rubinknoepfel  [author] 23 Dec, 2020 @ 12:47pm 
In den öffentlichen Titel musst du folgendes schreiben:
LCD 1: Inventory
LCD 2: Expand LCD 1
LCD 3: Expand LCD 2
LCD 4: Expand LCD 3
Tiga 22 Dec, 2020 @ 8:46am 
Hallo Rubin,
ich sitze jetzt schon 2 Stunden hier rum, habe mir erst dein Inventory- Skript runtergeladen und ohne Probleme installiert und angewendet.
Dann habe ich versucht, die Displayerweiterung ebenfalls anzuwenden. Ich bekomme aber bei den 4 Bildschirmen, die ich gebaut habe, immer wieder den Anfang vom Inventory, also keine Fortsetzung. Könntest du vielleicht mal kurz schreiben, was ich für Befehle in den "Namen" und "Öffentlichen Namen" reinschreiben muss, damit das Inventar fortgesetzt wird ? Die Bildschirme habe ich LCD 1 bis LCD 4 benannt. Danke im Voraus :-)

LG
Tiga
rubinknoepfel  [author] 20 May, 2020 @ 8:43am 
Changed command "expand" to "Expand"
Command "Copy" added
Text can now be copied from a lcd panel on an extern grid
Smokedrasta83 23 Apr, 2019 @ 6:46am 
So. What and how i can show stuff in those panels? I think that this script works with Isys inventory managment? I am still kinda noob. Over 200 hours played. Am i idiot??? :steamfacepalm::steamhappy:
Stolas 7 Sep, 2018 @ 6:23am 
sono riuscito a farla andare, ma non funziona se ho attivo lo script automatic LDCs 2
rubinknoepfel  [author] 13 Feb, 2018 @ 3:50am 
I added self updating so no timer block is needed anymore. Furthermore, the public text are now automatically shown on screen if it is also shown on master.
rubinknoepfel  [author] 7 Feb, 2018 @ 3:43pm 
I have removed the Private text. In addition, the script can now set font and alignment, too.
Uchee 10 Oct, 2017 @ 10:08pm 
It looks like they might have removed the Private text... do you think that would make this script not work?
rubinknoepfel  [author] 1 Oct, 2016 @ 3:21am 
This script doesn't work with images, sorry.
Agent Skinwalker 19 Sep, 2016 @ 12:01pm 
ey actually I got this working!! I had to hit the option on my second LCD panel that says "display public text". wohoO!