Env physics blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎See also: Unicodifying, replaced: See Also → See also)
mNo edit summary
Line 3: Line 3:


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV|Mins|intn=boxmins|vector}}
{{KV|Mins|intn=boxmins|vector}}
{{KV|Maxs|intn=boxmaxs|vector|
{{KV|Maxs|intn=boxmaxs|vector|
Used when angles are other value than 0 0 0. {{Bug|non zero angles cause physics object to always be blocked by this entity}}}}
Used when angles are other value than 0 0 0. {{Bug*|non zero angles cause physics object to always be blocked by this entity}}}}
{{KV|Mins|intn=mins|vector}}
{{KV|Mins|intn=mins|vector}}
{{KV|Maxs|intn=maxs|vector|
{{KV|Maxs|intn=maxs|vector|
Used when angles are 0 0 0}}
Used when angles are 0 0 0}}


{{KV|Initial State|intn=initialstate|choices|Initial state of the blocker}}
{{KV|Initial State|intn=initialstate|choices|Initial state of the blocker}}
Line 29: Line 29:
|}
|}
{{KV Angles}}
{{KV Angles}}
{{KV Targetname}}


== Inputs ==
== Inputs ==
{{IO|Enable|Enables the Blocker}}
{{I|Enable|Enables the Blocker}}
{{IO|Disable|Disables the Blocker}}
{{I|Disable|Disables the Blocker}}


== See also ==
== See also ==

Revision as of 20:02, 4 March 2025

C++ Class hierarchy
CEnvPhysicsBlocker
CBaseEntity

env_physics_blocker is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It blocks players and physics objects.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Mins (boxmins) <vector>
Maxs (boxmaxs) <vector>
Used when angles are other value than 0 0 0.
Icon-Bug.pngBug*:non zero angles cause physics object to always be blocked by this entity
Mins (mins) <vector>
Maxs (maxs) <vector>
Used when angles are 0 0 0


Initial State (initialstate) <choices>
Initial state of the blocker
  • 0 : Disabled
  • 1 : Enabled
Blocks (BlockType) <choices>
What should be blocked
Value Description
0 Everyone
1 Survivors
2 Player Infected
3 All Special Infected (Player and AI)
4 All players and physics objects
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

Enable
Enables the Blocker
Disable
Disables the Blocker

See also