Space Engineers

Space Engineers

Not enough ratings
CAT Net Laser Data Transfer
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
5.167 KB
7 Mar, 2015 @ 12:03am
22 Sep, 2016 @ 8:29pm
4 Change Notes ( view )

Subscribe to download
CAT Net Laser Data Transfer

Description
This script has been heavily revised and may not be compatable with older versions.

The scipt allows strings to be passed along Laser Antennae networks which alows for scrpts on one ship acting on events on another ship.
this allows things such as triggering an alarm in your main base when someone enters your other base, or approaches a relay. Alternativly you can just broadcast that a sight is active to get an idea of where people are.
Laser network systems also allow for covert survalance of distant sights but that is not the intent of these scripts.

The script has Loop prevention, duplicate message filtering and periodicly resets individual Antennae to clear errors.
It also makes use of my now typical Prefix filtering to allow the scripts to run on a ship while it is docked to another without causing issues. This can be disabled by setting SHIP_PREFIX to null.
You can optionaly send a custom message by creating an LCD/Text panel with the tag OUTGOING_TAG. this allows you to send a custom message as desired without the need to edit the script.
Recieved messages wil be displayed on LCD/Text panels tagged with the LCD_DISPLAY_TAG variable
Only antennae with the LASER_ANTENNA_TAG in their name will be used for recieving/transmission

/*
* Cats makes the best programmers!
* Laser Relay Script
* Use a ship with 2 or more laser antennae to keep in touch with far flung outposts without the need to actualy go there.
* Transfer data from one location to another and allow scripts to act upon that data imediatly.
* For example, set up your second base with a sensor. have the sensor status appended to the name of a laser antenna pointed at a relay. the relay can then forward that message on to your main base where the alarms go off! The distance between the two locations can be up to twice the range of the laser antenna
* Please note: a value is null if value=null; _Not_ if value="null";
*
* SHIP_PREFIX sets the block name prefix (only blocks with the right prefix will be effected by the script or set null to disable filtering)
* LCD_DISPLAY_TAG The keyword that identifies panels to be used for display (null uses all panels)
*
* LASER_ANTENNA_TAG Identifies the Antennae to use for sending/receiving
* SOUND_BLOCK the sound block to trigger when there is a new message (null disables)
* OUTGOING_TAG The Tag identifying the LCD that's public title is the outgoing message (null disables)
*
* USER_SENSOR The Sensor that tells when a friend is near (null disables)
* FOE_SENSOR The sensor that tells when an enemy is near (null disables)
*
* MAX_JUMPS the maximum number of jumps data can make before it expires
*
* LCD_DISPLAY_FONT_COL Sets the colour of the text on LCD panels
* LCD_DISPLAY_COLOUR = Sets the colour of the Background on LCD panels
* LCD_FONT_SIZE Sets the Size of the text on LCD panels
*
*/

Ships/Stations built to make use of this so far:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=403863288
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=403884711
Popular Discussions View All (1)
10
13 Feb, 2016 @ 10:05am
Support Thread
Loues.S.Cat
30 Comments
Loues.S.Cat  [author] 11 Nov, 2019 @ 9:29am 
It isn't needed any more.
There is a dedicated communications interface for scripts.
🍁BuzzedBear🍁 11 Nov, 2019 @ 9:10am 
Are you still supporting this script? Is it still working? Does it work on DS?
shiva chirr 17 Apr, 2016 @ 7:40pm 
im wondering if this script can do what i think it can cant realy tell so lets say i have a laser annenta setup but it gets block by lets say it was going around a planet but i have another laser com setup for it to connect to kinda like a laser com sat net so thing maintain connecting will this script auto reconnect to what it can see or if laser antannes are marked
Rusted Droid 19 Feb, 2016 @ 3:18am 
Can you DO Script that Checks sensors at remote positions via Laser Antenas and execute event if one of sensor is triggered?
MrFox 25 Dec, 2015 @ 10:23am 
Posted in the Support Thread
MrFox 23 Dec, 2015 @ 12:12am 
@ Loues, can u have more then one LCD? like on my main base id liek to read the stats of my Sats (Online offline) then have an LCD for the incomming messages?
(DEMCorp)Lieutenant Cl. Dutton 11 Oct, 2015 @ 11:28pm 
perfect :) i havent had much time to play space engineers but i would love to mess with this script when i get a chance
Loues.S.Cat  [author] 10 Oct, 2015 @ 3:57am 
Yup. Still works. Needs so polish... a lot of polish, and I finaly have the time to look at it.
Loues.S.Cat  [author] 10 Oct, 2015 @ 3:35am 
No idea. I'll test it now and fix it if it isn't.
(DEMCorp)Lieutenant Cl. Dutton 9 Oct, 2015 @ 8:09pm 
Curious to know if this script is still functional as of v1.103