mirror of
https://github.com/nzp-team/documentation.git
synced 2025-03-13 06:03:07 +00:00
Update waypointing.md
- Added explanation of .way file structure
This commit is contained in:
parent
7127737f81
commit
b437a38c0e
1 changed files with 13 additions and 0 deletions
|
@ -10,6 +10,19 @@ _Nazi Zombies: Portable_ makes use of a waypointing system to define nodes that
|
||||||
Waypoints can be edited directly in-game via the waypoint editing mode, foregoing the need to recompile the map when creating or adjusting waypoints. This mode can be accessed via the command `waypoint_mode` cvar.
|
Waypoints can be edited directly in-game via the waypoint editing mode, foregoing the need to recompile the map when creating or adjusting waypoints. This mode can be accessed via the command `waypoint_mode` cvar.
|
||||||
Saving a set of waypoints via this mode will generate a `.way` file within the maps folder of NZ:P; a plain-text file containing data for each node.
|
Saving a set of waypoints via this mode will generate a `.way` file within the maps folder of NZ:P; a plain-text file containing data for each node.
|
||||||
|
|
||||||
|
With `.way` files being plain-text, they can be opened in any text editor. Doing so will reveal the following data structure:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
| Data Identifier | Description |
|
||||||
|
|---|---|
|
||||||
|
| Origin | The co-ordinates of the waypoint node. |
|
||||||
|
| ID | The numerical identifier of the waypoint node. |
|
||||||
|
| Special | The associated `wayTarget` ID of a valid `nzp_func_door` that has been correctly linked to the waypoint node. |
|
||||||
|
| Target 1-8 | 8 Possible waypoint nodes that are connected to the waypoint node. |
|
||||||
|
|
||||||
|
Another limitation of the waypoint system is that there is a hard limit of 256 total nodes.
|
||||||
|
|
||||||
## Interacting with Waypoints
|
## Interacting with Waypoints
|
||||||
|
|
||||||

|

|
||||||
|
|
Loading…
Reference in a new issue