Space Engineers

Space Engineers

42 ratings
IntergridMessaging
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
177.350 KB
29 Dec, 2022 @ 9:11pm
30 Dec, 2022 @ 11:10am
4 Change Notes ( view )

Subscribe to download
IntergridMessaging

Description

Provides terminal-style text communication between allied grids.

Honestly, this doesn't do anything that faction chat can't do. However, this does allow you to have chat capability while the HUD is hidden so it feels a little more immersive.

S E T U P
1. Add the [XMT] tag to the custom name of any LCD.
2. Add the [RCV] tag to the custom name of any LCD.
3. All PBs running this code must be set to Share with Faction.

U S A G E
NOTE: You can only communicate with faction members.
SENDING MESSAGES
1. Click on the [XMT] tagged LCD and type your message.
2. Wait a few seconds.
3. When the message is sent, it will be cleared from the display and appear on the [RCV] tagged LCDs.

RECEIVING MESSAGES
1. When messages arrive, they are automatically displayed on the [RCV] tagged LCDs.

CHANGING "CHANNELS"
1. To send a message, you must set the broadcast channel.
2. In the [XMT] tagged LCD, type Channel: L337
3. Channel name can include any character, e.g., L337, ABC-123, !@#$
4. Anyone* within antenna range, that is also set to the same channel, will receive any message you type.
* Anyone in your faction, with this code running on a PB set to Share with Faction.

5. There is a timeout for channels. The default is 10 minutes. Set to 0 to disable the timeout.
6. If you do not send a message within this window, the channel will be disabled, preventing you from sending another message on the channel. To resume transmission on the same channel, you must set the channel again.

C U S T O M I Z A T I O N
1. The CustomData field of the programmable block provides customization options.
2. This includes the send and receive LCD tags, as well as the channel timeout.
17 Comments
Patrick  [author] 19 Mar @ 8:57am 
It should. Although I didn't test with them.
Tename 10 Mar @ 2:20pm 
Does this function with laser antennas?
Patrick  [author] 16 Jul, 2023 @ 2:15pm 
Zellnagi, yes this still works, why wouldn't it? You should go to the Discord if you want to request a completely new feature.

@RealDeadGamer85, it is possible, but that it outside the scope of the design. This is for communications between grids, not for remote activation of blocks on other grids. If you are interested in that, there are a few existing scripts that will do that.
Zellnagi 16 Jul, 2023 @ 1:04pm 
Does this still work and can you make a spooky version, like you are on a haunted ship?
RealDeadGamer85 25 Apr, 2023 @ 7:14am 
Hi, is it possible to adapt this script to trigger a timer block on another grid? I can think of so many applications where this could be useful, especially since the automatons update and am struggling to write a functional script.
kinngrimm 10 Mar, 2023 @ 4:35am 
many thanks for the response, the user in me was rather hoping to not get involved into programming or long configurations *sigh* nothing comes from nothing i guess.
Patrick  [author] 9 Mar, 2023 @ 8:56pm 
The LCD content is sync'd and persists, but the connections are not. You could disable the timeout, but each recipient would still need to set the appropriate channel after a reboot. There is no way around that when using a PB script.

A work around would be to have a second PB block that writes the "channel" command to the transmit LCD every 10 minutes or so. Then when the server reboots, that PB block would write the channel command, and this PB code would automatically read it and connect. So I suppose you could do it that way.
kinngrimm 9 Mar, 2023 @ 6:08pm 
Is this persistant accross server reboots? Could this be used as a message board i guess is the question. Giving directions/advice /request to faction members currently not available.
Patrick  [author] 9 Jan, 2023 @ 8:07pm 
No worries at all! :)
Lunatricky 9 Jan, 2023 @ 7:34pm 
Oh my... Thank's and sorry about that!
Awesome script you got here thank you for sharing!