Linedef type 5

From SRB2 Wiki
Jump to navigation Jump to 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.

Use of this action is discouraged as its been deprecated for messing up the player's camera settings.

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

UDMF

Removed in UDMF.

Sample

Example file: ex_ld005_camerascanner.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_ld005_camerascanner.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld005_camerascanner.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