Skip to content
Mailaender edited this page Oct 10, 2012 · 8 revisions

This is an experiment in getting reasonable play out of the absolute minimum amount of machinery. That makes it almost exactly opposite to the abandoned Gecko AI project, which is a comprehensive scriptable AI. HackyAI shares a lot of ideas with the original RA bots. Everyone is welcome to contribute hacks to improve it, of course. Please join the HackyAI improvement and ideas discussion in the forums.

Basic behavior

  • Manage the building and defense queues, according to a list of buildings and their desired base proportions. Buildings are checked from the top of the list, and the first one for which the quota is not filled, is built.

  • Produce random units from a list: e1,e2,e3,1tnk,2tnk,3tnk. When there are >= 8 units hanging around the base, pick a human player and throw the units at them.

  • Build power plants whenever the excess power is < 20% or < 50.

  • Fixes invalidated rallypoints on its buildings, to prevent jamming.

  • Keeps track of aggro vs each human player (based on damage dealt), and attacks the one we hate the most.

Suggested improvements

  • Try to protect ore trucks

  • Have designer-defined squads of units, and pick a random squad to build, rather than building random individual units.

  • Place base defenses around the outside of the base, rather than in a cluster just above and to the left of the FACT.

  • Go for targets of opportunity, like undefended enemy harvesters.

  • Keep a force in reserve

  • Build walls

  • Don't abandon attack forces after ordering them to [attack-]move to an enemy base -- regroup them and attack again.

  • Build order and maximum building limit

Clone this wiki locally