A fork of the buildnav tool from the uthgard-opensource repository, originally created by thekroko.
- The tool reads files from DAoC’s
zones
folder. - The processed data is immediately fed into Recast to generate navigation meshes.
- The navigation meshes are used by the game server via Detour (needs to be built separately).
Recast is included as a precompiled executable in the base
directory.
The base
directory is copied to the output directly when the project is built.
It can also be used to inspect meshes:
- Open
buildnav.exe
in the output directory. - Select "Tile Mesh" as the sample.
- Select any generated
*.gset
as the input mesh. - The corresponding
*.nav
will also be loaded.
- Build and run
buildnav.exe --daoc=<gamedir>
. Use either--all=true
, or--zones="id1,id2..."
and/or--regions="id1,id2..."
. - Copy the generated
*.nav
files from the output directory into your server's/pathing
directory.
bin/Release/.../
├── OpenDAoC-BuildNav.exe
└── base/ # Copied from `base`
├── buildnav.exe # Pre-compiled (and slighly tweaked) Recast executable.
└── zones/ # Generated intermediaty files and navigation meshes (*.nav)