Jump to content

Linedef type 540

From SRB2 Wiki

Linedef type 540, Floor Friction, is a type of linedef special which modifies the floor friction of tagged sectors, so that players' movement is affected.

Setup

The amount of friction is determined by the control linedef's front texture X offset. Possible values range from -100 to 483, with 0 being default friction. Positive values produce extra friction, creating sludgy surfaces. Negative values reduce friction, creating slippery surfaces.

Sample

Example file: ex_ld540_floorfriction.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_ld540_floorfriction.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld540_floorfriction.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 – Miscellaneous [view]
Per-Sector Gravity • Camera Scanner • Sector Flat Alignment • Culling Plane • Heat Wave Effect • Visual Portal Between Tagged Linedefs • Horizon Effect • Instantly Lower Floor on Level Load • Instantly Raise Ceiling on Level Load • Fake Floor/Ceiling Planes • Floor Friction