• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[AI] Easy AI Tester Utility

Status
Not open for further replies.
Level 2
Joined
Feb 3, 2010
Messages
4
As promised in
http://www.hiveworkshop.com/forums/...n-maps-high-gamespeed-2-a-157871/#post1463198

Here is the "Easy AI Tester" utility. It makes it possible to test AI scripts on both melee and non-melee maps with higher game speeds. It practically copies (and slightly improves) the functionality of the Test Configuration tab in the AI Editor.

I tried to keep it very simple, just browse for war3.exe, select map, set the slots and click the Test button. If no mistakes has been detected, it will then create the .wgc file and launch war3.exe. You may notice that there is no "Computer" control in the options. To set the computer player select "Map AI". That slot will then use whatever AI is defined in the map file.

Feel free to report problems, ask questions and suggest changes! :)

Tip: If you already have added some scirpts into the map, to properly load both map defined and custom AI's, you will need to specify triggers in this order:
- AI - Start melee AI script for Player x: war3mapImported\<x ai>.ai
- AI - Start melee AI script for Player y: war3mapImported\<y ai>.ai
- ...
- Melee Game - Run melee AI scripts (for computer players)
 

Attachments

  • EasyAITester.zip
    276.7 KB · Views: 137
Last edited:
Status
Not open for further replies.
Top