Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Welcome, Daedle, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

11

Cobalt

24

Turquoise

7

Cyan

9

Royal

5

Teal

3

Onliners

6 mins

Instant Mix

11 mins

Admer456

12 mins

Solokiller

12 mins

Screamernail

20 mins

Jessie

32 mins

Dr. Orange

35 mins

Ghost129er

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

Preset Light Appearances

By Jesse 'EsBe' Kipp

Custom Appearance Strings

If you want to use flickering light entities, but also want to use an appearance that is not listed in the Appearance key, you may make use of the Custom Appearance key. This will allow you to create your own light appearance through the use of alphabetic characters. a is completely black, z is completely white, and the rest of the letters create a smooth gradient.

Should you wish to map out your custom appearance with an image editor, enter your light's RGB value, and then adjust the colors luminescence to each letter's corresponding value (as follows).

a 0
b 9
c 19
d 28
e 38
f 48
g 57
h 67
i 76
j 86
k 96
l 105
m 115
n 124
o 134
p 144
q 153
r 163
s 172
t 182
u 192
v 201
w 211
x 220
y 230
z 240

Preset Appearances

The following preset appearances are in order of their SmartEdit appearance, and are prefixed by their corresponding keyvalue.

0 Normal (view)
m

10 Fluorescent flicker (view)
mmamammmmammamamaaamammma

2 Slow, strong pulse (view)
abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba

11 Slow pulse, noblack (view)
abcdefghijklmnopqrrqponmlkjihgfedcba

5 Gentle pulse (view)
jklmnopqrstuvwxyzyxwvutsrqponmlkj

1 Flicker A (view)
mmnmmommommnonmmonqnmmo

6 Flicker B (view)
nmonqnmomnmomomno

3 Candle A (view)
mmmmmaaaaammmmmaaaaaabcdefgabcdefg

7 Candle B (view)
mmmaaaabcdefgmmmmaaaammmaamm

8 Candle C (view)
mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa

4 Fast strobe (view)
mamamamamama

9 Slow Strobe (view)
aaaaaaaazzzzzzzz

Resources

A zip file of the above animations is available here.

This nifty palette file has the a - z shades, should you require them.

For animating custom light strings, click here for the ever-handy Light Generator shockwave tool written by koekjesbaby. Download your own copy of the light generator here.