Linedef type 14

From SRB2 Wiki
Jump to: navigation, search
Player breaking a bustable block with a non-default debris sprite.

Linedef type 14, Bustable Block Parameters, is a type of linedef special which is used to set the parameters for a bustable FOF.

Setup

The control linedef should be tagged to the control sector of the bustable FOF. This can be either one of the FOF types that shatter on collision (e.g., linedef type 254) or a regular FOF that is shattered with linedef type 436. The name of the Object type to be spawned as debris should be written in the control linedef's front upper texture field. If the name is longer than eight characters, it continues in the front middle texture and front lower texture fields. If the texture fields are left empty, MT_ROCKCRUMBLE1 is used as the default debris type. The sound that is played upon busting the FOF is the ActiveSound of the debris Object type.

The control linedef's front texture X offset determines the spacing of the debris particles, in fracunits. If it is set to 0, it defaults to 32 fracunits. The front texture Y offset determines the fuse of the spawned debris particles, which typically corresponds to the time it takes for them to disappear, in tics. If it is set to -1, the fuse will not be set and the debris particles will stay on the map indefinitely. If the Slope Skew flag is set, the debris particles will be launched out horizontally and vertically from the center of the FOF rather than just falling down.

Sample

Example file: ex_ld014_bustableblockparameters.wad (MAP01)
How to use
  • You may load this file into your favorite map editor, such as Zone Builder. Select MAP01 as the map to load.
  • You may also load this file in the game:
    1. Save ex_ld014_bustableblockparameters.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld014_bustableblockparameters.wad.
    3. Start the game in Single Player mode.
    4. Press the Console button (~), and type in the command MAP MAP01 to access the example map.
  • When you load this file in the game, it replaces Greenflower Zone Act 1.

  Linedef types – Parameters [view]
Custom ExitZoom Tube ParametersSpeed Pad ParametersSpecial Sector PropertiesChain ParametersRope Hang ParametersRock Spawner ParametersBustable Block ParametersFan Particle Spawner ParametersMinecart ParametersContinuously Appearing/Disappearing FOF