Linedef type 5

From SRB2 Wiki
Jump to: navigation, search
An example of a camera scanner effect.

Linedef type 5, Camera Scanner, is a type of linedef special which modifies the camera position while the player is in any tagged sector. The position of the camera is reset when the player steps outside the sector. In 2D mode, only the height of the camera may be modified; the camera distance and angle will stay unchanged.

Setup

The floor height of the control sector determines the camera height. The ceiling height of the control sector determines the camera distance. Both are measured in fracunits. The direction of the controlling linedef determines which way the camera will be facing. For example, if the linedef faces west, the camera will also look west.

If used excessively, this effect can be annoying, so it should be used very sparingly, especially during sequences in which the player is required to move. Thus, this effect is best used for cutscene-like events in which the player doesn't move themselves.

Sample

Example WAD: ex_ld005_camerascanner.wad

  Linedef types – Miscellaneous [view]
Per-Sector GravitySpeed PadCamera ScannerDisable Linedef Effect on Level LoadSector Flat AlignmentCulling PlaneHeat Wave EffectVisual Portal Between Tagged LinedefsInstantly Lower Floor on Level LoadInstantly Raise Ceiling on Level LoadFake Floor/Ceiling PlanesFloor Friction