• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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: 112
Last edited:
Status
Not open for further replies.
Top