Func playerinfected clip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Add internal names for keyval keys, Change expected value of Shadows bool->choices and add choices)
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{l4d series brush|func_playerinfected_clip}} It is a simple clip brush that blocks player infected movement. In other words, the entity is used to prevent player infected (also known as "PZ") in versus from accessing an area.
{{LanguageBar}}{{CD|CFuncPlayerInfectedClip}}
{{this is a|brush entity|name=func_playerinfected_clip|series=Left 4 Dead}} It is a simple clip brush that blocks Special Infected controlled by players during Versus. AI Controlled Special infected and Common infected may still pass.
{{ModernPlacementTip|Far enough from the edges of the map to prevent zombie players from seeing void, nodraw etc.}}


== Keyvalues ==
== Keyvalues ==
{{KV|Solidity|intn=Solidity|choices|Used to control the solidity/collision of these brushes.}}
:* 0 : Toggle
:* 1 : Never Solid
:* 2 : Always Solid
{{KV|Shadows|intn=vrad_brush_cast_shadows|choices|Set this if this brush casts lightmap shadows. Default value is 0.}}
:*0: No
:*1: Yes
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}
{{KV StartDisabled}}
{{KV RenderFields}}
{{KV Global}}
{{KV Inputfilter}}
{{KV EnableDisable}}
{{KV Shadow}}
 
== Flags ==
* 2 : Ignore player +USE


== Inputs ==
== Inputs ==
{{I Targetname}}
{{I Parentname}}
{{I RenderFields}}
{{I EnableDisable}}
{{I EnableDisable}}
{{I Shadow}}


== Outputs ==
== See also ==
{{O Targetname}}
* {{ent|func_playerghostinfected_clip}}

Latest revision as of 17:55, 18 July 2025

English (en)Translate (Translate)
C++ Class hierarchy
CFuncPlayerInfectedClip
CFuncBrush
CBaseEntity

func_playerinfected_clip is a brush entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It is a simple clip brush that blocks Special Infected controlled by players during Versus. AI Controlled Special infected and Common infected may still pass.

PlacementTip.gifPlacement Tip:Far enough from the edges of the map to prevent zombie players from seeing void, nodraw etc.

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See also