This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article relates to the game "Half-Life". Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Func pushable (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add details about Source 1 version of func_pushable)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{HL1 topicon}}
{{HL1 topicon}}
{{This is a|name=func_pushable|e2|engine=goldsrc|engine1=source}}
{{this is a|brush entity|name=func_pushable|engine=GoldSrc|engine1=Source}}
A pushable brush object with very primitive physics. It can be thought of as the predecessor to [[func_physbox]]. It is used in {{hl|4}} and {{hls|4}}.
A pushable brush object with very primitive physics. It can be thought of as the predecessor to [[func_physbox]]. It is used in {{hl|4}} and {{hls|4}}.



Revision as of 18:39, 17 May 2024

func_pushable is a brush entity available in all GoldSrc GoldSrc and 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.

Flags

Breakable : [128] - Allow the brush to be broken like func_breakable.
No Use : [256] (only in Half-Life: Source Half-Life: Source) !FGD - Prevent the player from picking up the brush with +use.

Key Values

Friction ([todo internal name (i)]) <float>
The amount of friction in the brush.
Buoyancy ([todo internal name (i)]) <float>
The amount of buoyancy in the brush.
Hull size ([todo internal name (i)]) <choices>
The size of the brushes' hull
Value Description
0 Point size
1 Player size
2 Big size
3 Player duck
Spawn on break ([todo internal name (i)]) <string>
What entity to spawn when this brush breaks.
Target on break ([todo internal name (i)]) <targetname>
What entity to fire an input to when this brush breaks.
Explosion magnitude ([todo internal name (i)]) <float>
How large should an explosion be when this brush breaks (if any)?
Material type ([todo internal name (i)]) <choices>
What material this brush uses. Will affect what kind of gibs are produced.
Value Description
0 Glass
1 Wood
2 Metal
3 Flesh
4 Cinder block
5 Ceiling tile
6 Computer
7 Unbreakable glass
8 Rock
Gib model ([todo internal name (i)]) <string>
Used to specify a custom model to use when this brush breaks.