Page 1 of 1

Pathfinding needs some work

Posted: Fri Dec 03, 2010 12:45 pm
by EarthquakeDamage
I had an impossible escort quest in Kor'Pul. The poor guy couldn't path his way to the portal. He kept walking back and forth along a wall. The layout was roughly as follows:

Code: Select all

o  portal
n  escort NPC
#  wall
   path

#############
##         ##
## ### ### ##
## ### ### ##
## ### ### ##
## ###o### ##
## ####### ##
## ####### ##
##    n    ##
#############
This is obviously neither accurate nor to scale, but you get the idea. The path was too long and windy for him to navigate, so he just tried to move in that general direction. The result was him shuffling back and forth along that wall.

Re: Pathfinding needs some work

Posted: Fri Dec 03, 2010 1:34 pm
by Dervis
Crescent type formations, although rare, are a common problem in pathing in games. This happened to me once and I had to dig a passage in the wall for the bloke.

This could be easily fixed if the escort was given the 'Follow me' option as someone suggested a while back.