Linedef type 506

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 506, Scroll Texture by Back 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. It is essentially the same as linedef type 505, except it uses the back sidedef offsets instead of the front. Note that it will also scroll any player climbing on the linedef's front side.


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 back sidedef's X offset, to make the linedef scroll vertically, change the back 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.


Example file: ex_ld506_scrolltexturebybacksideoffsets.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_ld506_scrolltexturebybacksideoffsets.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld506_scrolltexturebybacksideoffsets.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 Wall Front Side LeftScroll Wall Front Side RightScroll Wall According to LinedefScroll Wall According to Linedef (Accelerative)Scroll Wall According to Linedef (Displacement)Scroll Texture by Front Side OffsetsScroll Texture 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)