Linedef type 542

From SRB2 Wiki
Jump to navigation Jump to search
An example of a upwards wind.

Linedef type 542, Upwards Wind, is a type of linedef special which creates an updraft inside every tagged sector. If players come into contact with the wind, they will be pushed upwards into the air.


The speed of the wind is determined by the length of the control linedef. Only values greater than 50 are capable of lifting the player up from the floor by themselves in normal gravity.

If Flag [9] / Solid Midtexture / Effect 4 is checked, the wind will switch to sliding mode, in which players will be forced into their pain sprites and cannot accelerate or decelerate. 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.


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