]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil4_techtrims.shader
fixed light texture in nexdm05
[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 wall section****************\r
288 //********************************************\r
289 //********************************************\r
290 //********************************************\r
291 \r
292 textures/evil4_wall/tekwallmulti2\r
293 {\r
294         {\r
295                 map textures/base_wall/chrome_env.tga\r
296                 rgbGen identity\r
297                 tcGen environment\r
298                 tcmod scale .25 .25\r
299         }\r
300         {\r
301                 map textures/evil4_wall/tekwallmulti2.tga\r
302                 blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
303                 rgbGen identity\r
304         }\r
305         {\r
306                 map $lightmap\r
307                 blendfunc gl_dst_color gl_zero\r
308                 rgbGen identity\r
309         }\r
310 }\r
311 \r
312 //********************************************\r
313 //********************************************\r
314 //********************************************\r
315 //**************evil lights section***************\r
316 //********************************************\r
317 //********************************************\r
318 //********************************************\r
319 \r
320 textures/evil4_lights/steplight\r
321 {\r
322         surfaceparm nomarks\r
323         q3map_surfacelight 1000\r
324         //light1\r
325         {\r
326                 map $lightmap\r
327                 rgbGen identity\r
328         }\r
329         {\r
330                 map textures/evil4_lights/steplight.tga\r
331                 blendFunc GL_DST_COLOR GL_ZERO\r
332                 rgbGen identity\r
333         }\r
334         {\r
335                 map textures/evil4_lights/steplight_glow.tga\r
336                 blendfunc GL_ONE GL_ONE\r
337         }\r
338 }\r
339 \r
340 textures/evil4_lights/drkmtlsupport_light\r
341 {\r
342         surfaceparm nomarks\r
343         q3map_surfacelight 1000\r
344         {\r
345                 map $lightmap\r
346                 rgbGen identity\r
347         }\r
348         {\r
349                 map textures/evil4_lights/drkmtlsupport_light.tga\r
350                 blendFunc GL_DST_COLOR GL_ZERO\r
351                 rgbGen identity\r
352         }\r
353         {\r
354                 map textures/evil4_lights/drkmtlsupport_light_glow.tga\r
355                 rgbGen wave sin 0.5 0.5 1 .5\r
356                 blendfunc GL_ONE GL_ONE\r
357         }\r
358 }\r
359 \r
360 textures/evil4_lights/s_light\r
361 {\r
362         qer_editorimage textures/evil4_lights/s_light.jpg\r
363         surfaceparm nomarks\r
364         q3map_surfacelight 1500\r
365         {\r
366                 map textures/evil4_lights/s_light.jpg\r
367                 blendFunc GL_DST_COLOR GL_ZERO\r
368                 rgbGen identity\r
369         }\r
370         {\r
371                 map textures/evil4_lights/s_light_blend.jpg\r
372                 rgbGen wave sin 0.5 0.5 1 1\r
373                 blendFunc GL_ONE GL_ONE\r
374         }\r
375         {\r
376                 map $lightmap\r
377                 rgbGen identity\r
378                 blendFunc Filter\r
379         }\r
380 }\r
381 \r
382 textures/evil4_lights/t_mtllight\r
383 {\r
384         surfaceparm nomarks\r
385         q3map_surfacelight 1000\r
386         //light1\r
387         {\r
388                 map $lightmap\r
389                 rgbGen identity\r
390         }\r
391         {\r
392                 map textures/evil4_lights/t_mtllight.jpg\r
393                 blendFunc GL_DST_COLOR GL_ZERO\r
394                 rgbGen identity\r
395         }\r
396         {\r
397                 map textures/evil4_lights/t_mtllight_blend.jpg\r
398                 //rgbGen wave sin 0.5 0.5 1 1\r
399                 blendfunc GL_ONE GL_ONE\r
400         }\r
401 }\r
402 \r
403 textures/evil4_lights/mtl_lightsmll\r
404 {\r
405         surfaceparm nomarks\r
406         q3map_surfacelight 1000\r
407         //light1\r
408         {\r
409                 map $lightmap\r
410                 rgbGen identity\r
411         }\r
412         {\r
413                 map textures/evil4_lights/mtl_lightsmll.jpg\r
414                 blendFunc GL_DST_COLOR GL_ZERO\r
415                 rgbGen identity\r
416         }\r
417         {\r
418                 map textures/evil4_lights/mtl_lightsmll_blend.jpg\r
419                 rgbGen wave sin 0.5 0.5 1 1\r
420                 blendfunc GL_ONE GL_ONE\r
421         }\r
422 }\r
423 \r
424 //double glowing effect light strips\r
425 \r
426 textures/evil4_lights/l_light_b\r
427 {\r
428         q3map_surfacelight 5000\r
429         q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
430         {\r
431                 map $lightmap\r
432                 rgbGen identity\r
433         }\r
434         {\r
435                 map textures/evil4_lights/l_light_b.jpg\r
436                 blendFunc GL_DST_COLOR GL_ZERO\r
437                 rgbGen identity\r
438         }\r
439         {\r
440                 map textures/evil4_lights/l_light_b_blend.jpg\r
441                 blendfunc GL_ONE GL_ONE\r
442         }\r
443         {\r
444                 map textures/evil4_lights/l_light_b_blend.jpg\r
445                 rgbGen wave sin 6 2 1 2\r
446                 blendfunc GL_ONE GL_ONE\r
447         }\r
448 }\r
449 \r
450 textures/evil4_lights/l_light_g\r
451 {\r
452         q3map_surfacelight 5000\r
453         q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
454         {\r
455                 map $lightmap\r
456                 rgbGen identity\r
457         }\r
458         {\r
459                 map textures/evil4_lights/l_light_g.jpg\r
460                 blendFunc GL_DST_COLOR GL_ZERO\r
461                 rgbGen identity\r
462         }\r
463         {\r
464                 map textures/evil4_lights/l_light_g_blend.jpg\r
465                 blendfunc GL_ONE GL_ONE\r
466         }\r
467         {\r
468                 map textures/evil4_lights/l_light_g_blend.jpg\r
469                 rgbGen wave sin 6 2 1 2\r
470                 blendfunc GL_ONE GL_ONE\r
471         }\r
472 }\r
473 \r
474 textures/evil4_lights/l_light_r\r
475 {\r
476         q3map_surfacelight 5000\r
477         q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
478         {\r
479                 map $lightmap\r
480                 rgbGen identity\r
481         }\r
482         {\r
483                 map textures/evil4_lights/l_light_r.jpg\r
484                 blendFunc GL_DST_COLOR GL_ZERO\r
485                 rgbGen identity\r
486         }\r
487         {\r
488                 map textures/evil4_lights/l_light_r_blend.jpg\r
489                 blendfunc GL_ONE GL_ONE\r
490         }\r
491         {\r
492                 map textures/evil4_lights/l_light_r_blend.jpg\r
493                 rgbGen wave sin 6 2 1 2\r
494                 blendfunc GL_ONE GL_ONE\r
495         }\r
496 }\r
497 \r
498 textures/evil4_lights/l_light_w\r
499 {\r
500         q3map_surfacelight 5000\r
501         q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
502         {\r
503                 map $lightmap\r
504                 rgbGen identity\r
505         }\r
506         {\r
507                 map textures/evil4_lights/l_light_w.jpg\r
508                 blendFunc GL_DST_COLOR GL_ZERO\r
509                 rgbGen identity\r
510         }\r
511         {\r
512                 map textures/evil4_lights/l_light_w_blend.jpg\r
513                 blendfunc GL_ONE GL_ONE\r
514         }\r
515         {\r
516                 map textures/evil4_lights/l_light_w_blend.jpg\r
517                 rgbGen wave sin 6 2 1 2\r
518                 blendfunc GL_ONE GL_ONE\r
519         }\r
520 }\r
521 \r
522 textures/evil4_lights/mtl_l1\r
523 {\r
524         q3map_surfacelight 1000\r
525         q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
526         // LordHavoc: replaced most of this shader\r
527         {\r
528                 map textures/evil4_lights/mtl_l1.tga\r
529         }\r
530         {\r
531                 map $lightmap\r
532                 rgbGen identity\r
533                 blendfunc filter\r
534         }\r
535         {\r
536                 map textures/evil4_lights/mtl_l1_glow.tga\r
537                 blendfunc add\r
538         }\r
539         // LordHavoc: original shader\r
540         //{\r
541         //      map textures/evil4_lights/mtl_l1_fx.tga\r
542         //      //blendfunc add\r
543         //      tcmod scale 12 1\r
544         //      rgbGen identity\r
545         //      tcMod scroll 0 1\r
546         //}\r
547         //{\r
548         //      map textures/evil4_lights/mtl_l1_fx.tga\r
549         //      blendfunc add\r
550         //      //tcmod scale 25 1\r
551         //      rgbGen identity\r
552         //      tcMod scroll 1 0\r
553         //}\r
554         //{\r
555         //      map textures/evil4_lights/mtl_l1.tga\r
556         //      blendfunc blend\r
557         //      rgbGen identity\r
558         //}\r
559         //{\r
560         //      map textures/evil4_lights/mtl_l1_glow.tga\r
561         //      blendfunc add\r
562         //      tcmod scale 1 1\r
563         //}\r
564         //{\r
565         //      map $lightmap\r
566         //      rgbGen identity\r
567         //      blendfunc filter\r
568         //}\r
569 }\r
570 \r
571 //border light\r
572 \r
573 textures/evil4_lights/trimtl_grlbtm_light\r
574 {\r
575         q3map_surfacelight 5000\r
576         q3map_lightimage textures/evil4_lights/trimtl_grlbtm_light_blnd.tga\r
577         qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
578         {\r
579                 map textures/evil4_lights/trimtl_grlbtm_light.tga\r
580                 rgbGen identity\r
581         }\r
582         {\r
583                 map $lightmap\r
584                 rgbGen identity\r
585                 blendfunc gl_dst_color gl_zero\r
586         }\r
587         {\r
588                 map textures/evil4_lights/trimtl_grlbtm_light_blnd.tga\r
589                 blendfunc gl_one gl_one\r
590                 rgbgen wave sin 1 .1 0 1\r
591         }\r
592 }\r
593 \r
594 textures/evil4_lights/s_bluelight\r
595 {\r
596         q3map_surfacelight 1000\r
597         q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
598         {\r
599                 map $lightmap\r
600                 rgbGen identity\r
601         }\r
602         {\r
603                 map textures/evil4_lights/s_bluelight.tga\r
604                 rgbGen identity\r
605                 blendFunc GL_DST_COLOR GL_ZERO\r
606         }\r
607         {\r
608                 map textures/evil4_lights/s_bluelight_glow.tga\r
609                 rgbGen wave sin 0.5 0.5 0 .2\r
610                 blendfunc add\r
611         }\r
612         {\r
613                 map $lightmap\r
614                 blendFunc GL_DST_COLOR GL_ZERO\r
615                 rgbGen identity\r
616         }\r
617 }\r
618 \r
619 //********************************************\r
620 //********************************************\r
621 //********************************************\r
622 //**************evil fx section******************\r
623 //********************************************\r
624 //********************************************\r
625 //********************************************\r
626 \r
627 // portal\r
628 \r
629 textures/evil4_fx/mtlportal_fx\r
630 {\r
631         qer_editorimage textures/evil4_fx/mtlportal.tga\r
632         cull disable\r
633         surfaceparm nomarks\r
634         surfaceparm trans\r
635         sort additive\r
636         {\r
637                 clampmap textures/evil4_fx/mtlportal_fx1.tga\r
638                 blendFunc add\r
639                 tcmod rotate -100\r
640                 rgbGen identity\r
641         }\r
642         {\r
643                 clampmap textures/evil4_fx/mtlportal_fx2.tga\r
644                 blendFunc add\r
645                 tcmod rotate 100\r
646                 rgbGen identity\r
647         }\r
648         {\r
649                 clampmap textures/evil4_fx/mtlportal.tga\r
650                 alphaFunc GE128\r
651                 depthWrite\r
652                 rgbGen identity\r
653         }\r
654         {\r
655                 map $lightmap\r
656                 rgbGen identity\r
657                 blendFunc GL_DST_COLOR GL_ZERO\r
658                 depthFunc equal\r
659         }\r
660 }\r
661 \r
662 //matrixy transparent display images\r
663 \r
664 textures/evil4_fx/mat1\r
665 {\r
666         {\r
667                 map textures/evil4_fx/mat1.tga\r
668                 blendfunc GL_ONE GL_ONE\r
669                 rgbGen identity\r
670                 rgbGen wave sin 0.5 0.5 0 0.7\r
671         }\r
672         {\r
673                 map textures/evil4_fx/mat2.tga\r
674                 blendfunc GL_ONE GL_ONE\r
675                 rgbGen identity\r
676                 rgbGen wave sin 0.5 0.5 0 .2\r
677         }\r
678         {\r
679                 map textures/evil4_fx/mat3.tga\r
680                 blendfunc GL_ONE GL_ONE\r
681                 rgbGen identity\r
682                 tcMod scroll 0 -.1\r
683         }\r
684         {\r
685                 map textures/evil4_fx/mat4.tga\r
686                 blendfunc GL_ONE GL_ONE\r
687                 rgbGen identity\r
688                 tcMod scroll 0 2\r
689         }\r
690         {\r
691                 map $lightmap\r
692                 rgbGen identity\r
693                 blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
694         }\r
695 }\r
696 \r
697 textures/evil4_fx/b_ray\r
698 {\r
699         q3map_surfacelight 200\r
700         surfaceparm trans\r
701         surfaceparm nonsolid\r
702         surfaceparm nomarks\r
703         surfaceparm nolightmap\r
704         q3map_lightimage textures/evil4_fx/b_ray.tga\r
705         cull none\r
706         {\r
707                 map textures/evil4_fx/b_ray.tga\r
708                 blendFunc GL_ONE GL_ONE\r
709                 rgbgen wave triangle 1 9 1 1\r
710                 tcMod scale  0 0\r
711                 tcMod scroll 1 0\r
712         }\r
713         {\r
714                 map textures/evil4_fx/b_ray.tga\r
715                 blendFunc GL_ONE GL_ONE\r
716                 rgbgen wave triangle 1 1 1 1\r
717                 tcMod scale  1 1\r
718                 tcMod scroll 1 0\r
719         }\r
720 }\r
721 \r
722 //effect2\r
723 \r
724 textures/evil4_fx/b_rayc\r
725 {\r
726         q3map_surfacelight 200\r
727         surfaceparm trans\r
728         surfaceparm nonsolid\r
729         surfaceparm nomarks\r
730         surfaceparm nolightmap\r
731         q3map_lightimage textures/evil4_fx/b_rayc.tga\r
732         cull none\r
733         {\r
734                 map textures/evil4_fx/b_rayc.tga\r
735                 blendFunc GL_ONE GL_ONE\r
736                 rgbgen wave triangle 1 9 1 1\r
737                 tcMod scale  0 0\r
738                 tcMod scroll 2 0\r
739         }\r
740         {\r
741                 map textures/evil4_fx/b_rayc.tga\r
742                 blendFunc GL_ONE GL_ONE\r
743                 rgbgen wave triangle 1 1 1 1\r
744                 tcMod scale  1 1\r
745                 tcMod scroll 2 0\r
746         }\r
747 }\r
748 \r
749 //snow\r
750 \r
751 textures/evil4_fx/esnow\r
752 {\r
753         q3map_surfacelight 100\r
754         surfaceparm trans\r
755         surfaceparm nonsolid\r
756         surfaceparm nomarks\r
757         surfaceparm nolightmap\r
758         q3map_lightimage textures/evil4fx/esnow.tga\r
759         cull none\r
760         {\r
761                 map textures/evil4_fx/esnow.tga\r
762                 blendFunc GL_ONE GL_ONE\r
763                 tcMod scroll 0 -0.9\r
764         }\r
765         {\r
766                 map textures/evil4_fx/esnow3.tga\r
767                 blendFunc GL_ONE GL_ONE\r
768                 tcMod scroll 0 -0.7\r
769         }\r
770         {\r
771                 map textures/evil4_fx/esnow2.tga\r
772                 blendFunc GL_ONE GL_ONE\r
773                 tcMod scroll 0 -0.5\r
774         }\r
775         {\r
776                 map textures/evil4_fx/esnow2.tga\r
777                 blendFunc GL_ONE GL_ONE\r
778                 tcMod scale  2 2\r
779                 tcMod scroll 0 -3\r
780         }\r
781 }\r
782 \r
783 //weirdo waterfallÕish effect\r
784 \r
785 textures/evil4_fx/e_waterfall\r
786 {\r
787         q3map_surfacelight 2\r
788         surfaceparm trans\r
789         surfaceparm nonsolid\r
790         surfaceparm nomarks\r
791         surfaceparm nolightmap\r
792         q3map_lightimage textures/evil4_fx/e_waterfall.tga\r
793         cull none\r
794         {\r
795                 map textures/evil4_fx/e_waterfall.tga\r
796                 tcGen environment\r
797                 blendFunc GL_ONE GL_ONE\r
798                 rgbgen wave triangle 2 1 1 5\r
799                 tcMod scale  5 5\r
800                 tcMod scroll 0 -1\r
801         }\r
802         {\r
803                 map textures/evil4_fx/e_waterfall.tga\r
804                 tcGen environment\r
805                 tcmod scale 1 1\r
806                 tcmod scroll 1 -1\r
807                 blendFunc GL_ONE GL_ONE\r
808                 rgbGen identity\r
809         }\r
810         {\r
811                 map $lightmap\r
812                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
813                 rgbGen identity\r
814         }\r
815 }\r
816 \r
817 textures/evil4_fx/teleprtr\r
818 {\r
819         cull disable\r
820         surfaceparm nomarks\r
821         surfaceparm trans\r
822         sort additive\r
823         {\r
824                 clampmap textures/evil4_fx/teleprtr_fx3.tga\r
825                 blendFunc add\r
826                 tcmod rotate -267\r
827                 rgbGen identity\r
828         }\r
829         {\r
830                 clampmap textures/evil4_fx/teleprtr_fx1.tga\r
831                 blendFunc add\r
832                 tcmod rotate 155\r
833                 rgbGen identity\r
834         }\r
835         {\r
836                 clampmap textures/evil4_fx/teleprtr_fx2.tga\r
837                 blendFunc add\r
838                 tcmod rotate -100\r
839                 rgbGen identity\r
840         }\r
841         {\r
842                 clampmap textures/evil4_fx/teleprtr.tga\r
843                 alphaFunc GE128\r
844                 depthWrite\r
845                 rgbGen identity\r
846         }\r
847         {\r
848                 map $lightmap\r
849                 rgbGen identity\r
850                 blendFunc GL_DST_COLOR GL_ZERO\r
851                 depthFunc equal\r
852         }\r
853 }\r
854 \r
855 //********************************************\r
856 //********************************************\r
857 //********************************************\r
858 //**************evil tech wall section************\r
859 //********************************************\r
860 //********************************************\r
861 //********************************************\r
862 \r
863 textures/evil4_techwalls/tech_dw2\r
864 {\r
865         {\r
866                 map textures/evil4_techwalls/tech_dw2.tga\r
867                 rgbGen identity\r
868         }\r
869         {\r
870                 map $lightmap\r
871                 blendfunc filter\r
872                 rgbGen identity\r
873         }\r
874         {\r
875                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
876                 blendFunc add\r
877                 rgbGen wave sin .5 .5 0 3\r
878         }\r
879 }\r
880 \r
881 textures/evil4_techwalls/tech_dw2g\r
882 {\r
883         {\r
884                 map textures/evil4_techwalls/tech_dw2g.tga\r
885                 rgbGen identity\r
886         }\r
887         {\r
888                 map $lightmap\r
889                 blendfunc filter\r
890                 rgbGen identity\r
891         }\r
892         {\r
893                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
894                 blendFunc add\r
895                 rgbGen wave sin .5 .5 0 3\r
896         }\r
897 }\r
898 \r
899 textures/evil4_techwalls/tech_dw2gb\r
900 {\r
901         {\r
902                 map textures/evil4_techwalls/tech_dw2gb.tga\r
903                 rgbGen identity\r
904         }\r
905         {\r
906                 map $lightmap\r
907                 blendfunc filter\r
908                 rgbGen identity\r
909         }\r
910         {\r
911                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
912                 blendFunc add\r
913                 rgbGen wave sin .5 .5 0 3\r
914         }\r
915 }\r
916 \r
917 textures/evil4_techwalls/tech_wall_dlight\r
918 {\r
919         surfaceparm nomarks\r
920         q3map_surfacelight 5000\r
921         {\r
922                 map $lightmap\r
923                 rgbGen identity\r
924         }\r
925         {\r
926                 map textures/evil4_techwalls/tech_wall_dlight.tga\r
927                 blendFunc GL_DST_COLOR GL_ZERO\r
928                 rgbGen identity\r
929         }\r
930         {\r
931                 map textures/evil4_techwalls/tech_wall_dlight_glw.tga\r
932                 rgbGen wave sin 0.5 0.5 1 1\r
933                 blendfunc GL_ONE GL_ONE\r
934         }\r
935 }\r
936 \r
937 textures/evil4_techwalls/tech_dwteky\r
938 {\r
939         {\r
940                 map textures/evil4_techwalls/tech_dwteky_glow.tga\r
941                 tcmod turb 0 3 5 8\r
942                 blendFunc GL_ONE GL_ONE\r
943         }\r
944         {\r
945                 map textures/evil4_techwalls/tech_dwteky_glow.tga\r
946                 blendFunc GL_ONE GL_ONE\r
947                 tcmod turb 0 1 1 1\r
948         }\r
949         {\r
950                 map textures/evil4_techwalls/tech_dwteky.tga\r
951                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
952                 rgbGen identity\r
953         }\r
954         {\r
955                 map $lightmap\r
956                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
957                 rgbGen identity\r
958         }\r
959 }\r
960 \r
961 textures/evil4_techwalls/tech_drkwll_pnltek\r
962 {\r
963         {\r
964                 map textures/evil4_techwalls/tech_drkwll_pnltek_glow.tga\r
965                 tcmod turb 0 1 1 9\r
966                 blendFunc GL_ONE GL_ONE\r
967         }\r
968         {\r
969                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga\r
970                 blendFunc GL_ONE GL_ONE\r
971         }\r
972         {\r
973                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga\r
974                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
975                 rgbGen identity\r
976         }\r
977         {\r
978                 map $lightmap\r
979                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
980                 rgbGen identity\r
981         }\r
982 }\r
983 \r
984 //tech window with a chrome-like appearance,\r
985 //uncomment to use and comment the next one\r
986 //textures/evil4_techwalls/tech_window\r
987 //{\r
988 //{\r
989 //             map textures/effects/tinfx.tga\r
990 //                tcGen environment\r
991 //                rgbGen identity\r
992 //      }\r
993 //        {\r
994 //              map textures/evil4_techwalls/tech_window.tga\r
995 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
996 //              rgbGen identity\r
997 //      }\r
998 //        {\r
999 //              map $lightmap\r
1000 //                blendFunc gl_dst_color gl_zero\r
1001 //              rgbGen identity\r
1002 //      }\r
1003 //}\r
1004 \r
1005 //tech window with transparency\r
1006 \r
1007 textures/evil4_techwalls/tech_window\r
1008 {\r
1009         cull twosided\r
1010         {\r
1011                 map textures/evil4_techwalls/tech_windowmask.tga\r
1012                 tcGen environment\r
1013                 tcMod turb 0 0.01 0 0.01\r
1014                 tcmod scroll .0 .0\r
1015                 blendfunc GL_ONE GL_ONE\r
1016         }\r
1017         {\r
1018                 map textures/evil4_techwalls/tech_window.tga\r
1019                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1020                 rgbGen identity\r
1021         }\r
1022         {\r
1023                 map $lightmap\r
1024                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1025                 rgbGen identity\r
1026         }\r
1027 }\r
1028 \r
1029 textures/evil4_techwalls/drkmtl_lightboard\r
1030 {\r
1031         {\r
1032                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga\r
1033                 blendFunc GL_ONE GL_ONE\r
1034                 rgbGen wave sin 0.5 0.5 0 .3\r
1035         }\r
1036         {\r
1037                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga\r
1038                 blendFunc GL_ONE GL_ONE\r
1039         }\r
1040         {\r
1041                 map textures/evil4_techwalls/drkmtl_lightboard.tga\r
1042                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1043                 rgbGen identity\r
1044         }\r
1045         {\r
1046                 map $lightmap\r
1047                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1048                 rgbGen identity\r
1049         }\r
1050 }\r
1051 \r
1052 textures/evil4_techwalls/drkmtl_dpanelwrnb2\r
1053 {\r
1054         {\r
1055                 map textures/evil_techwalls/drkmtl_dpanelwrnb2.tga\r
1056                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1057                 rgbGen identity\r
1058         }\r
1059         {\r
1060                 map $lightmap\r
1061                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1062                 rgbGen identity\r
1063         }\r
1064 }\r
1065 \r
1066 //********************************************\r
1067 //********************************************\r
1068 //********************************************\r
1069 //********************************************\r
1070 //********************************************\r
1071 // techwall section II\r
1072 // This is the ÒdirtyÓ version of the evil_techwalls...\r
1073 // I added Òd_Ó to the filenames.\r
1074 //********************************************\r
1075 //********************************************\r
1076 //********************************************\r
1077 //********************************************\r
1078 //********************************************\r
1079 \r
1080 textures/evil4_d_techwalls/d_tech_dw2\r
1081 {\r
1082         {\r
1083                 map textures/evil4_d_techwalls/d_tech_dw2.tga\r
1084                 rgbGen identity\r
1085         }\r
1086         {\r
1087                 map $lightmap\r
1088                 blendfunc filter\r
1089                 rgbGen identity\r
1090         }\r
1091         {\r
1092                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
1093                 blendFunc add\r
1094                 rgbGen wave sin .5 .5 0 3\r
1095         }\r
1096 }\r
1097 \r
1098 textures/evil4_d_techwalls/d_tech_dw2g\r
1099 {\r
1100         {\r
1101                 map textures/evil4_d_techwalls/d_tech_dw2g.tga\r
1102                 rgbGen identity\r
1103         }\r
1104         {\r
1105                 map $lightmap\r
1106                 blendfunc filter\r
1107                 rgbGen identity\r
1108         }\r
1109         {\r
1110                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
1111                 blendFunc add\r
1112                 rgbGen wave sin .5 .5 0 3\r
1113         }\r
1114 }\r
1115 \r
1116 textures/evil4_d_techwalls/d_tech_dw2gb\r
1117 {\r
1118         {\r
1119                 map textures/evil4_d_techwalls/d_tech_dw2gb.tga\r
1120                 rgbGen identity\r
1121         }\r
1122         {\r
1123                 map $lightmap\r
1124                 blendfunc filter\r
1125                 rgbGen identity\r
1126         }\r
1127         {\r
1128                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
1129                 blendFunc add\r
1130                 rgbGen wave sin .5 .5 0 3\r
1131         }\r
1132 }\r
1133 \r
1134 textures/evil4_d_techwalls/d_tech_wall_dlight\r
1135 {\r
1136         surfaceparm nomarks\r
1137         q3map_surfacelight 5000\r
1138         {\r
1139                 map $lightmap\r
1140                 rgbGen identity\r
1141         }\r
1142         {\r
1143                 map textures/evil4_d_techwalls/d_tech_wall_dlight.tga\r
1144                 blendFunc GL_DST_COLOR GL_ZERO\r
1145                 rgbGen identity\r
1146         }\r
1147         {\r
1148                 map textures/evil4_d_techwalls/d_tech_wall_dlight_glw.tga\r
1149                 rgbGen wave sin 0.5 0.5 1 1\r
1150                 blendfunc GL_ONE GL_ONE\r
1151         }\r
1152 }\r
1153 \r
1154 textures/evil4_d_techwalls/d_tech_dwteky\r
1155 {\r
1156         {\r
1157                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga\r
1158                 tcmod turb 0 3 5 8\r
1159                 blendFunc GL_ONE GL_ONE\r
1160         }\r
1161         {\r
1162                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga\r
1163                 blendFunc GL_ONE GL_ONE\r
1164                 tcmod turb 0 1 1 1\r
1165         }\r
1166         {\r
1167                 map textures/evil4_d_techwalls/d_tech_dwteky.tga\r
1168                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1169                 rgbGen identity\r
1170         }\r
1171         {\r
1172                 map $lightmap\r
1173                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1174                 rgbGen identity\r
1175         }\r
1176 }\r
1177 \r
1178 textures/evil4_d_techwalls/d_tech_drkwll_pnltek\r
1179 {\r
1180         {\r
1181                 maptextures/evil4_d_techwalls/d_tech_drkwll_pnltek_glow.tga\r
1182                 tcmod turb 0 1 1 9\r
1183                 blendFunc GL_ONE GL_ONE\r
1184         }\r
1185         {\r
1186                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga\r
1187                 blendFunc GL_ONE GL_ONE\r
1188         }\r
1189         {\r
1190                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga\r
1191                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1192                 rgbGen identity\r
1193         }\r
1194         {\r
1195                 map $lightmap\r
1196                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1197                 rgbGen identity\r
1198         }\r
1199 }\r
1200 \r
1201 //tech window with a chrome-like appearance,\r
1202 //uncomment to use and comment the next one\r
1203 //textures/evil4_d_techwalls/tech_window\r
1204 //{\r
1205 //{\r
1206 //             map textures/effects/tinfx.tga\r
1207 //                tcGen environment\r
1208 //                rgbGen identity\r
1209 //      }\r
1210 //        {\r
1211 //              map textures/evil4_d_techwalls/d_tech_window.tga\r
1212 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1213 //              rgbGen identity\r
1214 //      }\r
1215 //        {\r
1216 //              map $lightmap\r
1217 //                blendFunc gl_dst_color gl_zero\r
1218 //              rgbGen identity\r
1219 //      }\r
1220 //}\r
1221 \r
1222 //tech window with transparency\r
1223 \r
1224 textures/evil4_d_techwalls/d_tech_window\r
1225 {\r
1226         cull twosided\r
1227         {\r
1228                 map textures/evil4_d_techwalls/d_tech_windowmask.tga\r
1229                 tcGen environment\r
1230                 tcMod turb 0 0.01 0 0.01\r
1231                 tcmod scroll .0 .0\r
1232                 blendfunc GL_ONE GL_ONE\r
1233         }\r
1234         {\r
1235                 map textures/evil4_d_techwalls/d_tech_window.tga\r
1236                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1237                 rgbGen identity\r
1238         }\r
1239         {\r
1240                 map $lightmap\r
1241                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1242                 rgbGen identity\r
1243         }\r
1244 }\r
1245 \r
1246 textures/evil4_d_techwalls/d_drkmtl_lightboard\r
1247 {\r
1248         {\r
1249                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga\r
1250                 blendFunc GL_ONE GL_ONE\r
1251                 rgbGen wave sin 0.5 0.5 0 .3\r
1252         }\r
1253         {\r
1254                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga\r
1255                 blendFunc GL_ONE GL_ONE\r
1256         }\r
1257         {\r
1258                 map textures/evil4_d_techwalls/d_drkmtl_lightboard.tga\r
1259                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1260                 rgbGen identity\r
1261         }\r
1262         {\r
1263                 map $lightmap\r
1264                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1265                 rgbGen identity\r
1266         }\r
1267 }\r
1268 \r
1269 textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2\r
1270 {\r
1271         {\r
1272                 map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga\r
1273                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1274                 rgbGen identity\r
1275         }\r
1276         {\r
1277                 map $lightmap\r
1278                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1279                 rgbGen identity\r
1280         }\r
1281 }\r