Hi,
In a UMS map, I have an enemy zerg computer attack a player's base. Unfortunately if the player uses Supply Depots to wall in front of his bunkers, the Hydralisks will get confused and not try to break through or even attack the bunkers (which are in range). Zerglings go through spaces between buildings just fine and attack the bunkers.
I have tried a few different triggers to try and keep the AI from getting confused, but no matter what the Hydralisks won't attack the bunkers/depots.
Is there anything I can do to make it so the AI works properly and attacks whatever is in its way?
How do i prevent AI from going crazy when it encounters walling?
-
- Terran Supply Depot Clerk
- Posts: 12
- Joined: Sun Jul 15, 2007 10:45 pm
- IskatuMesk
- Xel'naga World Shaper
- Posts: 8332
- Joined: Sat Feb 07, 2009 1:40 pm
- Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞా
- Contact:
Re: How do i prevent AI from going crazy when it encounters walling?
Not really. You might be able to use locations, but when the AI units get attacked their AI stance resets and even then you aren't really going to get anywhere.
The AI in blizzard's games is extremely retarded.
The AI in blizzard's games is extremely retarded.
Gameproc
Though we stand alone, stand we shall.
Though we stand alone, stand we shall.
-
- Terran Supply Depot Clerk
- Posts: 12
- Joined: Sun Jul 15, 2007 10:45 pm
Re: How do i prevent AI from going crazy when it encounters walling?
Thanks for the quick reply 
http://img442.imageshack.us/my.php?imag ... bsmbh3.gif
^This is what it looks like.
How about something like in defense maps where the AI simply walks through peacefully until they encounter a wall and cant move any further (at which point they destroy everything they see)?

http://img442.imageshack.us/my.php?imag ... bsmbh3.gif
^This is what it looks like.
How about something like in defense maps where the AI simply walks through peacefully until they encounter a wall and cant move any further (at which point they destroy everything they see)?
- Lavarinth
- Xel'naga Administrator
- Posts: 6539
- Joined: Wed Aug 16, 2006 5:21 pm
- Location: His Ashworld Planet
Re: How do i prevent AI from going crazy when it encounters walling?
Your own units are that stupid as well. It's just the way the game handles units after sent somewhere. You could instead try triggers that direct them to attack anything in a location first before attacking at their actual location. Basically, you cannot avoid that as Isk said. If a player wall another another, and it is attacked by ranged units, the units will try to attacked the ranged units before the buildings and die.
- - Lavarinth
Campaign Creations Administrator
Campaign Creations Administrator
- IskatuMesk
- Xel'naga World Shaper
- Posts: 8332
- Joined: Sat Feb 07, 2009 1:40 pm
- Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞా
- Contact:
Re: How do i prevent AI from going crazy when it encounters walling?
Well, the thing with defense maps and walls is that when they encounter a position they get stuck in, they return to idle, instead of move, and then return fire. In the case of your map, they can't reach the bunkers so they are trying to 'right click' the bunkers without being able to reach them. They ignore the supply depots because the supply depots aren't on their "hate list" because they don't attack, so they are kind of ignored.qazedci wrote: Thanks for the quick reply
http://img442.imageshack.us/my.php?imag ... bsmbh3.gif
^This is what it looks like.
How about something like in defense maps where the AI simply walks through peacefully until they encounter a wall and cant move any further (at which point they destroy everything they see)?
Gameproc
Though we stand alone, stand we shall.
Though we stand alone, stand we shall.
-
- Terran Supply Depot Clerk
- Posts: 12
- Joined: Sun Jul 15, 2007 10:45 pm
Re: How do i prevent AI from going crazy when it encounters walling?
Alright, thanks for the information.
I'll see what things I can change around with that in mind.
I'll see what things I can change around with that in mind.
- Lavarinth
- Xel'naga Administrator
- Posts: 6539
- Joined: Wed Aug 16, 2006 5:21 pm
- Location: His Ashworld Planet
Re: How do i prevent AI from going crazy when it encounters walling?
Doodads are a great way to prevent people placing buildings where they might abuse the system.
- - Lavarinth
Campaign Creations Administrator
Campaign Creations Administrator
-
- Terran Supply Depot Clerk
- Posts: 12
- Joined: Sun Jul 15, 2007 10:45 pm
Re: How do i prevent AI from going crazy when it encounters walling?
I had not thought of that; I'll give it a shot. Thanks again!
- Mucky
- Protoss Khalai Missionary
- Posts: 1014
- Joined: Thu Aug 24, 2006 10:35 pm
Re: How do i prevent AI from going crazy when it encounters walling?
whatLavarinth wrote: If a player wall another another
- Lavarinth
- Xel'naga Administrator
- Posts: 6539
- Joined: Wed Aug 16, 2006 5:21 pm
- Location: His Ashworld Planet
Re: How do i prevent AI from going crazy when it encounters walling?
Lame.. If a player walls another player. I'm rushed when I look at the forum at work, hah.Mucky wrote:whatLavarinth wrote: If a player wall another another
- - Lavarinth
Campaign Creations Administrator
Campaign Creations Administrator