• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[AI] Easy AI Tester Utility

Status
Not open for further replies.

dragoljub

D

dragoljub

As promised in
https://www.hiveworkshop.com/threads/how-run-maps-high-gamespeed-2-a.157871/post-1463198

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

Last edited by a moderator:
Status
Not open for further replies.
Back
Top