Part

Tactical layer

You might say: tactical AI, battle AI, squad AI, micro

The middle-horizon part that turns strategic intent into positions, targets and coordinated actions for groups in contact.

What it does
Makes a plan work in the current terrain and fight, while feeding new evidence back to the strategic layer.
Ask
Where should this group stand and act so the current plan gains advantage without throwing away the force?

What to look for

  1. Groups form fronts or roles instead of moving as loose individuals
  2. Targets and positions change as the fight develops
  3. A retreat or flank order propagates across several units

Parts

Pattern

Hierarchical control

Sources

  1. Santiago Ontañón et al., A Survey of Real-Time Strategy Game AI Research and Competition in StarCraft, Section III, p. 4We consider tactics to be everything related to confrontations between groups of units. Tactical reasoning involves both spatial (exploiting the terrain) and temporal (army movements) reasoning, constrained on the possible types of attacks by the army composition of the player and their opponent.
  2. Glen Robertson and Ian Watson, A Review of Real-Time Strategy Game AI, Section 1.1, p. 2Groups of units can be manoeuvred into advantageous positions on the map to surround or escape the enemy, and individual units can be controlled to attack a weak enemy unit or avoid an incoming attack.

Use it on your project

teardown-apply: hold "Tactical layer" (tactical-layer) from the teardown at https://teardownatlas.com/game-ai/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal