Space Engineers

Space Engineers

评价数不足
Expand LCD Panel
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
7.431 KB
2016 年 6 月 14 日 下午 5:17
2020 年 2 月 14 日 下午 2:01
12 项改动说明 ( 查看 )

订阅以下载
Expand LCD Panel

描述
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 条留言
rubinknoepfel  [作者] 2020 年 12 月 23 日 下午 12:47 
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 2020 年 12 月 22 日 上午 8:46 
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  [作者] 2020 年 5 月 20 日 上午 8:43 
Changed command "expand" to "Expand"
Command "Copy" added
Text can now be copied from a lcd panel on an extern grid
Smokedrasta83 2019 年 4 月 23 日 上午 6:46 
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 2018 年 9 月 7 日 上午 6:23 
sono riuscito a farla andare, ma non funziona se ho attivo lo script automatic LDCs 2
rubinknoepfel  [作者] 2018 年 2 月 13 日 上午 3:50 
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  [作者] 2018 年 2 月 7 日 下午 3:43 
I have removed the Private text. In addition, the script can now set font and alignment, too.
Uchee 2017 年 10 月 10 日 下午 10:08 
It looks like they might have removed the Private text... do you think that would make this script not work?
rubinknoepfel  [作者] 2016 年 10 月 1 日 上午 3:21 
This script doesn't work with images, sorry.
Gradius 2016 年 9 月 19 日 下午 12:01 
ey actually I got this working!! I had to hit the option on my second LCD panel that says "display public text". wohoO!