Need help with pathgrids..

Post » Thu May 03, 2012 9:00 pm

So..

How do I make an NPC's follow the pathgrid? I've added pathgrids and set AI radius to 256 or something like that.. but it doesn't seem to follow the grids that it's supposed to follow (walks straight into statics and stuff) . Is there any specific way I need to apply pathgrids?
User avatar
Wayne W
 
Posts: 3482
Joined: Sun Jun 17, 2007 5:49 am

Post » Thu May 03, 2012 3:09 pm

Just to make sure... you are connecting all the nodes, right?

I've never had a problem with paths not working, but sometimes NPCs will just ignore the path, especially if there are lots of statics around.
It does seem to help if the NPC's spawn location is on the path... if that helps in your situation.
User avatar
Alan Cutler
 
Posts: 3163
Joined: Sun Jul 01, 2007 9:59 am

Post » Fri May 04, 2012 4:09 am

Just to make sure... you are connecting all the nodes, right?

I've never had a problem with paths not working, but sometimes NPCs will just ignore the path, especially if there are lots of statics around.
It does seem to help if the NPC's spawn location is on the path... if that helps in your situation.

Yepp I've connected them, but into diffrent groups so the NPC's won't bump into eachother.

I'll try to put NPC's closer to the nodes and see how it turns out.
User avatar
Melly Angelic
 
Posts: 3461
Joined: Wed Aug 15, 2007 7:58 am

Post » Fri May 04, 2012 1:36 am

Pathgrids are pretty simple really. Any placed NPC will initially walk to the nearest pathpoint. (Unless they dont move atall) Also, NPC's wont follow pathgrids from one cell to another. NPC's bump into each other all the time in vanilla morrowind, its just the way it is.

I wouldnt bother trying to get any individual NPC to follow 1 certain path as it just wont work.

EDIT: http://dl.dropbox.com/u/22925394/Morrowind/TES%20Construction%20Set%202012-01-22%2015-18-21-37.jpg
The pathgrid in balmora is a good example of how a complex you should be maing your pathgrids. One thing to bare in mind is to avoidplacing a point halfway up stairs. The reason for this is because NPC's are likely to stand there, and not let you past. Just one thing to keep in mind.

Like i said, dont bother trying to make two paths parallel, on the bridge for example, just keep it to a singular path. They will hit each other anyway.
User avatar
Carys
 
Posts: 3369
Joined: Wed Aug 23, 2006 11:15 pm

Post » Fri May 04, 2012 2:06 am

Thanks and sorry for the late reply :)

This does give some clarity to the subject.
User avatar
Anna Kyselova
 
Posts: 3431
Joined: Sun Apr 01, 2007 9:42 am


Return to III - Morrowind