Difference between revisions of "Unit AI"

From Zero-K
Jump to navigation Jump to search
m
m (Use MW image format)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Unit AI''' is the gadget implementation of the old Auto Skirm and Auto Swarm widgets. It automatically micros your units to kite enemies and dodge their fire as appropriate.
+
'''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.
 
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.
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.
  
http://lh4.ggpht.com/_EUPLJBA3KD0/TRuRWszG6_I/AAAAAAAAAYQ/DpKOvGC56Qw/smartai.jpg
+
[[File:Unit AI GUI.jpg|600px]]
  
 
=== How it works ===
 
=== 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.<br>
+
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.
 
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.
  

Latest revision as of 22: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.