Summary
Takes the server load out of RMWS without changing what pilots are warned about, and lets server operators limit its search radius.
Description
For RMWS - Radar and Missile Warning System by CHATTERBOX 9-8. RMWS searched a 6 km sphere around every aircraft with a running engine, five times a second, and walked an ever-growing list of rejected entities on each search. With several helicopters running, servers FPS would degraded gradually and freeze in bursts.
This patch keeps RMWS's detection and warnings unchanged, but:
- searches only around helicopters with a player aboard, once per scan for all of them;
- leaves bullets and cannon shells alone (they raised false warnings), and keeps rejected entities in a map that costs the same however long the session runs;
- lets server operators set the maximum search radius ($profile:RMWS/SearchRadius.json, 6 km by default) and caps players' radar zoom at it.
Needs RMWS 1.0.0 on server and clients.
License
Arma Public License (APL)