]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil4_techtrims.shader
add shaderlist for q3map2
[divverent/nexuiz.git] / data / scripts / evil4_techtrims.shader
1 // tech floors \r
2 textures/evil4_techfloors/tfloor3_huge \r
3 {        \r
4         cull none    \r
5         { \r
6                 map textures/evil4_techfloors/tfloor3_huge.tga \r
7                 tcMod scale 2.0 2.0 \r
8                 blendFunc GL_ONE GL_ZERO \r
9                 alphaFunc GE128 \r
10                 depthWrite \r
11                 rgbGen identity \r
12         } \r
13         { \r
14                 map $lightmap \r
15                 blendFunc GL_DST_COLOR GL_ZERO \r
16                 depthFunc equal \r
17                 rgbGen identity \r
18         } \r
19\r
20 textures/evil4_techfloors/tfloor_rndholes \r
21 {        \r
22          \r
23         { \r
24                 map textures/evil4_techfloors/tfloor_rndholes.tga \r
25                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
26                 rgbGen identity \r
27         } \r
28         { \r
29                 map $lightmap \r
30                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
31                 rgbGen identity \r
32         } \r
33\r
34 textures/evil4_techfloors/tfloor_rndholes_drty \r
35 {        \r
36          \r
37         { \r
38                 map textures/evil4_techfloors/tfloor_rndholes_drty.tga \r
39                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
40                 rgbGen identity \r
41         } \r
42         { \r
43                 map $lightmap \r
44                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
45                 rgbGen identity \r
46         } \r
47\r
48 //********************************************\r
49 //********************************************\r
50 //********************************************\r
51 //**************evil metals section**************\r
52 //********************************************\r
53 //********************************************\r
54 //******************************************** \r
55 textures/evil4_metals/mtlsportal \r
56 {  \r
57           cull disable   \r
58         surfaceparm nomarks \r
59         surfaceparm trans \r
60         sort additive     \r
61         { \r
62                 clampmap textures/evil4_metals/mtlsportal_fx1.tga  \r
63                 blendFunc add   \r
64                 tcmod rotate -100 \r
65                 rgbGen identity \r
66         } \r
67         { \r
68                  \r
69                 clampmap textures/evil4_metals/mtlsportal_fx2.tga \r
70                 blendFunc add  \r
71                 tcmod rotate 100   \r
72                 rgbGen identity \r
73         }\r
74         { \r
75                  \r
76                 clampmap textures/evil4_metals/mtlsportal_fx3.tga \r
77                 blendFunc add   \r
78                 tcmod rotate 10   \r
79                 rgbGen identity \r
80         }\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 textures/evil4_metals/flrgrate \r
96 {        \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 textures/evil4_metals/mtlflrslots\r
110 {        \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         {\r
138                 map textures/evil4_metals/drkmtl_grlpltmech_fx.tga \r
139                 blendfunc add \r
140                 tcmod scroll 0 1.6            \r
141  \r
142         }\r
143         {\r
144                 map textures/evil4_metals/drkmtl_grlpltmech_fx.tga \r
145                 blendfunc add \r
146                 tcmod scroll 0 -5            \r
147  \r
148         }\r
149 {\r
150                 map textures/evil4_metals/drkmtl_grlpltmech_fx.tga \r
151                 blendfunc add \r
152                 rgbgen wave sin 1.1 .1 1 1     \r
153                 tcmod scroll 0  2.8     \r
154 \r
155   }\r
156         {\r
157                 map textures/evil4_metals/drkmtl_grlpltmech.tga \r
158                 blendfunc blend  \r
159                 rgbGen identity \r
160         }       \r
161         \r
162         {\r
163                 map $lightmap \r
164                 rgbGen identity \r
165                 blendfunc filter \r
166         }\r
167 }\r
168 textures/evil4_metals/mtlbrushed\r
169 {    \r
170 qer_editorimage textures/evil4_metals/mtlbrushed.tga \r
171         { \r
172                 map textures/evil4_metals/mtlbrushed_env.tga       \r
173                 tcGen environment \r
174                 rgbGen identity \r
175         }    \r
176         { \r
177                 map textures/evil4_metals/mtlbrushed.tga \r
178                 blendFunc gl_dst_color gl_zero \r
179                 rgbGen identity \r
180         }  \r
181         { \r
182                 map $lightmap \r
183                 blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA \r
184                 rgbGen identity \r
185         } \r
186\r
187 textures/evil4_metals/eshinytin\r
188 {    \r
189 qer_editorimage textures/evil4_metals/eshinytin.tga \r
190         { \r
191                 map textures/effects/tinfx.jpg  \r
192                 tcGen environment \r
193                 rgbGen identity \r
194                 tcmod scale 0.55 1 \r
195         }   \r
196       { \r
197                 map $lightmap \r
198                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
199                 rgbGen identity \r
200         } \r
201         { \r
202                 map textures/evil4_metals/eshinytin.tga \r
203                 blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA \r
204                 rgbGen identity \r
205         } \r
206         { \r
207                 map $lightmap \r
208                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
209                 rgbGen identity \r
210         } \r
211 }\r
212 textures/evil4_metals/mtlpanel_wrnstripe_ow2         \r
213 {         \r
214         { \r
215                 map textures/evil4_metals/mtlpnl_wrnstrpow2_glow.tga \r
216                 rgbGen wave sin 0.5 0.5 0 1  \r
217                 blendfunc GL_ONE GL_ONE   \r
218         } \r
219         { \r
220                 map textures/evil4_metals/mtlpnl_wrnstrpow2_glow.tga \r
221                 //rgbGen wave sin 0.5 0.5 0 1  \r
222                 blendfunc GL_ONE GL_ONE   \r
223         }\r
224         { \r
225                 map textures/evil4_metals/mtlpanel_wrnstripe_ow2.tga \r
226                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
227                 rgbGen identity \r
228         } \r
229 \r
230         { \r
231                 map $lightmap \r
232                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
233                 rgbGen identity \r
234         } \r
235 }\r
236 //\r
237 textures/evil4_metals/mtltekfloor\r
238\r
239          \r
240         q3map_surfacelight 100 \r
241         q3map_lightimage textures/evil4_metal/mtltekfloor_fx.tga     \r
242         { \r
243                 map textures/base_wall/chrome_env.tga  \r
244                 rgbGen identity \r
245                 tcGen environment \r
246                 tcmod scale .25 .25 \r
247         } \r
248          \r
249         { \r
250                 map textures/evil4_metals/mtltekfloor.tga  \r
251                 blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA    \r
252                 rgbGen identity \r
253         } \r
254         { \r
255                 map $lightmap \r
256                 blendfunc gl_dst_color gl_zero \r
257                 rgbGen identity \r
258         }     \r
259         { \r
260                 map textures/evil4_metals/mtltekfloor_fx.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                 map textures/evil4_metals/mtltekfloor_fx2.tga \r
266                 blendFunc GL_ONE GL_ONE \r
267                 //rgbGen wave sin 0.5 0.5 0 .2 \r
268         } \r
269\r
270 textures/evil4_metals/wrnjumppad \r
271\r
272         { \r
273                 map $lightmap \r
274                 rgbGen identity \r
275         } \r
276         { \r
277                 map textures/evil4_metals/wrnjumppad.tga \r
278                 blendFunc GL_DST_COLOR GL_ZERO \r
279                 rgbGen identity \r
280         } \r
281         { \r
282                 map textures/evil4_metals/wrnjumppad_glow.tga \r
283                 rgbGen wave sin 0.5 0.5 1 1 \r
284                 blendfunc GL_ONE GL_ONE \r
285         } \r
286 }  \r
287 //********************************************\r
288 //********************************************\r
289 //********************************************\r
290 //**************evil wall section****************\r
291 //********************************************\r
292 //********************************************\r
293 //********************************************\r
294 textures/evil4_wall/tekwallmulti2\r
295         {\r
296\r
297                 map textures/base_wall/chrome_env.tga  \r
298                 rgbGen identity \r
299                 tcGen environment \r
300                 tcmod scale .25 .25 \r
301         } \r
302          \r
303         { \r
304                 map textures/evil4_wall/tekwallmulti2.tga  \r
305                 blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA    \r
306                 rgbGen identity \r
307         } \r
308         { \r
309                 map $lightmap \r
310                 blendfunc gl_dst_color gl_zero \r
311                 rgbGen identity \r
312         }     \r
313\r
314 //********************************************\r
315 //********************************************\r
316 //********************************************\r
317 //**************evil lights section***************\r
318 //********************************************\r
319 //********************************************\r
320 //********************************************\r
321 textures/evil4_lights/steplight \r
322\r
323         surfaceparm nomarks \r
324         q3map_surfacelight 1000 \r
325         //light1 \r
326         { \r
327                 map $lightmap \r
328                 rgbGen identity \r
329         } \r
330         { \r
331                 map textures/evil4_lights/steplight.tga  \r
332                 blendFunc GL_DST_COLOR GL_ZERO  \r
333                 rgbGen identity  \r
334         }  \r
335         { \r
336                 map textures/evil4_lights/steplight_glow.tga  \r
337                 blendfunc GL_ONE GL_ONE  \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 textures/evil4_lights/t_mtllight \r
382\r
383         surfaceparm nomarks \r
384         q3map_surfacelight 1000 \r
385         //light1 \r
386         { \r
387                 map $lightmap \r
388                 rgbGen identity \r
389         } \r
390         { \r
391                 map textures/evil4_lights/t_mtllight.jpg \r
392                 blendFunc GL_DST_COLOR GL_ZERO \r
393                 rgbGen identity \r
394         } \r
395         { \r
396                 map textures/evil4_lights/t_mtllight_blend.jpg \r
397                 //rgbGen wave sin 0.5 0.5 1 1 \r
398                 blendfunc GL_ONE GL_ONE \r
399         } \r
400\r
401 textures/evil4_lights/mtl_lightsmll\r
402\r
403         surfaceparm nomarks \r
404         q3map_surfacelight 1000 \r
405         //light1 \r
406         { \r
407                 map $lightmap \r
408                 rgbGen identity \r
409         } \r
410         { \r
411                 map textures/evil4_lights/mtl_lightsmll.jpg \r
412                 blendFunc GL_DST_COLOR GL_ZERO \r
413                 rgbGen identity \r
414         } \r
415         { \r
416                 map textures/evil4_lights/mtl_lightsmll_blend.jpg \r
417                 rgbGen wave sin 0.5 0.5 1 1 \r
418                 blendfunc GL_ONE GL_ONE \r
419         } \r
420 }\r
421 //double glowing effect light strips\r
422 textures/evil4_lights/l_light_b\r
423\r
424         q3map_surfacelight 5000  \r
425         q3map_lightimage textures/evil4_lights/l_light_b.jpg \r
426         { \r
427                 map $lightmap \r
428                 rgbGen identity \r
429         }  \r
430         { \r
431                 map textures/evil4_lights/l_light_b.jpg \r
432                 blendFunc GL_DST_COLOR GL_ZERO \r
433                 rgbGen identity \r
434 }\r
435         { \r
436                 map textures/evil4_lights/l_light_b_blend.jpg  \r
437                 blendfunc GL_ONE GL_ONE \r
438         }\r
439\r
440                 map textures/evil4_lights/l_light_b_blend.jpg \r
441                 rgbGen wave sin 6 2 1 2 \r
442                 blendfunc GL_ONE GL_ONE \r
443         }\r
444\r
445 textures/evil4_lights/l_light_g\r
446\r
447         q3map_surfacelight 5000  \r
448         q3map_lightimage textures/evil4_lights/l_light_g.jpg \r
449         { \r
450                 map $lightmap \r
451                 rgbGen identity \r
452         }  \r
453         { \r
454                 map textures/evil4_lights/l_light_g.jpg \r
455                 blendFunc GL_DST_COLOR GL_ZERO \r
456                 rgbGen identity \r
457 }\r
458         { \r
459                 map textures/evil4_lights/l_light_g_blend.jpg  \r
460                 blendfunc GL_ONE GL_ONE \r
461         }\r
462\r
463                 map textures/evil4_lights/l_light_g_blend.jpg \r
464                 rgbGen wave sin 6 2 1 2 \r
465                 blendfunc GL_ONE GL_ONE \r
466         }\r
467\r
468 textures/evil4_lights/l_light_r\r
469\r
470         q3map_surfacelight 5000  \r
471         q3map_lightimage textures/evil4_lights/l_light_r.jpg \r
472         { \r
473                 map $lightmap \r
474                 rgbGen identity \r
475         }  \r
476         { \r
477                 map textures/evil4_lights/l_light_r.jpg \r
478                 blendFunc GL_DST_COLOR GL_ZERO \r
479                 rgbGen identity \r
480 }\r
481         { \r
482                 map textures/evil4_lights/l_light_r_blend.jpg  \r
483                 blendfunc GL_ONE GL_ONE \r
484         }\r
485\r
486                 map textures/evil4_lights/l_light_r_blend.jpg \r
487                 rgbGen wave sin 6 2 1 2 \r
488                 blendfunc GL_ONE GL_ONE \r
489         }\r
490\r
491 textures/evil4_lights/l_light_w\r
492\r
493         q3map_surfacelight 5000  \r
494         q3map_lightimage textures/evil4_lights/l_light_w.jpg \r
495         { \r
496                 map $lightmap \r
497                 rgbGen identity \r
498         }  \r
499         { \r
500                 map textures/evil4_lights/l_light_w.jpg \r
501                 blendFunc GL_DST_COLOR GL_ZERO \r
502                 rgbGen identity \r
503 }\r
504         { \r
505                 map textures/evil4_lights/l_light_w_blend.jpg  \r
506                 blendfunc GL_ONE GL_ONE \r
507         }\r
508\r
509                 map textures/evil4_lights/l_light_w_blend.jpg \r
510                 rgbGen wave sin 6 2 1 2 \r
511                 blendfunc GL_ONE GL_ONE \r
512         }\r
513\r
514 //\r
515 textures/evil4_lights/mtl_l1 \r
516 {\r
517         q3map_surfacelight 1000  \r
518         q3map_lightimage textures/evil4_lights/mtl_l1.tga \r
519         {\r
520                 map textures/evil4_lights/mtl_l1_fx.tga \r
521                 //blendfunc add \r
522        tcmod scale 12 1  \r
523                 rgbGen identity \r
524                 tcMod scroll 0 1 \r
525         \r
526         }\r
527         {\r
528                 map textures/evil4_lights/mtl_l1_fx.tga \r
529                 blendfunc add \r
530        //tcmod scale 25 1   \r
531                 rgbGen identity \r
532                 tcMod scroll 1 0 \r
533         \r
534         }\r
535         {\r
536                 map textures/evil4_lights/mtl_l1.tga \r
537                 blendfunc blend  \r
538                 rgbGen identity \r
539         }\r
540         {\r
541                 map textures/evil4_lights/mtl_l1_fx2.tga \r
542                 blendfunc add \r
543        tcmod scale 1 1  \r
544         }\r
545         {\r
546                 map $lightmap \r
547                 rgbGen identity \r
548                 blendfunc filter \r
549         }\r
550\r
551 //border light\r
552 textures/evil4_lights/trimtl_grlbtm_light\r
553\r
554         q3map_surfacelight 5000 \r
555         q3map_lightimage textures/evil4_lights/trimtl_grlbtm_light_blnd.tga \r
556         qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga  \r
557          \r
558         { \r
559                 map textures/evil4_lights/trimtl_grlbtm_light.tga \r
560                 rgbGen identity \r
561         } \r
562          \r
563         { \r
564                 map $lightmap \r
565                 rgbGen identity \r
566                 blendfunc gl_dst_color gl_zero \r
567         }   \r
568         { \r
569                 map textures/evil4_lights/trimtl_grlbtm_light_blnd.tga \r
570                 blendfunc gl_one gl_one \r
571                 rgbgen wave sin 1 .1 0 1 \r
572         }       \r
573          \r
574 }\r
575 textures/evil4_lights/s_bluelight \r
576\r
577         q3map_surfacelight 1000  \r
578         q3map_lightimage textures/evil4_lights/s_bluelight.tga \r
579         { \r
580                 map $lightmap \r
581                 rgbGen identity \r
582         } \r
583         { \r
584                 map textures/evil4_lights/s_bluelight.tga \r
585                 rgbGen identity \r
586                 blendFunc GL_DST_COLOR GL_ZERO \r
587         } \r
588         { \r
589                 map textures/evil4_lights/s_bluelight_glow.tga \r
590        rgbGen wave sin 0.5 0.5 0 .2  \r
591        blendfunc add \r
592 \r
593         } \r
594       { \r
595                 map $lightmap \r
596                 blendFunc GL_DST_COLOR GL_ZERO \r
597                 rgbGen identity \r
598         }\r
599 \r
600 }\r
601 //********************************************\r
602 //********************************************\r
603 //********************************************\r
604 //**************evil fx section******************\r
605 //********************************************\r
606 //********************************************\r
607 //********************************************\r
608 //\r
609 \r
610 // portal\r
611 textures/evil4_fx/mtlportal_fx\r
612 {  \r
613         qer_editorimage textures/evil4_fx/mtlportal.tga\r
614         cull disable     \r
615         surfaceparm nomarks \r
616         surfaceparm trans \r
617         sort additive     \r
618         { \r
619                 clampmap textures/evil4_fx/mtlportal_fx1.tga  \r
620                 blendFunc add   \r
621                 tcmod rotate -100 \r
622                 rgbGen identity \r
623         } \r
624         { \r
625                  \r
626                 clampmap textures/evil4_fx/mtlportal_fx2.tga \r
627                 blendFunc add  \r
628                 tcmod rotate 100   \r
629                 rgbGen identity \r
630         }\r
631  \r
632         { \r
633                 clampmap textures/evil4_fx/mtlportal.tga \r
634                 alphaFunc GE128 \r
635                 depthWrite \r
636                 rgbGen identity \r
637         } \r
638         { \r
639                 map $lightmap \r
640                 rgbGen identity \r
641                 blendFunc GL_DST_COLOR GL_ZERO \r
642                 depthFunc equal \r
643         }       \r
644\r
645 //matrixy transparent display images\r
646 textures/evil4_fx/mat1 \r
647 {\r
648         {\r
649                 map textures/evil4_fx/mat1.tga \r
650                 blendfunc GL_ONE GL_ONE \r
651                 rgbGen identity \r
652                 rgbGen wave sin 0.5 0.5 0 0.7   \r
653         \r
654         }\r
655         {\r
656                 map textures/evil4_fx/mat2.tga \r
657                 blendfunc GL_ONE GL_ONE \r
658                 rgbGen identity\r
659                 rgbGen wave sin 0.5 0.5 0 .2  \r
660         }\r
661         {\r
662                 map textures/evil4_fx/mat3.tga \r
663                 blendfunc GL_ONE GL_ONE \r
664                 rgbGen identity \r
665                 tcMod scroll 0 -.1 \r
666         \r
667         }\r
668         {\r
669                 map textures/evil4_fx/mat4.tga \r
670                 blendfunc GL_ONE GL_ONE  \r
671                 rgbGen identity \r
672                 tcMod scroll 0 2  \r
673         \r
674         }\r
675         {\r
676                 map $lightmap \r
677                 rgbGen identity \r
678                 blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA    \r
679         }\r
680 }\r
681 textures/evil4_fx/b_ray\r
682 {\r
683                 q3map_surfacelight 200\r
684                 surfaceparm trans\r
685                 surfaceparm nonsolid\r
686                 surfaceparm nomarks\r
687                 surfaceparm nolightmap\r
688                 q3map_lightimage textures/evil4_fx/b_ray.tga \r
689 \r
690                 cull none\r
691         \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 textures/evil4_fx/b_rayc\r
710 {\r
711                 q3map_surfacelight 200\r
712                 surfaceparm trans\r
713                 surfaceparm nonsolid\r
714                 surfaceparm nomarks\r
715                 surfaceparm nolightmap\r
716                 q3map_lightimage textures/evil4_fx/b_rayc.tga \r
717 \r
718                 cull none\r
719         \r
720         {\r
721                 map textures/evil4_fx/b_rayc.tga \r
722                 blendFunc GL_ONE GL_ONE\r
723                 rgbgen wave triangle 1 9 1 1\r
724                 tcMod scale  0 0 \r
725                 tcMod scroll 2 0\r
726         }       \r
727         {\r
728                 map textures/evil4_fx/b_rayc.tga \r
729                 blendFunc GL_ONE GL_ONE\r
730                 rgbgen wave triangle 1 1 1 1\r
731                 tcMod scale  1 1\r
732                 tcMod scroll 2 0\r
733         }       \r
734         \r
735\r
736 //snow\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         {\r
748                 map textures/evil4_fx/esnow.tga \r
749                 blendFunc GL_ONE GL_ONE \r
750                 tcMod scroll 0 -0.9 \r
751         }       \r
752         {\r
753                 map textures/evil4_fx/esnow3.tga \r
754                 blendFunc GL_ONE GL_ONE \r
755                 tcMod scroll 0 -0.7  \r
756         }       \r
757         {\r
758                 map textures/evil4_fx/esnow2.tga \r
759                 blendFunc GL_ONE GL_ONE \r
760                 tcMod scroll 0 -0.5  \r
761         } \r
762         {\r
763                 map textures/evil4_fx/esnow2.tga \r
764                 blendFunc GL_ONE GL_ONE \r
765                 tcMod scale  2 2  \r
766                 tcMod scroll 0 -3   \r
767         }\r
768         \r
769 }\r
770 //weirdo waterfallÕish effect  \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         \r
780         cull none\r
781         \r
782         {\r
783                 map textures/evil4_fx/e_waterfall.tga \r
784                 tcGen environment \r
785                 blendFunc GL_ONE GL_ONE\r
786                 rgbgen wave triangle 2 1 1 5 \r
787                 tcMod scale  5 5 \r
788                 tcMod scroll 0 -1 \r
789         }       \r
790       { \r
791                 map textures/evil4_fx/e_waterfall.tga \r
792                 tcGen environment \r
793                 tcmod scale 1 1 \r
794                 tcmod scroll 1 -1 \r
795                  \r
796                 blendFunc GL_ONE GL_ONE \r
797                 rgbGen identity  \r
798         }\r
799         { \r
800                 map $lightmap \r
801                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
802                 rgbGen identity \r
803         } \r
804 }\r
805 textures/evil4_fx/teleprtr \r
806 {  \r
807           cull disable   \r
808         surfaceparm nomarks \r
809         surfaceparm trans \r
810         sort additive     \r
811         { \r
812                 clampmap textures/evil4_fx/teleprtr_fx3.tga  \r
813                           blendFunc add   \r
814                 tcmod rotate -267 \r
815                 rgbGen identity \r
816         } \r
817         { \r
818                  \r
819                 clampmap textures/evil4_fx/teleprtr_fx1.tga \r
820                 blendFunc add  \r
821                 tcmod rotate 155  \r
822                 rgbGen identity \r
823         } \r
824         { \r
825                 clampmap textures/evil4_fx/teleprtr_fx2.tga  \r
826                 blendFunc add \r
827                 tcmod rotate -100  \r
828                 rgbGen identity \r
829         } \r
830  \r
831         { \r
832                 clampmap textures/evil4_fx/teleprtr.tga \r
833                 alphaFunc GE128 \r
834                 depthWrite \r
835                 rgbGen identity \r
836         } \r
837         { \r
838                 map $lightmap \r
839                 rgbGen identity \r
840                 blendFunc GL_DST_COLOR GL_ZERO \r
841                 depthFunc equal \r
842         }       \r
843\r
844 //********************************************\r
845 //********************************************\r
846 //********************************************\r
847 //**************evil tech wall section************\r
848 //********************************************\r
849 //********************************************\r
850 //********************************************\r
851 \r
852 textures/evil4_techwalls/tech_dw2 \r
853\r
854         { \r
855                 map textures/evil4_techwalls/tech_dw2.tga \r
856                 \r
857                 rgbGen identity \r
858         } \r
859         { \r
860                 map $lightmap \r
861                 blendfunc filter \r
862                 rgbGen identity \r
863         }   \r
864         { \r
865                 map textures/evil4_techwalls/tech_dw2_fx.tga \r
866                 blendFunc add    \r
867                 rgbGen wave sin .5 .5 0 3        \r
868         }\r
869 }\r
870 textures/evil4_techwalls/tech_dw2g \r
871\r
872         { \r
873                 map textures/evil4_techwalls/tech_dw2g.tga \r
874                          \r
875                 rgbGen identity \r
876         } \r
877         { \r
878                 map $lightmap \r
879                 blendfunc filter \r
880                 rgbGen identity \r
881         }   \r
882         { \r
883                 map textures/evil4_techwalls/tech_dw2_fx.tga \r
884                 blendFunc add    \r
885                 rgbGen wave sin .5 .5 0 3        \r
886         }\r
887 }\r
888 textures/evil4_techwalls/tech_dw2gb \r
889\r
890         { \r
891                 map textures/evil4_techwalls/tech_dw2gb.tga \r
892                  \r
893                 rgbGen identity \r
894         } \r
895         { \r
896                 map $lightmap \r
897                 blendfunc filter \r
898                 rgbGen identity \r
899         }   \r
900         { \r
901                 map textures/evil4_techwalls/tech_dw2_fx.tga \r
902                 blendFunc add    \r
903                 rgbGen wave sin .5 .5 0 3        \r
904         }\r
905 }\r
906 //\r
907 textures/evil4_techwalls/tech_wall_dlight \r
908\r
909         surfaceparm nomarks \r
910         q3map_surfacelight 5000  \r
911         { \r
912                 map $lightmap \r
913                 rgbGen identity \r
914         } \r
915         { \r
916                 map textures/evil4_techwalls/tech_wall_dlight.tga \r
917                 blendFunc GL_DST_COLOR GL_ZERO \r
918                 rgbGen identity \r
919         } \r
920         { \r
921                 map textures/evil4_techwalls/tech_wall_dlight_glw.tga \r
922                 rgbGen wave sin 0.5 0.5 1 1 \r
923                 blendfunc GL_ONE GL_ONE \r
924         } \r
925 \r
926\r
927 textures/evil4_techwalls/tech_dwteky \r
928 {        \r
929          \r
930         { \r
931                 map textures/evil4_techwalls/tech_dwteky_glow.tga \r
932       tcmod turb 0 3 5 8  \r
933        blendFunc GL_ONE GL_ONE \r
934                  \r
935         } \r
936         { \r
937         map textures/evil4_techwalls/tech_dwteky_glow.tga  \r
938         blendFunc GL_ONE GL_ONE   \r
939         tcmod turb 0 1 1 1 \r
940         }\r
941         { \r
942                 map textures/evil4_techwalls/tech_dwteky.tga \r
943                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
944                 rgbGen identity \r
945         } \r
946         { \r
947                 map $lightmap \r
948                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
949                 rgbGen identity \r
950         } \r
951\r
952 textures/evil4_techwalls/tech_drkwll_pnltek \r
953 {        \r
954          \r
955         { \r
956         map textures/evil4_techwalls/tech_drkwll_pnltek_glow.tga  \r
957         tcmod turb 0 1 1 9  \r
958         blendFunc GL_ONE GL_ONE \r
959                  \r
960         } \r
961         { \r
962                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga  \r
963                 blendFunc GL_ONE GL_ONE \r
964         }\r
965         { \r
966                 map textures/evil4_techwalls/tech_drkwll_pnltek.tga \r
967                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
968                 rgbGen identity \r
969         } \r
970         { \r
971                 map $lightmap \r
972                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
973                 rgbGen identity \r
974         } \r
975 }\r
976 //\r
977 //tech window with a chrome-like appearance, \r
978 //uncomment to use and comment the next one\r
979 //textures/evil4_techwalls/tech_window \r
980 //{    \r
981 //{\r
982 //             map textures/effects/tinfx.tga       \r
983 //                tcGen environment \r
984 //                rgbGen identity \r
985 //      }    \r
986 //        { \r
987 //              map textures/evil4_techwalls/tech_window.tga   \r
988 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA  \r
989 //              rgbGen identity \r
990 //      }  \r
991 //        { \r
992 //              map $lightmap \r
993 //                blendFunc gl_dst_color gl_zero \r
994 //              rgbGen identity \r
995 //      } \r
996 //} \r
997 //\r
998 //tech window with transparency\r
999 textures/evil4_techwalls/tech_window \r
1000 {        \r
1001      cull twosided      \r
1002         { \r
1003                 map textures/evil4_techwalls/tech_windowmask.tga \r
1004                 tcGen environment \r
1005                 tcMod turb 0 0.01 0 0.01                 \r
1006                 tcmod scroll .0 .0 \r
1007                 blendfunc GL_ONE GL_ONE \r
1008                 }\r
1009         { \r
1010                 map textures/evil4_techwalls/tech_window.tga \r
1011                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1012                 rgbGen identity \r
1013         } \r
1014         { \r
1015                 map $lightmap \r
1016                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1017                 rgbGen identity \r
1018         } \r
1019 }  \r
1020 textures/evil4_techwalls/drkmtl_lightboard \r
1021 {        \r
1022          \r
1023         { \r
1024                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga \r
1025                 blendFunc GL_ONE GL_ONE \r
1026                 rgbGen wave sin 0.5 0.5 0 .3    \r
1027         } \r
1028         { \r
1029                 map textures/evil4_techwalls/drkmtl_lightboard_glow.tga \r
1030                 blendFunc GL_ONE GL_ONE \r
1031         } \r
1032         { \r
1033                 map textures/evil4_techwalls/drkmtl_lightboard.tga \r
1034                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1035                 rgbGen identity \r
1036         } \r
1037         { \r
1038                 map $lightmap \r
1039                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1040                 rgbGen identity \r
1041         } \r
1042\r
1043 textures/evil4_techwalls/drkmtl_dpanelwrnb2 \r
1044  {\r
1045        { \r
1046                 map textures/evil_techwalls/drkmtl_dpanelwrnb2.tga  \r
1047                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1048                 rgbGen identity \r
1049         } \r
1050         { \r
1051                 map $lightmap \r
1052                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1053                 rgbGen identity \r
1054         } \r
1055\r
1056 //********************************************\r
1057 //********************************************\r
1058 //********************************************\r
1059 //********************************************\r
1060 //********************************************\r
1061 // techwall section II\r
1062 // This is the Ã’dirtyÓ version of the evil_techwalls...\r
1063 // I added Ã’d_Ó to the filenames.\r
1064 //********************************************\r
1065 //********************************************\r
1066 //********************************************\r
1067 //********************************************\r
1068 //********************************************\r
1069 textures/evil4_d_techwalls/d_tech_dw2 \r
1070\r
1071         { \r
1072                 map textures/evil4_d_techwalls/d_tech_dw2.tga \r
1073                          \r
1074                 rgbGen identity \r
1075         } \r
1076         { \r
1077                 map $lightmap \r
1078                 blendfunc filter \r
1079                 rgbGen identity \r
1080         }   \r
1081         { \r
1082                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga \r
1083                 blendFunc add    \r
1084                 rgbGen wave sin .5 .5 0 3        \r
1085         }\r
1086 }\r
1087 textures/evil4_d_techwalls/d_tech_dw2g \r
1088\r
1089         { \r
1090                 map textures/evil4_d_techwalls/d_tech_dw2g.tga \r
1091                          \r
1092                 rgbGen identity \r
1093         } \r
1094         { \r
1095                 map $lightmap \r
1096                 blendfunc filter \r
1097                 rgbGen identity \r
1098         }   \r
1099         { \r
1100                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga \r
1101                 blendFunc add    \r
1102                 rgbGen wave sin .5 .5 0 3        \r
1103         }\r
1104 }\r
1105 textures/evil4_d_techwalls/d_tech_dw2gb \r
1106\r
1107         { \r
1108                 map textures/evil4_d_techwalls/d_tech_dw2gb.tga \r
1109                          \r
1110                 rgbGen identity \r
1111         } \r
1112         { \r
1113                 map $lightmap \r
1114                 blendfunc filter \r
1115                 rgbGen identity \r
1116         }   \r
1117         { \r
1118                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga \r
1119                 blendFunc add    \r
1120                 rgbGen wave sin .5 .5 0 3        \r
1121         }\r
1122 }\r
1123 //\r
1124 textures/evil4_d_techwalls/d_tech_wall_dlight \r
1125\r
1126         surfaceparm nomarks \r
1127         q3map_surfacelight 5000  \r
1128         { \r
1129                 map $lightmap \r
1130                 rgbGen identity \r
1131         } \r
1132         { \r
1133                 map textures/evil4_d_techwalls/d_tech_wall_dlight.tga \r
1134                 blendFunc GL_DST_COLOR GL_ZERO \r
1135                 rgbGen identity \r
1136         } \r
1137         { \r
1138                 map textures/evil4_d_techwalls/d_tech_wall_dlight_glw.tga \r
1139                 rgbGen wave sin 0.5 0.5 1 1 \r
1140                 blendfunc GL_ONE GL_ONE \r
1141         } \r
1142 \r
1143\r
1144 textures/evil4_d_techwalls/d_tech_dwteky \r
1145 {        \r
1146          \r
1147         { \r
1148                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga \r
1149       tcmod turb 0 3 5 8  \r
1150        blendFunc GL_ONE GL_ONE \r
1151                  \r
1152         } \r
1153         { \r
1154                 map textures/evil4_d_techwalls/d_tech_dwteky_glow.tga  \r
1155                 blendFunc GL_ONE GL_ONE   \r
1156                 tcmod turb 0 1 1 1 \r
1157         }\r
1158         { \r
1159                 map textures/evil4_d_techwalls/d_tech_dwteky.tga \r
1160                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1161                 rgbGen identity \r
1162         } \r
1163         { \r
1164                 map $lightmap \r
1165                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1166                 rgbGen identity \r
1167         } \r
1168\r
1169 textures/evil4_d_techwalls/d_tech_drkwll_pnltek \r
1170 {        \r
1171          \r
1172         { \r
1173                 maptextures/evil4_d_techwalls/d_tech_drkwll_pnltek_glow.tga  \r
1174                 tcmod turb 0 1 1 9  \r
1175                 blendFunc GL_ONE GL_ONE \r
1176         } \r
1177         { \r
1178                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga  \r
1179                 blendFunc GL_ONE GL_ONE \r
1180         }\r
1181         { \r
1182                 map textures/evil4_d_techwalls/d_tech_drkwll_pnltek.tga \r
1183                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1184                 rgbGen identity \r
1185         } \r
1186         { \r
1187                 map $lightmap \r
1188                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1189                 rgbGen identity \r
1190         } \r
1191 }\r
1192 \r
1193 //\r
1194 //tech window with a chrome-like appearance, \r
1195 //uncomment to use and comment the next one\r
1196 //textures/evil4_d_techwalls/tech_window \r
1197 //{    \r
1198 //{\r
1199 //             map textures/effects/tinfx.tga       \r
1200 //                tcGen environment \r
1201 //                rgbGen identity \r
1202 //      }    \r
1203 //        { \r
1204 //              map textures/evil4_d_techwalls/d_tech_window.tga   \r
1205 //      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA  \r
1206 //              rgbGen identity \r
1207 //      }  \r
1208 //        { \r
1209 //              map $lightmap \r
1210 //                blendFunc gl_dst_color gl_zero \r
1211 //              rgbGen identity \r
1212 //      } \r
1213 //} \r
1214 //\r
1215 //tech window with transparency\r
1216 textures/evil4_d_techwalls/d_tech_window \r
1217 {        \r
1218      cull twosided      \r
1219         { \r
1220                 map textures/evil4_d_techwalls/d_tech_windowmask.tga \r
1221                 tcGen environment \r
1222                 tcMod turb 0 0.01 0 0.01                 \r
1223                 tcmod scroll .0 .0 \r
1224                 blendfunc GL_ONE GL_ONE \r
1225                 }\r
1226         { \r
1227                 map textures/evil4_d_techwalls/d_tech_window.tga \r
1228                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1229                 rgbGen identity \r
1230         } \r
1231         { \r
1232                 map $lightmap \r
1233                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1234                 rgbGen identity \r
1235         } \r
1236 }  \r
1237 textures/evil4_d_techwalls/d_drkmtl_lightboard \r
1238 {        \r
1239          \r
1240         { \r
1241                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga \r
1242                 blendFunc GL_ONE GL_ONE \r
1243                 rgbGen wave sin 0.5 0.5 0 .3    \r
1244         } \r
1245         { \r
1246                 map textures/evil4_d_techwalls/d_drkmtl_lightboard_glow.tga \r
1247                 blendFunc GL_ONE GL_ONE \r
1248         } \r
1249         { \r
1250                 map textures/evil4_d_techwalls/d_drkmtl_lightboard.tga \r
1251                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1252                 rgbGen identity \r
1253         } \r
1254         { \r
1255                 map $lightmap \r
1256                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1257                 rgbGen identity \r
1258         } \r
1259\r
1260 textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2 \r
1261  {\r
1262        { \r
1263                 map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga  \r
1264                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
1265                 rgbGen identity \r
1266         } \r
1267         { \r
1268                 map $lightmap \r
1269                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
1270                 rgbGen identity \r
1271         } \r
1272