Unit AI

From Zero-K
Jump to navigation Jump to search

Unit AI automatically micromanages your units to kite enemies and dodge their fire as appropriate.

To use, simply give your units an Attack Move order. Upon encountering an enemy, they will take the appropriate action(s). Idle units on Maneuver or Roam will also be controlled by the Unit AI.

You can toggle the Unit AI for selected units with the lightbulb button.

Unit AI GUI.jpg

How it works[edit]

When a unit encounters an enemy whose fire it can jink (a swarmiee), it will automatically move in a zigzag pattern to close in, then (depending on its range) circle strafe the target to continue avoiding its fire.

When a unit encounters an enemy that could hurt it if they get too close (a skirmiee), it will automatically kite the target, moving away while remaining in weapons range.

In both cases, the enemies a unit will skirm or swarm depends on the weapons range of both parties. Additionally, units will not bother attempting to evade the fire of enemies with guided or instant-hit weapons.

Some cowardly units will also automatically flee from all armed enemies they see.