func_block_charge

From Valve Developer Community
Revision as of 17:01, 25 December 2025 by SirYodaJedi (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
CFuncBrush
↳CBaseEntity
Toolsnodraw.gif

func_block_charge is a brush entity available in Left 4 Dead 2 Left 4 Dead 2. Chargers won't charge at players to which line of sight is blocked by this entity.

Warning.pngWarning: This entity applies its effect based on its AABB instead of its brush model. [ Edit ]

{{ModernPlacementTip}} is deprecated. Use {{placement tip}} instead. Template:AltNames {{ModernConfusion}} is deprecated. Use {{confusion}} instead.

Note.pngNote: All Keyvalues / Inputs / Outputs are same as func_brush.

Image demonstration

Func block charge example.png


Func block charge example2.png

FGD Enhancement

Open steamapps\common\Left 4 Dead 2\bin\left4dead2.fgd and replace the func_block_charge section.

@SolidClass base(Targetname) = func_block_charge : "AI Chargers will not charge through this brush. (Based on AABB!)"
[
	Solidity(integer) readonly : "Solidity" : 1 : "Should be always never solid"
]

See Also