BGC_Dynamic - Dynamic Enemy AI

by Ludo310
BGC_Dynamic - Dynamic Enemy AI

Summary

Adds a dynamic enemy AI layer to any scenario: garrisons, mobile patrols, vehicles, convoys and helicopters around bases, cities, towns and villages. Standalone, dedicated servers.

Description

# BGC Dynamic - Enemy AI

**Bring an existing scenario to life.** BGC Dynamic adds enemy AI to the map you already play: garrisons, patrols and armed vehicles around every capturable base, city, town and village, plus random enemy convoys and helicopters.

Run by the server, made for multiplayer on dedicated servers. Standalone: no dependency other than the base game. Part of the Battlegroup Command family, works with or without BGC_Core.

**Version 1.2.0.** Please read the known limitations below.

## How it works

**Enemy faction, found automatically**
- A faction that players cannot play and that is hostile to all playable factions (FIA in Conflict). Otherwise a faction without HQ hostile to the factions that have one.
- Or set it in the server config. Modded factions are read from their catalogues.

**Points held by the enemy**
- Capturable bases (not HQs, not player bases) and the cities, towns and villages of the map.
- Each locality belongs to the side of its nearest base, checked every minute: a base taken by the players frees its sector, a base retaken by the enemy repopulates it.
- No point within 800 m of a player base.

**On each point**
- One group defends the centre, other garrison groups walk rounds in the locality.
- Patrols walk loops of varied size; one in three goes to a nearby enemy point and back.
- Vehicles, armed or not, parked empty or crewed; crewed vehicles also roam the enemy territory.
- Density from 1 (3 to 10 AI per point) to 10 (30 to 50 AI per point). Scaled by the size of the locality (its buildings): big towns get more, hamlets less.

**Random enemy events**
- Enemy convoys between enemy bases, enemy helicopters (take off from the ground with an enemy crew) over enemy points. 2 to 4 running.
- Shown to every player on the map as an approximate sector (red dotted circle), with a message when a new one starts.
- Vehicles and soldiers appear only when a player gets close. Ended events are cleaned up after 5 minutes when no player is near.

**Light on the server**
- The population is planned once at start, then created gradually.
- Soldiers only exist near players (900 m). Further away, groups sleep, keep their survivors and keep moving along their route.
- No endless respawn. Wrecks of the mod are removed when no player is near.
- The mod only ever deletes what it created. Scenario and other mods' AI are never touched.

## Admin commands

In chat after `#login`, or through RCON:
- `#bgcd status`: AI, groups and vehicles by side, enemy AI not created by the mod.
- `#bgcd clean <all|enemy|allied|mod> [all|ai|vehicles]`: clean up the server. Never deletes a player, a vehicle with a player inside, or a group containing a player.

## Server settings

File `$profile:BGC_Dynamic/config.json` on the server, created with default values at first start. Main settings:
- `General.Enabled`, `General.StartDelaySec` (30 s).
- `Faction.EnemyFaction` (empty = auto), `Faction.GroupPrefabs`, `Faction.VehiclePrefabs`.
- `Population.Density` (1 to 10, default 5), `VehiclesPerPoint`, `RoamingVehicles`, `GarrisonShare`, `LongPatrolChance`.
- `Population.MaxGroups` (400), `SpawnDistanceM` (900), `DespawnDistanceM` (1100).
- `Events.Enabled`, `MinActive` (2), `MaxActive` (4), `ConvoyEnabled`, `HeliEnabled`, `HeliPrefabs`.
- `Debug.Mode`: `prod` (default) or `dev`. Dev shows every AI on the map: **never on a public server.**
- `Diagnostics.LogProfile`: `test` or `prod` (warnings only).

Changes are read at the next mission start.

## Compatibility

- No vanilla file replaced, no config override.
- Works alongside Battlegroup Command (BGC_Core): its AI command tools can be used against the enemies of BGC Dynamic.
- Any map with bases and/or named localities. A map without them gives few or no points.

## Known limitations

- Game save (Reforger 1.8 persistence): the mod's AI are excluded from the save, but this has not been checked on a server restart yet. If enemies seem to pile up after restarts, use `#bgcd status` and `#bgcd clean mod`, and please report it.
- A convoy vehicle can now and then stay without a driver. FIA have no helicopter: one from another faction is used (or set `Events.HeliPrefabs`).
- No player count scaling yet: the density is fixed by the config.
- Tested on Everon with Conflict only.

## Install

- Server: add `{ "modId": "73D641ACD1F29101", "name": "BGC_Dynamic - Enemy AI" }` to `game.mods`.
- Scenario or mod depending on it: add `73D641ACD1F29101` to the dependencies of your project.

---

**Français** : ajoute une IA ennemie dynamique à un scénario existant (garnisons, patrouilles mobiles et véhicules autour des bases et localités, territoire suivi en cours de partie, convois et hélicoptères ennemis aléatoires affichés sur la carte). Faction ennemie détectée seule, densité réglable de 1 à 10, soldats seulement près des joueurs, commandes admin `#bgcd`. Version 1.2.0, autonome, serveur dédié.

License

Arma Public License (APL)

Rating
89%
Version
1.2.0
Game Version
1.9.0.37
Version size
232.11 KB
Downloads
904
Created
17.10.2026
Last Modified
11.11.2026
ID
73D641ACD1F29101