Prop car glass: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(barracuda do a big don't)
m (Classifying as model entity)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{l4d series point|prop_car_glass}} This class is the same as [[prop_dynamic]], with a car alarm.
{{CD|CCarGlassProp}}
{{this is a|model entity|name=prop_car_glass|series=Left 4 Dead}} This class is the same as [[prop_dynamic]], with a car alarm, to be used together with [[prop_car_alarm]]. It differs from a simple prop_dynamic in that damage or a player standing on it is forwarded to the parented prop_car_alarm to allow triggering it.


==Flags==
== Keyvalues ==
{{Fl DynamicProp}}
{{KV Targetname}}
{{KV Parentname}}


==Keyvalues==
== See also ==
{{KV|Number of pain pills (HealthCount)|integer|Number of pain pills/first aid kits inside (1-4)}}
* [[prop_car_alarm]]
{{KV EnableDisable}}
{{KV DynamicProp|preasw=1}}
{{KV BreakableProp|nohl2=1}}
{{KV BaseAnimating|l4d2=1}}
{{KV BaseEntity|l4d=1|l4d2=1}}


==Inputs==
[[Category:Prop entities|car glass]]
{{I EnableDisable}}
{{I DynamicProp|preasw=1}}
{{I BreakableProp|nohl2=1}}
{{I BaseAnimating}}
{{I BaseEntity|l4d2=1}}
 
==Outputs==
{{O DynamicProp}}
{{O Breakable|prop=1|nohl2=1}}
{{O BaseAnimating}}
{{O BaseEntity|l4d=1}}

Latest revision as of 04:33, 19 May 2025

C++ Class hierarchy
CCarGlassProp
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_car_glass is a model entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. This class is the same as prop_dynamic, with a car alarm, to be used together with prop_car_alarm. It differs from a simple prop_dynamic in that damage or a player standing on it is forwarded to the parented prop_car_alarm to allow triggering it.

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

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

See also