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.

func_pushable

From Valve Developer Community
(Redirected from Func pushable)
Jump to: navigation, search

class hierarchy
CPushable defined in func_break.cpp
CBreakable
CBaseDelay
CBaseEntity

func_pushable is a brush entity available in all GoldSrc GoldSrc games. A pushable brush object with very primitive physics.

Flags

  •  [128] : Breakable - Allow the brush to be broken like func_breakable.

Key Values

Friction (friction) <float>
The amount of friction in the brush.
Buoyancy (buoyancy) <float>
The amount of buoyancy in the brush.
Hull size (size) <choices>
The size of the brushes' hull
Value Description
0 Point size
1 Player size
2 Big size
3 Player duck
Spawn on break (spawnobject) <string>
What entity to spawn when this brush breaks.
Target on break (target) <targetname>
What entity to fire an input to when this brush breaks.
Explosion magnitude (explodemagnitude) <float>
How large should an explosion be when this brush breaks (if any)?
Material type (material) <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 (gibmodel) <string>
Used to specify a custom model to use when this brush breaks.