COE2 Building Presence

by Campkoala
COE2 Building Presence

Summary

Extra occupied houses and restrained civilians in COE2 and CPO Frontline AOs. Server JSON controls building counts, defenders and civilian chances; soldiers follow COE2’s house-defender pool.

Description

Adds extra occupied houses to COE2 AOs, with a chance of finding restrained civilians inside. Also works with the main AOs generated by CPO Frontline PvE.

FEATURES
- Requests 1-2 additional non-objective buildings per AO by default.
- Defenders start at supported indoor ROLE_SCOUT positions.
- Soldiers are drawn from the same enemy-faction small-group catalog used by normal COE2 house defenders, sampling its configured unit members individually to keep the addon AI cap predictable.
- Restrained civilians are optional. Default civilian_counts: [0, 1, 2] gives an equal chance of requesting zero, one or two civilians per occupied house. Repeated entries weight the result: [0, 0, 1, 2] makes zero more likely.
- Uses ACE Captives for restraints.
- Player-caused civilian deaths use CPO Frontline's existing public-support rules when Frontline support is enabled. No duplicate penalty or independent support system is added.
- Server-side spawning, bounded AI counts and normal AO cleanup.

SERVER CONFIGURATION
On the first generated AO, defaults are created at:
$profile:COE2BuildingPresence/config.json

Edit this separate JSON file on your server. It controls building count, defenders per building, total addon AI caps, civilian_counts, spacing and debug logging. Settings are read for each new AO; an existing AO is unchanged. Client-side JSON does not control spawns.

Example civilian settings:
"civilian_counts": [0, 1, 2]
"civilian_counts": [0, 0, 1, 2]
"civilian_counts": [2]

Use one civilian_counts setting in your JSON. An empty array or [0] disables prisoner requests. Counts are requests: unavailable floor space, unsupported buildings, disabled scenario civilians or exhausted AI caps can reduce actual spawns.

COMPATIBILITY
Requires COE2, Kex Scenario Core and ACE Captives Dev with their dependencies. CPO Frontline is optional. No RHS requirement; enemy and civilian choices follow the scenario's configured factions. No mission/world edits are required. This affects main COE2 AOs; it does not add population passes to Frontline's separate side missions, QRFs, counterattacks or ambient town garrisons. Released civilians remain subject to normal AO cleanup. No separate rescue task or delivery reward is added.

CREDITS
Kexanone - COE2 and Kex Scenario Core. Thank you for the dynamic AO framework, building-slot data and AI utilities.
JDripstein - CPO Frontline PvE and COE2 Persistent Ops PvE, including the existing public-support system.
acemod / ACE Anvil contributors - ACE Captives Dev and ACE Core Dev.
Bohemia Interactive - Arma Reforger and Enfusion.

This is an independent companion addon, not an official release or endorsement from the original creators. All credit for the original mods remains with their creators. The cover is an AI-generated illustration, not an in-game screenshot.

License

Arma Public License Share Alike (APL-SA)

Version
1.0.0
Game Version
1.8.0.13
Version size
7.79 KB
Created
24.10.2026
Last Modified
24.10.2026
ID
B8F3C9A26D147E50

Dependencies