Generic_Crusher

From ZDoom Wiki
Jump to: navigation, search

205:Generic_Crusher (tag, dspeed, uspeed, silent, crush)
169:Generic_Crusher2 (tag, dspeed, uspeed, silent, crush)


  • tag: Tag of affected sector
  • dspeed: How quickly the ceiling lowers
  • uspeed: How quickly the ceiling raises
  • silent: Set this to 1 to prevent the crusher from making noise
  • crush: Amount of damage to apply

This special encapsulates Boom's generalized crushers. It is the same as Ceiling_CrushAndRaiseA, except that it takes an argument to control the “noisiness” of the crusher.

Unlike the other crushing specials where the crush mode is a parameter, the generic version uses a different special type because it already has all parameters in use. Generic_Crusher uses Doom mode and Generic_Crusher2 uses Hexen mode.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.