faatal
Fun Pimps Staff
The first stage generates data for an area, which makes the actual path generating second stage much faster and multiple paths can be generated from that data.My guess is that the first stage decides about a general path between zombie position and target location using a few straight lines. It makes sure that the zombie uses doors or other openings if available instead of going straight to the target.
The second stage looks for the immediate direction the zombie takes, for example to go around small obstacles like a cactus or a fellow zombie or even introduce evasive movement so the player has a harder time shooting