This article relates to the game "Half-Life". Click here for more information.

Func pushable (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity description: - it's appear in any chapters that have this entity on it, and not just one chapter.)
Line 6: Line 6:
==Entity description==
==Entity description==


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}} in the chapter ''Office Complex''.
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}}.


== Keyvalues ==
== Keyvalues ==

Revision as of 07:00, 27 June 2023

Template:Entity

Template:ModernNote

Entity description

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.

Keyvalues

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.

Flags

  • 128: Breakable