Space Engineers

Space Engineers

Not enough ratings
X - TurretMonitor
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
69.580 KB
17 Aug, 2019 @ 3:23am
9 Nov, 2020 @ 1:19pm
7 Change Notes ( view )

Subscribe to download
X - TurretMonitor

Description
Turret report information includes
  • Assigned turret name
  • Turret enabled
  • Turret health / operational status
  • Ammo amount and reserve Ammo amount
  • Battery Level (in kWh and %) and if it get charge (+/-)
  • Time of last engagement
  • Last known position


Instructions
The script works in two parts:
  • A Turret version that is gathers information about a turret outpost and broadcasts a report through its antenna.
  • A Base version that receives turret reports and displays them on an LCD.
Turret outposts must be individual grids that have a turret, a program block with the script and an antenna.
When installing the script at your Base program block be sure to set the IsTurret setting in the script to false, and put "[X-TM:setup]" in CustomData of at least one LCD's. Make sure broadcasting is enabled for the antenna on the Base grid. The program blocks will update on their own, they do not need to be triggered by a timer.
The turret program blocks can update on their own (set autoupdate in CustomData), or can 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 is a approved forged Version of Remaar's Turret Status Reporter Script
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1461246721

Main changes
  • 1.196 ready,
  • use of IGC and new TextPanel functions,
  • Script performance incresed up to 300% for Turrets and 800% for LCD Updates
  • support multiple LCDs, but dropped support for scrolling
    - put "[X-TM:setup]" in CustomData of LCDs to get default Config for these LCD
    - Recompile script to scan for new or changed LCD settings
  • Config is now stored in CustomData of programable Block (easy to edit and to keep config over script updates)
    - use Recompile to parse config again after edit
  • 3 Timers can be configured to be triggerd if a Turret got "engaged / warning / alert" state since last update
  • Baseping is less frequent by default (30sec), auto update (or timer ) on turret should be more frequent (5sec)
    the turret auto update (or timer) is needet for the script to detect if turret is engaing an enemy,
    script will check if turret is shouting during an update, so if update periots are to long it may will not get the engaging
  • Battery Status (MWh/kWh stored, Charglevel in % and +/- to show if it get charged)
  • support all type of turrets and ammo (but still only one type per remote grid)
  • reserve Ammo in containers or connectors
  • support to start/stop/trigger/set timer on turret gird
  • support to run programable Blocks on turret with argument
  • support to set broadcastrange of turret antenna
  • support to toggle blocks when turret gets toggeld on/off (may be usefull for lights)
    - if there are lights within these blocks, they can be used to flash if turret is out of ammo or to damaged to operate

Notes
  • Pausing the game may cause the turrets to timeout. They should refresh after a while once the game is un-paused again.

TODO List
  • support more than one Turret or even AI-Slave Weapons on remote grid
    (only monitor, no AI-Slave Script will be included)
10 Comments
Dots 4 Jul, 2024 @ 1:09am 
is there a video on how to use this or set it up?
Jet 2 Apr, 2021 @ 8:35am 
ok sorry i just saw this now
Xaver  [author] 1 Apr, 2021 @ 10:57am 
@Jet: pls add me in Steam, I can take a look at it (via steam or discord).
I just check it on a single player world, it is working
Jet 31 Mar, 2021 @ 3:47pm 
I cant seem to get this working on a dedicated server or my own single player world because it is not detecting the turrets.
Splitsie 19 Jul, 2020 @ 8:33pm 
Nice, glad to see this get another lease on life :)
Xaver  [author] 19 Jul, 2020 @ 2:38pm 
@sebitor: Thnx, hope you could use it.
A good source of information is the in-game programming channel on the keen discord server
and the MDK Wiki https://github.com/malware-dev/MDK-SE/wiki/Api-Index
as Turrets I use a modified version of Splitsie SandBags https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1411965553
mr_sebitor (twitch) 19 Jul, 2020 @ 1:53pm 
good script, where i can learn this power?
Xaver  [author] 22 Sep, 2019 @ 4:04am 
@Kahn I'm on vacation till the end of the month. As far as I remember it should work with same grid as well, but only for the first turret it will found, others will be ignored.
If interested in this kind of feature, I will take a look at it. Main problem is how to squeeze all the information in one display in readable way.
KhanTheMad 11 Sep, 2019 @ 11:36am 
does this version work for reporting info of turret on the same grid
Xaver  [author] 17 Aug, 2019 @ 3:41am 
Modified Version of Remaar's Turret Status Reporter Scripts
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1461246721