Enemy Territory

Entities

dlight
Keys
atten
Offset from the alpha values of the stylestring. stylestring of "ddeeffzz" with an atten of -1 would result in "ccddeeyy"
offset
Change the initial index in a style string. So val of 3 in the above example would start this light at 'N'. (used to get dlights using the same style out of sync).
shader
Name of shader to apply
sound
Sound to loop every cycle (this actually just plays the sound at the beginning of each cycle)
style
Value is an integer from 1 through 19 that contains a pre-defined 'flicker' string. Use the drop down menu for presets.
stylestring
Set your own 'flicker' string, e.g. "klmnmlk". NOTE: this should be all lowercase. See the Notes section below for the characteristics of letters.
Spawnflags
FORCEACTIVE
Toggle makes sure this light stays alive in a map even if the user has r_dynamiclight set to 0.
ONETIME
When the dlight is triggered, it will play through it's cycle once, then shut down until triggered again
STARTOFF
The dlight doesn't spawn in until ent is triggered
Stylestring characters run at 10 cps (changes.per.second) in the game. (meaning the english alphabet, at 24 characters, would take 2.4 seconds to cycle)
Stylestring characters: (a=very low)->(z=bright)
Use color picker('K' key) to set the "_color" key values. The Key:"_color" overrides the key:"color" and values are 0.0-1.0 for each color (rgb)[ Example: 1. .8 .0 for yellow ]
styles:
1 - "mmnmmommommnonmmonqnmmo"
2 - "abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba"
3 - "mmmmmaaaaammmmmaaaaaabcdefgabcdefg"
4 - "ma"
5 - "jklmnopqrstuvwxyzyxwvutsrqponmlkj"
6 - "nmonqnmomnmomomono"
7 - "mmmaaaabcdefgmmmmaaaammmaamm"
8 - "aaaaaaaazzzzzzzz"
9 - "mmamammmmammamamaaamammma"
10 - "abcdefghijklmnopqrrqponmlkjihgfedcba"
11 - "mmnommomhkmmomnonmmonqnmmo"
12 - "kmamaamakmmmaakmamakmakmmmma"
13 - "kmmmakakmmaaamammamkmamakmmmma"
14 - "mmnnoonnmmmmmmmmmnmmmmnonmmmmmmm"
15 - "mmmmnonmmmmnmmmmmnonmmmmmnmmmmmmm"
16 - "zzzzzzzzaaaaaaaa"
17 - "zzzzzzzzaaaaaaaaaaaaaaaa"
18 - "aaaaaaaazzzzzzzzaaaaaaaa"
19 - "aaaaaaaaaaaaaaaazzzzzzzz"

©2017 Chruker