Func nav avoidance obstacle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(-removed unneeded or wrong information)
Line 1: Line 1:
{{l4d series brush|func_nav_avoidance_obstacle}} It tells bots that nav areas in this volume are obstructing pathfinding but can be ignored for longer-term queries like computing flow distances and escape routes. Bots will go into the affected areas if their destination is in the obstructed area, or they must cross the obstructed area to reach their destination, but otherwise avoid it. Used sparingly to prevent bots from moving to odd-looking places.
{{l4d series brush|func_nav_avoidance_obstacle}} It tells bots that nav areas in this volume are obstructing pathfinding but can be ignored for longer-term queries like computing flow distances and escape routes. Bots will go into the affected areas if their destination is in the obstructed area, or they must cross the obstructed area to reach their destination, but otherwise avoid it. Used sparingly to prevent bots from moving to odd-looking places.
{{warning|[[AABB]] is used for area obstructing, so clipping or rotating brushes does not change a brush's size as one expects.}}


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|l4d2=1}}
{{KV Targetname}}
{{KV EnableDisable}}
 
==Inputs==
{{I BaseEntity|l4d2=1}}
{{I EnableDisable}}
 
==Outputs==
{{O BaseEntity|l4d=1}}


==Uses in Official Maps==
==Uses in Official Maps==
<b>{{l4d}} l4d_river01_docks / {{l4d2}} c7m1_docks</b>
<b>{{l4d}} l4d_river01_docks / {{l4d2}} c7m1_docks</b>
* 4 of them are used on the wooden structure near the sea by a path of rocks under the bridge.
* 4 of them are used on the wooden structure near the sea by a path of rocks under the bridge.

Revision as of 05:58, 17 September 2022

Template:L4d series brush It tells bots that nav areas in this volume are obstructing pathfinding but can be ignored for longer-term queries like computing flow distances and escape routes. Bots will go into the affected areas if their destination is in the obstructed area, or they must cross the obstructed area to reach their destination, but otherwise avoid it. Used sparingly to prevent bots from moving to odd-looking places.

Warning.pngWarning:AABB is used for area obstructing, so clipping or rotating brushes does not change a brush's size as one expects.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Uses in Official Maps

Left 4 Dead l4d_river01_docks / Left 4 Dead 2 c7m1_docks

  • 4 of them are used on the wooden structure near the sea by a path of rocks under the bridge.