Func block charge: Difference between revisions
Jump to navigation
Jump to search


Warning:This entity applies its effect based on its AABB instead of its brush model. [ Edit ]
Placement Tip:See through fences, bridges where charger could try charging over a gap diagonally to you
AltNames: This entity is also tied to
Risk of Confusion:This is not meant to block any sort of movement since it's not a solid brush that would block exclusively charging chargers.
(Rephrasal of description and added a warning, all on Nescius's wishes) |
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.) |
||
(20 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{LanguageBar}}{{CD|CFuncBrush|CBaseEntity}} | |||
{{ | {{this is a|brush entity|name=func_block_charge|game=Left 4 Dead 2|sprite=Toolsnodraw.gif}} Chargers won't charge at players to which line of sight is blocked by this entity. | ||
{{ | {{AABBwarning}} | ||
{{ | {{ModernPlacementTip|See through fences, bridges where charger could try charging over a gap diagonally to you}} | ||
{{AltNames|name1=func_brush|misc=This entity is just func_brush with classname func_block_charge. It's the [[charger]]'s behaviour that makes him not start charge through entities with classname func_block_charge}} | |||
{{ModernConfusion|This is not meant to block any sort of movement since it's not a solid brush that would block exclusively charging chargers.}} | |||
== Image demonstration == | |||
[[File:Func block charge example.png|600px|center]] | |||
[[File:Func block charge example2.png|600px|center]] | |||
{{clr}} | {{clr}} | ||
== | == FGD Enhancement == | ||
Open <code>steamapps\common\Left 4 Dead 2\bin\left4dead2.fgd</code> and replace the <code>func_block_charge</code> section. | |||
<source lang=js> | |||
@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" | |||
] | |||
</source> | |||
== | == See Also == | ||
{{ | * {{ent|charger}} |
Latest revision as of 17:54, 18 July 2025


![]() |
---|
CFuncBrush |

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



func_brush
. This entity is just func_brush with classname func_block_charge. It's the charger's behaviour that makes him not start charge through entities with classname func_block_charge 
Image demonstration
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"
]