Space Engineers

Space Engineers

25 ratings
LCD Remote Mirroring
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.461 KB
15 Apr, 2019 @ 3:51pm
17 Feb, 2020 @ 7:32pm
2 Change Notes ( view )

Subscribe to download
LCD Remote Mirroring

Description
This script allows you to mirror the text of any LCD to any other LCD using the antenna network. This script will sync the following features:
  • Text
  • Text size
  • Text color
  • Text padding
  • Font
  • Text alignment
  • Background color

Configuration
The configuration of this script is very simple. All of the configuration goes into the CustomData of the programmable block. Each line specifies an LCD that the script will interact with. If spaces are needed in any of the arguments, surround the argument in quotes. After you edit the configuration, you should recompile the script to make the changes appear.

<name> : The tag used to identify broadcasts
<block> : The name of the block
[surface] : (Optional) For cases where the block has more than one lcd, you must specify the name of the surface as it appears in the list.

send <name> <block> [surface] : Specifies an lcd to broadcast
rcv <name> <block> [surface] : Specifies an lcd to receive broadcasts from a send command


Example
send info "LCD Panel"
rcv "more info" LCD2
rcv drone "Programmable block" "Large Display"
Popular Discussions View All (1)
0
5 Feb, 2023 @ 12:16pm
Trouble setting it up? Read this!
Jack Schitt
28 Comments
Kalom 26 Oct, 2023 @ 6:37am 
Great script. The only thing missing is that I would very much like to be able to stop a receiving screen from mirroring the font size from the Custom Data line.

Use case: when trying to mirror a normal LCD inside my industrial cockpit, the LCDs have a different shape, and I'm missing a few lines.

I have been able in this case to edit the script and comment the font size mirroring altogether on my ship, but I'd love to be able to do it on a per-screen basis.
avaness  [author] 14 Jul, 2022 @ 8:14am 
You need a send command and a receive command. Can you list them please
KampKounslr 14 Jul, 2022 @ 6:55am 
I'm having a helluva time getting the script to recognize an LCD on the receiver... I put [REPRISE.MirrorLCD] at the end of the PB's name for the tag (which is how it's set inside the script on the PB), set a transparent LCD's name to "ARISE.LCD.REPRISE Status" (no quotes) & made sure it's on, put rcv REPRISE_Info "ARISE.LCD.REPRISE Status" into the custom data of the receiver PB, and recompiled. It still says no panels active :\ Oddly enough, where it says "No panels active", it says it was last updated 10 mins ago; I have edited the code, checked code, recompiled, turned on/off the PB, and no matter what it won't show that it just updated. Wondering if I need to destroy/reconstruct the PB...?
KampKounslr 13 Jul, 2022 @ 7:34am 
@BeatU4Klondike A little late, but to answer: You can absolutely change the update frequency on each PB! If you edit the script in your PB, at the very top Avaness included instructions on how to do so.
KampKounslr 13 Jul, 2022 @ 7:29am 
@Boobies I know this is a little late, but yes! There's an example of doing so above, just with rcv. So for your PB sending it's info, instead you would do (as an example): send drone "Programmable block" "Large Display"
Boobies 12 May, 2022 @ 2:09pm 
Hmm, can you send data from a programmable block's large display to a specific LCD?
Leo 10 Apr, 2022 @ 3:32am 
Liking the script. Wasn't hard for me to setup.
I have a question. I'm curious if users of the script can control the remote mirroring update frequency. I'm concerned about packet bandwidth usage through the Antenna blocks broadcast system.
Having it lower would be nice for conservation and performance reasons. A lot of my LCD info I want to remotely mirror doesn't need to have a high frequency update rate on the receiving side.
For example, even though a drone with a PB and a LCD (source LCD to mirror) updates several times a second, I only need to see the drones source LCD text new/updated info only every 4 to 8 seconds at my main base receiving LCD.
Mr.Unknown 20 Dec, 2021 @ 9:24pm 
Doesnt seem to work, it says sending and receiving, yet the text isnt copied :(
MrFox 28 Sep, 2021 @ 6:37pm 
Laser anta?
Paul 18 Sep, 2021 @ 12:05pm 
I feel pretty dumb since no one else seems to be having this problem, but after subscribing to this what/where is this script located?