Space Engineers

Space Engineers

28 ratings
Ratatosk LCD Mirroring over Laser Antenna (OBSOLETE)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
13.803 KB
12 Feb, 2016 @ 4:25pm
17 Mar, 2016 @ 5:26pm
8 Change Notes ( view )

Subscribe to download
Ratatosk LCD Mirroring over Laser Antenna (OBSOLETE)

Description
More recent version by another programmer: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1088254643

This will synch two LCD panels on two different ships using a laser antenna connection.

Works in vanilla or with mods, single or multiplayer, however you like it. Requires no coding or complicated setup.

On each ship, build:
A laser antenna
A programming block (and put Ratatosk inside)
An LCD screen
A timer block that calls itself and Ratatosk every second.

Connect the two laser antennas. If you are having a hard time with that, please figure out how to do it, the number one reason this doesn't work is because the laser antennas aren't connected. Don't worry: this survives disconnects and reconnects just fine, but it only works when it's connected.

Ratatosk will automatically use the nearest screen and laser antenna, if you have more than one.

For more details, see video or read code comments.

Example world: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=622691352

Works very well with MMaster's LCD mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=407158161
And this ultra-long-range antenna: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=405233525

Advanced:
Quick connect by docking a ship and sending "ConnectMe" to Ratatosk. This will automatically connect that Ratatosk's antenna to the nearest other antenna - presumably on the base. There, no need to copy-paste over and over.

Troubleshooting: Why can't I paste my antenna's coordinates?!
The way this works is by changing the CustomName of the antenna. However, the cut and paste includes that CustomName. So if your CustomName contains commas, periods, quotes, brackets, or other special characters, it may not understand that it's a valid antenna coordinate.

Change the antenna name to something short and punchy, like "WORK DAMMIT", and try again. If you're running MMaster's LCD and it keeps overwriting with new data, turn the timer block off until you've connected your antennas.

Once connected, this is not a problem.
27 Comments
Craig P  [author] 1 Jun, 2016 @ 7:08am 
If you have that mod, you don't really need Ratatosk: it does basically the same thing, but a million times better.
Animal 1 Jun, 2016 @ 5:54am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=694291628 this could be a game changer in combination with ratatosk
Craig P  [author] 30 Apr, 2016 @ 10:00am 
What do you mean? It's just text checked line by line.
Animal 30 Apr, 2016 @ 9:40am 
Cool, I'll keep notes and such on my changes.

Any chance I coudl get a breakdown on the packet structure?
Craig P  [author] 29 Apr, 2016 @ 7:42pm 
Well, you are free to make those changes if you like. I'm not sure how to make a null LCD, although it's possible to make the LCD only transmit or only receive with a little work.

I don't think it's a good idea for me to edit the fundamental layout of this script right now, because it's going to break before July due to updates to the core code base.
Animal 29 Apr, 2016 @ 5:08pm 
Question and small formatting request:

1) as counter intuitive as it might seem, would it be at all possible to have a null LCD? For instance If I merely wish to use the script as a garage door opener and am not interested in feed back from the other side. It may be simpler to just write my own packets in this case, But I figured it would be worth asking about, especially in the case of relays where one may wish to copy information directly between antenna names to cut out the middle man.

2) Since Ratatosk could be seen to a large extent to supercede Mimir in the respect that it is Mimir+ , would it be a terrible burden to increase userfriendliness by moving the CustomLogic() method back to the top with the extant custom logic called as a method itself, to keep it nice and clean?
Craig P  [author] 18 Apr, 2016 @ 5:49am 
That's the point. It only works through laser antennas.
ente_legent 18 Apr, 2016 @ 5:47am 
will it work throug a laser antenna system?
DaMightyMage 18 Mar, 2016 @ 11:46am 
Great script! Glad to see you haven't given up on SE entirely. =)
Craig P  [author] 20 Feb, 2016 @ 5:30pm 
Any laser antenna connection will let you remote to a ship, you don't need this script for that. :)