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
Note:This entity in code is most likely just func_brush with classname keyvalue changed to func_block_charge. For example firing AddOutput "classname func_block_charge" on a func_brush makes it behave like func_block_charge
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.
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
No edit summary |
||
Line 2: | Line 2: | ||
{{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. | {{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}} | {{ModernPlacementTip|See through fences, bridges where charger could try charging over a gap diagonally to you}} | ||
{{Note|This entity in code is most likely just func_brush with classname keyvalue changed to func_block_charge. For example firing AddOutput "classname func_block_charge" on a func_brush makes it behave like func_block_charge}} | {{Note|This entity in code is most likely just func_brush with classname keyvalue changed to func_block_charge. For example firing AddOutput "classname func_block_charge" on a func_brush makes it behave like func_block_charge}} |
Revision as of 12:34, 25 May 2024


![]() |
---|
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.




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"
]