Page 1 of 1
How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 4:00 pm
by qazedci
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?
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 4:09 pm
by IskatuMesk
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.
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 4:16 pm
by qazedci
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)?
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 4:20 pm
by Lavarinth
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.
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 4:24 pm
by IskatuMesk
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)?
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.
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 4:41 pm
by qazedci
Alright, thanks for the information.
I'll see what things I can change around with that in mind.
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 5:26 pm
by Lavarinth
Doodads are a great way to prevent people placing buildings where they might abuse the system.
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Wed Aug 01, 2007 6:29 pm
by qazedci
I had not thought of that; I'll give it a shot. Thanks again!
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Fri Aug 10, 2007 9:22 am
by Mucky
Lavarinth wrote:
If a player wall another another
what
Re: How do i prevent AI from going crazy when it encounters walling?
Posted: Fri Aug 10, 2007 10:58 am
by Lavarinth
Mucky wrote:
Lavarinth wrote:
If a player wall another another
what
Lame.. If a player walls another player. I'm rushed when I look at the forum at work, hah.