Func forcefield: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
		
	
 (-added class hierarchy, cleanup)  | 
				No edit summary  | 
				||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{LanguageBar}}  | {{LanguageBar}}  | ||
{{stub|What does it look like when compiled with Hammer?}}  | {{stub|What does it look like when compiled with Hammer?}}  | ||
{{CD}}  | {{CD|CFuncForceField|file1=func_forcefield.cpp}}  | ||
{{this is a|brush entity|game=Team Fortress 2|name=func_forcefield}} Its one of the few brush entities to have team filtered collisions, alongside [[func_respawnroomvisualizer]]. All teams but the team this brush entity belongs to, are blocked by it. This entity ([[func_forcefield]]) remains visible to both teams regardless of distance.  | {{this is a|brush entity|game=Team Fortress 2|name=func_forcefield}} Its one of the few brush entities to have team filtered collisions, alongside [[func_respawnroomvisualizer]]. All teams but the team this brush entity belongs to, are blocked by it. This entity ([[func_forcefield]]) remains visible to both teams regardless of distance.  | ||
Latest revision as of 12:57, 7 October 2025
| CFuncForceField | 
func_forcefield  is a   brush entity  available in 
 Team Fortress 2. Its one of the few brush entities to have team filtered collisions, alongside func_respawnroomvisualizer. All teams but the team this brush entity belongs to, are blocked by it. This entity (func_forcefield) remains visible to both teams regardless of distance.
Despite the render quirk, the entity still finds moments with its team filtered collision keyvalue, often when users edit entities of an already compiled map. Some methods involved are lump file patching or SourceMod plugins.
Keyvalues
- 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 
TeamNum:
Inputs
EnableDisable:
- Enable / Disable
 - Enable/disable this entity from performing its task. It might also disappear from view.