SphereCommunity
NPC Pathfinding - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: NPC Pathfinding (/Thread-NPC-Pathfinding)



NPC Pathfinding - DarQside - 06-18-2012 12:47 PM

Interesting issue here. I've noticed NPC's are very intelligent in walking around corners and obstacles, but ONLY on Map 0. Once you enter maps 2,3,4,5 They get stuck behind trees, run against walls instead of pathfinding around the corner etc...

I was wondering if anyone else has noticed this, or knows how to fix it. I added Sphere_map1,2,3,4,5 and sphere_map_points1,2,3,4,5, into sphere tables and it doesnt seem to have fixed it. Im wondering if there is something in the Sphereini that I would need. I appreciate any advice! thanks!


RE: NPC Pathfinding - Shaklaban - 06-18-2012 02:58 PM

it is not possible to fix it. also when NPC_AI_ALWAYSINT flag enabled sometimes cpu usage strangely reach to the higher values and never goes down without restart.

http://tracker.sphere.torfo.org/bugs/print_bug_page.php?bug_id=2010


RE: NPC Pathfinding - DarQside - 06-19-2012 04:19 AM

Ahh, Bummer. Thanks for the info.