Func nav connection blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
{{LanguageBar}}{{CD|CFuncNavConnectionBlocker}}
[[File:Toolstrigger.gif|left]]
{{l4d2 brush|func_nav_connection_blocker}} It is a brush entity that prevents navigation mesh (on creation) connections to be made through its volume.
{{this is a|brush entity|name=func_nav_connection_blocker|game=Left 4 Dead 2}} It prevents vertical connections to be made through its volume during [[Nav generate|navmesh generation]].
{{clr}}
== Example ==
It's used only in c5m5_bridge. You can see its brush like in the pictures below when [[convar]] nav_show_connectionblockers is 1 while round starts and the brush uses {{ent|Tool textures|alt=tools/toolstrigger}} texture. Blue lines in the pictures are connections going from upper areas to the lower ones.


==KeyValues==
[[File:Nav connection blocker effects 0.png|thumb|left|600px|caption|Navmesh generated without func_nav_connection_blocker]]
{{KV Targetname}}
[[File:Func nav connection blocker effect 1.png|thumb|left|600px|caption|Navmesh generated with func_nav_connection_blocker]]
{{KV Parentname}}
[[File:Func nav connection blocker effects 2.png|thumb|left|600px|caption|Example showing func_nav_connection_blocker working correctly even with rotated brush models]]
 
{{clr}}
==Inputs==
== See also ==
{{I Targetname}}
* [[func_nav_attribute_region]]
 
* [[func_nav_blocker]]
==Outputs==
* [[func_nav_avoidance_obstacle]]
{{O Targetname}}

Latest revision as of 17:55, 18 July 2025

English (en)Translate (Translate)
C++ Class hierarchy
CFuncNavConnectionBlocker
CBaseEntity
Toolstrigger.gif

func_nav_connection_blocker is a brush entity available in Left 4 Dead 2 Left 4 Dead 2. It prevents vertical connections to be made through its volume during navmesh generation.

Example

It's used only in c5m5_bridge. You can see its brush like in the pictures below when convar nav_show_connectionblockers is 1 while round starts and the brush uses tools/toolstrigger texture. Blue lines in the pictures are connections going from upper areas to the lower ones.

Navmesh generated without func_nav_connection_blocker
Navmesh generated with func_nav_connection_blocker
Example showing func_nav_connection_blocker working correctly even with rotated brush models

See also