npc's disregard walls when using pathing
when using the grids and pathing
the npc's walk right thru walls , trees, mountains and any other objects in thier path, they hesitate for a few seconds then go thru. |
That was brought up a while ago. NPCs do not respect borders if your grids run through them.
|
Theres no way around this without server side wall maps..
|
possible to implement collision checks?
would it be possible to implement collision checks and have the npc "sidestep" a few spaces until it is a clear path , then veer back to original course after obstacle is passed?
they added something like that to the UO emulators Lonewolf and Wolfpack to keep npc's from being trapped, they keep sidestepping until they have a free path to travel then go back on course to thier target. Just a thought. |
I thought they had sequencial gridpoints as well as freeform gridpoints. Am I wrong? If we have sequencial ones, you just have to apply the correct sequence to tell them not to run through walls.
|
The reason why this is impossible unless you have very detailed server side maps (unless we redo the pathing system), is because all the walls and such are client side. The server has no idea if a wall is in a certain loc or not, the client is what stops ppl from moving through objects. The server, however only uses positions to track players and npcs, it simple tells the client, npc_123 moved to x,y,z and the client shows you this on your screen. Hope I explained it :/
|
How hard would it be to take the maps and convert to a serverside pathing system? Has anyone attempted this?
I'm sorry if this was already covered. |
All times are GMT -4. The time now is 08:36 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.