Space Engineers

Space Engineers

82 ratings
Remote LCD Network Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
8.202 KB
28 Apr, 2017 @ 5:20pm
3 Jun, 2017 @ 5:46pm
9 Change Notes ( view )

Subscribe to download
Remote LCD Network Script

Description
This script takes LCD from a transmitting ship and paste it onto a LCD on a receiving ship. This allows compatibility with every script that uses LCDs with no effort on the part of other scripters. It is used for broadcasting station or drone status onto a remote bridge many kilometers away to the safety of a bunker. Drones could transmit its status to a full-sized bridge built on a station. Remote mining stations could have inventory summary’s transmitted to a master hub. A network could be setup to provide server wide bulletin boards. This script sends everything about the lcd (Font, Font Size, text) so the user won't have to set lcds up twice. The possibilities are endless!



Update 5/3/17
-Laser antenna relay is now built in. See the relayTo field. This only effects people who want relays of multiple laser antennas.

Update 5/1/17
-Fixed laser antenna support. See useLaser field.

Setup:
1. Place a programming block on both ships.
2. Tag all displays you want to transmit to others [SEND: group name]. Group name could be anything. Spaces are ignored.
3. Tag all displays you want to receive from others [RCV: group name]. Use the same group name as the LCD you want to receive from on the other ship.
4. Go into the antenna the assign this programming block to the antenna to receive transmittions.
5. Make sure you own both ships. If not, change the broadcastMode field. (See bellow)
6. (Optional) Tag a display [LCD_RELAY] to get status updates
7. Set up timers to run this script once every second or more on both ships. (Run Program -> Start)

Run "rescan" to refresh tags and reset.

You can make the script listen to specific ships broadcast by changing the recieveFromGrid field to the name of the transmitter ship.

The broadcast modes are:
MyTransmitTarget.Owned: Your ship
MyTransmitTarget.Ally: Your factions ship
MyTransmitTarget.Neutral: Neutral peoples ship
MyTransmitTarget.Enemy: Your enemys ship
You can combine modes by adding | between each option. For example: MyTransmitTarget.Owned | MyTransmitTarget.Ally | MyTransmitTarget.Neutral

Remember to set useLaser to true if you are using laser antennas.

Note: This works with radio antenna relays but for laser antennas relays you will need to place one of this block on each relay, two if the transmission go both ways. Set the relayTo field to the name of the laser antenna to pass the message to. Assign this block to the laser antenna you receive message from. Do not make a loop with this. That break things.

Recommanded scripts to transmit:
MMaster's ALCD 2
Floor Plan Script
TIM
Whips artificial horizon

Also, on a compact drone, you can use small blocks for the LCDs so you don't take any space for extra screens.
42 Comments
[PBSr] Oxygen-Di-Hydrogen 20 May, 2020 @ 7:58am 
This is the Script FIX

https://steamproxy.net/sharedfiles/filedetails/?id=2103044968

Works perfectly again! for both Antenna and Laser Antenna. Does not require timer block to run.
and no need to call rescan either :D.
Have Fun! :)
anrew10 11 Sep, 2019 @ 3:33pm 
this looks perfect for what i need, using floorplan script to display damage on custom turrets
avaness 16 Apr, 2019 @ 5:45am 
I recently finished a replacement for this script: https://steamproxy.net/sharedfiles/filedetails/?id=1713856644
Foundation 28 Mar, 2019 @ 3:27am 
i used this script a long time ago, but gave up cause of so many bugs... do you plan on fixing some of the stuff and update it ? I really love this... its sooo usefull indeed... please do it... please update it ?!
Sky 17 Mar, 2019 @ 11:46pm 
Extremely useful script. However has a few errors since latest release. Please Please Please update this script.
SMooreAce 11 Mar, 2019 @ 9:36am 
Yes... doesn't seem to work, or I'm making a mistake somewhere. Bot PBs say they are sending data on the 3 groups I'm trying to relay. The receiving end isn't getting any data.
Choppa 8 Mar, 2019 @ 1:35am 
will this be updated please?
Don Lorenzo 19 Nov, 2018 @ 11:31am 
i solved this, in some PB command "Start" is important in timer block to run sth, but here Start is just a "command" to start a timer block with defoult i solve this, in some PB command "Start" is important in timer block to run sth, but here Start is just a "command" to start a timer block with default command @Dark Legionnarie helped me :)

KingSuligol 19 Nov, 2018 @ 9:30am 
@DonLorenzo use cockpit or remote for exec PB with "rescan" as argument ;)
same confusion
Legionnaire 12 Nov, 2018 @ 5:46pm 
for anyone was having any issues. I made a short tutorial video. it is on my steam profile in the comment section. hope this helps.