Skip to main content

func_pushable

func_pushable icon
Brush entity

A func_pushable is a brush that players push by walking into it or by holding their use key on it. With the flag Breakable, it also breaks like a func_breakable, and only then do the breakable keys work.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Nametargetname

Triggering the entity breaks it if it has the flag Breakable, and with Toggleable push, triggering it switches it between pushable and fixed in place. See Common keys.

Delay before firedelay

Sets how many seconds pass after it breaks before it fires its Target. With the flag Pressure, it is also how long it holds after a player steps on it, at least 0.1 seconds.

Default 0
Strengthhealth

Sets how much damage it takes before it breaks. Melee hits deal double damage to it. On a func_pushable, it only matters with the flag Breakable.

If you leave this key empty or set 0, the first hit breaks it.

Default 1
Material typematerial

Sets what it is made of. This sets the sounds when it is hit and when it breaks, the gibs it breaks into and the marks that hits leave.

The 9 choices
  • Glass (0) - Glass
  • Wood (1) - Wood
  • Metal (2) - Metal
  • Flesh (3) - Flesh
  • Cinder Block (4) - Cinder block
  • Ceiling Tile (5) - Ceiling tiles
  • Computer (6) - A computer, which throws sparks when it is hit
  • Unbreakable Glass (7) - Glass that never breaks
  • Rocks (8) - Rocks
Default Glass (0)
Gibs Directionexplosion

Sets which way the gibs fly when it breaks.

  • Random (0) - In random directions
  • Relative to Attack (1) - Away from the hit that broke it
Default Random (0)
Gib Modelgibmodel

Sets a model for the broken pieces, used instead of the normal gibs of its Material type.

Spawn On Breakspawnobject

Sets an object that appears where it breaks. You can also type the class name of an item, a weapon or ammo that starts with item_, weapon_ or ammo_, such as weapon_k444 or item_battery. With any other class name, such as a monster's, nothing appears. With developer 1 set in the console, the console then shows an error when the map starts. You can't change this key while the map runs.

  • Nothing (0) - Nothing appears
  • Battery (1) - A battery
  • RPG (14) - A Nuclear RPG
  • RPG Clip (15) - RPG ammo
  • Hand grenade (17) - A hand grenade
  • Tripmine (18) - A mine
  • Satchel Charge (19) - A satchel charge
  • Pitbull (20) - Pitbulls
Default Nothing (0)
Explode Magnitudeexplodemagnitude

Makes it explode when it breaks, with this much damage and a fireball to match. The blast reaches 2.5 times this value in units, and 0 means no explosion.

Default 0
Custom number of gibsFeaturefulm_iGibs

Sets how many gibs it breaks into, up to 255. With 0, the game decides, and with -1, it breaks into no gibs.

Default 0
Custom gib scaleFeaturefulgibscale

Sets the size of the gibs, so 0.5 is half and 2 is double.

If you leave this key empty or set 0, the gibs have their normal size.

Trigger when hitFeaturefulSpirit of Half-Lifewhenhit

The entity fires this at each hit, and passes on a point at the spot of the hit as the activator. That point moves in the direction of the hit, so a locus vector key can read the direction.

Target's ActivatorFeaturefultarget_activator

Sets the activator that the Target gets when it breaks.

  • No (Default) (0) - No activator
  • This breakable (1) - The breakable itself
  • My attacker or activator (2) - The player or monster that broke it
Default No (Default) (0)
Spark When HitFeaturefulspark_when_hit

Sets whether it throws sparks when it is hit.

  • Default (only computer material) (0) - Only the Computer material throws sparks
  • Yes (1) - It sometimes throws sparks and plays a spark sound when a shot, a melee attack or a beam hits it
Default Default (only computer material) (0)
Switch Texture When DamagedFeaturefulswitch_texture_when_damaged

Sets whether its look changes when it is damaged.

  • No (0) - It keeps its texture
  • Switch to alternate texture (1) - It shows its alternate texture, the +a frame, once it has half of its Strength or less
Default No (0)
Frictionfriction

Sets how hard it is to push, from 0 up to 399, because players can push it at up to 400 minus this value, in units per second.

If you leave this key empty, it is 0 and players push it at the full 400 units per second.

Default 50
Buoyancybuoyancy

Sets how strongly it floats in water, and the value is multiplied by the size of its base.

If you leave this key empty, it is 0 and it sinks.

Default 20
Toggleable pushFeaturefultoggleable_push

Sets whether a trigger can fix it in place.

  • No (0) - Players can always push it
  • Yes (1) - Triggering it switches it between pushable and fixed in place, where it is solid like a wall, and a trigger then never breaks it
Default No (0)

Flags​

1Only Trigger

Only a trigger breaks it, so damage does nothing, and monster melee attacks don't lower its health either

16Invert Hit VectorFeaturefulSpirit of Half-Life

With Trigger when hit, the entity reverses the horizontal part of the hit direction that it passes on, so the direction points back toward the shooter

128Breakable

It can be broken like a func_breakable, with the Strength, the Material type and the other breakable keys

256Instant Crowbar

A melee hit of a player breaks it at once, even when its Strength is high. This flag is set by default

512Explosives Only

Only explosions and grenades hurt it, so bullets and melee hits do nothing

Notes​

  • If a player started the chain of triggers, a trigger doesn't break the pushable, because the pushable treats the trigger as that player pulling it. A trigger whose activator isn't a player breaks it

  • A pushable can't move with a parent, because it moves on its own, but it rides along on a moving object it stands on. See Moving objects

See also​

Changes since 1.38​

  • You can use the new key Toggleable push, the new flag Invert Hit Vector and the new breakable keys of func_breakable
  • With Gibs Direction "Relative to Attack", the gibs of a broken pushable fly away from the attacker. In SBO 1.38, they flew toward the attacker
  • New in SBO 2.1.0: Spawn On Break also takes a class name