]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil4_techtrims.shader
cleanup
[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         {\r
527                 map textures/evil4_lights/mtl_l1_fx.tga\r
528                 //blendfunc add\r
529                 tcmod scale 12 1\r
530                 rgbGen identity\r
531                 tcMod scroll 0 1\r
532         }\r
533         {\r
534                 map textures/evil4_lights/mtl_l1_fx.tga\r
535                 blendfunc add\r
536                 //tcmod scale 25 1\r
537                 rgbGen identity\r
538                 tcMod scroll 1 0\r
539         }\r
540         {\r
541                 map textures/evil4_lights/mtl_l1.tga\r
542                 blendfunc blend\r
543                 rgbGen identity\r
544         }\r
545         {\r
546                 map textures/evil4_lights/mtl_l1_fx2.tga\r
547                 blendfunc add\r
548                 tcmod scale 1 1\r
549         }\r
550         {\r
551                 map $lightmap\r
552                 rgbGen identity\r
553                 blendfunc filter\r
554         }\r
555 }\r
556 \r
557 //border light\r
558 \r
559 textures/evil4_lights/trimtl_grlbtm_light\r
560 {\r
561         q3map_surfacelight 5000\r
562         q3map_lightimage textures/evil4_lights/trimtl_grlbtm_light_blnd.tga\r
563         qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
564         {\r
565                 map textures/evil4_lights/trimtl_grlbtm_light.tga\r
566                 rgbGen identity\r
567         }\r
568         {\r
569                 map $lightmap\r
570                 rgbGen identity\r
571                 blendfunc gl_dst_color gl_zero\r
572         }\r
573         {\r
574                 map textures/evil4_lights/trimtl_grlbtm_light_blnd.tga\r
575                 blendfunc gl_one gl_one\r
576                 rgbgen wave sin 1 .1 0 1\r
577         }\r
578 }\r
579 \r
580 textures/evil4_lights/s_bluelight\r
581 {\r
582         q3map_surfacelight 1000\r
583         q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
584         {\r
585                 map $lightmap\r
586                 rgbGen identity\r
587         }\r
588         {\r
589                 map textures/evil4_lights/s_bluelight.tga\r
590                 rgbGen identity\r
591                 blendFunc GL_DST_COLOR GL_ZERO\r
592         }\r
593         {\r
594                 map textures/evil4_lights/s_bluelight_glow.tga\r
595                 rgbGen wave sin 0.5 0.5 0 .2\r
596                 blendfunc add\r
597         }\r
598         {\r
599                 map $lightmap\r
600                 blendFunc GL_DST_COLOR GL_ZERO\r
601                 rgbGen identity\r
602         }\r
603 }\r
604 \r
605 //********************************************\r
606 //********************************************\r
607 //********************************************\r
608 //**************evil fx section******************\r
609 //********************************************\r
610 //********************************************\r
611 //********************************************\r
612 \r
613 // portal\r
614 \r
615 textures/evil4_fx/mtlportal_fx\r
616 {\r
617         qer_editorimage textures/evil4_fx/mtlportal.tga\r
618         cull disable\r
619         surfaceparm nomarks\r
620         surfaceparm trans\r
621         sort additive\r
622         {\r
623                 clampmap textures/evil4_fx/mtlportal_fx1.tga\r
624                 blendFunc add\r
625                 tcmod rotate -100\r
626                 rgbGen identity\r
627         }\r
628         {\r
629                 clampmap textures/evil4_fx/mtlportal_fx2.tga\r
630                 blendFunc add\r
631                 tcmod rotate 100\r
632                 rgbGen identity\r
633         }\r
634         {\r
635                 clampmap textures/evil4_fx/mtlportal.tga\r
636                 alphaFunc GE128\r
637                 depthWrite\r
638                 rgbGen identity\r
639         }\r
640         {\r
641                 map $lightmap\r
642                 rgbGen identity\r
643                 blendFunc GL_DST_COLOR GL_ZERO\r
644                 depthFunc equal\r
645         }\r
646 }\r
647 \r
648 //matrixy transparent display images\r
649 \r
650 textures/evil4_fx/mat1\r
651 {\r
652         {\r
653                 map textures/evil4_fx/mat1.tga\r
654                 blendfunc GL_ONE GL_ONE\r
655                 rgbGen identity\r
656                 rgbGen wave sin 0.5 0.5 0 0.7\r
657         }\r
658         {\r
659                 map textures/evil4_fx/mat2.tga\r
660                 blendfunc GL_ONE GL_ONE\r
661                 rgbGen identity\r
662                 rgbGen wave sin 0.5 0.5 0 .2\r
663         }\r
664         {\r
665                 map textures/evil4_fx/mat3.tga\r
666                 blendfunc GL_ONE GL_ONE\r
667                 rgbGen identity\r
668                 tcMod scroll 0 -.1\r
669         }\r
670         {\r
671                 map textures/evil4_fx/mat4.tga\r
672                 blendfunc GL_ONE GL_ONE\r
673                 rgbGen identity\r
674                 tcMod scroll 0 2\r
675         }\r
676         {\r
677                 map $lightmap\r
678                 rgbGen identity\r
679                 blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
680         }\r
681 }\r
682 \r
683 textures/evil4_fx/b_ray\r
684 {\r
685         q3map_surfacelight 200\r
686         surfaceparm trans\r
687         surfaceparm nonsolid\r
688         surfaceparm nomarks\r
689         surfaceparm nolightmap\r
690         q3map_lightimage textures/evil4_fx/b_ray.tga\r
691         cull none\r
692         {\r
693                 map textures/evil4_fx/b_ray.tga\r
694                 blendFunc GL_ONE GL_ONE\r
695                 rgbgen wave triangle 1 9 1 1\r
696                 tcMod scale  0 0\r
697                 tcMod scroll 1 0\r
698         }\r
699         {\r
700                 map textures/evil4_fx/b_ray.tga\r
701                 blendFunc GL_ONE GL_ONE\r
702                 rgbgen wave triangle 1 1 1 1\r
703                 tcMod scale  1 1\r
704                 tcMod scroll 1 0\r
705         }\r
706 }\r
707 \r
708 //effect2\r
709 \r
710 textures/evil4_fx/b_rayc\r
711 {\r
712         q3map_surfacelight 200\r
713         surfaceparm trans\r
714         surfaceparm nonsolid\r
715         surfaceparm nomarks\r
716         surfaceparm nolightmap\r
717         q3map_lightimage textures/evil4_fx/b_rayc.tga\r
718         cull none\r
719         {\r
720                 map textures/evil4_fx/b_rayc.tga\r
721                 blendFunc GL_ONE GL_ONE\r
722                 rgbgen wave triangle 1 9 1 1\r
723                 tcMod scale  0 0\r
724                 tcMod scroll 2 0\r
725         }\r
726         {\r
727                 map textures/evil4_fx/b_rayc.tga\r
728                 blendFunc GL_ONE GL_ONE\r
729                 rgbgen wave triangle 1 1 1 1\r
730                 tcMod scale  1 1\r
731                 tcMod scroll 2 0\r
732         }\r
733 }\r
734 \r
735 //snow\r
736 \r
737 textures/evil4_fx/esnow\r
738 {\r
739         q3map_surfacelight 100\r
740         surfaceparm trans\r
741         surfaceparm nonsolid\r
742         surfaceparm nomarks\r
743         surfaceparm nolightmap\r
744         q3map_lightimage textures/evil4fx/esnow.tga\r
745         cull none\r
746         {\r
747                 map textures/evil4_fx/esnow.tga\r
748                 blendFunc GL_ONE GL_ONE\r
749                 tcMod scroll 0 -0.9\r
750         }\r
751         {\r
752                 map textures/evil4_fx/esnow3.tga\r
753                 blendFunc GL_ONE GL_ONE\r
754                 tcMod scroll 0 -0.7\r
755         }\r
756         {\r
757                 map textures/evil4_fx/esnow2.tga\r
758                 blendFunc GL_ONE GL_ONE\r
759                 tcMod scroll 0 -0.5\r
760         }\r
761         {\r
762                 map textures/evil4_fx/esnow2.tga\r
763                 blendFunc GL_ONE GL_ONE\r
764                 tcMod scale  2 2\r
765                 tcMod scroll 0 -3\r
766         }\r
767 }\r
768 \r
769 //weirdo waterfallÕish effect\r
770 \r
771 textures/evil4_fx/e_waterfall\r
772 {\r
773         q3map_surfacelight 2\r
774         surfaceparm trans\r
775         surfaceparm nonsolid\r
776         surfaceparm nomarks\r
777         surfaceparm nolightmap\r
778         q3map_lightimage textures/evil4_fx/e_waterfall.tga\r
779         cull none\r
780         {\r
781                 map textures/evil4_fx/e_waterfall.tga\r
782                 tcGen environment\r
783                 blendFunc GL_ONE GL_ONE\r
784                 rgbgen wave triangle 2 1 1 5\r
785                 tcMod scale  5 5\r
786                 tcMod scroll 0 -1\r
787         }\r
788         {\r
789                 map textures/evil4_fx/e_waterfall.tga\r
790                 tcGen environment\r
791                 tcmod scale 1 1\r
792                 tcmod scroll 1 -1\r
793                 blendFunc GL_ONE GL_ONE\r
794                 rgbGen identity\r
795         }\r
796         {\r
797                 map $lightmap\r
798                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
799                 rgbGen identity\r
800         }\r
801 }\r
802 \r
803 textures/evil4_fx/teleprtr\r
804 {\r
805         cull disable\r
806         surfaceparm nomarks\r
807         surfaceparm trans\r
808         sort additive\r
809         {\r
810                 clampmap textures/evil4_fx/teleprtr_fx3.tga\r
811                 blendFunc add\r
812                 tcmod rotate -267\r
813                 rgbGen identity\r
814         }\r
815         {\r
816                 clampmap textures/evil4_fx/teleprtr_fx1.tga\r
817                 blendFunc add\r
818                 tcmod rotate 155\r
819                 rgbGen identity\r
820         }\r
821         {\r
822                 clampmap textures/evil4_fx/teleprtr_fx2.tga\r
823                 blendFunc add\r
824                 tcmod rotate -100\r
825                 rgbGen identity\r
826         }\r
827         {\r
828                 clampmap textures/evil4_fx/teleprtr.tga\r
829                 alphaFunc GE128\r
830                 depthWrite\r
831                 rgbGen identity\r
832         }\r
833         {\r
834                 map $lightmap\r
835                 rgbGen identity\r
836                 blendFunc GL_DST_COLOR GL_ZERO\r
837                 depthFunc equal\r
838         }\r
839 }\r
840 \r
841 //********************************************\r
842 //********************************************\r
843 //********************************************\r
844 //**************evil tech wall section************\r
845 //********************************************\r
846 //********************************************\r
847 //********************************************\r
848 \r
849 textures/evil4_techwalls/tech_dw2\r
850 {\r
851         {\r
852                 map textures/evil4_techwalls/tech_dw2.tga\r
853                 rgbGen identity\r
854         }\r
855         {\r
856                 map $lightmap\r
857                 blendfunc filter\r
858                 rgbGen identity\r
859         }\r
860         {\r
861                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
862                 blendFunc add\r
863                 rgbGen wave sin .5 .5 0 3\r
864         }\r
865 }\r
866 \r
867 textures/evil4_techwalls/tech_dw2g\r
868 {\r
869         {\r
870                 map textures/evil4_techwalls/tech_dw2g.tga\r
871                 rgbGen identity\r
872         }\r
873         {\r
874                 map $lightmap\r
875                 blendfunc filter\r
876                 rgbGen identity\r
877         }\r
878         {\r
879                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
880                 blendFunc add\r
881                 rgbGen wave sin .5 .5 0 3\r
882         }\r
883 }\r
884 \r
885 textures/evil4_techwalls/tech_dw2gb\r
886 {\r
887         {\r
888                 map textures/evil4_techwalls/tech_dw2gb.tga\r
889                 rgbGen identity\r
890         }\r
891         {\r
892                 map $lightmap\r
893                 blendfunc filter\r
894                 rgbGen identity\r
895         }\r
896         {\r
897                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
898                 blendFunc add\r
899                 rgbGen wave sin .5 .5 0 3\r
900         }\r
901 }\r
902 \r
903 textures/evil4_techwalls/tech_wall_dlight\r
904 {\r
905         surfaceparm nomarks\r
906         q3map_surfacelight 5000\r
907         {\r
908                 map $lightmap\r
909                 rgbGen identity\r
910         }\r
911         {\r
912                 map textures/evil4_techwalls/tech_wall_dlight.tga\r
913                 blendFunc GL_DST_COLOR GL_ZERO\r
914                 rgbGen identity\r
915         }\r
916         {\r
917                 map textures/evil4_techwalls/tech_wall_dlight_glw.tga\r
918                 rgbGen wave sin 0.5 0.5 1 1\r
919                 blendfunc GL_ONE GL_ONE\r
920         }\r
921 }\r
922 \r
923 textures/evil4_techwalls/tech_dwteky\r
924 {\r
925         {\r
926                 map textures/evil4_techwalls/tech_dwteky_glow.tga\r
927                 tcmod turb 0 3 5 8\r
928                 blendFunc GL_ONE GL_ONE\r
929         }\r
930         {\r
931                 map textures/evil4_techwalls/tech_dwteky_glow.tga\r
932                 blendFunc GL_ONE GL_ONE\r
933                 tcmod turb 0 1 1 1\r
934         }\r
935         {\r
936                 map textures/evil4_techwalls/tech_dwteky.tga\r
937                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
938                 rgbGen identity\r
939         }\r
940         {\r
941                 map $lightmap\r
942                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
943                 rgbGen identity\r
944         }\r
945 }\r
946 \r
947 textures/evil4_techwalls/tech_drkwll_pnltek\r
948 {\r
949         {\r
950                 map textures/evil4_techwalls/tech_drkwll_pnltek_glow.tga\r
951                 tcmod turb 0 1 1 9\r
952                 blendFunc GL_ONE GL_ONE\r
953         }\r
954         {\r
955                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga\r
956                 blendFunc GL_ONE GL_ONE\r
957         }\r
958         {\r
959                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga\r
960                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
961                 rgbGen identity\r
962         }\r
963         {\r
964                 map $lightmap\r
965                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
966                 rgbGen identity\r
967         }\r
968 }\r
969 \r
970 //tech window with a chrome-like appearance,\r
971 //uncomment to use and comment the next one\r
972 //textures/evil4_techwalls/tech_window\r
973 //{\r
974 //{\r
975 //             map textures/effects/tinfx.tga\r
976 //                tcGen environment\r
977 //                rgbGen identity\r
978 //      }\r
979 //        {\r
980 //              map textures/evil4_techwalls/tech_window.tga\r
981 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
982 //              rgbGen identity\r
983 //      }\r
984 //        {\r
985 //              map $lightmap\r
986 //                blendFunc gl_dst_color gl_zero\r
987 //              rgbGen identity\r
988 //      }\r
989 //}\r
990 \r
991 //tech window with transparency\r
992 \r
993 textures/evil4_techwalls/tech_window\r
994 {\r
995         cull twosided\r
996         {\r
997                 map textures/evil4_techwalls/tech_windowmask.tga\r
998                 tcGen environment\r
999                 tcMod turb 0 0.01 0 0.01\r
1000                 tcmod scroll .0 .0\r
1001                 blendfunc GL_ONE GL_ONE\r
1002         }\r
1003         {\r
1004                 map textures/evil4_techwalls/tech_window.tga\r
1005                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1006                 rgbGen identity\r
1007         }\r
1008         {\r
1009                 map $lightmap\r
1010                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1011                 rgbGen identity\r
1012         }\r
1013 }\r
1014 \r
1015 textures/evil4_techwalls/drkmtl_lightboard\r
1016 {\r
1017         {\r
1018                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga\r
1019                 blendFunc GL_ONE GL_ONE\r
1020                 rgbGen wave sin 0.5 0.5 0 .3\r
1021         }\r
1022         {\r
1023                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga\r
1024                 blendFunc GL_ONE GL_ONE\r
1025         }\r
1026         {\r
1027                 map textures/evil4_techwalls/drkmtl_lightboard.tga\r
1028                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1029                 rgbGen identity\r
1030         }\r
1031         {\r
1032                 map $lightmap\r
1033                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1034                 rgbGen identity\r
1035         }\r
1036 }\r
1037 \r
1038 textures/evil4_techwalls/drkmtl_dpanelwrnb2\r
1039 {\r
1040         {\r
1041                 map textures/evil_techwalls/drkmtl_dpanelwrnb2.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 //********************************************\r
1053 //********************************************\r
1054 //********************************************\r
1055 //********************************************\r
1056 //********************************************\r
1057 // techwall section II\r
1058 // This is the Ã’dirtyÓ version of the evil_techwalls...\r
1059 // I added Ã’d_Ó to the filenames.\r
1060 //********************************************\r
1061 //********************************************\r
1062 //********************************************\r
1063 //********************************************\r
1064 //********************************************\r
1065 \r
1066 textures/evil4_d_techwalls/d_tech_dw2\r
1067 {\r
1068         {\r
1069                 map textures/evil4_d_techwalls/d_tech_dw2.tga\r
1070                 rgbGen identity\r
1071         }\r
1072         {\r
1073                 map $lightmap\r
1074                 blendfunc filter\r
1075                 rgbGen identity\r
1076         }\r
1077         {\r
1078                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
1079                 blendFunc add\r
1080                 rgbGen wave sin .5 .5 0 3\r
1081         }\r
1082 }\r
1083 \r
1084 textures/evil4_d_techwalls/d_tech_dw2g\r
1085 {\r
1086         {\r
1087                 map textures/evil4_d_techwalls/d_tech_dw2g.tga\r
1088                 rgbGen identity\r
1089         }\r
1090         {\r
1091                 map $lightmap\r
1092                 blendfunc filter\r
1093                 rgbGen identity\r
1094         }\r
1095         {\r
1096                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
1097                 blendFunc add\r
1098                 rgbGen wave sin .5 .5 0 3\r
1099         }\r
1100 }\r
1101 \r
1102 textures/evil4_d_techwalls/d_tech_dw2gb\r
1103 {\r
1104         {\r
1105                 map textures/evil4_d_techwalls/d_tech_dw2gb.tga\r
1106                 rgbGen identity\r
1107         }\r
1108         {\r
1109                 map $lightmap\r
1110                 blendfunc filter\r
1111                 rgbGen identity\r
1112         }\r
1113         {\r
1114                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
1115                 blendFunc add\r
1116                 rgbGen wave sin .5 .5 0 3\r
1117         }\r
1118 }\r
1119 \r
1120 textures/evil4_d_techwalls/d_tech_wall_dlight\r
1121 {\r
1122         surfaceparm nomarks\r
1123         q3map_surfacelight 5000\r
1124         {\r
1125                 map $lightmap\r
1126                 rgbGen identity\r
1127         }\r
1128         {\r
1129                 map textures/evil4_d_techwalls/d_tech_wall_dlight.tga\r
1130                 blendFunc GL_DST_COLOR GL_ZERO\r
1131                 rgbGen identity\r
1132         }\r
1133         {\r
1134                 map textures/evil4_d_techwalls/d_tech_wall_dlight_glw.tga\r
1135                 rgbGen wave sin 0.5 0.5 1 1\r
1136                 blendfunc GL_ONE GL_ONE\r
1137         }\r
1138 }\r
1139 \r
1140 textures/evil4_d_techwalls/d_tech_dwteky\r
1141 {\r
1142         {\r
1143                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga\r
1144                 tcmod turb 0 3 5 8\r
1145                 blendFunc GL_ONE GL_ONE\r
1146         }\r
1147         {\r
1148                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga\r
1149                 blendFunc GL_ONE GL_ONE\r
1150                 tcmod turb 0 1 1 1\r
1151         }\r
1152         {\r
1153                 map textures/evil4_d_techwalls/d_tech_dwteky.tga\r
1154                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1155                 rgbGen identity\r
1156         }\r
1157         {\r
1158                 map $lightmap\r
1159                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1160                 rgbGen identity\r
1161         }\r
1162 }\r
1163 \r
1164 textures/evil4_d_techwalls/d_tech_drkwll_pnltek\r
1165 {\r
1166         {\r
1167                 maptextures/evil4_d_techwalls/d_tech_drkwll_pnltek_glow.tga\r
1168                 tcmod turb 0 1 1 9\r
1169                 blendFunc GL_ONE GL_ONE\r
1170         }\r
1171         {\r
1172                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga\r
1173                 blendFunc GL_ONE GL_ONE\r
1174         }\r
1175         {\r
1176                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga\r
1177                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1178                 rgbGen identity\r
1179         }\r
1180         {\r
1181                 map $lightmap\r
1182                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1183                 rgbGen identity\r
1184         }\r
1185 }\r
1186 \r
1187 //tech window with a chrome-like appearance,\r
1188 //uncomment to use and comment the next one\r
1189 //textures/evil4_d_techwalls/tech_window\r
1190 //{\r
1191 //{\r
1192 //             map textures/effects/tinfx.tga\r
1193 //                tcGen environment\r
1194 //                rgbGen identity\r
1195 //      }\r
1196 //        {\r
1197 //              map textures/evil4_d_techwalls/d_tech_window.tga\r
1198 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1199 //              rgbGen identity\r
1200 //      }\r
1201 //        {\r
1202 //              map $lightmap\r
1203 //                blendFunc gl_dst_color gl_zero\r
1204 //              rgbGen identity\r
1205 //      }\r
1206 //}\r
1207 \r
1208 //tech window with transparency\r
1209 \r
1210 textures/evil4_d_techwalls/d_tech_window\r
1211 {\r
1212         cull twosided\r
1213         {\r
1214                 map textures/evil4_d_techwalls/d_tech_windowmask.tga\r
1215                 tcGen environment\r
1216                 tcMod turb 0 0.01 0 0.01\r
1217                 tcmod scroll .0 .0\r
1218                 blendfunc GL_ONE GL_ONE\r
1219         }\r
1220         {\r
1221                 map textures/evil4_d_techwalls/d_tech_window.tga\r
1222                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1223                 rgbGen identity\r
1224         }\r
1225         {\r
1226                 map $lightmap\r
1227                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1228                 rgbGen identity\r
1229         }\r
1230 }\r
1231 \r
1232 textures/evil4_d_techwalls/d_drkmtl_lightboard\r
1233 {\r
1234         {\r
1235                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga\r
1236                 blendFunc GL_ONE GL_ONE\r
1237                 rgbGen wave sin 0.5 0.5 0 .3\r
1238         }\r
1239         {\r
1240                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga\r
1241                 blendFunc GL_ONE GL_ONE\r
1242         }\r
1243         {\r
1244                 map textures/evil4_d_techwalls/d_drkmtl_lightboard.tga\r
1245                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
1246                 rgbGen identity\r
1247         }\r
1248         {\r
1249                 map $lightmap\r
1250                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
1251                 rgbGen identity\r
1252         }\r
1253 }\r
1254 \r
1255 textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2\r
1256 {\r
1257         {\r
1258                 map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.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 }