Where do I start when making somewhat advanced zombie AI

I was wondering where I would start when making advanced zombie AI. I was also wondering if anybody knew of any good tutorials or guides I could follow and then build off of.

Some features id like are toggleable randomly moving, and pathfinding towards the player but only if they’re in a certain range and have a direct line of sight on them with nothing in the way. Agroing on the player IF they are in that range and direct line of sight until the player outruns them or kills them. Agroing on the player if damaged and also alerting other nearby zombies to Agro on the player.

Where would I start to work toward achieving all of this?

You can start off with this. It has all features you listed except:

-Toggleable randomly moving
-alerting other nearby zombies to Agro on the player.

Good Luck!

1 Like