Summary
KoopkyCQB’s clear, garrison and attack AI for Dynamic AI Zones, plus a hearing fix: AI hear gunshots (150 m, 35 m suppressed) and react to rounds passing within 10 m. Replaces KoopkyCQB.
Description
TRGB - KoopkyCQB DAZ Compatibility
This mod brings the building AI from KoopkyCQB to Dynamic AI Zones and adds a hearing fix on top. DAZ garrisons use it to fill buildings with guards who spread through the rooms, hold the interior and fight smart at close range.
What’s included
KoopkyCQB, unchanged: Clear Building, Garrison Building and Attack orders, available as Game Master waypoints and in the radial command menu, plus the custom CQB combat AI and building interior plans. All of KoopkyCQB’s settings work as before ($profile:KoopkyCQB).
AI hearing fix (new): every AI soldier now notices enemy fire around him, whether he was placed in the world, spawned by Dynamic AI Zones or spawned by another mod:
Unsuppressed shots: heard within 150 m
Suppressed shots: heard within 35 m
Rounds passing nearby: noticed within 10 m, whether they whizz past him or land near him. This works even when he can’t hear the shot itself, such as a suppressed round from far away. Rounds that would hit a wall or the ground first don’t count.
When AI notice fire, they go on alert and turn toward the shooter. Their normal AI then searches, takes cover or returns fire. Soldiers don’t need to have seen the shooter first.
No more deaf soldiers: soldiers that had stopped reacting to unseen gunfire after a building order ended now respond to real fire.
Server settings
Edit $profile:TRGB_AIHearing/settings.json to change these settings. The file is created the first time the server starts.
UnsuppressedRange: how far unsuppressed shots are heard (default 150 m)
SuppressedRange: how far suppressed shots are heard (default 35 m)
FlybyRange: how close a passing round must be to be noticed (default 10 m)
FlybyMaxDistance: how far along a shot’s path passing rounds are checked (default 800 m)
ImpactRange: how close a landing round must be to be noticed (default 10 m)
Debug: logs what each shot triggered (default off)
Important
This mod replaces KoopkyCQB. Don’t load both at the same time, or the game won’t start.
Required by Dynamic AI Zones.
Credits
KoopkyCQB by camo1018: all of the clear, garrison and attack orders, the CQB combat AI and the building interior system. The original mod’s scripting is on GitHub: https://github.com/camo1018/KoopkyCQB
Gunshot, impact and muzzle handling adapted from KoopkyCQB.
Hearing fix and Dynamic AI Zones integration by WickedWabbit (TRGB).
Licence
Arma Public License (APL), the same as the original KoopkyCQB.
Questions, bugs or suggestions? Join us on Discord: https://www.TRGB.Link/Discord
License
Arma Public License (APL)