Env physics blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Reformat)
Line 1: Line 1:
{{l4d2 point|env_physics_blocker}}
{{l4d2 point|env_physics_blocker}} It blocks players and physics objects.
{{stub}}
 
== Entity description ==
An entity which blocks players and physics objects.


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV|Mins|vector}}
* {{ScrollBox|title=mins|
{{KV|Maxs|vector}}
; Mins <code><[[vector]]></code>
{{KV|Initial State|choices|Initial state of the blocker}}
}}
:* 0 : Disabled
* {{ScrollBox|title=maxs|
:* 1 : Enabled
; Maxs <code><[[vector]]></code>
{{KV|Blocks|choices|What should be blocked}}
}}
:{| class=standard-table
* {{ScrollBox|title=initialstate|
! Value || Description
; Initial State <code><choices></code>
|-
}}
| <code>0</code> || Everyone
* {{ScrollBox|title=BlockType|
|-
; Blocks <code><choices></code>
| <code>1</code> || Survivors
}}
|-
| <code>2</code> || Player Infected
|-
| <code>3</code> || All Special Infected (Player and AI)
|-
| <code>4</code> || All players and physics objects
|}
{{KV Angles}}
{{KV Targetname}}


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


== Outputs ==
== Outputs ==

Revision as of 03:34, 12 August 2011

Template:L4d2 point It blocks players and physics objects.

Keyvalues

Mins ([todo internal name (i)]) <vector>
Maxs ([todo internal name (i)]) <vector>
Initial State ([todo internal name (i)]) <choices>
Initial state of the blocker
  • 0 : Disabled
  • 1 : Enabled
Blocks ([todo internal name (i)]) <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 or target).
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


Outputs