Notes |
|
|
I´d like to bump this issue.
It´s very strange pathfinding is bugged in all maps except map0. My npcs works perfect avoiding trees un map0, but they fail miserably in the same map1, and they stucks for seconds in every obstacle of their way. And both maps are the same.
I fully confirm this problem. |
|
|
(0001444)
|
Ben
|
09-12-12 23:49
|
|
Can you post your EF flags. From hat I can see, pathfinding is only used properly with EF_walkcheck and EF_newpositioncheck on. |
|
|
|
I don´t know Shaklaban ef_flags, but this are mine:
// EF_DiagonalWalkCheck = 00000001
// EF_New_Triggers = 00000008
// EF_WalkCheck = 00000100
// EF_Script_Profiler = 00000400
// EF_NPCAct_Triggers = 00010000
Experimental=01|08|0100|0400|010000
I have tried adding EF_newpositionchek, and it´s worse.
Unless you quit EF_DiagonalWalkCheck, then is sightly better, but still pathfinding it´s better in map0.
Testing it, an ogre never, NEVER, stucks any second in any tree or obstacle when he is chasing you, but in the same map1, he sometimes stuck in a tree, aproximately one second, and it´s very easy to run from him. |
|
|
(0001446)
|
darksun84
|
12-12-12 01:52
(edited on: 12-12-12 02:12) |
|
I tested it in Ilshenar map, same your flag(and npc always smarter pathfinding flag, and yes they tend to stuck more and wander around.
For a quick test : Cast wall of stone
map0, the npc will get you.
Map 2, the npc will get stuck and it will wander around
|
|
|
(0001771)
|
Ben
|
11-11-13 06:19
|
|
|