Prop wall breakable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{l4d2 point|prop_wall_breakable}} {{stub}} == Entity description == A section of wall that's breakable just like doors are. == Keyvalues == * {{KV Targetname}} * {{KV Studiomo…')
 
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{l4d2 point|prop_wall_breakable}}
__NOTOC__
{{stub}}
{{CD2|CPropBreakableWall}}
{{this is a|model entity|name=prop_wall_breakable|game=Left 4 Dead 2}}


== Entity description ==
A section of wall that's breakable just like doors are.
A section of wall that's breakable just like doors are.


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV Targetname}}
* {{KV Studiomodel}}
 
== Flags ==
{{fl|524288|Start Unbreakable}}


== Inputs ==
== Inputs ==
{{I Targetname}}
{{I|SetUnbreakable|The wall can't be broken.}}
{{I Parentname}}
{{I|SetBreakable|The wall can be broken.}}
{{ScrollBox|title=Studiomodel|
; <code>Skin <[[int]]></code>
: Changes the model's [[$texturegroup|skin]] to the specified number.
; <code>EnableShadow</code>
; <code>DisableShadow</code>
: Control the model's cheap render-to-texture shadow.
; {{EP1 add|<code>AlternativeSorting <[[bool]]></code>}}
: Used to attempt to fix sorting problems when rendering. {{todo|What is the effect?}}
; <code>SetUnbreakable</code>
: The wall can't be broken.
; <code>SetBreakable</code>
: The wall can be broken.
}}


== Outputs ==
== Outputs ==
{{O Targetname}}
{{O|OnBreak|Fired when the wall changes damage states.}}
; <code>OnIgnite</code>
: Fired when this object catches fire.
; <code>OnBreak</code>
: Fired when the wall changes damage states.


== See also ==
== See also ==
* [[prop_door_rotating]]
* [[prop_door_rotating]]


== External links ==
[[Category:Prop entities|wall breakable]]

Latest revision as of 09:38, 19 May 2025

C++ class hierarchy
CPropBreakableWall
CPropDoorRotatingBreakable
CPropDoorRotating
CBasePropDoor
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_wall_breakable is a model entity available in Left 4 Dead 2 Left 4 Dead 2.

A section of wall that's breakable just like doors are.

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

Flags

Start Unbreakable : [524288]

Inputs

SetUnbreakable
The wall can't be broken.
SetBreakable
The wall can be broken.

Outputs

OnBreak
Fired when the wall changes damage states.

See also