func_pushable
Jump to navigation
Jump to search
| CPushable |
func_pushable is a brush entity available in all
GoldSrc games.
- The
{{{engine}}}parameter is inconsistent with the name defined by the {{goldsrc}} template. This can most likely be fixed by setting the value of the{{{engine}}}parameter toGoldSrc.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
A pushable brush object with very primitive physics.
Flags
- Breakable : [128] - 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>
- Deprecated.
Supposed to control the size of the brushes' hull. Nonfunctional; will always use hull 2 if larger than 32x32, or hull 3 if 32x32 or smaller.
Code:Even if this KV is fixed, it would require an origin brush to work correctly.
- 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 0Glass 1Wood 2Metal 3Flesh 4Cinder block 5Ceiling tile 6Computer 7Unbreakable glass 8Rock
- Gib model (gibmodel) <string>
- Used to specify a custom model to use when this brush breaks.