Linedef Type 606

From SRB2 Wiki
(Redirected from Colormap)
Jump to: navigation, search
Colormap. In this setting, the entire sector is flooded with the specified color and intensity.

Linedef Type 606, the Colormap special, floods a certain area with a certain color at the specified intensity. When setting up the Colormap special, the color and intensity used is taken from an HTML-like color code, specified in the Front Above texture of the special linedef.

This linedef can be used to create fog as well. Setting a color code in the Front Below texture field will change the "darkness" of the tagged sector, making it fade to the desired color instead of black.

The format used for the color codes is #RRGGBBA, where RR, GG, and BB are two hexadecimal digits for determining each color: red, blue, and green, respectively. The A at the end stands for "alpha", and is a number or letter indicating the intensity of the colormap from A-Z, and then 0-9, with A being the most transparent and 9 being the most opaque. Note that the alpha value is not hexadecimal.

Tag the special linedef to the sector or sectors that will affected by the colormap. It generally does not matter what sector the special linedef is tagged to, but tagging two colormap specials to one sector is unadvised, as this can cause problems.

Examples

Example WAD: ex_ld_colormap.wad
See Color Codes for an extensive list.

Common Colormap Values

  • Alarm Floodlight (red) - #FF0000Z
  • Flip-gravity FOF (light blue) - #00AAFF0
  • Laser (red) - #FF0000Z
  • Laser/teleporter (yellow) - #FFFF00Z
  • Lava (orange) - #FF7F00Z
  • Nitric (green) - #999999D
  • Slime (purple) - #E000E0S
  • Water (blue) - #40A0FFJ

Info Table

Linedef Type # 606
Linedef Type Lighting
Value Effects:
All Control Sector Values No Effect
Front Above Texture Color and intensity of the Colormap
Front Main Texture No Effect
Front Below Texture Fog Effect
Tagged Sector Effects:
Normal Target Sectors Entire Sector Height
Shadowcasting FOF Control Sector Below FOF
Nonshadowcasting FOF Control Sector No Effect
Invisible FOF Control Sector No Effect
Translucent FOF Control Sector No Effect
Light/Half Light Block Control Sector Works; depends on special
Water Opaque/Translucent
FOF Control Sector
Within and Below FOF
Untagged All Untagged Sectors
  Linedef Types - Lighting [view]
Floor LightingCeiling LightingAdjustable Pulsating LightAdjustable Flickering LightAdjustable Strobe Flash - UnsynchronizedAdjustable Strobe Flash - SynchronizedColormap
Personal tools