Linedef type 546

From SRB2 Wiki
Jump to: navigation, search
An example of a downwards current.

Linedef type 546, Downwards Current, is a type of linedef special which creates a downwards current on every tagged sector that carries players and pushable Objects. It is usually applied to water blocks.

Setup

The target sector must have the Wind/Current sector effect for this special to work. The speed of the current is determined by the length of the control linedef.

If Flag [9] / Solid Midtexture / Effect 4 is checked, the current will be used as a waterslide. In this situation, it will force players into their pain sprites and make them unable to slow down or speed up. If Flag [6] / Not Climbable is checked, the pushing effect is made exclusive – once an Object has been pushed by this effect, it cannot be pushed by any other pushing or carrying effect in the same tic. This is useful if the effect is applied to multiple adjacent sectors, since it would normally be applied twice when an Object crosses the border between two sectors with the effect.

Sample

Example file: ex_ld546_downwardscurrent.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_ld546_downwardscurrent.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld546_downwardscurrent.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 – Pushers [view]
WindUpwards WindDownwards WindCurrentUpwards CurrentDownwards CurrentPush/Pull