Summary
AI Patrols for the conflict gamemode. Should work on any map with a working navmesh.
Description
1. MOB-Based Patrol Spawning (US, USSR, FIA)
MOB-only deployment: Patrols spawn from faction Main Operating Bases (command tent + optional SCR_SpawnPoint via MOBSpawnPointsEnabled) rather than random roadside pop-ins (GeneratedEnemyMOBEnabled, FriendlyMOBPatrolsEnabled).
Mainland & separation placement: FindEnemyMOBSite in BLKO_PatrolDirector.c places MOBs on safe roadside terrain on the mainland (IsOnMainland, rejecting small offshore islands) and enforces MOBSeparationDistance (1800m default) from other generated MOBs, initialized Conflict bases, and existing faction spawn points.
Per-faction toggles & caps: USEnabled, USSR_Enabled, FIA_Enabled, plus per-faction and total active patrol limits (MaxPatrols, MaxUSPatrols, MaxUSSRPatrols, MaxFIAPatrols).
2. Clearable MOBs & Dynamic Sector Capture (Insurgency / PvP)
Clearable MOBs (ClearableEnemyMOBsEnabled, default true): Hostile living players can clear a MOB by eliminating defenders within 60m (EnemyMOBClearRadius) and holding for 10s (EnemyMOBClearHoldTime), or by destroying its command tent (IsMOBTentDestroyed), with on-screen SCR_HintManagerComponent status hints.
Multi-sector progression (EnemyMOBMaxClearsPerFaction, default 3): Cleared MOB sites are recorded in m_ClearedMOBSites so the losing faction cannot respawn in sectors you already cleared. Remaining enemy cells relocate to other uncleared mainland sectors until all N MOBs are cleared, eliminating that faction's spawns for the rest of the match.
Dynamic sector capture (DynamicMOBCaptureEnabled, default true): When a player clears a MOB, their faction immediately establishes its own forward MOB (tent + spawn point) at that location and deploys patrols from it (PickActiveMOBForFaction). In PvP, opposing players can raid and recapture those forward MOBs back.
3. Patrol Behavior, Tactics & Interdiction
Foot & motorized patrols: Supports VehicleChance, FootPatrolsWalk, road corridors mixed with terrain-validated off-road legs (OffRoadPatrolsEnabled), periodic SecurityHaltsEnabled, and JunctionScansEnabled.
AO Waypoints (AOWaypointEnabled): Directs a configurable share of patrols (AOPatrolRatio) to transit to, loiter at, or pendulum around a Game Master-marked Area of Operations.
Contact Tactics (ContactTacticsEnabled): HoldLineOnContact, tactical maneuvering, and FallBackOnHeavyLosses.
Vehicle Interdiction (VehicleInterdictionEnabled): Three-jeep convoys that detect, pursue, and tactically box in visible hostile vehicles.
4. Conflict Mode & Base Garrison Automation
Automated Base Garrison Patrols (BaseGarrisonPatrolsEnabled, default true): Periodically scans initialized friendly Conflict bases for idle, non-player AI groups with no active waypoints and assigns them a terrain-validated perimeter patrol loop (BuildBasePerimeterRoute, MaxBaseGarrisonPatrolsPerBase = 2) without ever despawning or deleting those squads.
Territory Patrols (TerritoryPatrolsEnabled): Dispatches patrols from Conflict bases.
Supply Runs & Roadblocks (SupplyRunsEnabled, RoadblocksEnabled): Escorted supply convoys between Conflict HQs and bases, plus fortified roadblocks with optional AT mines (RoadblockMinesEnabled).
5. Game Master, Persistence & Stability
Live GM configuration: Exposed under Game Master attributes (BLKO_PatrolGMAttributes.c, Edit.conf) and persisted to $profile:BLKO_Patrols/settings.json via BLKO_PatrolSettingsStore.c.
AI Core & vanilla guards: Coordinates squad ownership through BLKO_SquadOwnership (lending roaming squads to higher-priority modules like CQB) and guards against vanilla SCR_AIGetDefendWaypointParameters and SCR_AISwitchMagazine exceptions in BLKO_PatrolWaypointGuards.c.
License
Arma Public License (APL)