AI walking thorugh walls???

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Wilson
Warrant Officer
Posts: 131
Joined: Fri Mar 07, 2003 6:12 pm

AI walking thorugh walls???

Post by Wilson »

Ok, with the help from parts and a few other people in the scripting forum i managed to get the AI following me sorted CHEERS
Now running around on my map i go to attack the offivers guard and he jumps out of the wall from the building he is in, then i kill him and the officer to be killed jumps out from his room outside??

Anyone know why and how i can fix this?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think this happens when is a cover node (especially a corner node) near a wall, whereas on the other side of the wall is a route.

A bit like this, p is pathnode, c is corner node, | is wall:

Code: Select all

p--|->c
    |
    |
p  |  p
(sorry for my poor ASCII art :oops: )
at the ---> an AI is likely to walk through the wall. Simply move the cover node away a bit and you should be fine.
Image
Wilson
Warrant Officer
Posts: 131
Joined: Fri Mar 07, 2003 6:12 pm

Post by Wilson »

Ok cheers Jv i will try that cos my nodes are close to all the walls so
that will be it
cheers
Post Reply