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.)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lang|title=func_nav_connection_blocker}}
{{LanguageBar}}{{CD|CFuncNavConnectionBlocker}}
{{entity|func_nav_connection_blocker|type=e2|game=Left 4 Dead 2}} It prevents vertical connections to be made through its volume during [[Nav generate|navmesh generation]].
[[File:Toolstrigger.gif|left]]
 
{{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 ==
== 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.
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.


[[Image:Nav connection blocker effects 0.png|thumb|left|600px|caption|Navmesh generated without func_nav_connection_blocker]]
[[File:Nav connection blocker effects 0.png|thumb|left|600px|caption|Navmesh generated without func_nav_connection_blocker]]
[[Image:Func nav connection blocker effect 1.png|thumb|left|600px|caption|Navmesh generated with func_nav_connection_blocker]]
[[File:Func nav connection blocker effect 1.png|thumb|left|600px|caption|Navmesh generated with func_nav_connection_blocker]]
[[Image:Func nav connection blocker effects 2.png|thumb|left|600px|caption|Example showing func_nav_connection_blocker working correctly even with rotated brush models]]
[[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}}
== See also ==
* [[func_nav_attribute_region]]
* [[func_nav_blocker]]
* [[func_nav_avoidance_obstacle]]

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