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
- Groups form fronts or roles instead of moving as loose individuals
- Targets and positions change as the fight develops
- A retreat or flank order propagates across several units
Parts
- Influence map: A spatial grid whose cells accumulate values such as strength, danger, reach or interest from agents and the environment.
- Position evaluation: A process that generates candidate locations, rejects invalid ones and scores the survivors for the current behaviour.
- Target selection: The process of choosing which enemy, point or objective a unit should affect next.
- Squad coordination: The shared structure that assigns roles and synchronises units so a group can suppress, cover, flank, advance or search together.
- Retreat: A threshold or policy that disengages a unit or group when continuing the fight costs more than preserving the force.
Pattern
Sources
- Santiago Ontañón et al., A Survey of Real-Time Strategy Game AI Research and Competition in StarCraft, Section III, p. 4
We 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.
- Glen Robertson and Ian Watson, A Review of Real-Time Strategy Game AI, Section 1.1, p. 2
Groups 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