Space Engineers

Space Engineers

72 ratings
Turret Status Reporter
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
516.656 KB
1 Aug, 2018 @ 2:16am
8 Jun, 2021 @ 12:44am
24 Change Notes ( view )

Subscribe to download
Turret Status Reporter

Description
Uses antenna messaging to report the status of remote turret outposts back to a central LCD.

Featured in Splitsies survival series #74

NOTE: This script is currently not under active development however I will still fix it if any game update breaks it again.

Info
Turret report information includes:
- Assigned turret name
- Turret enabled
- Turret health / operational status
- Ammo amount
- Time of last engagement
- Last known position

Also included is a remote timer triggering function.

Instructions
The script works in two parts:
- The Turret part that monitors a turret outpost and broadcasts regular reports through an antenna.
- The Base part that receives reports from the turret outposts and displays the information on a central LCD.

Turret outposts must be individual grids, each one must have the following:
- One turret block
- A program block to run the script configured in turret mode
- An antenna to send the information to the base script

When installing the script in a Base program block be sure to set the IsTurret setting in the script to false. Make sure broadcasting is enabled for the antenna on the Base grid. To specify an LCD block on which to display the information add "[Turret Status]" without the quotes to the name of the LCD block. You may the need to set the content type of the LCD to "Text and images".

The program blocks will update on their own, they do not need to be triggered by a timer.
Notes about other configuration settings are written in the script as well as additional program functions and their arguments.
NOTE: When using long update periods turret engagement time may be updated frequently
enough leading to inaccurate times displayed.

This script does not display info of turrets connected to the grid of the main/base program block.

Notes / Known Issues
- Pausing the game may cause the turrets to timeout. They should refresh after a while once the game is un-paused again.
84 Comments
Remaarn  [author] 5 Dec, 2022 @ 3:55am 
@Dr.potato The instructions above should tell you what you need to do. I can't spend much time on this presently.
Dr.Potato 5 Dec, 2022 @ 3:36am 
just found this and i got a simple question, how do i set the program on a base to act as a receiver instead of trying to broadcast info itself?
Remaarn  [author] 4 Mar, 2022 @ 8:51am 
@Klous Yes
Klous 4 Mar, 2022 @ 8:45am 
It also only track one turret per remote grid?
Remaarn  [author] 4 Mar, 2022 @ 8:35am 
@Klous Correct. It was made with a specific purpose in mind and so it only has a limited set of features.
Klous 4 Mar, 2022 @ 8:24am 
It doesn't track any of the base's turrets just the remote ones?
iwangling 8 Jun, 2021 @ 9:05pm 
Ok, I didn't know you can change it. And that's strange because the other 2 turrets do not turn off the broadcast. But thank you for your prompt reply. I'm glad you are still doing something with the script. And Thanks for your help.
Remaarn  [author] 8 Jun, 2021 @ 12:42am 
@iwangling Is it the antenna on the base or the turret that keeps turning broadcasting off? If it is the one on the turret then that is a feature of the turret program that can help to reduce the amount of signals on the HUD. It will turn the broadcasting on briefly when sending a report then turn it off again. However whether it turns broadcasting back off is determined by whether it was enabled or not when either the world was loaded or the script was recompiled.
I have just published a new version with a minor addition. If you update the code in the turret program block you can now use the command 'togglebroadcast' (without the quotes) to change the behaviour of the broadcast toggle. I hope this helps you out.
iwangling 7 Jun, 2021 @ 11:41pm 
Got Problem, Script Keep Turns Off Broadcast in Antenna? Is there any reason for that? Nan 3 Tyrrets. And it only does one of them.
09Klr650 31 May, 2021 @ 10:03am 
Hm. Is there a version of this that will do similar reporting for turrets on the same grid? Without antenna/etc. It would be useful for base status monitoring. Thanks.