Jump to content

navmesh prevent NPC from entering a tower


overdev93

Recommended Posts

Posted

Hi :smile:

 

I created some navmesh for a tower cause all of the area had a navmesh (it's the south quarter of Ark in Enderal at the myrad warden/keeper) except the tower itself.

Also I created a new actor with a simpel "follow player" package. With the created navmesh he doesn't want to enter the tower liek he doesn't see that there is a way to enter it.

He looks for a way around it.

Without the navmesh he is walking into the tower without any problem.

Yes I clicked on "finalize navmesh".

There is no collision in the way, a marker or anything. Also like I said without navmesh it's working.

 

 

In an other worldspace the same tower is used with navmesh and it's working.

 

 

I also tried to change the gameplay settings "fSandboxCylinderTop" and "fSandboxCylinderButtom" from 100 to 576 (for bottom of course the negative value).

 

 

I really don't know what to do.

 

All I want is to place a bed on top of the tower that the actor can sleep in it. Thats the whole reason Im doing it.

But I have the same problem when I test it with a sleep package. 

"follow player" is just a quicker way to test all of the stuff.

 

I made a short video about this issue and Im showcasing pretty much everything.

 

https://www.youtube....h?v=AMUd0Cm_wqI

 


I edited the cover edges now and the npc is following me but when he should go to bed he still cant pass the entrance of the tower.

Posted
16 minutes ago, overdev93 said:

I edited the cover edges now and the npc is following me but when he should go to bed he still cant pass the entrance of the tower

In the video, the space at the door way has a green-looking edge.  It should be red.  You either have duplicate points there that need to be merged, or the navmesh at the door isn't clean.  It may connect visually, but the color of the edges tells us it isn't connected right.

 

EDIT: reference image.

 

ECapture.JPG.935037bb4688574f4f69c07f22f9ee65.JPG

 

That shows an edge that doesn't connect.  Should be red just like the edges around it.  Fix and refinalize.

Posted

There are some things to be mentioned which could make problems:

1. You have created overcutting navmesh-areas (like it is with figh towers and their stairs...which is in my mods always working(but the mesh has to be created very very carefully)

2. You have gaps between the navmesh

3. You load a game which is simply not having the navmesh info, which you have in the CK. Start a new game, load the game on an earlier point for tests.

4. I would not work with special AI packs, I would take a simple follower and remove ALL follower mods to get a real impression, if the mod works really.

5. Never create automatically the navmesh-do it manually-correcting an automated navmesh is more work than to make it on own hands.

6. For improving your work on navmeshing I suggest to look the official bethesad-team-videaos for navmeshing-if you train your skills exactly with that training-video, you will get professional results (there are even some vanilla navmesh-errors in the gameplay...lot of time followers don´t follow depending on wrongly running quests or simply are navmeshes not put correctly around spitroast-furnitures, ways are created often too narrow and so on.

7. The navmeshing thru the door is too wide-it should be made thinner-take care that the cell has no other artefacts of ex-navmeshing under or above this stuff (like I mentioned in (1)).

8. If a navmesh has been added carefullly well, it is NOT the error of the navmesh. The error is in that case always because of other mods, loading-game-script errors/quest-line-errors or something else. To get a serious impression of you mod, don´t use other mods while you create your mod to quit side-effects. Follower mods are not clean working, the vanilla follower modus is ALSO not clean working...if you keep this all in mind, you should be on the way to get this working.

Happy modding:-)

 

BTW: Is that tower a MOD?-has it a floor-ground? -with collision? Is it correctly havoc-flagged?

Remember that navmeshes are based on collision ground-also in "water" activators-NavMeshing is offering NO own collision, nor is it spending any info for BUILDINGS or environment to NPCS....it an NPC- BLINDHOOD-gateway-leader.

Posted

I sat down with someone who is currently fixing navmeshes for the Enderal project and has experience with it alot.

We edited the cover edges and now the simple following package works. Well it also works without any navmesh.

 

But the sleep package doesn't work at all. He is walking in front of the entrance and a little bit to the left and right all the time.

 

The team member doesn't know how to fix this.

 

He gave me an ESP with general navmesh fixes for the area which are still work in progress and the thing is he didn't edited anything in front of the tower there just navmesh which is far away.

 

 

 

I added two vertecies to the already existing navmesh and build it all the way to the top. So it's all one mesh.

I did it of course manually, no overlapping navmesh parts at all.

 

Everytime I test it I do it with the console from the main menu 
coc to there so it's a new game so to say and I can see the changes if it works or not.

 

I watched multiple navmesh videos they don't help with my problem.

 

Yes I use Enderal for it but Im not using special stuff at all. That are default Skyrim follower and sleep AI packages.

 

I fixed alot of collisions of custom meshes and even Skyrim meshes cause they were messed up. The tower has no problematic collisions.

Like I said in the video I checked everything. The tower has no visible floor but floor collision which is pretty low.

But in the cell there was wooden floor parts (original skyrim models) added which got flat collisions.

I even deleted the floor collision of the tower in the nif.

 

And thats not the reason cause with the fixed navmesh ESP it's working. It can't be the collision.

 

The thing is everything and everywhere even without the fixed ESP the navmesh is working perfectly.

Except when I test my navmesh with the tower.

I just need to load the fixed navmesh ESP before my ESP and it works.

 

The best thing I could do would probably be waiting for the final navmesh fix of him and then continue my mod

 

I worked 15 hours straight to fix this ... Im exhausted.

Posted
3 hours ago, overdev93 said:

I sat down with someone who is currently fixing navmeshes for the Enderal project and has experience with it alot.

We edited the cover edges and now the simple following package works. Well it also works without any navmesh.

 

But the sleep package doesn't work at all. He is walking in front of the entrance and a little bit to the left and right all the time.

 

The team member doesn't know how to fix this.

 

He gave me an ESP with general navmesh fixes for the area which are still work in progress and the thing is he didn't edited anything in front of the tower there just navmesh which is far away.

 

 

 

I added two vertecies to the already existing navmesh and build it all the way to the top. So it's all one mesh.

I did it of course manually, no overlapping navmesh parts at all.

 

Everytime I test it I do it with the console from the main menu 
coc to there so it's a new game so to say and I can see the changes if it works or not.

 

I watched multiple navmesh videos they don't help with my problem.

 

Yes I use Enderal for it but Im not using special stuff at all. That are default Skyrim follower and sleep AI packages.

 

I fixed alot of collisions of custom meshes and even Skyrim meshes cause they were messed up. The tower has no problematic collisions.

Like I said in the video I checked everything. The tower has no visible floor but floor collision which is pretty low.

But in the cell there was wooden floor parts (original skyrim models) added which got flat collisions.

I even deleted the floor collision of the tower in the nif.

 

And thats not the reason cause with the fixed navmesh ESP it's working. It can't be the collision.

 

The thing is everything and everywhere even without the fixed ESP the navmesh is working perfectly.

Except when I test my navmesh with the tower.

I just need to load the fixed navmesh ESP before my ESP and it works.

 

The best thing I could do would probably be waiting for the final navmesh fix of him and then continue my mod

 

I worked 15 hours straight to fix this ... Im exhausted.

Seems to me that this request is totally on it´s wrong thread.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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