Linedef type 547

From SRB2 Wiki
Jump to: navigation, search
Warning icon.png
This article or section should contain one or more images. Please spruce up the article by adding an image.

Linedef type 547, Push/Pull, is a type of linedef special which creates either a gravitational push or pull effect within a specified sector. Nearby players will be affected.

Setup

This special requires three elements to function correctly: a control linedef, a target sector, as well as a Thing that determines the effect of this special. Tag a linedef with linedef type 547 on a control sector to a target sector with the Wind/Current sector special. Inside the target sector, preferably in the center, place either a Push Point or a Pull Point. To create multiple point pushers/pullers, the Things need to be in different target sectors, but the target sectors can share the same tag. Remember that all of the target sectors require the Wind/Current special.

The Thing determines whether the special pushes or pulls, as well as the actual point of force. The Angle of the Thing determines the radius of the effect (maximum is 359), while the control linedef's length determines the general pushing/pulling strength.

If Flag [6] / Not Climbable is checked, the pushing/pulling effect is made exclusive – once an Object has been pushed/pulled by this effect, it cannot be pushed/pulled by any other pushing/pulling 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.

Samples

Sample 1

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

Sample 2

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