Quote:
Originally Posted by Maleficus
I'm thinking that you have the nodes setup in such a way that even when they realize they're stuck, the closest node is on the other side of the flag, and they can't find a way out of the corner.
|
You hit the nail on the head, as usual!
I tracked the problem down a couple of hours ago. What had happened first was that a bot would spawn directly behind the flagpole on the opposite side of the path node and get stuck. I figured that he couldn't see the node on the other side of the flagpole, so I laid a pair of nodes behind the flag in the spawning area and led it around the flag to the door. That fixed the bot getting stuck behind the flag, but then one to three of them would get stuck right on top of the path that I had provided for them to get out. Not all of the spawning bots, just a few.
I tried repeatedly spawning myself to see if I would get stuck, reasoning that if I did it'd be a map problem and if I didn't, it'd be a bot problem. It was a bot problem. I finally spectated directly above the problem area and noticed that the two path node radii were just BARELY ovelapping. Reducing the radii fixed the problem! I figure that the bots had stepped into a gray area between nodes and couldn't decide where they were because of receiving the simultaneous conflicting data from two nodes and so froze in place.
Unfortunately, the reduced radii allowed the bot to get stuck behind the flag again. My final solution was to place a path node directly behind the flag and then lead the bot around the flag to the open air. Just as you just described in your post!
Hopefully, this thread will help other waypointers who get into a similar predicament.