This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
navmesheditor [2017/01/25 09:06] – fxfire | navmesheditor [2017/06/14 12:05] (current) – fxfire | ||
---|---|---|---|
Line 3: | Line 3: | ||
In order to build a navigation mesh, the triangle mesh has to be recorded. | In order to build a navigation mesh, the triangle mesh has to be recorded. | ||
+ | Under C: | ||
+ | .obj - "mesh input data" aka the yellow mesh \\ | ||
+ | .nx2 - the built navmesh (from the input data) aka the purple-ish mesh \\ | ||
+ | .omc - offmesh connections, | ||
+ | .cub - cubes for flying & under water navigation\\ | ||
+ | .cpc - cube-floor-connections, | ||
+ | .mmn - macro mesh nodes \\ | ||
+ | .mmp - precomputed navigation paths between macro mesh nodes\\ | ||
+ | By default, the .obj files are 0 bytes. This data is only needed for people modifying the meshes. To not forcing everyone to download several GB of not needed data, these files are empty. If you want to edit an official navigation mesh file, you'll need to be given access to the original .obj file and have to replace the one in your local folder. Then you can edit the navigation mesh. | ||
+ | \\ | ||
=== 1. Creating a Navigation Mesh === | === 1. Creating a Navigation Mesh === | ||
{{youtube> | {{youtube> | ||
- | === 2. Flying / Diving - Cube Mesh Recording === | + | === 2. Flying / Diving - Cube Mesh Recording |
{{youtube> | {{youtube> | ||
+ | \\ | ||
+ | |||
+ | === 3. Cube-Floor-Connections === | ||
+ | {{:: | ||
+ | Cube-Floor-Connections are by default automatically placed when Cubes are recorded. The MeshManager allows you to manually place additional connections, | ||
+ | \\ | ||
+ | |||
+ | |||
+ | === 4. Macro Mesh === | ||
+ | |||
+ | {{:: | ||
+ | For very long distances and to quickly check if a point can be reached by navigation without freezing the game ;), a new MacroMesh was put into the bot. This is automatically used when the bot asks for a Path to a goal which is beyond a certain distance threshold. | ||
+ | \\ |