func_pushable

func_pushable #

TWHL

Has same changes as func_breakable (for breakable pushables).

New parameters #

  • Collision with corpses - allows to ignore collision with dead monsters. This will ensure that the dead body won’t block the pushable.
  • Instantly gib corpses - instantly gib corpses on touch. Of course this won’t do anything if Collision with corpses is set to not collide with corpses.
  • How to handle tiny creatures - override handling of tiny creatures.
  • Toggleable pushability - whether the ‘pushability’ of the entity should be toggleable by the triggers. This allows to turn off and on the pushable.
  • Size For Grapple - how weapon_grapple should interact with a pushable. Set to Small to allow pulling the pushable with a grapple.

Calc Ratio #

Reports the health / max health fraction.

Default display name #

Pushable

Soundscripts #

  • Pushable.Move - played when pushed.
  • func_breakable soundscripts (if Breakable spawnflag is enabled).

Cvars #

  • pushablemode. 0 is Anniversary HL (fix excessive acceleration, default). -1 is legacy Half-Life (allow accelerated push with +use). 1 is XashXT (allow pushing sideways. Require going back when pressing +use on the pushable).