Func clip vphysics
Jump to navigation
Jump to search
Template:Wrongtitle Template:Base brush
Entity Description
A brush entity that is considered solid to vphysics; in layman's terms, an invisible wall.

Availability
Template:In game Template:Game-base In code it is represented by class CFuncVPhysicsClip, defined in bmodels.cpp.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- filtername
- <filterclass> Filter to use to see if activator collides with me. See filter_activator_name for more explanation.
Inputs
Outputs
Fixing Start Disabled Behavior
By default, start disabled is unsupported by this entity, but this can be easily corrected in code. To start, edit line 1355 of bmodels.cpp to read:
DEFINE_KEYFIELD( m_bDisabled, FIELD_BOOLEAN, "startdisabled" ),
Then, simply add the new keyfield to func_clip_vphysics's definition in your mod's base FGD.
startdisabled(choices) : "Start Disabled" : 0 : "The entitiy's default state" =
[
0 : "No"
1 : "Yes"
]