• 🏆 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] Making My Custom AI work with a Melee Map

Status
Not open for further replies.
Level 2
Joined
Oct 29, 2004
Messages
12
Hey all, ummm i am very good with world editor, i can do triggers, etc, but i started up the AI editor, and made my own AI, and it works, but i cant seem to get it to work on my map, and when i start it up, it doesnt do the AI i added, does the path matter? Warcraft3imported\Custom.wai blah blah? Can you tell me what i need to do, to make it load up? ive tested it with the "test Ai" but how do i get it to do my AI, when i play the map...PLEASE HELP!

Thanx-darkstarz-
 
Level 2
Joined
Oct 29, 2004
Messages
12
well what i am i did the add ai to map thing, then it shows up in the import area... when i play my map, it doesnt do my ai i made, it did the orginal ai it usally does, how do i get it to load up mine?
 
Level 2
Joined
Sep 4, 2004
Messages
30
The .wai is a binary file, the compressed form
of the script. Use File/Export Scipt in the
AI editor to get a .ai file, which is a text file
so you can look inside with notepad i.e. (and edit
it to get a better ai). This text file can be
loaded with the specific triggers.
If u use the melee ai load action, then u must
load yours first to work, because the first
loaded ai will play.

ps: if u use test ai, then u will notice that
the editor decompressed your .wai into the TestGame
directory with name WorldEditTestGame.ai. (So even
the AI editor cannot load a .wai directly.)
 
Status
Not open for further replies.
Top