HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

ai editing?

02-22-2009, 11:17 AM#1
311
So I tried to make an AI that builds like me just for fun, because I thought it take like 20mins max to do and be really easy since ive made alot of maps before, but they were rpgs/tower ds and other stuff never a melee map. So I go to ai editor make him do my build order and did import the thing, I can see it in the impotant manager, but he does not build at all what I told him..........His name isnt even what I put it as. Under general tab I put his name as 311's mirror but hes still called computer when i play him and builds whatever he wants. What is there else to do?

Test AI also never works not sure why, nothing happens at all, test map works but its random what race he gets, and hes gota be NE for thing the thing to work so that dont help me.
I didnt edit anything at all in the map only the AI thing, I tried to edit triggers once but then it becomes non melee but I did it anyway and did the run ai and put my file path but when the map loads I get error and booted from wc3. So not sure if I am suppose to keep the normal melee triggers or not but neither way works anyway :(
02-22-2009, 12:42 PM#2
Michael Peppers
New AI = Non-melee Triggers

For the triggers, delete an Assault Trigger (Computer AI) and instead of that write this:

Trigger:
Player Group - Pick Every Player In (All Players Matching Condition (Matching Player Slot Status equal to In Game)) And Do Actions
Collapse If (All Conditions Are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Picked Player) equal to Computer
Collapse Then - Actions
Collapse If (All Conditions Are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Race of (Picked Player) equal to Night Elves
Collapse Then - Actions
AI - Start Melee AI Script for (Picked Player): war3mapimported\311.ai (change the path with the path of your imported file)
Collapse Else - Actions
AI - Start Melee AI Script for (Picked Player): map.ai
Collapse Else - Actions
Do Nothing

Sorry for the Trigger tags, I have to learn to use them well (and since I use italian version something may have a different name)

Well, if the problem isn't this, I suggest you to write something less confused
02-22-2009, 03:35 PM#3
311
Set Custom AI for (Picked Player): war3mapimported\311.ai

I dont have that ^ or I dont see it or the assault triggers?

I have a start Ai script, and i put mine their, but thats when I get the error when I load my map
02-22-2009, 03:52 PM#4
Michael Peppers
Sorry, I wrote wrong triggers.

My idea is that the map error is caused by 2 contemporarily activated AI.

If the problem is this you have to delete the action I wrote below:

Trigger:
Melee (or Assault or whatever it's called) - Run melee AI scripts (for computer players)

And then write the trigger in the other post (just fixed it), but I can't assure you it works cause I normally change all AI, and not a single one.