EN
07 / AI

The Soldier AI: Why the Bots Behave the Way They Do

The developer says old AI algorithms are fighting new mechanics. What the bots actually do today, what is known to be broken, and what 0.0.6 is being rebuilt around.

Wide view of the DummyWar EasternBattle map showing wrecked trucks, tank traps and many fallen soldiers
DummyWar gameplay image · AI
The short version
  • Old AI code conflicts with newer mechanics — that is the known cause.
  • Give one clear order and use cover and trenches.
  • Keep squads small; every soldier costs physics and AI time.

In a sandbox where the AI is the opponent, bot behaviour is not background noise — it is the game. The developer has now explained, in the 0.0.6 devlog, why that behaviour is erratic, and it is not a mystery: the AI was written for an earlier version of the game.

Version: the AI explanation and the rework plan come from the 0.0.6 devlog, which describes work that has not shipped yet. The behaviour described below is what the released builds do. The build embedded on this site identifies as 0.0.4.

The documented reason the bots misbehave

The developer’s explanation is unusually direct. DummyWar’s artificial intelligence was originally developed for different gameplay mechanics and game modes. As the project evolved, new features, behavioural systems, physical interactions and additional functionality were introduced. The older AI algorithms do not always interact correctly with these newer systems, so parts of the outdated code began conflicting with modern mechanics. The result ranges from incorrect character behaviour to poor decision-making.

That is a useful thing to know, because it tells you what you are looking at when a bot does something absurd. It is not a difficulty setting. It is an old system meeting a new one.

What the AI already does well

None of this means the bots are props. The documented behaviour is substantial:

  • They engage enemies, search for cover, react to incoming fire and try to recover their balance after being hit.
  • They treat their own wounds when it is safe to do so, and seriously wounded soldiers call for a medic and wait for one.
  • They resupply on their own when they run out of bandages, rockets or grenades.
  • They drive vehicles: ferrying infantry from the base to capture points, dropping them off out of enemy sight and providing covering fire on the way. They steer around obstacles, free themselves when stuck, and will even flip an overturned vehicle back onto its wheels.
  • In Capture the Flag, the 0.0.5 update made them use cover and trenches more actively instead of simply crossing open terrain.

Known limits you can observe yourself

  • Sight depends on the map. The developer states that view distance depends on the map: on Dead Ground, soldiers spot and engage enemies at longer ranges than in the city. On the open map you also get haze and grass, which makes an enemy harder to see, especially one who is crouched or lying down.
  • Long-range aim is slow. At long range bots take longer to aim and miss more often.
  • Drones change their behaviour. When bots spot a diving drone they try to get out of its path, fire from the hip, or crouch and cover their heads. Soldiers shoot at drones without any aim assist, and a group of them usually manages to bring down about one drone in five.
  • They are not precise with vehicles either. A wounded passenger can lose their grip and fall out of a moving vehicle, and a driver who is hit may jerk the wheel.

What 0.0.6 is being rebuilt around

The developer lists the areas of focus for the rework:

  • fixing character behaviour during combat;
  • improving how bots interact with their surroundings;
  • eliminating conflicts between older and newer systems;
  • improving AI decision-making;
  • fixing numerous issues in the capture point game mode.

He is also clear that the work will not end with a single update. AI is described as one of the game’s fundamental systems, and the stated aim is that bots do more than execute predefined actions — that they react to battlefield events more consistently and make better decisions depending on the situation.

How to fight the AI you have now

Working with the current bots is a matter of giving them situations they handle well and avoiding the ones they handle badly.

  • Give one clear order. The order wheel (Q) offers attack a point, defend it, follow me, hold position, resupply, and cancel. A bot with a single job does that job; a bot with no job improvises.
  • Use cover and trenches. The 0.0.5 AI actively uses them, and cover is also the only protection against a drone that is looking for someone in the open.
  • Keep squads small. Every soldier is a full physics body running continuous PhysX calculations, and every bot is also running AI calculations. More soldiers means more load, fewer frames and sloppier behaviour from both sides.
  • Watch one round before you intervene. Bot behaviour varies run to run. Two runs of the same setup tell you more than one run of a setup you changed.
  • Expect the objective to break first. The developer names the capture point mode as a source of issues. If your scenario hinges on a point being held, verify the point before you build the rest of the plan on it.

Read Commander Orders for the order wheel in detail, Capture the Flag for the objective the AI is being rebuilt around, and Performance and Settings for why soldier count is an AI decision as much as a frame-rate one.