Func playerinfected clip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(12 intermediate revisions by 9 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 Targetname}}
{{KV Targetname}}
* {{KV Parentname}}
{{KV StartDisabled}}
* {{KV Origin}}
* {{KV RenderFields}}
* {{KV Global}}
* {{KV EnableDisable}}
* {{kv basefadeprop}}
* {{KV Shadow}}
* '''disablerecieveshadows'''
: <[[boolean]]> Used to disable dynamic shadows being cast on this entity.
* '''InputFilter'''
:
* '''Solidity'''
: <choices> Used to control the solidity/collision of these brushes.
:{| class=standard-table
! Literal Value || Description
|-
| 0 || Toggle
|-
| 1 || Never Solid
|-
| 2 || Always Solid
|}
* '''solidbsp'''
: {{boolean}} Set this if this brush is in hierarchy with a moving object of some kind, and the player can stand on this brush.
 
== Flags ==
2: Ignore player +USE


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{I EnableDisable}}
* {{I RenderFields}}
* {{I Parentname}}
* {{I Shadow}}
* {{I EnableDisable}}
 
== Outputs ==
* {{O Targetname}}


== See also ==
== See also ==
== External links ==
* {{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