1# DOOM - Lights and Light Decorations
2#
3
4Header { Version = 5; }
5
6SkipIf -nodefaultfx;
7
8#####====--- LIGHT SOURCES ---====#####
9#
10# The default properties of all light-emitting objects are determined
11# automatically by the engine. Here we make a couple of minor tweaks.
12#
13# For further information on Light definition syntax and semantics see:
14#
15#   http://dengine.net/dew/?title=Light
16
17# The blue health bottles should be lit a bit more brightly.
18Light { State = "BON1"; Size = 0.5; Color { .05 .05 .85 }; }
19* Light { State = "BON1A"; }
20* Light { State = "BON1B"; }
21* Light { State = "BON1C"; }
22* Light { State = "BON1D"; }
23* Light { State = "BON1E"; }
24
25# Nuke-barrel's (weak) green glow.
26Light {
27  State = "BAR1";
28  Flags = nohalo;
29  Color { .2 .4 .22 };
30  Size = 0.21;
31  Y Offset = -6;
32}
33
34Copy Light {
35  State = "BAR2";
36  Size = 0.22;
37}
38
39# The radiation suit should be lit more dimly.
40Light {
41  State = "SUIT";
42  Flags = nohalo;
43  Size = 1;
44  Color { .32 .34 .32 };
45}
46
47#####====--- LIGHT DECORATIONS ---====#####
48#
49# The default flags allow using these only with the original textures.
50# Use "dcf_pwad" and "dcf_ext" to allow using with PWAD and external
51# resources.
52#
53# There can only be one decoration per texture/flat. Newer decorations
54# override older ones.
55#
56# One decoration can specify up to 16 lights.
57#
58# For further information on Decoration definition syntax and semantics see:
59#
60#   http://dengine.net/dew/?title=Decoration
61
62#
63# Flats:
64# (just the brightest and most obvious light sources)
65#
66Decoration {
67  Material = "flats:CEIL1_2";
68  Light {
69    Color { 1 1 1 };
70    Offset { 32 32 };
71    Halo radius = .7;
72    Radius = .95;
73    Flare texture = 1;
74  };
75}
76
77Copy Decoration {
78  Material = "flats:CEIL1_3";
79  Light {
80    Halo radius = .6;
81    # React to sector lightlevel.
82    Levels { 80 190 };
83  };
84}
85
86Copy Decoration {
87  Material = "flats:TLITE6_4";
88  Light {
89    Radius = .5;
90    Halo radius = .7;
91  };
92}
93
94Decoration {
95  Material = "flats:TLITE6_1";
96  Light {
97    Color { .93 .93 .93 };
98    Offset { 32 32 };
99    Halo radius = .7;
100    Flare texture = 1; #3;
101    Radius = .4;
102    Levels { 160 220 };
103  };
104}
105
106Copy Decoration {
107  Material = "flats:FLOOR1_7";
108  Light {
109    Color { 1 .95 .95 };
110    #Halo radius = 1;
111    Flare texture = 1;
112    Levels { 140 230 };
113  };
114}
115
116
117#
118# Wall textures:
119# (many obvious light sources not included, e.g. LITE*)
120#
121
122Decoration {
123  Material = "textures:COMP2";
124  Light {
125    Color { .2 .2 1 };
126    Offset { 33 83 };
127    Radius = .3;
128    Halo radius = .07;
129  };
130  Light {
131    Color { .1 .75 .1 };
132    Offset { 216 101 };
133    Radius = .2;
134    Halo radius = .04;
135  };
136}
137
138Decoration {
139  Material = "textures:COMPSTA1";
140  Light {
141    Color { .1 .4 .65 };
142    Offset { 30 23 };
143    Radius = .35;
144    Halo radius = .07;
145    Levels { 230 220 };
146  };
147  Light {
148    Color { .65 .55 .1 };
149    Offset { 71 23 };
150    Radius = .25;
151    Halo radius = .05;
152    Levels { 230 220 };
153  };
154  Light {
155    Color { .1 .45 .1 };
156    Offset { 101 35 };
157    Radius = .11;
158    Halo radius = .04;
159    Levels { 230 220 };
160  };
161}
162
163Decoration {
164  Material = "textures:COMPSTA2";
165  Light {
166    Color { .1 .5 .1 };
167    Offset { 26 23 };
168    Radius = .3;
169    Halo radius = .07;
170    Levels { 230 220 };
171  };
172  Light {
173    Color { .1 .5 .1 };
174    Offset { 105 13 };
175    Radius = .11;
176    Halo radius = .04;
177    Levels { 230 220 };
178  };
179  Light {
180    Color { .15 .4 .15 };
181    Offset { 107 35 };
182    Radius = .15;
183    Halo radius = .04;
184    Levels { 230 220 };
185  };
186}
187
188Decoration {
189  Material = "textures:COMPUTE1";
190  Light {
191    Color { .2 .2 1 };
192    Offset { 28 16 };
193    Radius = .25;
194    Halo radius = .06;
195    Levels { 220 200 };
196  };
197  Light {
198    Color { .1 .5 .1 };
199    Offset { 30 89 };
200    Radius = .1;
201    Halo radius = .03;
202    Levels { 220 200 };
203  };
204  Light {
205    Color { 1 .1 .1 };
206    Offset { 93 14 };
207    Radius = .05;
208    Halo radius = .02;
209    Levels { 230 210 };
210  };
211}
212
213Decoration {
214  Material = "textures:TEKWALL2";
215  Light {
216    Color { 1 .1 .1 };
217    Offset { 67 62 };
218    Radius = .05;
219    Halo radius = .02;
220    Levels { 240 210 };
221  };
222  Light {
223    Color { .1 .6 .1 };
224    Offset { 47 84 };
225    Radius = .07;
226    Halo radius = .03;
227    Levels { 230 200 };
228  };
229  Light {
230    Color { .08 .4 .08 };
231    Offset { 113 83 };
232    Radius = .065;
233    Halo radius = .03;
234    Levels { 230 200 };
235  };
236  Light {
237    Color { .1 .6 .1 };
238    Offset { 69 30 };
239    Radius = .05;
240    Halo radius = .02;
241    Levels { 240 210 };
242  };
243}
244
245Decoration {
246  Material = "textures:TEKWALL5";
247  Light {
248    Color { 1 .1 .1 };
249    Offset { 30 75 };
250    Radius = .05;
251    Halo radius = .02;
252    Levels { 240 210 };
253  };
254  Light {
255    Color { .1 .6 .1 };
256    Offset { 109 68 };
257    Radius = .04;
258    Halo radius = .02;
259    Levels { 240 210 };
260  };
261  Light {
262    Color { .08 .5 .08 };
263    Offset { 41 19 };
264    Radius = .045;
265    Halo radius = .03;
266    Levels { 230 200 };
267  };
268}
269
270Decoration {
271  Material = "textures:PLANET1";
272  # Six monitors.
273  Light {
274    Color { .1 .4 .7 };
275    Offset { 30 30 };
276    Radius = .5;
277    Levels { 230 220 };
278  };
279  Light {
280    Color { .75 .35 .1 };
281    Offset { 92 30 };
282    Radius = .45;
283    Levels { 230 220 };
284  };
285  Light {
286    Color { .3 .5 .5 };
287    Offset { 158 34 };
288    Radius = .4;
289    Levels { 230 220 };
290  };
291  Light {
292    Color { .6 .6 .5 };
293    Offset { 30 90 };
294    Radius = .4;
295    Levels { 230 220 };
296  };
297  Light {
298    Color { .5 .2 .25 };
299    Offset { 92 90 };
300    Radius = .45;
301    Levels { 230 220 };
302  };
303  Light {
304    Color { .5 .55 .5 };
305    Offset { 156 88 };
306    Radius = .35;
307    Levels { 230 220 };
308  };
309}
310
311#>Decoration {
312  Material = "textures:STEP1";
313  Light {
314    Color { 1 1 .9 };
315    Offset { 16 5 };
316    Radius = .15;
317    Halo radius = .03;
318  };
319}<#
320
321Decoration {
322  Material = "textures:EXITSTON";
323  Light {
324    Color { 1 .1 .1 };
325    Offset { 34 31 };
326    Radius = .25;
327    Halo radius = .07;
328    Levels { 240 220 };
329  };
330}
331
332Copy Decoration {
333  Material = "textures:EXITSIGN";
334  Light {
335    Offset { 16 8 };
336    Radius = .25;
337  };
338}
339
340Decoration {
341  Material = "textures:MARBFAC2";
342  Light {
343    Color { 1 1 1 };
344    Offset { 51 79 };
345    Halo radius = .03;
346    Radius = .08;
347  };
348  Light {
349    Color { 1 1 1 };
350    Offset { 78 79 };
351    Halo radius = .03;
352    Radius = .08;
353  };
354}
355
356Decoration {
357  Material = "textures:LITEBLU2";
358  Light {
359    Color { .15 .15 1 };
360    Offset { 8 20 };
361    Halo radius = .1;
362    Radius = .1;
363  };
364  Light {
365    Color { .15 .15 1 };
366    Offset { 8 52 };
367    Halo radius = .1;
368    Radius = .1;
369  };
370}
371
372Decoration {
373  Material = "textures:WOODGARG";
374  Light {
375    Color { 1 .2 .2 };
376    Offset { 25 83 };
377    Halo radius = .03;
378    Radius = .05;
379  };
380  Light {
381    Color { 1 .2 .2 };
382    Offset { 40 83 };
383    Halo radius = .03;
384    Radius = .05;
385  };
386}
387
388Copy Decoration {
389  Material = "textures:SLADSKUL";
390  Light { Offset { 28 83 }; };
391  Light { Offset { 38 83 }; };
392}
393
394Copy Decoration {
395  Material = "textures:WOODSKUL";
396  Light { Offset { 31 88 }; };
397  Light { Offset { 41 88 }; };
398}
399
400Copy Decoration {
401  Material = "textures:WOOD4";
402  Light { Offset { 28 36 }; };
403  Light { Offset { 38 36 }; };
404}
405
406#
407# Switches:
408#
409
410Copy Decoration {
411  Material = "textures:SW2BLUE";
412  Light { Offset { 28 90 }; };
413  Light { Offset { 36 90 }; };
414}
415
416Copy Decoration {
417  Material = "textures:SW2WOOD";
418}
419
420Copy Decoration {
421  Material = "textures:SW2HOT";
422  Light { Offset { 26 89 }; };
423  Light { Offset { 34 89 }; };
424}
425
426Copy Decoration {
427  Material = "textures:SW2GSTON";
428  Light { Offset { 27 91 }; };
429  Light { Offset { 35 91 }; };
430}
431
432Decoration {
433  Material = "textures:SW1COMM";
434  Light {
435    Color { 1 .2 .2 };
436    Offset { 26 25 };
437    Halo radius = .04;
438    Radius = .1;
439  };
440}
441
442Copy Decoration {
443  Material = "textures:SW1STRTN";
444  Light { Offset { 26 80 }; };
445}
446
447Copy Decoration {
448  Material = "textures:SW1BRCOM";
449  Light { Offset { 59 80 }; };
450}
451
452Copy Decoration {
453  Material = "textures:SW1DIRT";
454  Light { Offset { 27 28 }; };
455}
456
457Copy Decoration {
458  Material = "textures:SW1STON1";
459  Light { Offset { 27 86 }; };
460}
461
462Copy Decoration {
463  Material = "textures:SW1STONE";
464  Light { Offset { 27 80 }; };
465}
466
467Copy Decoration {
468  Material = "textures:SW2COMP";
469  Light { Offset { 32 79 }; };
470}
471
472Copy Decoration {
473  Material = "textures:SW2EXIT";
474  Light { Offset { 16 23 }; };
475}
476
477Copy Decoration {
478  Material = "textures:SW2GRAY";
479  Light { Offset { 32 77 }; };
480}
481
482Copy Decoration {
483  Material = "textures:SW2SLAD";
484  Light { Offset { 33 84 }; };
485}
486
487Copy Decoration {
488  Material = "textures:SW2STON2";
489  Light { Offset { 33 84 }; };
490}
491
492Decoration {
493  Material = "textures:SW2COMM";
494  Light {
495    Color { .2 1 .2 };
496    Offset { 26 40 };
497    Halo radius = .04;
498    Radius = .1;
499  };
500}
501
502Copy Decoration {
503  Material = "textures:SW2STRTN";
504  Light { Offset { 26 95 }; };
505}
506
507Copy Decoration {
508  Material = "textures:SW2BRCOM";
509  Light { Offset { 59 94 }; };
510}
511
512Copy Decoration {
513  Material = "textures:SW2STONE";
514  Light { Offset { 27 94 }; };
515}
516
517Copy Decoration {
518  Material = "textures:SW2STON1";
519  Light { Offset { 27 101 }; };
520}
521
522Copy Decoration {
523  Material = "textures:SW2DIRT";
524  Light { Offset { 27 43 }; };
525}
526
527Decoration {
528  Material = "textures:SW2BRN2";
529  Light {
530    Color { .1 .9 .1 };
531    Offset { 32.5 91 };
532    Radius = .06;
533    Halo radius = .04;
534  };
535}
536
537Copy Decoration {
538  Material = "textures:SW2BRNGN";
539  Light { Offset { 32.5 92 }; };
540}
541
542Copy Decoration {
543  Material = "textures:SW2VINE";
544  Light { Offset { 32.5 96 }; };
545}
546
547Copy Decoration {
548  Material = "textures:SW2METAL";
549  Light { Offset { 32.5 80 }; };
550}
551
552Copy Decoration {
553  Material = "textures:SW2GRAY1";
554  Light { Offset { 31.5 91 }; };
555}
556
557Decoration {
558  Material = "textures:SW2LION";
559  # Eyes.
560  Light {
561    Color { .8 .78 .6 };
562    Offset { 27 84 };
563    Radius = .045;
564    Halo radius = .02;
565  };
566  Light {
567    Color { .8 .78 .6 };
568    Offset { 37 84 };
569    Radius = .045;
570    Halo radius = .02;
571  };
572  # Mouth.
573  Light {
574    Color { .75 .73 .5 };
575    Offset { 32 94 };
576    Radius = .08;
577    Halo radius = .02;
578  };
579}
580
581Copy Decoration {
582  Material = "textures:SW2GARG";
583  Light { Offset { 25 85 }; };
584  Light { Offset { 39 85 }; };
585  Light { Offset { 32 100 }; };
586}
587
588Decoration {
589  Material = "textures:SW2SATYR";
590  # Eyes.
591  Light {
592    Color { .68 .6 .4 };
593    Offset { 27 85 };
594    Radius = .04;
595    Halo radius = .02;
596  };
597  Light {
598    Color { .68 .6 .4 };
599    Offset { 38 85 };
600    Radius = .04;
601    Halo radius = .02;
602  };
603  # Mouth.
604  Light {
605    Color { .75 .73 .5 };
606    Offset { 32 95 };
607    Radius = .08;
608    Halo radius = .02;
609  };
610}
611