Skip to main content

Module navmesh

Module navmesh 

Source
Expand description

Navmesh generation for DayZ: the data-server client and wire format, captures, the Recast/Detour tile builder, the .nm reader and writer, and the generator that ties them together (generate).

Feature navmesh. The wire format (wire) is what DayZDiag’s navmesh data server sends: world parameters and one geometry record per tile. Every reader treats its input as hostile and returns errors instead of panicking.

Modules§

build
Building one navmesh tile end to end (spec 4, 5, 7).
capture
.dzgeo capture files (spec 3.8): the world params and the tiles of a run, so a run can be replayed without a server.
client
A TCP client for the navmesh data server (spec 3.1, 3.6).
detour
The DayZ .nm navmesh set file and its Detour tile layout (spec 8.1, 9 and 7.2).
generate
The navmesh generator: plans the tiles of a run, fetches them (or reads them from a capture), builds them in parallel and assembles the mesh (spec 2.3, 8.4, 8.5).
islands
The island filter (spec 8.5): flags every polygon that cannot be reached from a seed position with the “isolated” bit 0x8000.
wire
The wire format of the navmesh data server (messages 3, 4 and 5).