Linedef type 15

From SRB2 Wiki
Jump to navigation Jump to search
Examples of particles created using spawn parameters.

Linedef type 15, Fan Particle Spawner Parameters, is a type of linedef special which is used to set the parameters for one or multiple Fan Particle Generators.


The tag of the control linedef should be the same as the Angle of the affected Fan Particle Generator Thing(s). The name of the Object type to be spawned as fan particles 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_PARTICLE is used as the default particle type.

The Z position field of the generator Thing determines the number of particles that are spawned around the Thing's center each tic. The length of the control linedef determines the radius at which the particles are spawned. The particles will be distributed evenly around the center. The front texture X offset determines the speed at which the particles rise upwards, in fracunits per tic. If the generator Thing is given the Object Flip flag, the particles sink downwards instead. If the Y offset is set to something other than 0, the spawn locations of the particles will rotate around the center of the Thing; in this case, the Y offset sets the number of degrees to turn per tic. If the Z position is set to 0, the generator will spawn just one particle per tic directly from its center; in this case, the Y offset and length of the linedef are ignored.

The floor and ceiling heights of the control sector determine the heights between which the particles are bound: Normally, the floor height sets the spawn height of the particles and the ceiling height sets the height at which they disappear. If the generator Thing is flipped with the Object Flip flag, this is inverted.


Example file: ex_ld015_fanparticlespawnerparameters.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_ld015_fanparticlespawnerparameters.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld015_fanparticlespawnerparameters.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