Linedef type 541

From SRB2 Wiki
Jump to navigation Jump to search
Wind effect.

Linedef type 541, Wind, is a type of linedef special which creates a stream of wind inside every tagged sector. If players come into contact with the wind, they will be pushed in the direction the wind is blowing.

Setup

The speed of the wind is determined by the length of the control linedef. The direction of the wind is determined by the direction of the control linedef.

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.

Sample

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