Skip to content
SMUnlimited edited this page Sep 18, 2026 · 3 revisions

AMAI Manual

AMAI (Advanced Melee Artificial Intelligence) replaces Warcraft III's standard melee AI with a more adaptable opponent and ally. It adds dynamic strategies, personality profiles, improved army control, team coordination, chat, surrender behavior, and an optional Commander for human players.

This wiki documents AMAI 3.7.0 from the current source tree. The old HTML manual's Simple, Player, and Developer editions no longer correspond to separate downloads, so the documentation is now organized by task.

Start here

  • Installation — choose the correct scripts and install AMAI into one map, a directory of maps, or the game itself.
  • Commander — select a game mode and direct allied AMAI players.
  • Strategy Manager — edit strategies and personality profiles without editing tables by hand.
  • Tutorial — create, compile, install, and test a profile and strategy step by step.
  • Language and Translation — add a language and use advanced chat variables, conditions, and word forms.
  • Custom Content — teach AMAI about custom units, heroes, abilities, upgrades, and races.
  • Building from Source — compile normal and optimized AI scripts or build the Electron installer.
  • Troubleshooting — common map, permissions, compatibility, and performance problems.
  • Reference — detailed build API, blocking, harassment, conditions, controls, and source layout.
  • Credits — creators, contributors, translators, testers, and tools.

Supported Warcraft III versions

Script set Tech-tree target Supported game versions
REFORGED 3.0.0 3.0.0 and later
TFT 1.24–1.28 1.24 and later
ROC 1.24–1.28 1.24–1.31

The target is the version whose units and tech tree the scripts know. A more distant game version may produce inefficient build orders or prevent the AI from building. Warcraft III 1.29–1.31 is best avoided: those releases have known AI chat and hero-skill problems.

AMAI is intended for melee maps. A custom melee map should use the Melee (Latest Patch) game data set. It is not a general AI for tower-defense or other custom game types.

Project links

Clone this wiki locally