AI? zombie path problem
#1

i was making a gamemode like one or two years ago with fcnpc and i couldnt figure out how to make multiple bots follow me but not walk through each other, because when they did it looked like they just like teleporting and glitching through each other. i tried to check if a bot was close to another bot but they would stop and start running, and it looked really bad and buggy.

is there like a good formula or algorithm to determine a path of the zombies to follow me but also not collide with each other? how would i go making that
Reply
#2

A* algorithm might be helpful, where another zombie makes its tile and tiles surrounding it really high cost. I don't know if there's A* for PAWN library available though, ****** doesn't return much.
Reply
#3

Quote:
Originally Posted by Misiur
Посмотреть сообщение
A* algorithm might be helpful, where another zombie makes its tile and tiles surrounding it really high cost. I don't know if there's A* for PAWN library available though, ****** doesn't return much.
A* is planned to be implemented in FCNPC: see this issue on GitHub.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)