Kevek53215 Posted August 15, 2021 Share Posted August 15, 2021 So i have little script that is building Dungeons by using pre-builded structures, they have connect points and Script is pretty simple He just copy / paste Structures and use Connect Points to place them together building random looking dungon However... i can't move Navhesh... First i was thinking " Naaa... Navmesh is probably not that very important.. game will handle that " But ye... i simply forgot... its Skyrim... so i do need to copy navmesh... I was searching some DLLs but i can't find anything that can let me edit Navmesh What i need: 1) Copy Paste Pre-builded Navmesh to new location 2) Connect near Navmeshes together - It don't have to be quick solution... but i pref to keep Dungeon Generating Time under 3 minutes... but if there is wroking solution that will take little longer and will work... i can live with longer generating time... I can always generate new Dungeon while Player is still in other Dungeon... so like... have two Dungeons, one as Buffer one as Active... But i need way to copy / paste Navmesh... or somehow make NPCs to ignore missing Navmesh??????????????????? Link to comment Share on other sites More sharing options...
greyday01 Posted August 15, 2021 Share Posted August 15, 2021 Could you navmesh areas as though there were no walls at all just a large empty plane or several planes connected by ramps and then when you place a wall also place a navecut cube over the wall to prevent the npc from trying to walk though it? Kind of clunky but might work. Make a warehouse area with wall/navcut block combos for easier copy pasting. Link to comment Share on other sites More sharing options...
NexusComa2 Posted August 15, 2021 Share Posted August 15, 2021 I created a random dungeon years ago and ran into this same problem. After working with it for a bit I found placing a large flat preset pre-navmesh plain worked well enough. Once that was set up I removed the object plain leaving just the navmesh. I then made the code randomly created the dungeon level. Each level had it's own pre-navmesh plain. Also did some steps (for each side) and navmshed them out fully. Basically everything was done as far a navmeshing leaving a huge area in the middle to be filled randomly with 8 levels.Outcome ... At times the mobs would try to walk through a wall (and sometimes make it). I made it so their attack/notice you distance was closer and that helped. I was happy with what I got done but it did limit me to a flat levels. Mine was more of a maze also. Link to comment Share on other sites More sharing options...
Recommended Posts