Space Engineers

Space Engineers

Not enough ratings
Target Sharing v1
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
388.183 KB
23 Apr, 2021 @ 5:29pm
1 Change Note ( view )

Subscribe to download
Target Sharing v1

Description
Weaponcore target sharing script for starcore tournaments

A simple script that will make all of your teammates target the same target as you
Also displays some useful target info on a screen such as grid name and velocity.

Warning script will turn off broadcast on all antennas and turns it on only long enough to transmit a target change command. I can make this optional thru custom data in v2. Other scripts that use antennas thus will not work correctly with this script unless those scripts also turn broadcast on whenever they need to transmit.


How to Setup
Required min components on ship to not crash the script (*I was lazy*)
LCD, Antenna

Requires Custom data on 4 lines as follows

<Tag name redirects> //name of tag for IGC antenna broadcast to work, also argument name to command the PB to redirect the teams targets to yours.

<Argument name enable/disble> //argument for enabling disabling the ability for external target redirects to happen

<Name of display for data> //name of the display for feedback, PB will crash without a display named this

<True> <False> //to clear screen on each update, used for allowing multiple of my scripts to display to the same screen and only have 1 of them clear it on each update cycle. **Future Feature. Reduces LCD spam while keeping scripts separable.

How to Use
When you have a target locked, using the weapon core hud. Give the same argument as the 1st line of custom data to the PBs run argument and run. Suggested to use your cockpits hotbar for this.

Any ship running the same script and custom data in their PB in broadcast range of your antennas will have their weapon core hud target changed to yours.

The second custom data line is the argument to disable this feature in case you don't want your teammates to change your target at a critical moment.


Example Custom Data

Target Redirect
O/F Target Redirect
Target Data LCD
True
2 Comments
Nocare  [author] 14 May, 2022 @ 12:02am 
Sorry for slow reply. I didn't see the post.
The scrip is outdated slightly. Invalid has an updated version that works.
Maj Meh 5 Apr, 2022 @ 5:37pm 
Hey boss, i have weaponcore enabled, weaponcore weapons on my ship, script constantly says weaponcore api failing? are you getting the same result?