Difference between revisions of "Unit AI"

From Zero-K
Jump to navigation Jump to search
(New image; text tweaks)
m (Use MW image format)
 
Line 5: Line 5:
 
You can toggle the Unit AI for selected units with the lightbulb button.
 
You can toggle the Unit AI for selected units with the lightbulb button.
  
<img src="http://zero-k.info/mediawiki/images/c/c0/Unit_AI_GUI.jpg" width="600px"/>
+
[[File:Unit AI GUI.jpg|600px]]
  
 
=== How it works ===
 
=== How it works ===

Latest revision as of 23:04, 10 April 2018

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

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.