mirror of
https://github.com/nzp-team/documentation.git
synced 2025-03-13 06:03:07 +00:00
Update waypointing.md
This commit is contained in:
parent
17928b157c
commit
d2870d4684
1 changed files with 6 additions and 4 deletions
|
@ -26,13 +26,15 @@ Saving a set of waypoints via this mode will generate a `.way` file within the m
|
||||||
## Special Waypoints
|
## Special Waypoints
|
||||||
|
|
||||||
Special Waypoint nodes are used in conjunction with a valid `func_nzp_door` to prevent zombies from attempting to path through currently closed doors.
|
Special Waypoint nodes are used in conjunction with a valid `func_nzp_door` to prevent zombies from attempting to path through currently closed doors.
|
||||||
To do this, add a `wayTarget` ID to the door entity in Trenchbroom. Now when a waypoint is placed inside of this door within the waypoint editor, it can be selected and turned into a special node.
|
|
||||||
Adjacent waypoints within the room can then be linked through this special node as normal.
|
A valid `func_nzp_door` requires an ID to be set in the `wayTarget` entity field.
|
||||||
|
|
||||||
## Pathing Behaviour
|
## Pathing Behaviour
|
||||||
|
|
||||||
When creating waypoints, it is important to consider how zombies will path between each node and whether they will get stuck on any geometry on the way. When zombies reacquire a path to the player (Whether that be after hopping a barricade post-spawn,
|
Zombies will move along a path dictated by the mapper through connected waypoint nodes until they are within sight range to path to a player on their own (Where "Sight" is dictated by both the zombies shins and forehead being able to see the player).
|
||||||
or in attempt to find the player after they have teleported outside and back into the map.), they will do so via the closest waypoint node to them. This is also important to consider in maps with verticality, as the nearest node to the zombie may in fact be above or below
|
|
||||||
|
When zombies reacquire a path to the player (Whether that be after hopping a barricade post-spawn, or in attempt to find the player after they have teleported outside and back into the map.),
|
||||||
|
they will do so via the closest waypoint node to them. This is also important to consider in maps with verticality, as the nearest node to the zombie may in fact be above or below
|
||||||
them - causing them to get stuck.
|
them - causing them to get stuck.
|
||||||
|
|
||||||

|

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