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
(The entity is pushable without +use in HL:S. It's not necessary that it's axially aligned. I made a map with it not axially aligned but it still can't be rotated.)
(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 5: Line 5:
{{CD|CPushable|base=CBreakable|file1=func_break.cpp}}
{{CD|CPushable|base=CBreakable|file1=func_break.cpp}}
{{this is a|brush entity|name=func_pushable}} A pushable brush object with very primitive physics. It can be thought of as the predecessor to {{ent|func_physbox}}. It is used in {{hl|4}} and {{hls|4}}.  
{{this is a|brush entity|name=func_pushable}} A pushable brush object with very primitive physics. It can be thought of as the predecessor to {{ent|func_physbox}}. It is used in {{hl|4}} and {{hls|4}}.  
{{note|This entity can't be rotated at runtime in {{hls}} and {{hldms}}.}}
{{note|This entity can be pushed with {{code|[[+use]]}} and this entity can't be rotated at runtime. {{only|{{hls}}{{hldms}}}}}}


{{Brush rendering note}}
{{Brush rendering note}}
Line 14: Line 14:
== Flags ==
== Flags ==
{{fl|128|Is breakable}}
{{fl|128|Is breakable}}
{{fl|256|Prevent +use push|Only in {{hls}}{{confirm}}}}
{{fl|256|Prevent {{code|+use}} push|{{only|{{hls}}{{hldms}}}}}}


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

Revision as of 21:09, 21 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: SourceHalf-Life Deathmatch: Source)

See Also