Func pushable (GoldSrc): Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)  | 
				No edit summary  | 
				||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{HL1 topicon}}  | {{HL1 topicon}}  | ||
{{this is a|brush entity|name=func_pushable|engine=  | {{tabs|func_pushable|goldsrc=1|source=1}}  | ||
A pushable brush object with very primitive physics  | {{CD|CPushable|goldsrc=1}}  | ||
{{this is a|brush entity|name=func_pushable|engine=goldSrc}}  | |||
A pushable brush object with very primitive physics.  | |||
== Flags ==  | == Flags ==  | ||
{{fl|128|Breakable|Allow the brush to be broken like [[func_breakable]].}}  | |||
{{fl|128|Breakable  | |||
== Key Values ==  | == Key Values ==  | ||
{{KV|Friction|float|The amount of friction in the brush.}}  | {{KV|Friction|intn=friction|float|The amount of friction in the brush.}}  | ||
{{KV|Buoyancy|float|The amount of buoyancy in the brush.}}  | {{KV|Buoyancy|intn=buoyancy|float|The amount of buoyancy in the brush.}}  | ||
{{KV|Hull size|choices|  | {{KV|Hull size|intn=size|choices|deprecated=1|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.}}  | ||
:{|   | :{{codenote|Even if this KV is fixed, it would require an origin brush to work correctly.}}  | ||
{{KV|Spawn on break|intn=spawnobject|string|What entity to spawn when this brush breaks.}}  | |||
{{KV|Target on break|intn=target|target_destination|What entity to fire an input to when this brush breaks.}}  | |||
{{KV|Explosion magnitude|intn=explodemagnitude|float|How large should an explosion be when this brush breaks (if any)?}}  | |||
{{KV|Material type|intn=material|choices|What material this brush uses. Will affect what kind of gibs are produced.}}  | |||
{{KV|Spawn on break|string|What entity to spawn when this brush breaks.}}  | |||
{{KV|Target on break|target_destination|What entity to fire an input to when this brush breaks.}}  | |||
{{KV|Explosion magnitude|float|How large should an explosion be when this brush breaks (if any)?}}  | |||
{{KV|Material type|choices|What material this brush uses. Will affect what kind of gibs are produced.}}  | |||
:{| class=standard-table  | :{| class=standard-table  | ||
! Value || Description  | ! Value || Description  | ||
| Line 48: | Line 38: | ||
| <code>8</code> || Rock  | | <code>8</code> || Rock  | ||
|}  | |}  | ||
{{KV|Gib model|string|Used to specify a custom model to use when this brush breaks.}}  | {{KV|Gib model|intn=gibmodel|string|Used to specify a custom model to use when this brush breaks.}}  | ||
[[Category:Entities]]  | [[Category:Entities]]  | ||
Latest revision as of 17:55, 14 May 2025
| CPushable | 
func_pushable  is a   brush entity  available in all 
 GoldSrc games.
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.