Packages...

Post » Fri Apr 04, 2014 9:39 am

Hello my friends.

Let's talk about AI packages.

My NPCs are using some "Travel" packages. However, sometimes, when the NPCs are too near each other, one or more of them will "freeze" in position for 1 or 2 seconds. This happens even if all the interrupts flag are set to unchecked.

Is there a way to avoid these "freeze" moments?

User avatar
Jordan Moreno
 
Posts: 3462
Joined: Thu May 10, 2007 4:47 pm

Post » Fri Apr 04, 2014 3:40 am

Are they all traveling to the same point? I've hit this issue when trying to make 4 or 5 people all run together to a point. My completely uninformed belief is that they all mark down a path on the navmesh, then realize that they've all marked the same path and it buggers things up. If you can, give the lead guy a travel package, then the subsequent actors follow packages, with bigger and bigger radii.

I.e. Guy 1 travels to point. Guy 2 follows guy 1 at 128 units. Guy 3 follows guy 1 and 256 units. Etc.

This creates a somewhat undesirable 'train' effect, but they don't stop up constantly.

User avatar
jessica robson
 
Posts: 3436
Joined: Mon Oct 09, 2006 11:54 am

Post » Fri Apr 04, 2014 2:51 pm

Every NPCs goes to a specified xmarkerHeading. So do you think is a matter of distance between NPCs? I'll try.

Thanks Alexander.

User avatar
Ella Loapaga
 
Posts: 3376
Joined: Fri Mar 09, 2007 2:45 pm


Return to V - Skyrim