Before I start about AI scripting, check this out:
http://www.horatiodawn.tk/SC_AI/downloadpage/index.htmlSo, about AI scripting
It all started with Entropy, Racine and Rama:
http://www.entropyzero.org/BroodwarAI.htmlgetting together and creating a very challenging AI. They also created a successor Insane AI, which performed even better and is still almost unbeatable 1v2 on Lost Temple.
Then I wrote a tutorial on broodwar AI scripting:
http://www.entropyzero.org/broodwar_scripting_index.htmlNext, Steve joined the group:
http://www.geocities.com/bajadulce/and created some superb AI installers. Next thing I know Racine started off researching AI scripting on binary level and finding still undiscovered AI commands, leaving Steve and me to provide you with fresh meat.
If you want to learn check the tutorial! Then, if you still want to learn, check the websites and check out the build in Blizzard AIs (using WinMPQ and SCAIEdit v3.1). Then, if you still want to learn, you might want to contact some of the guys at entropyzero.org.
M_K
Edit 1:
How to run an AI script at location in StarEdit:
- Create map
- Add a few starting locations
- Add the basic units/buildings (e.g. 1 nexus, 4 probe)
- Choose Location layer (instead of Terrain/Unit layer)
- Create a location over each starting location, remember which location you put where
- Choose Scenario from the top menu
- Choose Triggers
- Choose New...
- Select a player for which you want to add the AI script (e.g. player 1)
- Select New... then ALWAYS
- Next...
- Select New and RUN AI SCRIPT AT LOCATION
- Select the AI script you would like (e.g. Protoss Expansion Custom Level) and select the location
- Choose Ok and Finish
- Repeat for each player you want to execute an AI script
The AI scripts you can choose from are located in the AISCRIPT.BIN in the PATCH_RT.MPQ file. Using WinMPQ and SCAIEdit you can extract, alter and replace these files to create your own custom AIs. It is hard work, but it is very cool to have your own AIs to demo your map!