Func clip vphysics
Jump to navigation
Jump to search


Template:Base brush It is considered solid to VPhysics objects (such as a prop_physics). QPhysics objects (such as players) can pass freely.

Disable
it. A code fix is available below. [todo tested in ?]Keyvalues
- Filter Name (filtername) ([todo internal name (i)]) <filter>
- Filter to use to see if activator collides with this entity.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
Adding StartDisabled
By default, StartDisabled is unsupported by this entity, but this can be easily corrected in code.
Find this line in the DataDesc, in bmodels.cpp. It should be at line 1358:
DEFINE_FIELD( m_bDisabled, FIELD_BOOLEAN ),
Change DEFINE_FIELD
to DEFINE_KEYFIELD
, and add "StartDisabled"
as the last parameter.
DEFINE_KEYFIELD( m_bDisabled, FIELD_BOOLEAN, "StartDisabled" ),