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.

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 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.

Sample

Example WAD: ex_ld506_scrolltexturebybacksideoffsets.wad
  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)