AI scripts direct how computer players attack human players.
AI scripts in StarCraft come in three varieties:
Melee, which assumes the computer will start with a town center and four workers. This script is aggressive. It tries to rush the opponent, preferring to attack new expansions. It won't make any massive attacks without a large advantage for forty minutes.
Insane, which makes no assumptions about what the computer will start with. This script is aggressive. It will always use its scripted rushes, regardless of what the player does, but will preferentially attack new expansions.
Campaign, which assumes the computer will start with a base and is relatively passive. It will generally not expand or build new structures, preferring only to rebuild. It will attack with periodic scripted forces within minutes, regardless of what the player does. The campaign AI is designed to lose while giving the player some fun.
The campaign comes with three levels of difficulty.
Some custom campaign scripts will follow different rules, such as expanding.
StarEdit gives access to more AI scripts, such as Send All Units on Random Suicide Missions, Send All Units on Strategic Suicide Missions, and Set Player to Rescue Passive, as well as giving units specific orders (e.g. enter the nearest bunker).
Six levels of AI script difficulty have been crafted for StarCraft II—very easy, easy, medium, hard, very hard and insane.
The Insane AI mode is the only one which "cheats".
An Insane AI's workers will gain 40% more income than normal workers. For example, normal workers will gather 5 mineral in each trip. An Insane AI worker will receive 7 minerals for each trip rather than 5. This is also true with the MULE and with vespene gas. With this increased income an Insane AI will be able to stay in one base play for an extensive amount of time. Also with this bonus it is said to be impossible to out-macro Insane AI's. Most players rely on "cheese" to win a game against an Insane AI.
- ↑ Blizzard Entertainment. Frequently Asked Questions: AI Scripts. Battle.net StarCraft Compendium. Accessed 2009-11-04.
- ↑ 2.0 2.1 StarEdit
- ↑ Blizzard Entertainment. StarCraft: Brood War. Vivendi Games. Mission: Fury of the Swarm (in English). 1998.
- ↑ Deep.Thought. 2009-08-18. StarCraft II Single Player Fact Sheet. StarCraft Wire. Accessed 2009-09-07.