Debian Codegraph @

pak6-patch088/scripts/oanew.shader

raw
1 lowShotgunFlash
2 {
3 deformVertexes autosprite
4 {
5 map models/weapons2/shotgun/shotgun_flash.tga
6 blendfunc add
7 }
8 }
9
10 lowMachgunFlash
11 {
12 deformVertexes autosprite
13 {
14 map models/weapons2/machinegun/f_machinegun.tga
15 blendfunc add
16 }
17 }
18
19 lowPlasmaaFlash
20 {
21 deformVertexes autosprite
22 {
23 map models/weapons2/plasma/f_plasma.tga
24 blendfunc add
25 }
26 }
27
28 lowRocketlFlash
29 {
30 deformVertexes autosprite
31 {
32 map models/weapons2/rocketl/f_rocketl.tga
33 blendfunc add
34 }
35 }
36
37 lowGrenadeFlash
38 {
39 deformVertexes autosprite
40 {
41 map models/weapons2/grenadel/f_grenadel.tga
42 blendfunc add
43 }
44 }
45
46 lowRailgunFlash
47 {
48 deformVertexes autosprite
49 {
50 map models/weapons2/railgun/f_railgun2.tga
51 blendfunc add
52 rgbGen entity
53 }
54 }
55
56 lapscrn
57 {
58 tessSize 64
59 {
60 map models/mapobjects/laptop/lapscrn.tga
61 }
62 {
63 map models/mapobjects/laptop/invert.tga
64 blendfunc gl_one_minus_dst_color gl_one_minus_src_color
65 tcGen environment
66 }
67 }
68
69 lowLightnnFlash
70 {
71 deformVertexes autosprite
72 {
73 map models/weapons2/lightning/f_lightning.tga
74 blendfunc add
75 tcMod rotate 675756
76 }
77 }
78
79 LightnnFlash
80 {
81 cull disable
82 {
83 animmap 20 models/weapons2/lightning/muzzle1.tga models/weapons2/lightning/muzzle2.tga models/weapons2/lightning/muzzle3.tga
84 blendfunc gl_one gl_src_alpha
85 rgbGen wave inversesawtooth 0 1 0 20
86 }
87 {
88 animmap 20 models/weapons2/lightning/muzzle2.tga models/weapons2/lightning/muzzle3.tga models/weapons2/lightning/muzzle1.tga
89 blendfunc gl_one gl_src_alpha
90 rgbGen wave sawtooth 0 1 0 20
91 }
92 }
93
94 // sawtooth stretch 0 values result in ugly clamping
95 textures/effects/jumpcirc
96 {
97 q3map_lightimage textures/effects/jumpcirc.tga
98 q3map_surfacelight 466
99 {
100 clampmap textures/effects/jumpcirc.tga
101 tcMod stretch sawtooth 0.5 1 0 1
102 tcMod rotate 75
103 }
104 {
105 clampmap textures/effects/jumpcirc.tga
106 blendfunc add
107 tcMod stretch sawtooth 0.5 1 0 1
108 tcMod rotate -120
109 }
110 }
111
112 // textures/effects/jumpcircblue is the same as textures/ctf/blue_telep
113 // sawtooth stretch 0 values result in ugly clamping
114 textures/effects/jumpcircblue
115 {
116 q3map_lightimage textures/effects/jumpcircblue.tga
117 q3map_surfacelight 466
118 {
119 clampmap textures/effects/jumpcircblue.tga
120 tcMod stretch sawtooth 0.5 1 0 1
121 tcMod rotate 75
122 }
123 {
124 clampmap textures/effects/jumpcircblue.tga
125 blendfunc add
126 tcMod stretch sawtooth 0.5 1 0 1
127 tcMod rotate -120
128 }
129 }
130
131 // textures/effects/jumpcircblue is the same as textures/ctf/blue_telep
132 // sawtooth stretch 0 values result in ugly clamping
133 textures/effects/jumpcircred
134 {
135 q3map_lightimage textures/effects/jumpcircred.tga
136 q3map_surfacelight 466
137 {
138 clampmap textures/effects/jumpcircred.tga
139 tcMod stretch sawtooth 0.5 1 0 1
140 tcMod rotate 75
141 }
142 {
143 clampmap textures/effects/jumpcircred.tga
144 blendfunc add
145 tcMod stretch sawtooth 0.5 1 0 1
146 tcMod rotate -120
147 }
148 }
149
150 textures/ctf_unified/floor_decal_blue
151 {
152 cull disable
153 {
154 map textures/symbols/blueteam.tga
155 blendfunc add
156 }
157 }
158
159 textures/ctf_unified/floor_decal_red
160 {
161 cull disable
162 {
163 map textures/symbols/redteam.tga
164 blendfunc add
165 }
166 }
167
168 textures/ctf_unified/monologo_flash_blue
169 {
170 cull disable
171 {
172 map textures/symbols/blueteam.tga
173 }
174 }
175
176 textures/ctf_unified/monologo_flash_red
177 {
178 cull disable
179 {
180 map textures/symbols/redteam.tga
181 }
182 }
183
184 textures/base_wall/glass01
185 {
186 surfaceparm trans
187 cull disable
188 {
189 map textures/effects/tinfx.tga
190 blendfunc add
191 rgbGen identity
192 tcGen environment
193 }
194 {
195 map textures/detail/d_met2.tga
196 blendfunc gl_dst_color gl_src_color
197 tcMod scale 4 4
198 detail
199 }
200 {
201 map $lightmap
202 blendfunc filter
203 rgbGen identity
204 tcGen lightmap
205 }
206 }
207
208 redArmor
209 {
210 {
211 map models/powerups/armor/redarmor.tga
212 rgbGen lightingDiffuse
213 }
214 {
215 map gfx/fx/spec/spots.tga
216 blendfunc gl_src_alpha gl_one
217 rgbGen lightingDiffuse
218 tcGen environment
219 alphaGen lightingSpecular
220 }
221 {
222 map gfx/fx/detail/d_met2.tga
223 blendfunc gl_dst_color gl_src_color
224 tcMod scale 4 4
225 detail
226 }
227 }
228
229 yellowArmor
230 {
231 {
232 map models/powerups/armor/yellowarmor.tga
233 rgbGen lightingDiffuse
234 }
235 {
236 map gfx/fx/spec/spots.tga
237 blendfunc gl_src_alpha gl_one
238 rgbGen lightingDiffuse
239 tcGen environment
240 alphaGen lightingSpecular
241 }
242 {
243 map gfx/fx/detail/d_met2.tga
244 blendfunc gl_dst_color gl_src_color
245 tcMod scale 4 4
246 detail
247 }
248 }
249
250 textures/base_floor/metfloor1
251 {
252 surfaceparm metalsteps
253 {
254 map textures/base_floor/metfloor1.tga
255 rgbGen const ( 1 1 1 )
256 }
257 {
258 clampmap textures/base_wall/chrome_env2.tga
259 blendfunc add
260 rgbGen const ( 0.188235 0.188235 0.188235 )
261 tcGen environment
262 }
263 {
264 map textures/base_floor/metfloor1.tga
265 blendfunc filter
266 rgbGen const ( 0.737255 0.737255 0.737255 )
267 }
268 {
269 map $lightmap
270 blendfunc filter
271 tcGen lightmap
272 }
273 }
274
275 textures/base_trim/tinfx
276 {
277 {
278 map textures/base_trim/tinfx.tga
279 tcGen environment
280 }
281 {
282 map $lightmap
283 blendfunc filter
284 tcGen lightmap
285 }
286 }
287
288 console
289 {
290 {
291 map textures/sfx/logo256.tga
292 }
293 {
294 map gfx/fx/detail/d_conc.tga
295 blendfunc gl_dst_color gl_src_color
296 tcMod scale 2 1
297 detail
298 }
299 {
300 map gfx/fx/detail/d_ice.tga
301 blendfunc gl_dst_color gl_src_color
302 tcMod scale 4 2
303 detail
304 }
305 }
306
307 grassobj
308 {
309 cull disable
310 {
311 map models/mapobjects/out/grass.tga
312 rgbGen lightingDiffuse
313 alphaFunc GE128
314 }
315 }
316
317 ameatygib
318 {
319 {
320 map models/gibs/genericgibmeat.tga
321 rgbGen lightingDiffuse
322 }
323 {
324 map gfx/fx/detail/d_sand.tga
325 blendfunc gl_dst_color gl_src_color
326 rgbGen lightingDiffuse
327 tcMod scale 8 8
328 alphaGen lightingSpecular
329 detail
330 }
331 {
332 map models/gibs/gibmeatspec.tga
333 blendfunc gl_src_alpha gl_one
334 rgbGen lightingDiffuse
335 alphaGen lightingSpecular
336 detail
337 }
338 }
339
340 oalogo
341 {
342 {
343 map textures/oa/water.tga
344 tcMod scroll 0.01 0.01
345 }
346 {
347 map textures/oa/water.tga
348 blendfunc add
349 tcMod scroll 0.04 0.01
350 }
351 {
352 map textures/oa/water.tga
353 blendfunc add
354 tcMod scroll -0.01 -0.02
355 }
356 {
357 map textures/oa/flamelet.tga
358 tcMod scroll -0.2 0.4
359 }
360 {
361 map textures/oa/flamelet.tga
362 blendfunc add
363 tcMod scroll 0.2 0.7
364 }
365 {
366 map textures/oa/flamelet.tga
367 blendfunc add
368 tcMod scroll 0 0.6
369 }
370 }
371
372 //REALLY COOL MENU BACKGROUNDY
373 menubacknologo_blueish
374 {
375 {
376 map gfx/fx/detail/d_sand.tga
377 rgbGen const ( 0.627451 0.666667 0.796079 )
378 tcMod scroll 0.1 0.1
379 }
380 {
381 map gfx/fx/detail/d_sand.tga
382 blendfunc gl_dst_color gl_src_color
383 rgbGen const ( 0.247059 0.803922 0.721569 )
384 tcMod scroll -0.04 0.1
385 tcMod scale -1.1 0.8
386 }
387 {
388 map gfx/fx/detail/d_ice.tga
389 blendfunc gl_dst_color gl_src_color
390 tcMod scale 2 2
391 }
392 {
393 map $whiteimage
394 blendfunc filter
395 rgbGen const ( 0.121569 0.12549 0.152941 )
396 tcMod scale 0.5 1
397 }
398 }
399
400 //REALLY COOL MENU BACKGROUNDY
401 menuback_blueish
402 {
403 {
404 map gfx/fx/detail/d_sand.tga
405 rgbGen const ( 0.627451 0.666667 0.796079 )
406 tcMod scroll 0.1 0.1
407 }
408 {
409 map gfx/fx/detail/d_sand.tga
410 blendfunc gl_dst_color gl_src_color
411 rgbGen const ( 0.247059 0.803922 0.721569 )
412 tcMod scroll -0.04 0.1
413 tcMod scale -1.1 0.8
414 }
415 {
416 map gfx/fx/detail/d_ice.tga
417 blendfunc gl_dst_color gl_src_color
418 tcMod scale 2 2
419 }
420 {
421 map textures/sfx/logo256.tga
422 blendfunc filter
423 tcMod scale 0.5 1
424 }
425 }
426
427 //REALLY COOL MENU BACKGROUNDY
428 menuback
429 {
430 {
431 map gfx/fx/detail/d_sand.tga
432 rgbGen const ( 0.501961 0.501961 0.501961 )
433 tcMod scroll 0.1 0.1
434 }
435 {
436 map gfx/fx/detail/d_sand.tga
437 blendfunc gl_dst_color gl_src_color
438 rgbGen const ( 0.141176 0.141176 0.141176 )
439 tcMod scroll -0.04 0.1
440 tcMod scale -1.1 0.8
441 }
442 {
443 map gfx/fx/detail/d_ice.tga
444 blendfunc gl_dst_color gl_src_color
445 tcMod scale 2 2
446 }
447 }
448
449 //REALLY COOL MENU BACKGROUNDY
450 menubacknologo
451 {
452 {
453 map $whiteimage
454 rgbGen const ( 0 0 0 )
455 }
456 }
457
458 boomzor
459 {
460 deformVertexes autosprite
461 {
462 animmap 8 models/weaphits/rlboom/rlboom_1.tga models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga
463 blendfunc gl_one gl_src_alpha
464 rgbGen wave inversesawtooth 0 1 0 8
465 }
466 {
467 animmap 8 models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga models/weaphits/rlboom/rlboom_8.tga
468 blendfunc gl_one gl_src_alpha
469 rgbGen wave sawtooth 0 1 0 8
470 }
471 {
472 clampmap textures/oa/fiar.tga
473 blendfunc add
474 rgbGen wave inversesawtooth 0 1 0 1
475 tcMod rotate 77
476 tcMod stretch sin 0.3 0.4 0 0.4
477 }
478 {
479 clampmap textures/oa/fiar2.tga
480 blendfunc add
481 rgbGen wave inversesawtooth 0 1 0 1
482 tcMod rotate 33
483 tcMod stretch sin 0.8 -0.4 0 0.1
484 }
485 {
486 clampmap textures/oa/fiar.tga
487 blendfunc add
488 rgbGen wave inversesawtooth 0 1 0 1
489 tcMod rotate -17
490 tcMod stretch sawtooth 0 1.2 0 0.5
491 }
492 {
493 clampmap textures/oa/fiar2.tga
494 blendfunc add
495 rgbGen wave inversesawtooth 0 1 0 1
496 tcMod rotate -77
497 }
498 }
499
500 smokePuff
501 {
502 cull disable
503 {
504 clampmap gfx/misc/smokepuff3.tga
505 blendfunc blend
506 tcMod rotate -55
507 alphaGen Vertex
508 }
509 }
510
511 smokePuffRagePro
512 {
513 cull disable
514 {
515 map gfx/misc/smokepuffragepro.tga
516 blendfunc blend
517 alphaGen Vertex
518 }
519 }
520
521 hasteSmokePuff
522 {
523 cull disable
524 {
525 map gfx/misc/hastesmoke.tga
526 blendfunc blend
527 tcMod rotate 64
528 alphaGen Vertex
529 }
530 }
531
532 shotgunSmokePuff
533 {
534 cull disable
535 {
536 clampmap gfx/misc/smokepuff3.tga
537 blendfunc blend
538 tcMod rotate -45
539 alphaGen entity
540 }
541 }
542
543 sprites/plasma1
544 {
545 {
546 clampmap sprites/plasmaa.tga
547 blendfunc gl_src_alpha gl_one
548 tcMod rotate -145
549 }
550 {
551 clampmap sprites/plasmaa.tga
552 blendfunc gl_src_alpha gl_one
553 tcMod rotate 177
554 }
555 }
556
557 bfgshot
558 {
559 cull disable
560 deformVertexes autosprite
561 {
562 clampmap textures/oafx/bfgfx.tga
563 blendfunc add
564 tcMod rotate -700
565 }
566 {
567 clampmap textures/oafx/bfgfx2.tga
568 blendfunc add
569 tcMod rotate 54
570 }
571 {
572 clampmap textures/oafx/bfgfx2.tga
573 blendfunc add
574 tcMod rotate -14
575 }
576 }
577
578 bfgsho
579 {
580 cull disable
581 deformVertexes autosprite
582 {
583 clampmap textures/oafx/bfgfx3.tga
584 blendfunc add
585 tcMod rotate 64
586 }
587 }
588
589 // STUPID explosion thing introduced in q3's 1.30 patch
590 explode11
591 {
592 {
593 map textures/sfx/130boom/dpexplosion4_0000.tga
594 blendfunc add
595 }
596 }
597
598 explode12
599 {
600 {
601 map textures/sfx/130boom/dpexplosion4_0001.tga
602 blendfunc add
603 }
604 }
605
606 explode13
607 {
608 {
609 map textures/sfx/130boom/dpexplosion4_0002.tga
610 blendfunc add
611 }
612 }
613
614 explode14
615 {
616 {
617 map textures/sfx/130boom/dpexplosion4_0003.tga
618 blendfunc add
619 }
620 }
621
622 explode15
623 {
624 {
625 map textures/sfx/130boom/dpexplosion4_0004.tga
626 blendfunc add
627 }
628 }
629
630 explode16
631 {
632 {
633 map textures/sfx/130boom/dpexplosion4_0005.tga
634 blendfunc add
635 }
636 }
637
638 explode17
639 {
640 {
641 map textures/sfx/130boom/dpexplosion4_0006.tga
642 blendfunc add
643 }
644 }
645
646 explode18
647 {
648 {
649 map textures/sfx/130boom/dpexplosion4_0007.tga
650 blendfunc add
651 }
652 }
653
654 explode19
655 {
656 {
657 map textures/sfx/130boom/dpexplosion4_0008.tga
658 blendfunc add
659 }
660 }
661
662 explode110
663 {
664 {
665 map textures/sfx/130boom/dpexplosion4_0009.tga
666 blendfunc add
667 }
668 }
669
670 explode111
671 {
672 {
673 map textures/sfx/130boom/dpexplosion4_0010.tga
674 blendfunc add
675 }
676 }
677
678 explode112
679 {
680 {
681 map textures/sfx/130boom/dpexplosion4_0011.tga
682 blendfunc add
683 }
684 }
685
686 explode113
687 {
688 {
689 map textures/sfx/130boom/dpexplosion4_0012.tga
690 blendfunc add
691 }
692 }
693
694 explode114
695 {
696 {
697 map textures/sfx/130boom/dpexplosion4_0013.tga
698 blendfunc add
699 }
700 }
701
702 explode115
703 {
704 {
705 map textures/sfx/130boom/dpexplosion4_0014.tga
706 blendfunc add
707 }
708 }
709
710 explode116
711 {
712 {
713 map textures/sfx/130boom/dpexplosion4_0015.tga
714 blendfunc add
715 }
716 }
717
718 explode117
719 {
720 {
721 map textures/sfx/130boom/dpexplosion4_0016.tga
722 blendfunc add
723 }
724 }
725
726 explode118
727 {
728 {
729 map textures/sfx/130boom/dpexplosion4_0017.tga
730 blendfunc add
731 }
732 }
733
734 explode119
735 {
736 {
737 map textures/sfx/130boom/dpexplosion4_0018.tga
738 blendfunc add
739 }
740 }
741
742 explode120
743 {
744 {
745 map textures/sfx/130boom/dpexplosion4_0019.tga
746 blendfunc add
747 }
748 }
749
750 explode121
751 {
752 {
753 map textures/sfx/130boom/dpexplosion4_0020.tga
754 blendfunc add
755 }
756 }
757
758 explode122
759 {
760 {
761 map textures/sfx/130boom/dpexplosion4_0021.tga
762 blendfunc add
763 }
764 }
765
766 explode123
767 {
768 {
769 map textures/sfx/130boom/dpexplosion4_0022.tga
770 blendfunc add
771 }
772 }
773
774 explode124
775 {
776 {
777 map textures/sfx/130boom/dpexplosion4_0023.tga
778 blendfunc add
779 }
780 }
781
782 lightningBoltNew
783 {
784 cull disable
785 {
786 animmap 30 textures/oafx/lbeam3.tga textures/oafx/lbeam4.tga textures/oafx/lbeam5.tga textures/oafx/lbeam6.tga textures/oafx/lbeam7.tga textures/oafx/lbeam8.tga textures/oafx/lbeam5.tga textures/oafx/lbeam7.tga
787 blendfunc add
788 tcMod scale 0.5 1
789 tcMod scroll -1 0
790 }
791 {
792 animmap 40 textures/oafx/lbeam8.tga textures/oafx/lbeam7.tga textures/oafx/lbeam4.tga textures/oafx/lbeam5.tga textures/oafx/lbeam6.tga textures/oafx/lbeam3.tga textures/oafx/lbeam7.tga textures/oafx/lbeam4.tga
793 blendfunc add
794 tcMod scale 0.2 1
795 tcMod scroll -0.3 0
796 }
797 }
798