Linedef type 603

From SRB2 Wiki
Jump to navigation Jump to search
Demonstration flickering light effect with slightly different settings in every room.

Linedef type 603, Adjustable Flickering Light, is a type of linedef special which causes the light level of every tagged sector to flicker randomly. This is useful for creating a lighting effect that mimics flames.

Setup

The control linedef's length determines the frequency of flickers: four fracunits of length correspond to one tic of time between flickers. The standard frequency is 16 fracunits (4 tics). Both the control sector's and the target sector's brightness levels affect at which brightnesses the light flickers. The lesser brightness level between the two determines the minimum light level for this effect, while the greater brightness level determines the maximum.

Sample

Example file: ex_ld603_adjustableflickeringlight.wad (MAP01) 

This example WAD has three rooms, each containing a flickering light effect with slightly different settings.

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_ld603_adjustableflickeringlight.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld603_adjustableflickeringlight.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 – Lighting [view]
Floor LightingCeiling LightingAdjustable Pulsating LightAdjustable Flickering LightAdjustable Blinking Light (unsynchronized)Adjustable Blinking Light (synchronized)Colormap