Space Engineers

Space Engineers

72 个评价
Turret Status Reporter
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
516.656 KB
2018 年 8 月 1 日 上午 2:16
2021 年 6 月 8 日 上午 12:44
24 项改动说明 ( 查看 )

订阅以下载
Turret Status Reporter

描述
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 条留言
Remaarn  [作者] 2022 年 12 月 5 日 上午 3:55 
@Dr.potato The instructions above should tell you what you need to do. I can't spend much time on this presently.
Dr.Potato 2022 年 12 月 5 日 上午 3:36 
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  [作者] 2022 年 3 月 4 日 上午 8:51 
@Klous Yes
Klous 2022 年 3 月 4 日 上午 8:45 
It also only track one turret per remote grid?
Remaarn  [作者] 2022 年 3 月 4 日 上午 8:35 
@Klous Correct. It was made with a specific purpose in mind and so it only has a limited set of features.
Klous 2022 年 3 月 4 日 上午 8:24 
It doesn't track any of the base's turrets just the remote ones?
iwangling 2021 年 6 月 8 日 下午 9:05 
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  [作者] 2021 年 6 月 8 日 上午 12:42 
@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 2021 年 6 月 7 日 下午 11:41 
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 2021 年 5 月 31 日 上午 10:03 
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.