This article's documentation is for anything that uses the Source engine. Click here for more information.

Func pushable (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added that +use can be used to push it but only in HL:S and HLDM:S as it doesn't work in Half-Life 2. The flag 256 only works in HL:S and HLDM:S due to this)
Line 14: Line 14:
== Flags ==
== Flags ==
{{fl|128|Is breakable}}
{{fl|128|Is breakable}}
{{fl|256|Prevent {{code|+use}} push|{{only|{{hls}}{{hldms}}}}}}
{{fl|256|Prevent {{code|+use}} push|{{only|{{hls}} {{hldms}}}}}}


== See Also ==
== See Also ==
* {{ent|func_physbox}}
* {{ent|func_physbox}}

Revision as of 07:07, 22 September 2024

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
C++ Class hierarchy
CPushable
CBreakable
CBaseEntity
C++ func_break.cpp

func_pushable is a brush entity available in all Source Source games. A pushable brush object with very primitive physics. It can be thought of as the predecessor to func_physbox. It is used in Half-Life Half-Life and Half-Life: Source Half-Life: Source.

Note.pngNote:This entity can be pushed with +use and this entity can't be rotated at runtime. (only in Half-Life: SourceHalf-Life Deathmatch: Source)
Note.pngNote:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
Note.pngNote:All Keyvalues / Inputs / Outputs are same as func_breakable.
Confirm:Keyvalues size and buoyancy which are in goldsrc don't seem to be present here

Flags

Is breakable : [128]
Prevent +use push : [256]
(only in Half-Life: Source Half-Life Deathmatch: Source)

See Also