Func nav connection blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-see also)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{lang|title=func_nav_connection_blocker}}
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CFuncNavConnectionBlocker}}
{{CD|CFuncNavConnectionBlocker}}
[[File:Toolstrigger.gif|left]]
[[File:Toolstrigger.gif|left]]
{{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]].
{{this is a|e2|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}}
{{clr}}
== Example ==
== Example ==

Revision as of 10:54, 4 January 2024

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

func_nav_connection_blocker is an e2 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