How to use DCO_AI
Load the mod and every AI in your scenario already fights better — no setup needed. This guide covers the rest: commanding AI as a player, running an AI commander, garrisoning towns, and every setting worth touching, with its default value.
Getting started
DCO_AI replaces how vanilla AI thinks. Any AI already placed in a scenario picks up the new behaviour — you don't rebuild missions or place special units.
- Subscribe to DCO_AI Reforger on the Arma Reforger Workshop.
- Enable it as a mod for your scenario, or add it to your server's mod list.
- Load any scenario with AI.Soldiers now suppress, dodge, fight from cover, share contacts and react as a group.
Pick your seat
Five minutes to two AI sides fighting
All of this is done inside Game Master — no Workbench needed.
- Place an AI Commander for each AI side.Set its Faction Key and a short Commander UID, and pick a mode. Without a faction it refuses every group.
- Place two or more AI Commander Objectives.Name, radius (a town 100–150 m, a farm 40–60 m) and Controlled By for whoever starts with it. Leave that empty for neutral.
- Place AI groups near their side and set each group's Commander.A group without one still fights with DCO behaviour, it just never gets orders. A spawner does this step for you.
- Optional: a Spawner per side, a Logistics Hub, and a mortar team.A mortar plus a group of up to 4 whose leader stands within 40 m of it becomes a mortar crew by itself, once it has a commander.
- Press F2 for DCO Settings and load a preset.Recommended to start; Players Defend or Players Attack for coop.
- Unpause.The commander thinks for the first time after about a minute, then every 30 s.
For players
You talk to the AI commander through the same group command menu you already use to order your own squad. Aim at a position or an enemy, open the menu and pick a DCO command. Everything you send goes to the commander of your faction, which decides what to do with it.
Reporting what you see
Contact reports are how the commander learns about the enemy. It reacts to reports from its own units and from players — an unreported enemy might as well not exist.
| Command | Reports |
|---|---|
| Report team | About 4 infantry at the marked spot |
| Report squad | About 8 infantry |
| Report platoon | About 24 infantry |
| Report vehicle | A vehicle contact |
| Report armor | An armored contact, flagged as an anti-armor threat |
Asking for support
| Request | What the commander does |
|---|---|
| Suppress | Puts fire on the marked position so you can move |
| Support | Links a nearby element to your squad to support your fight |
| Flank left / right | Sends an element around the side you picked |
| Armor | Requests armored support at the marked position |
| Transport | Sends a transport to pick you up — accept the ride when it arrives |
| Extract | Pulls your element out of the area |
| MEDEVAC | Sends a casualty evacuation |
Taking a role
You can also volunteer your squad for a job: assault, fix (hold the enemy in place), block or recon — or ask the commander to give you a different task. The commander sends tasks back to you with a proper task marker and a radio call.
Every standing order can be called off: cancel fire support, cancel the support element, cancel transport, or cancel everything at once.
Calling fire missions v0.4.142
Mark a target, pick the shell type and how many rounds you want. The commander has to approve it, and may approve fewer rounds than you asked for.
| Type | Rounds | Notes |
|---|---|---|
| HE | 1, 3, 5, 8 | Needs an observed target — an unobserved area is refused |
| Smoke | 1, 3, 5 | Falls back to a rough area mission if nobody has eyes on |
| Illumination | 1, 2, 3 | Same area fallback; useful before a night assault |
Why a mission gets cut or refused
| Reason | What happens |
|---|---|
| No observation | HE is refused; smoke and illumination drop to an imprecise area mission |
| Friendlies near the target | HE is refused outright |
| Not enough tubes | Rounds cut to the number of guns available |
| Queue busy | Cut to about half of what you asked for |
| Cautious commander | HE capped at 5 rounds |
| Danger close | HE capped at 3 rounds when you're near the impact area |
After an approved mission your group is on cooldown: about 30s + 10s per round for smoke and illumination, and 60s + 20s per round for HE. So eight rounds of HE lock your group out for roughly three and a half minutes. Fire is corrected between salvos, so a longer mission lands more accurately than a single round.
Your HUD
DCO adds its own tab in the game settings. Every setting there is yours alone and does not affect other players.
What the mission decides for you
Four settings are not yours — they are in the DCO Global Players category, so a Game Master or mission maker sets them for everyone.
| Setting | Default | Effect |
|---|---|---|
| AI map overlay | Linked only | Off, only squads linked to you or sharing your objective, or everything. |
| Overlay radius | — | How far out friendly AI appear on your map. |
| Operation radio radius | 800 m | Friendly AI this close broadcast their radio traffic to you. |
| Artillery warning radius | 400 m | You get a warning if shells are about to land this close. |
In Game Master
Game Master reaches DCO through three places: the content browser for the entities you place, the command mode for DCO's own waypoints, and the DCO Settings window, which holds 936 settings across 16 folders. Everything you change there is live — it applies to the running session at once.
What you can place
Edit mode, content browser, filter by the DCO addon.
| Entity | Use |
|---|---|
| AI Commander | The brain of one side. One per AI faction. Set its Faction Key and a short Commander UID — without a faction it rejects every group. |
| AI Commander Objective | An area the commanders fight over. Give it a name, a radius (a town 100–150 m, a farm 40–60 m) and Controlled By for the side that starts with it. Leave that empty for a neutral objective. |
| AI Commander Spawner | Brings reinforcements to a commander, on a timer, an objective event, a manpower threshold or on the commander's own request. |
| AI Commander Logistics Hub | Where transport, casualties and resupply gather. Optional — without one the commander uses an objective of its own. |
Setting up a commander
Place it anywhere — position does not matter, it is a brain, not a unit. Select it and open DCO Settings.
| Row | Set it to | What happens if you don't |
|---|---|---|
| Faction | Required | It rejects every group and the start-up check logs faction=EMPTY. This is the single most common reason a commander does nothing. |
| Name | Required | A short unique UID like Viking. Empty, duplicated, or containing ; or | and DCO renames it to <FACTION>-N. Spawners and objectives refer to commanders by this name. |
| Commander Mode | Balanced | Offensive only attacks, Defensive only defends, Balanced assigns defenders first and attacks with the rest. It never changes on its own. |
| The six personality sliders | 0.5 | Aggression, Adaptability, Risk Taking, Resilience, Patience, Combat Focus. Leave them until the mission runs, then adjust what annoys you. |
| Preset: Load / Save As | Optional | Save a commander you like and reuse it in the next mission. |
Setting up an objective
Place it on what the fight is about — a town centre, a crossroads, a depot. The ring is drawn in the world so you can see the capture area.
| Row | Set it to | Why |
|---|---|---|
| Name | Required | Max 32 characters. It shows up in overlays, logs and briefings — an unnamed objective is miserable to debug. |
| Radius | 30 m | Towns 100–150 m, a farm or crossroads 40–60 m. Units inside count toward control. |
| Controlled By | Neutral | Who starts with it, at full control. Leave neutral and both sides race for it. |
| Base Value & Strategic Value | 50, Moderate | How badly commanders want it. High multiplies the base value by 1.67, Low halves it. |
| Handled By | All Commanders | Which commanders may plan it at all. Only Checked and All Except Checked use the Commanders list below it. |
| Max Attack Groups / Defend Groups | 4 / 2 | How much force a commander commits here. |
handled_by=nobody.Beyond the basics, an objective can also be a Type other than Capture — Defend, Hold until, Destroy or Recon, each with its own time limit and fail condition — and can sit in a Phase so it only opens once earlier objectives have fallen. Both phases and attack/defend roles are on by default.
Spawners and logistics
Place it behind your side's line. It builds groups near itself and hands them to a commander.
- Pick a Preset — that fills in the trigger for you.One-shot, Counterattack wave, Steady top-up, Commander on call, or Custom.
- Set Target Commander and Faction.Weakest of faction is the default, or name a commander. Empty faction means all.
- Leave the force pool empty unless you want specific groups.Empty means random groups from that faction's catalogue. Commander Chooses lets it pick AT against armour, recon for unclear contacts, motorized for distant objectives.
- Decide where the men come from with Take From Stock.None, men, or points from the commander's Reinforcement Stock. −1 is unlimited.
spawner_idle line every two minutes says why a ready spawner is holding.The logistics hub
Optional, but transport, MEDEVAC, extraction and resupply all gather here. It has one row of its own — Hub Faction, where Auto means the nearest commander.
Using the two waypoints
- Switch to command mode and select the group.These are not in the content browser — they appear in the waypoint list, next to Move and Defend.
- Place Garrison (DCO) on the building or position to hold, or Do CQB (DCO) within 25 m of the building to clear.
- Its settings dialog opens by itself.The waypoint waits up to 60 s while you set it up, so take your time.
Waypoints, in command mode
Select a group, then pick from the waypoint list. These two are not in the content browser.
| Waypoint | Default | What the group does |
|---|---|---|
| Garrison (DCO) | Defend | Occupies buildings around the point and fights from windows. With no building it takes field fighting positions; as a last resort it defends like the vanilla Defend waypoint. |
| Do CQB (DCO) | 25 m | Clears the building nearest the waypoint, room by room, within that search radius. Two attempts before it gives up. |
Right-click actions
| Action | On |
|---|---|
| DCO Settings | The current selection — opens the window scoped to it. |
| Hold Position / Unhold Position | A group, to pin it where it stands. |
| Save as group preset | An AI group, to reuse its composition in a spawner. |
| Spawn now / Spawn anyway | A spawner. Anyway skips the 300 m safe radius once, but never the faction AI cap. |
| Turn spawner on/off | A spawner. |
The DCO Settings window
Open it with F2, the DCO Settings toolbar button, or the right-click action on a selection. What it shows depends on what you have selected.
| Target | Settings | Reached by |
|---|---|---|
| Global | 534 | Open it with nothing selected. Applies to the whole session. |
| Commander | 256 | Select an AI Commander. |
| Group | 44 | Select an AI group. |
| Character | 21 | Select a single soldier. |
| Waypoint | 81 | Select a DCO waypoint or an objective. |
Three view modes decide how much you see: Simple (a handful of rows with plain levels), Advanced, and Expert (everything, debug switches included). A blue Beta tag marks a setting still being tested — type beta in the search box to list them all.
Global folders
534 settings, open with nothing selected. The count after each category is how many rows it holds.
| Folder | Settings | What's inside |
|---|---|---|
| System world-wide | 29 | World-wide DCO switches: AI skill base, simulation detail, profiling and census. DCO Global: System 15 · DCO Global: Skill 14 |
| Individual | 296 | How each soldier fights and reacts, before squad or unit overrides. DCO Global: Combat 73 · DCO Global: Reaction 75 · DCO Global: Cover & Dodge 22 · DCO Global: Hearing & Investigation 16 · DCO Global: CQB & Buildings 48 · DCO Global: Night 8 · DCO Global: Medic 9 · DCO Global: Specialists & Rearm 16 · DCO Global: Vehicles 29 |
| Squad | 87 | Squad drills, idle behaviour and contact sharing between squads. DCO Global: Squad Drills & Movement 35 · DCO Global: Idle & Civilians 11 · DCO Global: Contact Sharing 41 |
| Players world-wide | 8 | World-wide player awareness: map overlay, operation radio and artillery warnings. DCO Global: Players 8 |
| Commander | 70 | Defaults for every AI commander: contact reports, stock, spawner cap, re-evaluation. DCO Global: Commander 70 |
| Group presets world-wide | 1 | Saved groups the spawners can use: this server, your PC and the built-in presets. DCO Global: Group presets 1 |
| Doctrine | 43 | How commanders plan attacks, defend and call support. Pick a faction to set its doctrine (US, USSR and FIA start from their built-in doctrine; other factions follow the Global base). Commanders inherit the doctrine of their faction. DCO Doctrine: Battle plan 6 · DCO Doctrine: Defensive plan 5 · DCO Doctrine: Support and numbers 14 · DCO Doctrine: Force sizes 18 |
Commander folders
256 settings, with an AI Commander selected.
| Folder | Settings | What's inside |
|---|---|---|
| General | 40 | Commander identity, mode, player orders and presets. DCO Commander: General 7 · DCO Commander: Player Orders 11 · DCO Commander: Rules of Engagement 22 |
| Doctrine | 33 | The doctrine of this commander (inherited from its faction until changed) and its own personality. DCO Commander: Doctrine 16 · DCO Commander: Personality 17 |
| Attack | 70 | How this commander attacks: allowed tactics, reserves and threat response. DCO Commander: Attack 45 · DCO Commander: Threat Response 25 |
| Defense | 34 | How this commander defends: ambushes, observation posts, patrols and counterattacks. DCO Commander: Defense & Recon 34 |
| Support | 51 | Artillery and logistics for this commander. DCO Commander: Artillery 28 · DCO Commander: Logistics 23 |
| Force | 28 | Reinforcement spawner linked to this commander. DCO Commander: Spawner 28 |
Group, unit and waypoint folders
146 settings, with a group, a single soldier, a waypoint or an objective selected.
| Folder | Settings | What's inside |
|---|---|---|
| Squad | 44 | Settings of this group and what its commander may ask of it. DCO Squad: Behavior 32 · DCO Squad: Commander Permissions 12 |
| Unit | 21 | Settings of this soldier. DCO Unit: General 2 · DCO Unit: Skill 10 · DCO Unit: Reaction 9 |
| Waypoint | 81 | Garrison and assault building waypoints, commander objective settings. DCO Waypoint 27 · DCO Waypoint: Garrison Release 6 · DCO Objective 48 |
Watching it work
| Tool | Shows |
|---|---|
| Hover a group | Its task, posture, threat and morale, and who its leader is. |
| Hover a soldier | Personality, skill and leadership. |
| Intent overlay — Ctrl + I | The commander's plan on the map or in the world view: objectives with owner and confidence, its focus and why, believed enemy positions, group lines coloured by role, and a side card with its last six decisions. Enable it first under Global › Performance & Debug; it is Game Master only, never shown to players. |
| Setup checks | About 20 s in, DCO checks the scene and tells every Game Master online if something is wrong — a commander with no faction or UID, an objective nobody handles, a missing navmesh. Details land in dco.log as setup_check lines. |
What Game Master still does not reach
Two things, and that is the whole list. Everything else on this page is in the window — including the sector counts, staging distances, patrol standoff and first-think delay that used to be prefab-only.
| Setting | Default | Why it matters |
|---|---|---|
| Commander think interval | 30 s | The main decision cycle and the biggest commander cost. Not the Think Interval under Commander: Threat Response — that one is threat evaluation and defaults to 45 s. The shipped US_Commander.et raises the real one to 150 s, so a Workbench mission is already slower than the script default. |
| Key defend positions | 2 | How many groups go to evaluated key positions rather than defending loosely. |
gmSaveConfig: gm, admin or off — admin by default), save a settings preset, or set the value in the Workbench.In the Workbench
Everything the Game Master does live, a mission maker can bake into the scenario instead — so the mission ships with its own AI settings and nobody has to touch a slider at runtime.
That is its own walkthrough: eleven steps from an empty project to a scenario in the list, with the prefab paths, the fields worth setting and the two mistakes that cost the most time.
Building a mission, step by step
Four missions, each one adding a layer to the one before it. The values below are the ones the shipped example missions actually use, so you can follow along or just copy them.
1. The smallest mission that works
Two commanders, three objectives, four squads. Nothing else. If this runs, your setup is sound and everything later is an addition.
- Place one CommanderManager.Workbench only — the Game Master commander brings its own.
- Place two commanders and name them.The example uses Viking (US) and Volga (USSR). Faction and name are the two rows you cannot skip.
- Place three objectives and decide who starts with each.A village held by Volga, a farm left neutral in the middle, a crossroads held by Viking. The neutral one in the middle is what makes them meet.
- Place two squads per side, near their own commander.Workbench: tick Auto Assign and set Dedicated Co to that commander's name. Game Master: set the group's Commander attribute.
- Unpause and press Ctrl + I to watch the plan.
What a healthy start looks like
| Time | What you should see |
|---|---|
| T+7 s | Every squad has joined its commander. If one hasn't, its Auto Assign is off or its faction doesn't match. |
| T+20 s | The start-up check runs. setup_check_done warn=0 means the scene is fine; anything else names the problem. |
| T+30 s | Objectives that failed the first navmesh test are re-checked, for tiles that hadn't loaded yet. |
| T+65 s | The first orders go out. Before this the commander is simply waiting out its first-think delay — it is not broken. |
2. Give it a way to end
The first mission runs forever. An operation and a win condition turn it into something with a shape.
- On the objective you want the fight to be about, turn on Operation Primary.The commander then plans the whole operation around it instead of treating all three as separate jobs.
- Tick the other two under Linked Secondaries.Or leave that empty and let Secondary Radius (600 m) pick up whatever is nearby.
- Add DCO_VictoryComponent and turn on Hold All Primary.It works on any entity, so you can put it on a spare one and leave the game mode untouched.
The commander now attacks in order rather than all at once — in the example, checkpoint first, then the secondary, then the primary. The log shows op_plan with the primary named, and victory_init confirming which rules are live.
3. Defenders in buildings, attackers with reserves
Now the two sides stop being symmetrical.
- Give the defender a squad with a Garrison (DCO) waypoint on the objective.In the Workbench this goes under the group's Static Waypoints. The squad scans the village and takes window positions.
- Give the attacking commander a Reinforcement Stock — the example uses 60 men.That is the pool the spawner draws from, and what the defender has to bleed dry.
- Place a spawner behind the attacker's line, preset Commander on call.Target that commander by name, Take From Stock = Men, and a force pool of a rifle squad (weight 2) and a fire team (weight 1).
- Lower the spawner's Safe Radius if your map is tight.The example uses 150 m instead of the default 300 m, and a 60 s cooldown.
spawner_trigger_none.4. The full template
Everything above plus logistics. Naming your layers in build order keeps a mission readable six months later — this is the layout the development examples use.
| Layer | Contains |
|---|---|
| 01_Commanders | The manager, plus Viking (US) and Volga (USSR) with 60 stock each. |
| 02_Objectives | Primary with its two linked secondaries — all three held by the defender at start. |
| 03_Groups | Defender: a garrison squad and one free squad. Attacker: two rifle squads and three fire teams. All on Auto Assign. |
| 04_Spawner_Logistics | Attacker on Commander on call, defender on Steady top-up, and a logistics hub per side. |
| 05_Victory | Hold All Primary and Enemy Stock Empty together — the attacker wins by taking the primary, the defender by bleeding the attacker dry. |
When it doesn't work
Almost every first-mission problem is one of these.
| Symptom | Cause | Fix |
|---|---|---|
| Commander does nothing at all | No CommanderManager in a Workbench mission. | Place one, or use the Game Master prefabs which bring their own. |
| Nothing happens for the first minute | Normal. First think delay, then the think interval — and the shipped commander prefab uses 150 s. | Lower both for a small test mission. |
| Groups never join | Auto Assign off, or the commander's faction is empty or different. | Tick Auto Assign, set the faction. Look for faction=EMPTY. |
| A side doesn't start with its objectives | Initial owner left empty. | Set Controlled By (Workbench: Initial Owner Commander UID). |
| An objective never changes hands | No commander is planning it, or Allowed Factions excludes the attacker. | Check Handled By and the objective's base value. |
| AI doesn't move at all | No navmesh, or the objective sits off it. | Generate the soldier navmesh. Watch for navmesh=none. |
| Do CQB ends immediately | No building within 25 m, no outside door or rooms on the navmesh, or fewer than two men. | Move the waypoint, raise the target radius, use a bigger group. |
| Spawner never spawns | A player or enemy inside the safe radius, the faction AI cap, an empty stock, or the cooldown. | Check spawner_defer, or right-click › Spawn anyway. |
| A config value does nothing | A typo in the key, or the old default still sitting in the file. | Check the key reference; delete the key to take the new default. |
setup_check lines and tells every Game Master online if something is wrong. It catches the missing faction, the missing UID, the objective nobody handles and the missing navmesh — which between them cover most of the table above.Every setting
The commander's own settings, the behaviour reference, squad and unit values, garrison and CQB, and the tuned set-ups that combine them all live on the reference page — together with a search box over all 1,205 settings and API symbols.
For server owners
Server settings live in a folder of JSON files in the profile folder, so you can tune DCO without opening the editor or repacking anything.
The config folder v0.4.144
This is the short version. Every key, with its shipped value and range, plus ready-to-copy templates, is on the server config page.
- Start the server once with DCO_AI loaded.It writes
$profile:DCO/Config/—Core.json,Soldiers.json,Squads.json,Commander.json,Vehicles.json, plusAdvanced/andFactions/. - Edit the values you care about and restart.
- After a mod update that adds settings, the old file is copied to
.bakand only the missing keys are appended — your values are preserved.
Reading the file can be switched off entirely, in which case the editor values are used as-is. Radio lines and default UI settings have their own files (DCO_Radio.json, DCO_UI.json).
DCO_GlobalConfig.json is split into the folder automatically on first start, every value kept, and renamed to .migrated.bak. Full key reference and ready-made templates: server config.Performance
| Lever | Default | Effect |
|---|---|---|
| LOD mode Dev | On | Commander-owned groups simulate at reduced detail when nothing is watching. Groups without a commander always stay vanilla. |
| Commander think interval Workbench | 30 s | The single biggest commander cost. 45–60 s is much cheaper and barely noticeable. Set on the commander prefab: it is in neither the Settings window nor the server config. The shipped US_Commander.et already uses 150 s. |
| Contact report scan | 15 s, 3 per scan | Lower frequency and fewer reports reduce chatter and work. |
| Faction AI cap | 0 (unlimited) | Caps how much the Commander Spawner may field. |
| Terrain cache Dev | On | Terrain sampled once and reused instead of re-scanned per decision. |
Benchmarking
The benchmark logger writes run files into a folder in your profile, named with a prefix you choose so you can compare scenarios.
| Line | Interval | Contains |
|---|---|---|
| TICK | 10 s | FPS, live AI per faction, commander and objective state |
| Group dump | 30 s | Per-group detail; 0 disables it |
| UNIT | With group dump | Each member's position, stance and current action |
| VEH | With group dump | Every vehicle AI has used: damage, crew, speed |
| Events | As they happen | Fire requests, medic dispatches and their outcomes |
Profiling can be enabled separately to log time spent per DCO subsystem, queries and raycasts per second, and frame spikes. Attach these files when reporting a performance problem on Discord.
Troubleshooting
| Symptom | Check |
|---|---|
| Commander does nothing | Groups must be assigned to it in their attributes, and it waits 60 s before the first cycle, then thinks every 30 s. |
| Commander dropdown shows only "None" | No commander exists for that faction yet, or the roster hasn't replicated to this machine. Place a commander of the same faction as the group. |
| Global slider changed nothing | Globals are copied into each unit when it spawns. Change the per-unit attribute, or respawn the AI. |
| Game Master changes gone after restart | Expected — Game Master edits last for that session only. Set them on the components in the Workbench to keep them. |
| Workbench attribute has no effect | Check it's on the entity that actually runs: globals belong on the game mode, squad values on the SCR_AIGroup. A server JSON config also overrides them at startup. |
| Fire mission refused | HE needs an observed target and no friendlies nearby. Report the contact from closer, or use smoke or illumination. |
| Fire mission gave fewer rounds | Tubes busy, queue loaded, a cautious commander, or danger close. The radio call names the reason. |
| My requests are ignored | Your group may be on fire-mission cooldown, or reliability may be low after abandoning tasks. |
| AI shoots from absurd ranges | Lower the squad's engagement distances — the default allows 2500 m against infantry. |
| Squads won't enter buildings | Check CQB is enabled and that another group hasn't already claimed the building, unless sharing is on. |
| Server JSON edits ignored | Config file reading can be disabled in the editor; confirm it's on and the path matches. |
| Feature from the roadmap missing | If it's marked Dev build it isn't in the public Workshop version yet. |
Still stuck?
Ask on Discord — bug reports, mission-maker questions and server tuning all welcome.