]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil4_techtrims.shader
Now equal to whats on the site
[divverent/nexuiz.git] / data / scripts / evil4_techtrims.shader
1 // tech floors\r
2 \r
3 textures/evil4_techfloors/tfloor3_huge\r
4 {\r
5         cull none\r
6         {\r
7                 map textures/evil4_techfloors/tfloor3_huge.tga\r
8                 tcMod scale 2.0 2.0\r
9                 blendFunc GL_ONE GL_ZERO\r
10                 alphaFunc GE128\r
11                 depthWrite\r
12                 rgbGen identity\r
13         }\r
14         {\r
15                 map $lightmap\r
16                 blendFunc GL_DST_COLOR GL_ZERO\r
17                 depthFunc equal\r
18                 rgbGen identity\r
19         }\r
20 }\r
21 \r
22 textures/evil4_techfloors/tfloor_rndholes\r
23 {\r
24         {\r
25                 map textures/evil4_techfloors/tfloor_rndholes.tga\r
26                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
27                 rgbGen identity\r
28         }\r
29         {\r
30                 map $lightmap\r
31                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
32                 rgbGen identity\r
33         }\r
34 }\r
35 \r
36 textures/evil4_techfloors/tfloor_rndholes_drty\r
37 {\r
38         {\r
39                 map textures/evil4_techfloors/tfloor_rndholes_drty.tga\r
40                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
41                 rgbGen identity\r
42         }\r
43         {\r
44                 map $lightmap\r
45                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
46                 rgbGen identity\r
47         }\r
48 }\r
49 \r
50 //********************************************\r
51 //********************************************\r
52 //********************************************\r
53 //**************evil metals section**************\r
54 //********************************************\r
55 //********************************************\r
56 //********************************************\r
57 \r
58 textures/evil4_metals/mtlsportal\r
59 {\r
60         cull disable\r
61         surfaceparm nomarks\r
62         surfaceparm trans\r
63         sort additive\r
64         {\r
65                 clampmap textures/evil4_metals/mtlsportal_fx1.tga\r
66                 blendFunc add\r
67                 tcmod rotate -100\r
68                 rgbGen identity\r
69         }\r
70         {\r
71                 clampmap textures/evil4_metals/mtlsportal_fx2.tga\r
72                 blendFunc add\r
73                 tcmod rotate 100\r
74                 rgbGen identity\r
75         }\r
76         {\r
77                 clampmap textures/evil4_metals/mtlsportal_fx3.tga\r
78                 blendFunc add\r
79                 tcmod rotate 10\r
80                 rgbGen identity\r
81         }\r
82         {\r
83                 clampmap textures/evil4_metals/mtlsportal.tga\r
84                 alphaFunc GE128\r
85                 depthWrite\r
86                 rgbGen identity\r
87         }\r
88         {\r
89                 map $lightmap\r
90                 rgbGen identity\r
91                 blendFunc GL_DST_COLOR GL_ZERO\r
92                 depthFunc equal\r
93         }\r
94 }\r
95 \r
96 textures/evil4_metals/flrgrate\r
97 {\r
98         {\r
99                 map textures/evil4_metals/flrgrate.tga\r
100                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
101                 rgbGen identity\r
102         }\r
103         {\r
104                 map $lightmap\r
105                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
106                 rgbGen identity\r
107         }\r
108 }\r
109 \r
110 textures/evil4_metals/mtlflrslots\r
111 {\r
112         {\r
113                 map textures/evil4_metals/mtlflrslots.tga\r
114                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
115                 rgbGen identity\r
116         }\r
117         {\r
118                 map $lightmap\r
119                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
120                 rgbGen identity\r
121         }\r
122 }\r
123 \r
124 textures/evil4_metals/drkmtl_grlpltmech\r
125 {\r
126         {\r
127                 map textures/evil4_metals/drkmtl_grlpltmech.tga\r
128                 //blendfunc blend\r
129                 rgbGen identity\r
130         }\r
131         {\r
132                 map textures/evil4_metals/drkmtl_grlpltmech_fx2.tga\r
133                 blendfunc add\r
134                 tcmod scroll 0 -3\r
135         }\r
136         {\r
137                 map textures/evil4_metals/drkmtl_grlpltmech_fx.tga\r
138                 blendfunc add\r
139                 tcmod scroll 0 1.6\r
140         }\r
141         {\r
142                 map textures/evil4_metals/drkmtl_grlpltmech_fx.tga\r
143                 blendfunc add\r
144                 tcmod scroll 0 -5\r
145         }\r
146         {\r
147                 map textures/evil4_metals/drkmtl_grlpltmech_fx.tga\r
148                 blendfunc add\r
149                 rgbgen wave sin 1.1 .1 1 1\r
150                 tcmod scroll 0  2.8\r
151         }\r
152         {\r
153                 map textures/evil4_metals/drkmtl_grlpltmech.tga\r
154                 blendfunc blend\r
155                 rgbGen identity\r
156         }\r
157         {\r
158                 map $lightmap\r
159                 rgbGen identity\r
160                 blendfunc filter\r
161         }\r
162 }\r
163 \r
164 textures/evil4_metals/mtlbrushed\r
165 {\r
166         qer_editorimage textures/evil4_metals/mtlbrushed.tga\r
167         {\r
168                 map textures/evil4_metals/mtlbrushed_env.tga\r
169                 tcGen environment\r
170                 rgbGen identity\r
171         }\r
172         {\r
173                 map textures/evil4_metals/mtlbrushed.tga\r
174                 blendFunc gl_dst_color gl_zero\r
175                 rgbGen identity\r
176         }\r
177         {\r
178                 map $lightmap\r
179                 blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
180                 rgbGen identity\r
181         }\r
182 }\r
183 \r
184 textures/evil4_metals/eshinytin\r
185 {\r
186         qer_editorimage textures/evil4_metals/eshinytin.tga\r
187         {\r
188                 map textures/effects/tinfx.jpg\r
189                 tcGen environment\r
190                 rgbGen identity\r
191                 tcmod scale 0.55 1\r
192         }\r
193         {\r
194                 map $lightmap\r
195                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
196                 rgbGen identity\r
197         }\r
198         {\r
199                 map textures/evil4_metals/eshinytin.tga\r
200                 blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
201                 rgbGen identity\r
202         }\r
203         {\r
204                 map $lightmap\r
205                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
206                 rgbGen identity\r
207         }\r
208 }\r
209 \r
210 textures/evil4_metals/mtlpanel_wrnstripe_ow2\r
211 {\r
212         {\r
213                 map textures/evil4_metals/mtlpnl_wrnstrpow2_glow.tga\r
214                 rgbGen wave sin 0.5 0.5 0 1\r
215                 blendfunc GL_ONE GL_ONE\r
216         }\r
217         {\r
218                 map textures/evil4_metals/mtlpnl_wrnstrpow2_glow.tga\r
219                 //rgbGen wave sin 0.5 0.5 0 1\r
220                 blendfunc GL_ONE GL_ONE\r
221         }\r
222         {\r
223                 map textures/evil4_metals/mtlpanel_wrnstripe_ow2.tga\r
224                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
225                 rgbGen identity\r
226         }\r
227         {\r
228                 map $lightmap\r
229                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
230                 rgbGen identity\r
231         }\r
232 }\r
233 \r
234 textures/evil4_metals/mtltekfloor\r
235 {\r
236         q3map_surfacelight 100\r
237         q3map_lightimage textures/evil4_metal/mtltekfloor_fx.tga\r
238 //      {\r
239 //              map textures/base_wall/chrome_env.tga\r
240 //              rgbGen identity\r
241 //              tcGen environment\r
242 //              tcmod scale .25 .25\r
243 //      }\r
244         {\r
245                 map textures/evil4_metals/mtltekfloor.tga\r
246 //              blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
247 //              rgbGen identity\r
248         }\r
249         {\r
250                 map $lightmap\r
251                 blendfunc gl_dst_color gl_zero\r
252                 rgbGen identity\r
253         }\r
254 //      {\r
255 //              map textures/evil4_metals/mtltekfloor_fx.tga\r
256 //              blendFunc GL_ONE GL_ONE\r
257 //              rgbGen wave sin 0.5 0.5 0 .2\r
258 //      }\r
259 //      {\r
260 //              map textures/evil4_metals/mtltekfloor_fx2.tga\r
261 //              blendFunc GL_ONE GL_ONE\r
262 //              //rgbGen wave sin 0.5 0.5 0 .2\r
263 //      }\r
264 }\r
265 \r
266 textures/evil4_metals/wrnjumppad\r
267 {\r
268         {\r
269                 map $lightmap\r
270                 rgbGen identity\r
271         }\r
272         {\r
273                 map textures/evil4_metals/wrnjumppad.tga\r
274                 blendFunc GL_DST_COLOR GL_ZERO\r
275                 rgbGen identity\r
276         }\r
277         {\r
278                 map textures/evil4_metals/wrnjumppad_glow.tga\r
279                 rgbGen wave sin 0.5 0.5 1 1\r
280                 blendfunc GL_ONE GL_ONE\r
281         }\r
282 }\r
283 \r
284 //********************************************\r
285 //********************************************\r
286 //********************************************\r
287 //**************evil lights section***************\r
288 //********************************************\r
289 //********************************************\r
290 //********************************************\r
291 \r
292 textures/evil4_lights/steplight\r
293 {\r
294         surfaceparm nomarks\r
295         q3map_surfacelight 1000\r
296         //light1\r
297         {\r
298                 map $lightmap\r
299                 rgbGen identity\r
300         }\r
301         {\r
302                 map textures/evil4_lights/steplight.tga\r
303                 blendFunc GL_DST_COLOR GL_ZERO\r
304                 rgbGen identity\r
305         }\r
306         {\r
307                 map textures/evil4_lights/steplight_glow.tga\r
308                 blendfunc GL_ONE GL_ONE\r
309         }\r
310 }\r
311 \r
312 textures/evil4_lights/drkmtlsupport_light\r
313 {\r
314         surfaceparm nomarks\r
315         q3map_surfacelight 1000\r
316         {\r
317                 map $lightmap\r
318                 rgbGen identity\r
319         }\r
320         {\r
321                 map textures/evil4_lights/drkmtlsupport_light.tga\r
322                 blendFunc GL_DST_COLOR GL_ZERO\r
323                 rgbGen identity\r
324         }\r
325         {\r
326                 map textures/evil4_lights/drkmtlsupport_light_glow.tga\r
327                 rgbGen wave sin 0.5 0.5 1 .5\r
328                 blendfunc GL_ONE GL_ONE\r
329         }\r
330 }\r
331 \r
332 textures/evil4_lights/s_light\r
333 {\r
334         qer_editorimage textures/evil4_lights/s_light.jpg\r
335         surfaceparm nomarks\r
336         q3map_surfacelight 2500\r
337         {\r
338                 map textures/evil4_lights/s_light.jpg\r
339                 //blendFunc GL_DST_COLOR GL_ZERO\r
340                 rgbGen identity\r
341         }\r
342 /*      {\r
343                 map textures/evil4_lights/s_light_blend.jpg\r
344                 rgbGen wave sin 0.5 0.5 1 1\r
345                 blendFunc GL_ONE GL_ONE\r
346         }*/\r
347         {\r
348                 map $lightmap\r
349                 rgbGen identity\r
350                 blendFunc Filter\r
351         }\r
352 }\r
353 \r
354 textures/evil4_lights/t_mtllight\r
355 {\r
356         surfaceparm nomarks\r
357         q3map_surfacelight 1000\r
358         //light1\r
359         {\r
360                 map $lightmap\r
361                 rgbGen identity\r
362         }\r
363         {\r
364                 map textures/evil4_lights/t_mtllight.jpg\r
365                 blendFunc GL_DST_COLOR GL_ZERO\r
366                 rgbGen identity\r
367         }\r
368 }\r
369 \r
370 textures/evil4_lights/mtl_lightsmll\r
371 {\r
372         surfaceparm nomarks\r
373         q3map_surfacelight 1000\r
374         //light1\r
375         {\r
376                 map $lightmap\r
377                 rgbGen identity\r
378         }\r
379         {\r
380                 map textures/evil4_lights/mtl_lightsmll.jpg\r
381                 blendFunc GL_DST_COLOR GL_ZERO\r
382                 rgbGen identity\r
383         }\r
384 }\r
385 \r
386 //double glowing effect light strips\r
387 \r
388 textures/evil4_lights/l_light_b\r
389 {\r
390         q3map_surfacelight 5000\r
391         q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
392         {\r
393                 map $lightmap\r
394                 rgbGen identity\r
395         }\r
396         {\r
397                 map textures/evil4_lights/l_light_b.jpg\r
398                 blendFunc GL_DST_COLOR GL_ZERO\r
399                 rgbGen identity\r
400         }\r
401 }\r
402 \r
403 textures/evil4_lights/l_light_g\r
404 {\r
405         q3map_surfacelight 5000\r
406         q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
407         {\r
408                 map $lightmap\r
409                 rgbGen identity\r
410         }\r
411         {\r
412                 map textures/evil4_lights/l_light_g.jpg\r
413                 blendFunc GL_DST_COLOR GL_ZERO\r
414                 rgbGen identity\r
415         }\r
416 }\r
417 \r
418 textures/evil4_lights/l_light_r\r
419 {\r
420         q3map_surfacelight 5000\r
421         q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
422         {\r
423                 map $lightmap\r
424                 rgbGen identity\r
425         }\r
426         {\r
427                 map textures/evil4_lights/l_light_r.jpg\r
428                 blendFunc GL_DST_COLOR GL_ZERO\r
429                 rgbGen identity\r
430         }\r
431 }\r
432 \r
433 textures/evil4_lights/l_light_w\r
434 {\r
435         q3map_surfacelight 5000\r
436         q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
437         {\r
438                 map $lightmap\r
439                 rgbGen identity\r
440         }\r
441         {\r
442                 map textures/evil4_lights/l_light_w.jpg\r
443                 blendFunc GL_DST_COLOR GL_ZERO\r
444                 rgbGen identity\r
445         }\r
446 }\r
447 \r
448 textures/evil4_lights/mtl_l1\r
449 {\r
450         q3map_surfacelight 1000\r
451         q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
452         // LordHavoc: replaced most of this shader\r
453         {\r
454                 map textures/evil4_lights/mtl_l1.tga\r
455         }\r
456         {\r
457                 map $lightmap\r
458                 rgbGen identity\r
459                 blendfunc filter\r
460         }\r
461         {\r
462                 map textures/evil4_lights/mtl_l1_glow.tga\r
463                 blendfunc add\r
464         }\r
465         // LordHavoc: original shader\r
466         //{\r
467         //      map textures/evil4_lights/mtl_l1_fx.tga\r
468         //      //blendfunc add\r
469         //      tcmod scale 12 1\r
470         //      rgbGen identity\r
471         //      tcMod scroll 0 1\r
472         //}\r
473         //{\r
474         //      map textures/evil4_lights/mtl_l1_fx.tga\r
475         //      blendfunc add\r
476         //      //tcmod scale 25 1\r
477         //      rgbGen identity\r
478         //      tcMod scroll 1 0\r
479         //}\r
480         //{\r
481         //      map textures/evil4_lights/mtl_l1.tga\r
482         //      blendfunc blend\r
483         //      rgbGen identity\r
484         //}\r
485         //{\r
486         //      map textures/evil4_lights/mtl_l1_glow.tga\r
487         //      blendfunc add\r
488         //      tcmod scale 1 1\r
489         //}\r
490         //{\r
491         //      map $lightmap\r
492         //      rgbGen identity\r
493         //      blendfunc filter\r
494         //}\r
495 }\r
496 \r
497 //border light\r
498 \r
499 textures/evil4_lights/trimtl_grlbtm_light\r
500 {\r
501         q3map_surfacelight 5000\r
502         qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
503         {\r
504                 map textures/evil4_lights/trimtl_grlbtm_light.tga\r
505                 rgbGen identity\r
506         }\r
507         {\r
508                 map $lightmap\r
509                 rgbGen identity\r
510                 blendfunc gl_dst_color gl_zero\r
511         }\r
512 }\r
513 \r
514 textures/evil4_lights/s_bluelight\r
515 {\r
516         q3map_surfacelight 1000\r
517         q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
518         {\r
519                 map $lightmap\r
520                 rgbGen identity\r
521         }\r
522         {\r
523                 map textures/evil4_lights/s_bluelight.tga\r
524                 rgbGen identity\r
525                 blendFunc GL_DST_COLOR GL_ZERO\r
526         }\r
527         {\r
528                 map textures/evil4_lights/s_bluelight_glow.tga\r
529                 rgbGen wave sin 0.5 0.5 0 .2\r
530                 blendfunc add\r
531         }\r
532         {\r
533                 map $lightmap\r
534                 blendFunc GL_DST_COLOR GL_ZERO\r
535                 rgbGen identity\r
536         }\r
537 }\r
538 \r
539 //********************************************\r
540 //********************************************\r
541 //********************************************\r
542 //**************evil fx section******************\r
543 //********************************************\r
544 //********************************************\r
545 //********************************************\r
546 \r
547 // portal\r
548 \r
549 textures/evil4_fx/mtlportal_fx\r
550 {\r
551         qer_editorimage textures/evil4_fx/mtlportal.tga\r
552         cull disable\r
553         surfaceparm nomarks\r
554         surfaceparm trans\r
555         sort additive\r
556         {\r
557                 clampmap textures/evil4_fx/mtlportal_fx1.tga\r
558                 blendFunc add\r
559                 tcmod rotate -100\r
560                 rgbGen identity\r
561         }\r
562         {\r
563                 clampmap textures/evil4_fx/mtlportal_fx2.tga\r
564                 blendFunc add\r
565                 tcmod rotate 100\r
566                 rgbGen identity\r
567         }\r
568         {\r
569                 clampmap textures/evil4_fx/mtlportal.tga\r
570                 alphaFunc GE128\r
571                 depthWrite\r
572                 rgbGen identity\r
573         }\r
574         {\r
575                 map $lightmap\r
576                 rgbGen identity\r
577                 blendFunc GL_DST_COLOR GL_ZERO\r
578                 depthFunc equal\r
579         }\r
580 }\r
581 \r
582 //snow\r
583 \r
584 textures/evil4_fx/teleprtr\r
585 {\r
586         cull disable\r
587         surfaceparm nomarks\r
588         surfaceparm trans\r
589         sort additive\r
590         {\r
591                 clampmap textures/evil4_fx/teleprtr_fx3.tga\r
592                 blendFunc add\r
593                 tcmod rotate -267\r
594                 rgbGen identity\r
595         }\r
596         {\r
597                 clampmap textures/evil4_fx/teleprtr_fx1.tga\r
598                 blendFunc add\r
599                 tcmod rotate 155\r
600                 rgbGen identity\r
601         }\r
602         {\r
603                 clampmap textures/evil4_fx/teleprtr_fx2.tga\r
604                 blendFunc add\r
605                 tcmod rotate -100\r
606                 rgbGen identity\r
607         }\r
608         {\r
609                 clampmap textures/evil4_fx/teleprtr.tga\r
610                 alphaFunc GE128\r
611                 depthWrite\r
612                 rgbGen identity\r
613         }\r
614         {\r
615                 map $lightmap\r
616                 rgbGen identity\r
617                 blendFunc GL_DST_COLOR GL_ZERO\r
618                 depthFunc equal\r
619         }\r
620 }\r
621 \r
622 //********************************************\r
623 //********************************************\r
624 //********************************************\r
625 //**************evil tech wall section************\r
626 //********************************************\r
627 //********************************************\r
628 //********************************************\r
629 \r
630 textures/evil4_techwalls/tech_dw2\r
631 {\r
632         {\r
633                 map textures/evil4_techwalls/tech_dw2.tga\r
634                 rgbGen identity\r
635         }\r
636         {\r
637                 map $lightmap\r
638                 blendfunc filter\r
639                 rgbGen identity\r
640         }\r
641         {\r
642                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
643                 blendFunc add\r
644                 rgbGen wave sin .5 .5 0 3\r
645         }\r
646 }\r
647 \r
648 textures/evil4_techwalls/tech_dw2g\r
649 {\r
650         {\r
651                 map textures/evil4_techwalls/tech_dw2g.tga\r
652                 rgbGen identity\r
653         }\r
654         {\r
655                 map $lightmap\r
656                 blendfunc filter\r
657                 rgbGen identity\r
658         }\r
659         {\r
660                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
661                 blendFunc add\r
662                 rgbGen wave sin .5 .5 0 3\r
663         }\r
664 }\r
665 \r
666 textures/evil4_techwalls/tech_dw2gb\r
667 {\r
668         {\r
669                 map textures/evil4_techwalls/tech_dw2gb.tga\r
670                 rgbGen identity\r
671         }\r
672         {\r
673                 map $lightmap\r
674                 blendfunc filter\r
675                 rgbGen identity\r
676         }\r
677         {\r
678                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
679                 blendFunc add\r
680                 rgbGen wave sin .5 .5 0 3\r
681         }\r
682 }\r
683 \r
684 textures/evil4_techwalls/tech_wall_dlight\r
685 {\r
686         surfaceparm nomarks\r
687         q3map_surfacelight 5000\r
688         {\r
689                 map $lightmap\r
690                 rgbGen identity\r
691         }\r
692         {\r
693                 map textures/evil4_techwalls/tech_wall_dlight.tga\r
694                 blendFunc GL_DST_COLOR GL_ZERO\r
695                 rgbGen identity\r
696         }\r
697         {\r
698                 map textures/evil4_techwalls/tech_wall_dlight_glw.tga\r
699                 rgbGen wave sin 0.5 0.5 1 1\r
700                 blendfunc GL_ONE GL_ONE\r
701         }\r
702 }\r
703 \r
704 textures/evil4_techwalls/tech_dwteky\r
705 {\r
706         {\r
707                 map textures/evil4_techwalls/tech_dwteky_glow.tga\r
708                 tcmod turb 0 3 5 8\r
709                 blendFunc GL_ONE GL_ONE\r
710         }\r
711         {\r
712                 map textures/evil4_techwalls/tech_dwteky_glow.tga\r
713                 blendFunc GL_ONE GL_ONE\r
714                 tcmod turb 0 1 1 1\r
715         }\r
716         {\r
717                 map textures/evil4_techwalls/tech_dwteky.tga\r
718                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
719                 rgbGen identity\r
720         }\r
721         {\r
722                 map $lightmap\r
723                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
724                 rgbGen identity\r
725         }\r
726 }\r
727 \r
728 textures/evil4_techwalls/tech_drkwll_pnltek\r
729 {\r
730         {\r
731                 map textures/evil4_techwalls/tech_drkwll_pnltek_glow.tga\r
732                 tcmod turb 0 1 1 9\r
733                 blendFunc GL_ONE GL_ONE\r
734         }\r
735         {\r
736                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga\r
737                 blendFunc GL_ONE GL_ONE\r
738         }\r
739         {\r
740                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga\r
741                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
742                 rgbGen identity\r
743         }\r
744         {\r
745                 map $lightmap\r
746                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
747                 rgbGen identity\r
748         }\r
749 }\r
750 \r
751 //tech window with a chrome-like appearance,\r
752 //uncomment to use and comment the next one\r
753 //textures/evil4_techwalls/tech_window\r
754 //{\r
755 //{\r
756 //             map textures/effects/tinfx.tga\r
757 //                tcGen environment\r
758 //                rgbGen identity\r
759 //      }\r
760 //        {\r
761 //              map textures/evil4_techwalls/tech_window.tga\r
762 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
763 //              rgbGen identity\r
764 //      }\r
765 //        {\r
766 //              map $lightmap\r
767 //                blendFunc gl_dst_color gl_zero\r
768 //              rgbGen identity\r
769 //      }\r
770 //}\r
771 \r
772 //tech window with transparency\r
773 \r
774 textures/evil4_techwalls/tech_window\r
775 {\r
776         cull twosided\r
777         {\r
778                 map textures/evil4_techwalls/tech_windowmask.tga\r
779                 tcGen environment\r
780                 tcMod turb 0 0.01 0 0.01\r
781                 tcmod scroll .0 .0\r
782                 blendfunc GL_ONE GL_ONE\r
783         }\r
784         {\r
785                 map textures/evil4_techwalls/tech_window.tga\r
786                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
787                 rgbGen identity\r
788         }\r
789         {\r
790                 map $lightmap\r
791                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
792                 rgbGen identity\r
793         }\r
794 }\r
795 \r
796 textures/evil4_techwalls/drkmtl_lightboard\r
797 {\r
798         {\r
799                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga\r
800                 blendFunc GL_ONE GL_ONE\r
801                 rgbGen wave sin 0.5 0.5 0 .3\r
802         }\r
803         {\r
804                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga\r
805                 blendFunc GL_ONE GL_ONE\r
806         }\r
807         {\r
808                 map textures/evil4_techwalls/drkmtl_lightboard.tga\r
809                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
810                 rgbGen identity\r
811         }\r
812         {\r
813                 map $lightmap\r
814                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
815                 rgbGen identity\r
816         }\r
817 }\r
818 \r
819 //********************************************\r
820 //********************************************\r
821 //********************************************\r
822 //********************************************\r
823 //********************************************\r
824 // techwall section II\r
825 // This is the Ã’dirtyÓ version of the evil_techwalls...\r
826 // I added Ã’d_Ó to the filenames.\r
827 //********************************************\r
828 //********************************************\r
829 //********************************************\r
830 //********************************************\r
831 //********************************************\r
832 \r
833 textures/evil4_d_techwalls/d_tech_dw2\r
834 {\r
835         {\r
836                 map textures/evil4_d_techwalls/d_tech_dw2.tga\r
837                 rgbGen identity\r
838         }\r
839         {\r
840                 map $lightmap\r
841                 blendfunc filter\r
842                 rgbGen identity\r
843         }\r
844         {\r
845                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
846                 blendFunc add\r
847                 rgbGen wave sin .5 .5 0 3\r
848         }\r
849 }\r
850 \r
851 textures/evil4_d_techwalls/d_tech_dw2g\r
852 {\r
853         {\r
854                 map textures/evil4_d_techwalls/d_tech_dw2g.tga\r
855                 rgbGen identity\r
856         }\r
857         {\r
858                 map $lightmap\r
859                 blendfunc filter\r
860                 rgbGen identity\r
861         }\r
862         {\r
863                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
864                 blendFunc add\r
865                 rgbGen wave sin .5 .5 0 3\r
866         }\r
867 }\r
868 \r
869 textures/evil4_d_techwalls/d_tech_dw2gb\r
870 {\r
871         {\r
872                 map textures/evil4_d_techwalls/d_tech_dw2gb.tga\r
873                 rgbGen identity\r
874         }\r
875         {\r
876                 map $lightmap\r
877                 blendfunc filter\r
878                 rgbGen identity\r
879         }\r
880         {\r
881                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
882                 blendFunc add\r
883                 rgbGen wave sin .5 .5 0 3\r
884         }\r
885 }\r
886 \r
887 textures/evil4_d_techwalls/d_tech_wall_dlight\r
888 {\r
889         surfaceparm nomarks\r
890         q3map_surfacelight 5000\r
891         {\r
892                 map $lightmap\r
893                 rgbGen identity\r
894         }\r
895         {\r
896                 map textures/evil4_d_techwalls/d_tech_wall_dlight.tga\r
897                 blendFunc GL_DST_COLOR GL_ZERO\r
898                 rgbGen identity\r
899         }\r
900         {\r
901                 map textures/evil4_d_techwalls/d_tech_wall_dlight_glw.tga\r
902                 rgbGen wave sin 0.5 0.5 1 1\r
903                 blendfunc GL_ONE GL_ONE\r
904         }\r
905 }\r
906 \r
907 textures/evil4_d_techwalls/d_tech_dwteky\r
908 {\r
909         {\r
910                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga\r
911                 tcmod turb 0 3 5 8\r
912                 blendFunc GL_ONE GL_ONE\r
913         }\r
914         {\r
915                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga\r
916                 blendFunc GL_ONE GL_ONE\r
917                 tcmod turb 0 1 1 1\r
918         }\r
919         {\r
920                 map textures/evil4_d_techwalls/d_tech_dwteky.tga\r
921                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
922                 rgbGen identity\r
923         }\r
924         {\r
925                 map $lightmap\r
926                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
927                 rgbGen identity\r
928         }\r
929 }\r
930 \r
931 textures/evil4_d_techwalls/d_tech_drkwll_pnltek\r
932 {\r
933         {\r
934                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek_glow.tga\r
935                 tcmod turb 0 1 1 9\r
936                 blendFunc GL_ONE GL_ONE\r
937         }\r
938         {\r
939                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga\r
940                 blendFunc GL_ONE GL_ONE\r
941         }\r
942         {\r
943                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga\r
944                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
945                 rgbGen identity\r
946         }\r
947         {\r
948                 map $lightmap\r
949                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
950                 rgbGen identity\r
951         }\r
952 }\r
953 \r
954 //tech window with a chrome-like appearance,\r
955 //uncomment to use and comment the next one\r
956 //textures/evil4_d_techwalls/tech_window\r
957 //{\r
958 //{\r
959 //             map textures/effects/tinfx.tga\r
960 //                tcGen environment\r
961 //                rgbGen identity\r
962 //      }\r
963 //        {\r
964 //              map textures/evil4_d_techwalls/d_tech_window.tga\r
965 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
966 //              rgbGen identity\r
967 //      }\r
968 //        {\r
969 //              map $lightmap\r
970 //                blendFunc gl_dst_color gl_zero\r
971 //              rgbGen identity\r
972 //      }\r
973 //}\r
974 \r
975 //tech window with transparency\r
976 \r
977 textures/evil4_d_techwalls/d_tech_window\r
978 {\r
979         cull twosided\r
980         {\r
981                 map textures/evil4_d_techwalls/d_tech_windowmask.tga\r
982                 tcGen environment\r
983                 tcMod turb 0 0.01 0 0.01\r
984                 tcmod scroll .0 .0\r
985                 blendfunc GL_ONE GL_ONE\r
986         }\r
987         {\r
988                 map textures/evil4_d_techwalls/d_tech_window.tga\r
989                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
990                 rgbGen identity\r
991         }\r
992         {\r
993                 map $lightmap\r
994                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
995                 rgbGen identity\r
996         }\r
997 }\r
998 \r
999 textures/evil4_d_techwalls/d_drkmtl_lightboard\r
1000 {\r
1001         {\r
1002                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga\r
1003                 blendFunc GL_ONE GL_ONE\r
1004                 rgbGen wave sin 0.5 0.5 0 .3\r
1005         }\r
1006         {\r
1007                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga\r
1008                 blendFunc GL_ONE GL_ONE\r
1009         }\r
1010         {\r
1011                 map textures/evil4_d_techwalls/d_drkmtl_lightboard.tga\r
1012                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1013                 rgbGen identity\r
1014         }\r
1015         {\r
1016                 map $lightmap\r
1017                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1018                 rgbGen identity\r
1019         }\r
1020 }\r
1021 \r
1022 textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2\r
1023 {\r
1024         {\r
1025                 map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga\r
1026                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1027                 rgbGen identity\r
1028         }\r
1029         {\r
1030                 map $lightmap\r
1031                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1032                 rgbGen identity\r
1033         }\r
1034 }\r