Linedef type 11

From SRB2 Wiki
Jump to navigation Jump to search
Player hanging on a rope pulley.

Linedef type 11, Rope Hang Parameters, is a type of linedef special which sets the parameters for hangable ropes, such as the rope pulleys used in Arid Canyon Zone. For more information on how to use this linedef type, refer to the rope hang tutorial.

Binary Setup

The tagged sector(s) need to have the Rope Hang sector type. The front texture X offset of the linedef determines the speed at which the rope hang carries the player (8 units of X offset equal 1 fracunit travelled by the player per tic), while the front texture Y offset determines the number of the zoom tube waypoint sequence to use.

Note
In SRB2 v2.1 and prior, the linedef's X and Y distance were used to set these parameters instead of the X and Y offsets.

The rope hang will loop around the waypoints unless Flag [5] / Slope Skew / Effect 1 is checked, in which case the rope hang will be one-way. Static rope hangs (like the ladder beams used in ERZ2) can be made by checking Flag [6] / Not Climbable.

UDMF Setup

The tagged sector(s) need to have the Rope Hang special. Argument 1 determines the speed at which the rope hang carries the player, while Argument 2 determines the number of the zoom tube waypoint sequence to use.

The rope hang will loop around the waypoints unless Argument 3 / Loop? is set to No, in which case the rope hang with be one-way. Static rope hangs (like the ladder beams used in ERZ2) can be made by setting Argument 1 to 0.

Samples (Binary)

Sample 1

Example file: ex_ld011_ropehangparameters.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_ld011_ropehangparameters.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld011_ropehangparameters.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_ld011_ropehangparameters_static.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_ld011_ropehangparameters_static.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld011_ropehangparameters_static.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 (UDMF)

Sample

Example file: Ex_ld011_udmf_ropehangparameters.wad

  Linedef types – Parameters [view]
2 - Custom Exit3 - Zoom Tube Parameters4 - Speed Pad Parameters8 - Special Sector Properties / Set Camera Collision Planes9 - Chain Parameters11 - Rope Hang Parameters12 - Rock Spawner Parameters14 - Bustable Block Parameters15 - Fan Particle Spawner Parameters / Fan Particle Generator Heights16 - Minecart Parameters64 - Continuously Appearing/Disappearing FOF