Env physics blocker: Difference between revisions
Jump to navigation
Jump to search
(-added class hierarchy) |
(-info) |
||
Line 4: | Line 4: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Mins|intn=boxmins|vector}} | {{KV|Mins|intn=boxmins|vector}} | ||
{{KV|Maxs|intn=boxmaxs|vector}} | {{KV|Maxs|intn=boxmaxs|vector| | ||
Used when angles 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|Maxs|intn=maxs|vector| | |||
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}} | ||
:* 0 : Disabled | :* 0 : Disabled | ||
Line 28: | Line 34: | ||
{{IO|Enable|Enables the Blocker}} | {{IO|Enable|Enables the Blocker}} | ||
{{IO|Disable|Disables the Blocker}} | {{IO|Disable|Disables the Blocker}} | ||
== See Also == | |||
* [[env_player_blocker]] | |||
[[Category:Physics]] | [[Category:Physics]] |
Revision as of 07:51, 2 August 2023
![]() |
---|
CEnvPhysicsBlocker |
Template:L4d2 point It blocks players and physics objects.
Keyvalues
- Mins (boxmins) <vector>
- Maxs (boxmaxs) <vector>
- Used when angles other value than 0 0 0.
Bug:non zero angles cause physics object to always be blocked by this entity [todo tested in ?]
- 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.
- 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
Inputs
- Enable
- Enables the Blocker
- Disable
- Disables the Blocker