Linedef type 505

From SRB2 Wiki
Jump to: navigation, search
An example of using a linedef 505.

Linedef type 505, Scroll Front Wall by Front Side Offsets, is a type of linedef special that scrolls the textures on the linedef's front side along a given direction and at a specified speed. Note that it will also scroll any player climbing on the linedef's front side.

Setup

This effect should be applied directly to the target linedef. All textures on the linedef's front side will be affected. To make the linedef scroll horizontally, change the front sidedef's X offset, to make the linedef scroll vertically, change the front sidedef's Y offset, and to make the linedef scroll diagonally, change both offsets. The absolute value of the offset (distance from zero in fracunits) indicates scroll speed (one fracunit of offset equals one fracunit per tic), and the direction is determined by whether the offsets are positive or negative.

Sample

Example file: ex_ld505_scrolltexturebyfrontsideoffsets.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_ld505_scrolltexturebyfrontsideoffsets.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld505_scrolltexturebyfrontsideoffsets.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 – Scroll effects [view]
Wall scrolling:

Scroll Front Wall LeftScroll Front Wall RightScroll Tagged WallScroll Tagged Wall (Accelerative)Scroll Tagged Wall (Displacement)Scroll Front Wall by Front Side OffsetsScroll Front Wall by Back Side OffsetsScroll Back Wall by Front Side OffsetsScroll Back Wall by Back Side Offsets


Plane scrolling:

Scroll Floor TextureScroll Floor Texture (Accelerative)Scroll Floor Texture (Displacement)Scroll Ceiling TextureScroll Ceiling Texture (Accelerative)Scroll Ceiling Texture (Displacement)Carry Objects on FloorCarry Objects on Floor (Accelerative)Carry Objects on Floor (Displacement)Carry Objects on CeilingCarry Objects on Ceiling (Accelerative)Carry Objects on Ceiling (Displacement)Scroll Floor Texture and Carry ObjectsScroll Floor Texture and Carry Objects (Accelerative)Scroll Floor Texture and Carry Objects (Displacement)Scroll Ceiling Texture and Carry ObjectsScroll Ceiling Texture and Carry Objects (Accelerative)Scroll Ceiling Texture and Carry Objects (Displacement)