Jump to content

[LE] How can I fix my Npc's acting weird? Can't find a solution.


Recommended Posts

So basically, making a town mod was pretty nice until I got plenty of problems. Some of the vanilla guards/new npc's keep entering houses and then leaving in a second and repeating that nonstop.

 

Other thing, they use really weird paths to get from place to place. Sometimes they don't follow my navmesh at all and just walk at a wall for no reason. :confused:

 

I got the preferred navmesh in there, finalized cells so the green lines appear at the borders so they are connected...

 

Is it possible that there is just way too much stuff, npc's, packages, so the game just can't handle it? Maybe I am just missing something obvious.

 

Any help would be appreciated, thanks in advance :laugh:

Link to comment
Share on other sites

There could be a number of reasons why this things is happening, but i will stick with the obvious ones :

 

"Some of the vanilla guards/new npc's keep entering houses and then leaving in a second and repeating that nonstop."

- This is obviously packages issues.

Carefully check all your npcs packages.

 

"Sometimes they don't follow my navmesh at all and just walk at a wall for no reason."

- This is obviously Navmesh issues.

If you have Navmesh underneath a wall or a furniture the game engine won't be able to recognise it as an obstacle and will keep searching for the closest distant and creating path between the two points. You need to remove the Navmesh from beneath it so that the game engine can create a correct path.

 

"Is it possible that there is just way too much stuff, npc's, packages, so the game just can't handle it? "

- This can occur especially in low end PCs, but in order for this to happen your cell needs to have more than M# 500% and at the same time have a bunch of scripts running simultaneously.

Edited by maxarturo
Link to comment
Share on other sites

 

"Some of the vanilla guards/new npc's keep entering houses and then leaving in a second and repeating that nonstop."

- This is obviously packages issues.

Carefully check all your npcs packages.

I mean I haven't touched the vanilla guards at all. That what makes me think its not a problem with the packages... Right? :huh:

 

Thanks for help tho. Didn't expect to get any :laugh: :cool:

Link to comment
Share on other sites

If you haven't touched the vanilla guards and just use them as they are, then they will execute the "Schedule" that their AI packages dictates them to do, for example :

- If you copy a Whiterun vanilla guard and place him in Solitude, then that guard will leave Solitude and go to Whiterun to execute his schedule.


You need to create your own AI packages to assign to them what you want them to do, for example :

- Go to your inn for food, or go to your house for sleep and so on...

Tutorial :


Edited by maxarturo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...