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