Func block charge: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Warning:AABB is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.
Warning:AABB is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.
 Placement Tip:See through fences, bridges where charger could try charging over a gap diagonally to you
Placement Tip:See through fences, bridges where charger could try charging over a gap diagonally to you
		
	
| mNo edit summary | mNo edit summary | ||
| Line 1: | Line 1: | ||
| {{lang|title=func_block_charge}} | {{lang|title=func_block_charge}} | ||
| {{CDA|{{TODO|figure out the class name}}|CFuncBrush|CBaseEntity}} | {{CDA|{{TODO|figure out the class name}}|CFuncBrush|CBaseEntity}} | ||
| {{entity| | {{entity|func_block_Charge|type=e2|game=Left 4 Dead 2}} It forbids an AI Charger to charge when obscuring LOS with targeted player. AI Chargers however will still run and punch at targets.   | ||
| {{warning|[[AABB]] is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.}} | {{warning|[[AABB]] is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.}} | ||
Revision as of 09:22, 24 January 2023

 
|  Class hierarchy | 
|---|
| [[ Todo: figure out the class name]] | 
Template:Entity It forbids an AI Charger to charge when obscuring LOS with targeted player. AI Chargers however will still run and punch at targets.
 Warning:AABB is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects.
Warning:AABB is used for LOS obscuring, so clipping or rotating brushes does not change a brush's size as one expects. Placement Tip:See through fences, bridges where charger could try charging over a gap diagonally to you
Placement Tip:See through fences, bridges where charger could try charging over a gap diagonally to youKeyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
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"
]























