Less Buggy Bughouse
Do not copy files or steal! Thanks.
Updoots appreciated! They tell me I’m doing a job well done and keep moral up.
See my other mods here:
https://steamcommunity.com/sharedfiles/filedetails/?id=2612527184
- New building colliders!
- Should fix the navigation bugs with the bughouse.
- Building collider is more accurate so you should be able to place objects closer to the walls.
- Dome can be walked on without weird issues
It seems to fix the annoying one in Squinn. If you find any other odd behaviors please let me know so I can tweak it further if need be.
Kenshi caches the last generated navmesh. On first use you might need to use the Ctrl + Shift + F11 to rebuild navmesh and save or leave the area so it unloads and is saved again for future.
Yes I know there is already a Bughouse fix mod. Honestly, it never really worked for that one building in Squinn for me. That mod alters the existing mesh collider slightly so doesn’t avoid the navmesh behavior surrounding mesh colliders.
If this is well received enough I might look at changing other buildings as well.
I’ve been making a tool to help modders makes better buildings and easier. I discovered interesting behavior or a bug with navmesh generation and mesh-based physics colliders as compared primitive colliders. The navmesh seems to generate more accurately with primitive colliders whereas mesh based colliders seem to be more approximate.. Navmesh generation is significantly better when using mesh colliders. For both objects should try to be > 0.1m thick to prevent navmesh generating through it.
To both continue testing the robustness of my toolset and put my theory to the test I wanted to try and fix the most notoriously buggy building. I replaced the colliders of the bughouse with completely new ones based mostly primarily on mesh colliders.
The resultant collider is significantly more accurate to the model and more importantly generates a better navmesh more consistently that should have less navigation bugs and should perform faster.