Linedef type 540

From SRB2 Wiki
Jump to navigation Jump to search

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 GravityCamera ScannerSector Flat AlignmentCulling PlaneHeat Wave EffectVisual Portal Between Tagged LinedefsHorizon EffectInstantly Lower Floor on Level LoadInstantly Raise Ceiling on Level LoadFake Floor/Ceiling PlanesFloor Friction