Lightstyle

From Valve Developer Community
Jump to navigation Jump to search
English (en)Русский (ru)Translate (Translate)
This article or section is a stub. You can help by expanding it.
Todo: Define lightstyle, and explain where they're used (namely toggled and "patterned" lights). Copy information from Russian page.

The following lightstyles are available in all GoldSrc GoldSrc, Source Source, and Source 2 Source 2 games, with all styles except 12 being inherited from Quake Quake:

Lightstyle presets (epilepsy warning)
Literal Value Description Sequence Preview
0 Normal m Lightstyle 0.png
10 Fluorescent flicker mmamammmmammamamaaamammma Lightstyle 10.gif
2 Slow, strong pulse abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba Lightstyle 2.gif
11 Slow pulse, noblack abcdefghijklmnopqrrqponmlkjihgfedcba Lightstyle 11.gif
5 Gentle pulse jklmnopqrstuvwxyzyxwvutsrqponmlkj Lightstyle 5.gif
1 Flicker A mmnmmommommnonmmonqnmmo Lightstyle 1.gif
6 Flicker B nmonqnmomnmomomno Lightstyle 6.gif
3 Candle A mmmmmaaaaammmmmaaaaaabcdefgabcdefg Lightstyle 3.gif
7 Candle B mmmaaaabcdefgmmmmaaaammmaamm Lightstyle 7.gif
8 Candle C mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa Lightstyle 8.gif
4 Fast strobe mamamamamama Lightstyle 4.gif
9 Slow strobe aaaaaaaazzzzzzzz Lightstyle 9.gif
12 Underwater light mutation mmnnmmnnnmmnn Lightstyle 12.gif
63 !FGD Testing (Off) a Lightstyle 63.png

Games can up to 19 assign additional lightstyles by modifying world.cpp. Lightstyles 32-62 are reserved for named lights.