Debian Codegraph @

pak6-patch085/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 default
95 {
96 {
97 map textures/stone/pjrock1.tga
98 }
99 }
100
101 textures/effects/jumpcirc
102 {
103 q3map_lightimage textures/effects/jumpcirc.tga
104 q3map_surfacelight 466
105 {
106 clampmap textures/effects/jumpcirc.tga
107 tcMod stretch sawtooth 0 1 0 1
108 tcMod rotate 75
109 }
110 {
111 clampmap textures/effects/jumpcirc.tga
112 blendfunc add
113 tcMod stretch sawtooth 0 1 0 1
114 tcMod rotate -120
115 }
116 }
117
118 textures/effects/jumpcircblue
119 {
120 q3map_lightimage textures/effects/jumpcircblue.tga
121 q3map_surfacelight 466
122 {
123 clampmap textures/effects/jumpcircblue.tga
124 tcMod stretch sawtooth 0 1 0 1
125 tcMod rotate 75
126 }
127 {
128 clampmap textures/effects/jumpcircblue.tga
129 blendfunc add
130 tcMod stretch sawtooth 0 1 0 1
131 tcMod rotate -120
132 }
133 }
134
135 textures/effects/jumpcircred
136 {
137 q3map_lightimage textures/effects/jumpcircred.tga
138 q3map_surfacelight 466
139 {
140 clampmap textures/effects/jumpcircred.tga
141 tcMod stretch sawtooth 0 1 0 1
142 tcMod rotate 75
143 }
144 {
145 clampmap textures/effects/jumpcircred.tga
146 blendfunc add
147 tcMod stretch sawtooth 0 1 0 1
148 tcMod rotate -120
149 }
150 }
151
152 textures/ctf_unified/floor_decal_blue
153 {
154 cull disable
155 {
156 map textures/symbols/blueteam.tga
157 blendfunc add
158 }
159 }
160
161 textures/ctf_unified/floor_decal_red
162 {
163 cull disable
164 {
165 map textures/symbols/redteam.tga
166 blendfunc add
167 }
168 }
169
170 textures/ctf_unified/monologo_flash_blue
171 {
172 cull disable
173 {
174 map textures/symbols/blueteam.tga
175 }
176 }
177
178 textures/ctf_unified/monologo_flash_red
179 {
180 cull disable
181 {
182 map textures/symbols/redteam.tga
183 }
184 }
185
186 textures/base_wall/glass01
187 {
188 surfaceparm trans
189 cull disable
190 {
191 map textures/effects/tinfx.tga
192 blendfunc add
193 rgbGen identity
194 tcGen environment
195 }
196 {
197 map textures/detail/d_met2.tga
198 blendfunc gl_dst_color gl_src_color
199 tcMod scale 4 4
200 detail
201 }
202 {
203 map $lightmap
204 blendfunc filter
205 rgbGen identity
206 tcGen lightmap
207 }
208 }
209
210 redArmor
211 {
212 {
213 map models/powerups/armor/redarmor.tga
214 rgbGen lightingDiffuse
215 }
216 {
217 map textures/sfx/specular.tga
218 blendfunc add
219 rgbGen lightingDiffuse
220 tcGen environment
221 }
222 {
223 map models/powerups/armor/redarmor.tga
224 blendfunc blend
225 rgbGen lightingDiffuse
226 }
227 }
228
229 yellowArmor
230 {
231 {
232 map models/powerups/armor/yellowarmor.tga
233 rgbGen lightingDiffuse
234 }
235 {
236 map textures/sfx/specular.tga
237 blendfunc add
238 rgbGen lightingDiffuse
239 tcGen environment
240 }
241 {
242 map models/powerups/armor/yellowarmor.tga
243 blendfunc blend
244 rgbGen lightingDiffuse
245 }
246 }
247
248 textures/base_floor/metfloor1
249 {
250 surfaceparm metalsteps
251 {
252 map textures/base_floor/metfloor1.tga
253 rgbGen const ( 1 1 1 )
254 }
255 {
256 clampmap textures/base_wall/chrome_env2.tga
257 blendfunc add
258 rgbGen const ( 0.188235 0.188235 0.188235 )
259 tcGen environment
260 }
261 {
262 map textures/base_floor/metfloor1.tga
263 blendfunc filter
264 rgbGen const ( 0.737255 0.737255 0.737255 )
265 }
266 {
267 map $lightmap
268 blendfunc filter
269 tcGen lightmap
270 }
271 }
272
273 textures/base_trim/tinfx
274 {
275 {
276 map textures/base_trim/tinfx.tga
277 tcGen environment
278 }
279 {
280 map $lightmap
281 blendfunc filter
282 tcGen lightmap
283 }
284 }
285
286 console
287 {
288 {
289 map textures/sfx/logo256.tga
290 }
291 }
292
293 grassobj
294 {
295 cull disable
296 {
297 map models/mapobjects/out/grass.tga
298 rgbGen lightingDiffuse
299 alphaFunc GE128
300 }
301 }
302
303 ameatygib
304 {
305 {
306 map models/gibs/genericgibmeat.tga
307 rgbGen lightingDiffuse
308 }
309 {
310 map models/gibs/gibmeatspec.tga
311 blendfunc gl_src_alpha gl_dst_alpha
312 rgbGen lightingDiffuse
313 alphaGen lightingSpecular
314 }
315 }
316
317 oalogo
318 {
319 {
320 map textures/oa/water.tga
321 tcMod scroll 0.01 0.01
322 }
323 {
324 map textures/oa/water.tga
325 blendfunc add
326 tcMod scroll 0.04 0.01
327 }
328 {
329 map textures/oa/water.tga
330 blendfunc add
331 tcMod scroll -0.01 -0.02
332 }
333 {
334 map textures/oa/flamelet.tga
335 tcMod scroll -0.2 0.4
336 }
337 {
338 map textures/oa/flamelet.tga
339 blendfunc add
340 tcMod scroll 0.2 0.7
341 }
342 {
343 map textures/oa/flamelet.tga
344 blendfunc add
345 tcMod scroll 0 0.6
346 }
347 }
348
349 //REALLY COOL MENU BACKGROUNDY
350 menubacknologo_blueish
351 {
352 {
353 map gfx/newbg/bluefiller.tga
354 rgbGen identity
355 tcMod turb 0 0.6 0 0.125
356 tcMod rotate 6
357 tcMod scroll 1 0
358 }
359 {
360 map gfx/newbg/bluefiller.tga
361 blendfunc add
362 rgbGen identity
363 tcMod turb 0 0.4 0 0.325
364 tcMod rotate -12
365 tcMod scroll -1 0
366 }
367 {
368 clampmap gfx/newbg/blackfading.tga
369 blendfunc gl_zero gl_one_minus_src_alpha
370 rgbGen identity
371 tcMod stretch sin 1.5 0.2 0 0.1
372 tcMod rotate 7
373 }
374 {
375 clampmap gfx/newbg/blackfading.tga
376 blendfunc blend
377 tcMod stretch sin 1.3 0.2 0 0.12
378 tcMod rotate -17
379 alphaGen wave sin 0.3 0 0 1
380 }
381 {
382 map textures/sfx/jcb2.tga
383 blendfunc add
384 rgbGen wave triangle 0 0.2 0 0.1
385 tcMod rotate 360
386 tcMod stretch sin 2.3 0 0 1
387 }
388 }
389
390 //REALLY COOL MENU BACKGROUNDY
391 menuback_blueish
392 {
393 {
394 map gfx/newbg/bluefiller.tga
395 rgbGen identity
396 tcMod turb 0 0.6 0 0.125
397 tcMod rotate 6
398 tcMod scroll 1 0
399 }
400 {
401 map gfx/newbg/bluefiller.tga
402 blendfunc add
403 rgbGen identity
404 tcMod turb 0 0.4 0 0.325
405 tcMod rotate -12
406 tcMod scroll -1 0
407 }
408 {
409 clampmap gfx/newbg/blackfading.tga
410 blendfunc gl_zero gl_one_minus_src_alpha
411 rgbGen identity
412 tcMod stretch sin 1.5 0.2 0 0.1
413 tcMod rotate 7
414 }
415 {
416 clampmap gfx/newbg/blackfading.tga
417 blendfunc blend
418 tcMod stretch sin 1.3 0.2 0 0.12
419 tcMod rotate -17
420 alphaGen wave sin 0.3 0 0 1
421 }
422 {
423 map textures/sfx/jcb2.tga
424 blendfunc add
425 rgbGen wave triangle 0 0.2 0 0.1
426 tcMod rotate 360
427 tcMod stretch sin 2.3 0 0 1
428 }
429 {
430 videomap video/idlogo.roq
431 blendfunc gl_dst_color gl_one_minus_dst_color
432 rgbGen const ( 0.482353 0.384314 0.615686 )
433 }
434 }
435
436 OLDmenubacknologo
437 {
438 {
439 map textures/oa/water.tga
440 tcMod scroll 0.01 0.01
441 }
442 {
443 map textures/oa/water.tga
444 blendfunc add
445 tcMod scroll 0.04 0.01
446 }
447 {
448 map textures/oa/water.tga
449 blendfunc filter
450 tcMod scroll -0.01 -0.02
451 }
452 }
453
454 OLDmenuback
455 {
456 {
457 map textures/oa/bloodbg.tga
458 tcMod scroll 0.01 0.01
459 tcMod rotate 5
460 }
461 {
462 map textures/oa/bloodbg.tga
463 blendfunc add
464 tcMod scroll 0.01 0.01
465 tcMod rotate -6
466 }
467 {
468 map textures/oa/bloodbg.tga
469 blendfunc filter
470 tcMod scroll -0.01 -0.02
471 tcMod rotate 3
472 }
473 }
474
475 bloodybg
476 {
477 {
478 map textures/oa/bloodbg.tga
479 tcMod scroll 0.01 0.01
480 tcMod rotate 5
481 }
482 {
483 map textures/oa/bloodbg.tga
484 blendfunc add
485 tcMod scroll 0.01 0.01
486 tcMod rotate -6
487 }
488 {
489 map textures/oa/bloodbg.tga
490 blendfunc filter
491 tcMod scroll -0.01 -0.02
492 tcMod rotate 3
493 }
494 }
495
496 boomzor
497 {
498 deformVertexes autosprite
499 {
500 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
501 blendfunc gl_one gl_src_alpha
502 rgbGen wave inversesawtooth 0 1 0 8
503 }
504 {
505 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
506 blendfunc gl_one gl_src_alpha
507 rgbGen wave sawtooth 0 1 0 8
508 }
509 {
510 clampmap textures/oa/fiar.tga
511 blendfunc add
512 rgbGen wave inversesawtooth 0 1 0 1
513 tcMod rotate 77
514 tcMod stretch sin 0.3 0.4 0 0.4
515 }
516 {
517 clampmap textures/oa/fiar2.tga
518 blendfunc add
519 rgbGen wave inversesawtooth 0 1 0 1
520 tcMod rotate 33
521 tcMod stretch sin 0.8 -0.4 0 0.1
522 }
523 {
524 clampmap textures/oa/fiar.tga
525 blendfunc add
526 rgbGen wave inversesawtooth 0 1 0 1
527 tcMod rotate -17
528 tcMod stretch sawtooth 0 1.2 0 0.5
529 }
530 {
531 clampmap textures/oa/fiar2.tga
532 blendfunc add
533 rgbGen wave inversesawtooth 0 1 0 1
534 tcMod rotate -77
535 }
536 }
537
538 smokePuff
539 {
540 cull disable
541 {
542 clampmap gfx/misc/smokepuff3.tga
543 blendfunc blend
544 tcMod rotate -55
545 alphaGen Vertex
546 }
547 }
548
549 smokePuffRagePro
550 {
551 cull disable
552 {
553 map gfx/misc/smokepuffragepro.tga
554 blendfunc blend
555 alphaGen Vertex
556 }
557 }
558
559 hasteSmokePuff
560 {
561 cull disable
562 {
563 map gfx/misc/hastesmoke.tga
564 blendfunc blend
565 tcMod rotate 64
566 alphaGen Vertex
567 }
568 }
569
570 shotgunSmokePuff
571 {
572 cull disable
573 {
574 clampmap gfx/misc/smokepuff3.tga
575 blendfunc blend
576 tcMod rotate -45
577 alphaGen entity
578 }
579 }
580
581 sprites/plasma1
582 {
583 {
584 clampmap sprites/plasmaa.tga
585 blendfunc gl_src_alpha gl_one
586 tcMod rotate -145
587 }
588 {
589 clampmap sprites/plasmaa.tga
590 blendfunc gl_src_alpha gl_one
591 tcMod rotate 177
592 }
593 }
594
595 bfgshot
596 {
597 cull disable
598 deformVertexes autosprite
599 {
600 clampmap textures/oafx/bfgfx.tga
601 blendfunc add
602 tcMod rotate -700
603 }
604 {
605 clampmap textures/oafx/bfgfx2.tga
606 blendfunc add
607 tcMod rotate 54
608 }
609 {
610 clampmap textures/oafx/bfgfx2.tga
611 blendfunc add
612 tcMod rotate -14
613 }
614 }
615
616 bfgsho
617 {
618 cull disable
619 deformVertexes autosprite
620 {
621 clampmap textures/oafx/bfgfx3.tga
622 blendfunc add
623 tcMod rotate 64
624 }
625 }
626
627 // STUPID explosion thing introduced in q3's 1.30 patch
628 explode11
629 {
630 {
631 map textures/sfx/130boom/dpexplosion4_0000.tga
632 blendfunc add
633 }
634 }
635
636 explode12
637 {
638 {
639 map textures/sfx/130boom/dpexplosion4_0001.tga
640 blendfunc add
641 }
642 }
643
644 explode13
645 {
646 {
647 map textures/sfx/130boom/dpexplosion4_0002.tga
648 blendfunc add
649 }
650 }
651
652 explode14
653 {
654 {
655 map textures/sfx/130boom/dpexplosion4_0003.tga
656 blendfunc add
657 }
658 }
659
660 explode15
661 {
662 {
663 map textures/sfx/130boom/dpexplosion4_0004.tga
664 blendfunc add
665 }
666 }
667
668 explode16
669 {
670 {
671 map textures/sfx/130boom/dpexplosion4_0005.tga
672 blendfunc add
673 }
674 }
675
676 explode17
677 {
678 {
679 map textures/sfx/130boom/dpexplosion4_0006.tga
680 blendfunc add
681 }
682 }
683
684 explode18
685 {
686 {
687 map textures/sfx/130boom/dpexplosion4_0007.tga
688 blendfunc add
689 }
690 }
691
692 explode19
693 {
694 {
695 map textures/sfx/130boom/dpexplosion4_0008.tga
696 blendfunc add
697 }
698 }
699
700 explode110
701 {
702 {
703 map textures/sfx/130boom/dpexplosion4_0009.tga
704 blendfunc add
705 }
706 }
707
708 explode111
709 {
710 {
711 map textures/sfx/130boom/dpexplosion4_0010.tga
712 blendfunc add
713 }
714 }
715
716 explode112
717 {
718 {
719 map textures/sfx/130boom/dpexplosion4_0011.tga
720 blendfunc add
721 }
722 }
723
724 explode113
725 {
726 {
727 map textures/sfx/130boom/dpexplosion4_0012.tga
728 blendfunc add
729 }
730 }
731
732 explode114
733 {
734 {
735 map textures/sfx/130boom/dpexplosion4_0013.tga
736 blendfunc add
737 }
738 }
739
740 explode115
741 {
742 {
743 map textures/sfx/130boom/dpexplosion4_0014.tga
744 blendfunc add
745 }
746 }
747
748 explode116
749 {
750 {
751 map textures/sfx/130boom/dpexplosion4_0015.tga
752 blendfunc add
753 }
754 }
755
756 explode117
757 {
758 {
759 map textures/sfx/130boom/dpexplosion4_0016.tga
760 blendfunc add
761 }
762 }
763
764 explode118
765 {
766 {
767 map textures/sfx/130boom/dpexplosion4_0017.tga
768 blendfunc add
769 }
770 }
771
772 explode119
773 {
774 {
775 map textures/sfx/130boom/dpexplosion4_0018.tga
776 blendfunc add
777 }
778 }
779
780 explode120
781 {
782 {
783 map textures/sfx/130boom/dpexplosion4_0019.tga
784 blendfunc add
785 }
786 }
787
788 explode121
789 {
790 {
791 map textures/sfx/130boom/dpexplosion4_0020.tga
792 blendfunc add
793 }
794 }
795
796 explode122
797 {
798 {
799 map textures/sfx/130boom/dpexplosion4_0021.tga
800 blendfunc add
801 }
802 }
803
804 explode123
805 {
806 {
807 map textures/sfx/130boom/dpexplosion4_0022.tga
808 blendfunc add
809 }
810 }
811
812 explode124
813 {
814 {
815 map textures/sfx/130boom/dpexplosion4_0023.tga
816 blendfunc add
817 }
818 }
819
820 lightningBoltNew
821 {
822 cull disable
823 {
824 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
825 blendfunc add
826 tcMod scale 0.5 1
827 tcMod scroll -1 0
828 }
829 {
830 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
831 blendfunc add
832 tcMod scale 0.2 1
833 tcMod scroll -0.3 0
834 }
835 }
836