Subversion-Projekte sthq.colony7

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
62 chriss 1
//GFX.SHADER
2
//
3
//this file contains shaders that are used by the programmers to
4
//generate special effects not attached to specific geometry.  This
5
//also has 2D shaders such as fonts, etc.
6
//
7
//the background for the netgraph
8
lagometer
9
{
10
    nopicmip
11
    {
12
        map gfx/2d/lag.tga
13
    }
14
}
15
 
16
//blinked on top of lagometer when connection is interrupted
17
disconnected
18
{
19
    nopicmip
20
    {
21
        map gfx/2d/net.tga
22
    }
23
}
24
 
25
white
26
{
27
    {
28
        map *white
29
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
30
        rgbGen vertex
31
    }
32
}
33
 
34
white2
35
{
36
    cull disable
37
    {
38
        map *white
39
        blendFunc GL_ONE GL_ONE
40
        rgbGen vertex
41
        alphaGen vertex
42
    }
43
}
44
 
45
//used to break up the blur on levelshots
46
levelShotDetail
47
{
48
    nomipmaps
49
    nopicmip
50
    {
51
        map textures/detail/scanlines.tga
52
        blendFunc GL_DST_COLOR GL_SRC_COLOR
53
        rgbGen identity
54
        tcMod scale 10 12.5
55
    }
56
}
57
 
58
console
59
{
60
    nomipmaps
61
    nopicmip
62
    {
63
        map gfx/interface/stars.tga
64
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
65
        alphaGen vertex
66
        tcMod scroll 0.01 0.2
67
        tcMod scale 2 1
68
    }
69
    {
70
        map gfx/interface/stars.tga
71
        blendFunc GL_ONE GL_ONE
72
        tcMod turb 0 0.1 0 0.1
73
        tcMod scale 2 1
74
        tcMod scroll -0.01 0.1
75
    }
76
}
77
 
78
fixitEffect
79
{
80
    polygonOffset
81
    {
82
        map gfx/effects/fixit_effect.tga
83
        blendFunc GL_ONE GL_ONE
84
        rgbGen wave sin 0.5 0.5 0.75 0.33
85
        tcMod scroll 0.5 0.5
86
    }
87
}
88
 
89
fullScreenTeleport
90
{
91
    {
92
        map gfx/effects/fullscreenteleport.tga
93
        blendFunc GL_ONE GL_ONE
94
        rgbGen vertex
95
        tcMod scroll 0 0.5
96
    }
97
}
98
 
99
playerTeleport
100
{
101
    {
102
        map gfx/effects/transport.tga
103
        blendFunc GL_ONE GL_ONE
104
        rgbGen vertex
105
        tcMod scroll 1 0.5
106
    }
107
}
108
 
109
//reward medals used in the game floating over client's heads
110
medal_impressive
111
{
112
    nopicmip
113
    {
114
        clampmap menu/medals/medal_impressive.tga
115
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
116
    }
117
}
118
 
119
medal_excellent
120
{
121
    nopicmip
122
    {
123
        clampmap menu/medals/medal_excellent.tga
124
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
125
    }
126
}
127
 
128
medal_firststrike
129
{
130
    nopicmip
131
    {
132
        clampmap menu/medals/medal_firststrike.tga
133
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
134
    }
135
}
136
 
137
medal_ace
138
{
139
    nopicmip
140
    {
141
        clampmap menu/medals/medal_ace.tga
142
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
143
    }
144
}
145
 
146
medal_expert
147
{
148
    nopicmip
149
    {
150
        clampmap menu/medals/medal_expert.tga
151
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
152
    }
153
}
154
 
155
medal_master
156
{
157
    nopicmip
158
    {
159
        clampmap menu/medals/medal_master.tga
160
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
161
    }
162
}
163
 
164
medal_champion
165
{
166
    nopicmip
167
    {
168
        clampmap menu/medals/medal_champion.tga
169
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
170
    }
171
}
172
 
173
//markShadow is the very cheap blurry blob underneat the player
174
markShadow
175
{
176
    polygonOffset
177
    {
178
        clampmap gfx/damage/shadow.tga
179
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
180
        rgbGen identity
181
        alphaGen vertex
182
    }
183
}
184
 
185
//projectionShadow is used for cheap squashed model shadows
186
projectionShadow
187
{
188
    deformVertexes projectionShadow
189
    polygonOffset
190
    {
191
        //just solid black
192
        map *white
193
        blendFunc GL_ONE GL_ZERO
194
        rgbGen wave square 0 0 0 0
195
    }
196
}
197
 
198
//wake is the mark on water surfaces for paddling players
199
wake
200
{
201
    {
202
        clampmap sprites/splash.tga
203
        blendFunc GL_ONE GL_ONE
204
        rgbGen wave sin 0.7 0.3 0.25 0.5
205
        tcMod rotate 60
206
        tcMod stretch sin 0.9 0.1 0 0.7
207
    }
208
    {
209
        clampmap sprites/splash.tga
210
        blendFunc GL_ONE GL_ONE
211
        rgbGen wave sin 0.7 0.3 0.25 0.4
212
        tcMod rotate 90
213
        tcMod stretch sin 0.9 0.05 0 0.9
214
    }
215
}
216
 
217
waterBubble
218
{
219
    //allow all the sprites to be merged together
220
    entityMergable
221
    cull disable
222
    sort underwater
223
    {
224
        map sprites/bubble.tga
225
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
226
        rgbGen vertex
227
        alphaGen vertex
228
    }
229
}
230
 
231
smokePuff
232
{
233
    //allow all the sprites to be merged together
234
    entityMergable
235
    cull disable
236
    {
237
        map gfx/misc/smokepuff3.tga
238
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
239
        rgbGen vertex
240
        alphaGen vertex
241
    }
242
}
243
 
244
//drops behind player's feet when speeded
245
flightSmokePuff
246
{
247
    cull disable
248
    {
249
        map gfx/misc/smokepuff4.tga
250
        blendFunc GL_ONE GL_ONE
251
        rgbGen entity
252
        alphaGen entity
253
    }
254
}
255
 
256
//drops behind player's feet when speeded
257
hasteSmokePuff
258
{
259
    //allow all the sprites to be merged together
260
    entityMergable
261
    cull disable
262
    {
263
        map gfx/misc/hastestreak.tga
264
        blendFunc GL_ONE GL_ONE
265
        rgbGen wave sin 0.4 0.2 2.5 0.33
266
        alphaGen vertex
267
    }
268
}
269
 
270
smokePuffRagePro
271
{
272
    //allow all the sprites to be merged together
273
    entityMergable
274
    cull disable
275
    {
276
        map gfx/misc/smokepuffragepro.tga
277
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
278
    }
279
}
280
 
281
flareShader
282
{
283
    cull disable
284
    {
285
        map gfx/misc/flare.tga
286
        blendFunc GL_ONE GL_ONE
287
        depthFunc disable
288
        rgbGen vertex
289
    }
290
}
291
 
292
sun
293
{
294
    cull disable
295
    {
296
        map gfx/misc/sun.tga
297
        blendFunc GL_ONE GL_ONE
298
        rgbGen vertex
299
    }
300
}
301
 
302
//===============================================================
303
//
304
//weapon hits
305
//All of these will be put on entities with a shaderTime offset, so they
306
//can be expected to start at time 0 for each separate explosion
307
//
308
//Many of these are use smoothly morphed animating textures by pairing
309
//sawtooth and iverse sawtooth rgbGens
310
//spurt of blood at point of impact
311
bloodExplosion
312
{
313
    cull disable
314
    {
315
        animMap 5 models/weaphits/blood201.tga models/weaphits/blood202.tga models/weaphits/blood203.tga models/weaphits/blood204.tga models/weaphits/blood205.tga
316
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
317
    }
318
}
319
 
320
shieldshellnew
321
{
322
    qer_editorimage gfx/effects/shieldshell1.tga
323
    nomipmaps
324
    cull disable
325
    polygonOffset
326
    {
327
        map gfx/effects/shieldshellnew.tga
328
        blendFunc GL_ONE GL_ONE
329
        rgbGen entity
330
        tcMod stretch sin 1 0.1 0 1
331
        tcMod rotate 55
332
    }
333
    {
334
        map gfx/effects/shieldshellnew2.tga
335
        blendFunc GL_ONE GL_ONE
336
        rgbGen wave sin 0.1 0.25 0 5
337
    }
338
    {
339
        animMap 8 gfx/effects/shieldshellnew3.tga gfx/effects/shieldshellnew4.tga gfx/effects/shieldshellnew5.tga gfx/effects/shieldshellnew6.tga gfx/effects/shieldshellnew7.tga gfx/effects/shieldshellnew8.tga
340
        blendFunc GL_ONE GL_ONE
341
        rgbGen identity
342
        tcMod rotate -100
343
        tcMod stretch sin 1 0.1 0 8
344
    }
345
}
346
 
347
shieldshellnew2
348
{
349
    qer_editorimage gfx/effects/shieldshell1.tga
350
    nomipmaps
351
    cull disable
352
    polygonOffset
353
    {
354
        animMap 8 gfx/effects/shieldshellnew.tga gfx/effects/shieldshellnew2.tga gfx/effects/shieldshellnew3.tga gfx/effects/shieldshellnew4.tga gfx/effects/shieldshellnew5.tga gfx/effects/shieldshellnew6.tga gfx/effects/shieldshellnew7.tga gfx/effects/shieldshellnew8.tga
355
        blendFunc GL_ONE GL_ONE
356
        rgbGen entity
357
        tcMod stretch sin 1 0.25 0 0.1
358
    }
359
}
360
 
361
halfShieldShellpat
362
{
363
    qer_editorimage gfx/effects/shieldshell1.tga
364
    nomipmaps
365
    cull disable
366
    polygonOffset
367
    {
368
        map gfx/effects/shieldshell1.tga
369
        blendFunc GL_ONE GL_ONE
370
        rgbGen entity
371
        tcMod stretch sin 1 0.1 0 2
372
        tcMod rotate 55
373
    }
374
}
375
 
376
halfShieldShell
377
{
378
    qer_editorimage gfx/effects/shieldshell1.tga
379
    nomipmaps
380
    cull disable
381
    polygonOffset
382
    {
383
        map gfx/effects/shieldshellnew.tga
384
        blendFunc GL_ONE GL_ONE
385
        rgbGen entity
386
        tcMod stretch sin 1 0.1 0 1
387
        tcMod rotate 55
388
    }
389
    {
390
        map gfx/effects/shieldshellnew2.tga
391
        blendFunc GL_ONE GL_ONE
392
        rgbGen wave sin 0.1 0.25 0 5
393
    }
394
    {
395
        animMap 8 gfx/effects/shieldshellnew3.tga gfx/effects/shieldshellnew4.tga gfx/effects/shieldshellnew5.tga gfx/effects/shieldshellnew6.tga gfx/effects/shieldshellnew7.tga gfx/effects/shieldshellnew8.tga
396
        blendFunc GL_ONE GL_ONE
397
        rgbGen identity
398
        tcMod rotate -100
399
        tcMod stretch sin 1 0.1 0 8
400
    }
401
}
402
 
403
//
404
//special effects as seen on players
405
//
406
powerups/battleSuit
407
{
408
    deformVertexes wave 100 sin 1 0 0 0
409
    {
410
        //map textures/sfx/specular.tga
411
        map textures/effects/envmapgold2.tga
412
        blendFunc GL_ONE GL_ONE
413
        tcGen environment
414
        tcMod turb 0 0.15 0 0.3
415
        tcMod rotate 333
416
        tcMod scroll 0.3 0.3
417
    }
418
}
419
 
420
powerups/battleWeapon
421
{
422
    deformVertexes wave 100 sin 0.5 0 0 0
423
    {
424
        //map textures/sfx/specular.tga
425
        map textures/effects/envmapgold2.tga
426
        blendFunc GL_ONE GL_ONE
427
        tcGen environment
428
        tcMod turb 0 0.15 0 0.3
429
        tcMod rotate 333
430
        tcMod scroll 0.3 0.3
431
    }
432
}
433
 
434
powerups/invisibility
435
{
436
    nopicmip
437
    {
438
        //map textures/sfx/specular.tga
439
        map textures/effects/invismap.tga
440
        blendFunc GL_ONE GL_ONE
441
        tcGen environment
442
        tcMod turb 0 0.15 0 0.25
443
    }
444
}
445
 
446
powerups/quad
447
{
448
    deformVertexes wave 100 sin 3 0 0 0
449
    {
450
        //tcMod turb 0 0.2 0 .2
451
        map gfx/effects/shield2.tga
452
        blendFunc GL_ONE GL_ONE
453
        rgbGen wave sin 0.6 0.4 0 1
454
        tcGen environment
455
        tcMod rotate -17.3
456
        tcMod scroll 1 0.1
457
    }
458
    {
459
        //tcMod turb 0 0.2 0 .2
460
        map gfx/misc/electric2.tga
461
        blendFunc GL_ONE GL_ONE
462
        rgbGen wave random 0.5 0.5 0 1.9
463
        tcGen environment
464
        tcMod rotate 37.9
465
        tcMod scroll 1 0.1
466
        tcMod scale 1.9 1.9
467
    }
468
}
469
 
470
powerups/quadWeapon
471
{
472
    deformVertexes wave 100 sin 0.5 0 0 0
473
    {
474
        //tcMod turb 0 0.2 0 .2
475
        map gfx/effects/shield2.tga
476
        blendFunc GL_ONE GL_ONE
477
        rgbGen wave sin 0.6 0.4 0 1
478
        tcGen environment
479
        tcMod rotate -17.3
480
        tcMod scroll 1 0.1
481
    }
482
    {
483
        //tcMod turb 0 0.2 0 .2
484
        map gfx/misc/electric2.tga
485
        blendFunc GL_ONE GL_ONE
486
        rgbGen wave random 0.5 0.5 0 1.9
487
        tcGen environment
488
        tcMod rotate 37.9
489
        tcMod scroll 1 0.1
490
        tcMod scale 1.9 1.9
491
    }
492
}
493
 
494
powerups/beamEffect
495
{
496
    polygonOffset
497
    {
498
        map gfx/effects/teleport4.tga
499
        blendFunc GL_ONE GL_ONE
500
        rgbGen wave sin 0.5 0.5 0.75 0.25
501
        tcMod scroll 0.5 0.5
502
    }
503
}
504
 
505
powerups/holoOuch
506
{
507
    polygonOffset
508
    {
509
        map gfx/effects/teleport10.tga
510
        blendFunc GL_ONE GL_ONE
511
        rgbGen entity
512
        tcMod scroll 5 5
513
    }
514
}
515
 
516
powerups/holoOuchScreen
517
{
518
    cull disable
519
    {
520
        map gfx/effects/teleport11.tga
521
        blendFunc GL_ONE GL_ONE
522
        rgbGen vertex
523
        tcMod scroll 5.7 5.7
524
        tcMod scale 1.3 1.3
525
    }
526
}
527
 
528
powerups/holoOuchBlob
529
{
530
    cull disable
531
    {
532
        //tcMod rotate 1241
533
        map gfx/effects/painscreen.tga
534
        blendFunc GL_ONE GL_ONE
535
        rgbGen entity
536
    }
537
}
538
 
539
powerups/halfShield
540
{
541
    nomipmaps
542
    deformVertexes bulge 1 5 0
543
    polygonOffset
544
    {
545
        map gfx/effects/shield2g.tga
546
        blendFunc GL_ONE GL_ONE
547
        rgbGen entity
548
        tcMod scale 0.5 0.5
549
        tcMod scroll 0.15 0.1
550
    }
551
    {
552
        map gfx/effects/shield3g.tga
553
        blendFunc GL_ONE GL_ONE
554
        rgbGen entity
555
        tcMod scroll -0.1 0.3
556
    }
557
}
558
 
559
powerups/halfShieldWpn
560
{
561
    nomipmaps
562
    polygonOffset
563
    {
564
        map gfx/effects/shield2g.tga
565
        blendFunc GL_ONE GL_ONE
566
        rgbGen entity
567
        tcMod scale 0.5 0.5
568
        tcMod scroll 0.15 0.1
569
    }
570
    {
571
        map gfx/effects/shield3g.tga
572
        blendFunc GL_ONE GL_ONE
573
        rgbGen entity
574
        tcMod scroll -0.1 0.3
575
    }
576
}
577
 
578
powerups/halfShieldScreen
579
{
580
    cull disable
581
    {
582
        map gfx/effects/shield6g.tga
583
        blendFunc GL_ONE GL_ONE
584
        rgbGen vertex
585
        tcMod scroll 0.3 0.2
586
    }
587
    {
588
        map gfx/effects/teleport6.tga
589
        blendFunc GL_ONE GL_ONE
590
        rgbGen vertex
591
        tcMod scroll 5.7 5.7
592
        tcMod scale 1.3 1.3
593
    }
594
}
595
 
596
powerups/fullShield
597
{
598
    nomipmaps
599
    deformVertexes bulge 1 5 0
600
    polygonOffset
601
    {
602
        map gfx/effects/shield4g.tga
603
        blendFunc GL_ONE GL_ONE
604
        rgbGen entity
605
        tcMod scroll 0.2 0.1
606
    }
607
    {
608
        map gfx/effects/shield5g.tga
609
        blendFunc GL_ONE GL_ONE
610
        rgbGen entity
611
        tcMod scroll -0.2 0.3
612
    }
613
}
614
 
615
powerups/fullShieldWpn
616
{
617
    nomipmaps
618
    polygonOffset
619
    {
620
        map gfx/effects/shield4g.tga
621
        blendFunc GL_ONE GL_ONE
622
        rgbGen entity
623
        tcMod scroll 0.2 0.1
624
    }
625
    {
626
        map gfx/effects/shield5g.tga
627
        blendFunc GL_ONE GL_ONE
628
        rgbGen entity
629
        tcMod scroll -0.2 0.3
630
    }
631
}
632
 
633
powerups/fullShieldScreen
634
{
635
    cull disable
636
    {
637
        map gfx/effects/shield6g.tga
638
        blendFunc GL_ONE GL_ONE
639
        rgbGen vertex
640
        tcMod scroll 0.3 0.2
641
    }
642
    {
643
        map gfx/effects/shield7g.tga
644
        blendFunc GL_ONE GL_ONE
645
        rgbGen vertex
646
        tcMod scroll -0.1 0.3
647
    }
648
}
649
 
650
powerups/regen
651
{
652
    deformVertexes wave 100 sin 3 0 0 0
653
    {
654
        //tcMod turb 0 0.2 0 .2
655
        map textures/effects/regenmap.tga
656
        blendFunc GL_ONE GL_ONE
657
        tcGen environment
658
        tcMod rotate 30
659
        tcMod scroll 1 0.1
660
    }
661
}
662
 
663
powerups/scavBeamEffect
664
{
665
    qer_editorimage gfx/effects/teleport4.tga
666
    polygonOffset
667
    {
668
        map gfx/effects/teleport_o.tga
669
        blendFunc GL_ONE GL_ONE
670
        rgbGen wave sin 0.5 0.5 0.75 1
671
        tcMod scroll 0.5 0.5
672
    }
673
}
674
 
675
powerups/disrupt
676
{
677
    qer_editorimage gfx/effects/teleport4.tga
678
    polygonOffset
679
    {
680
        animMap 4 textures/sfx/disintegration.tga textures/sfx/disintegration2.tga textures/sfx/disintegration3.tga textures/sfx/disintegration4.tga textures/sfx/disintegration5.tga textures/sfx/disintegration6.tga textures/sfx/disintegration7.tga textures/sfx/disintegration8.tga
681
        blendFunc GL_ONE GL_ONE
682
        rgbGen wave sin 0.5 0.5 0.75 0.5
683
        tcMod scroll 0.5 0.5
684
    }
685
}
686
 
687
powerups/disruptor
688
{
689
    qer_editorimage textures/sfx/disintegration.tga
690
    cull back
691
    {
692
        animMap 3.95 textures/sfx/disintegration.tga textures/sfx/disintegration2.tga textures/sfx/disintegration3.tga textures/sfx/disintegration4.tga textures/sfx/disintegration5.tga textures/sfx/disintegration6.tga textures/sfx/disintegration7.tga textures/sfx/disintegration8.tga
693
        blendFunc GL_ONE GL_ONE
694
        rgbGen entity
695
        tcMod scroll 0.5 0.5
696
        tcMod scale 2 2
697
    }
698
}
699
 
700
powerups/quantum_disruptor
701
{
702
    qer_editorimage gfx/misc/photon4.tga
703
    {
704
        animMap 3.95 gfx/misc/photon1.tga gfx/misc/photon2.tga gfx/misc/photon3.tga gfx/misc/photon4.tga gfx/misc/photon5.tga gfx/misc/photon6.tga gfx/misc/photon7.tga gfx/misc/photon8.tga
705
        blendFunc GL_ONE GL_ONE
706
        rgbGen entity
707
        tcMod scroll 0.15 0.15
708
    }
709
}
710
 
711
powerups/quantum_disruptor_hm
712
{
713
    polygonOffset
714
    {
715
        animMap 6 gfx/misc/photon1.tga gfx/misc/photon2.tga gfx/misc/photon3.tga gfx/misc/photon4.tga gfx/misc/photon5.tga gfx/misc/photon6.tga gfx/misc/photon7.tga gfx/misc/photon8.tga
716
        blendFunc GL_ONE GL_ONE
717
        rgbGen wave sin 0.5 0.5 0.77 0.75
718
        tcMod scroll 0.15 0.15
719
    }
720
}
721
 
722
powerups/holoOuch_2
723
{
724
    polygonOffset
725
    {
726
        map gfx/effects/teleport5.tga
727
        blendFunc GL_ONE GL_ONE
728
        rgbGen entity
729
        tcMod scroll 5 5
730
    }
731
}
732
 
733
powerups/placeholder
734
{
735
    surfaceparm trans
736
    {
737
        map gfx/effects/grid.tga
738
        blendFunc GL_ONE GL_ONE
739
        rgbGen wave sin 0.5 0.2 0 0.7
740
        tcMod scale 6 6
741
        tcMod scroll 0.8 1.2
742
    }
743
}
744
 
745
powerups/holodecoy
746
{
747
    polygonOffset
748
    {
749
        map gfx/effects/decoystatic.tga
750
        blendFunc GL_ONE GL_ONE
751
        rgbGen entity
752
        tcMod scroll 7 5
753
    }
754
}
755
 
756
powerups/rezout
757
{
758
    qer_editorimage gfx/effects/grid.tga
759
    surfaceparm trans
760
    {
761
        map gfx/effects/decoystatic.tga
762
        blendFunc GL_ONE GL_ONE
763
        rgbGen wave random 0.1 0.25 0 0.7
764
        tcMod scale 3 3
765
        tcMod scroll 4.3 4.7
766
    }
767
    {
768
        map gfx/effects/grid.tga
769
        blendFunc GL_ONE GL_ONE
770
        rgbGen entity
771
        tcMod scale 8 8
772
        tcMod scroll -0.4 0.7
773
    }
774
}
775
 
776
powerups/explode
777
{
778
    qer_editorimage gfx/effects/teleport4.tga
779
    deformVertexes bulge 0 32 0.5
780
    polygonOffset
781
    {
782
        animMap 16 textures/sfx/explshell1.tga textures/sfx/explshell2.tga textures/sfx/explshell3.tga textures/sfx/explshell4.tga textures/sfx/explshell5.tga textures/sfx/explshell6.tga textures/sfx/explshell7.tga textures/sfx/explshell8.tga
783
        blendFunc GL_ONE GL_ONE
784
        rgbGen wave inversesawtooth 0 1 0 2
785
        tcMod stretch inversesawtooth 0.2 0.2 0 2
786
    }
787
}
788
 
789
powerups/phaser_disruptor
790
{
791
    qer_editorimage powerups/quantum_disruptor.tga
792
    cull back
793
    {
794
        animMap 3.95 gfx/misc/phasereff1.tga gfx/misc/phasereff2.tga gfx/misc/phasereff3.tga gfx/misc/phasereff4.tga gfx/misc/phasereff5.tga gfx/misc/phasereff6.tga gfx/misc/phasereff7.tga gfx/misc/phasereff8.tga
795
        blendFunc GL_ONE GL_ONE
796
        rgbGen entity
797
        tcMod scroll 0.15 0.15
798
    }
799
}
800
 
801
gfx/misc/painblob
802
{
803
    cull disable
804
    {
805
        map gfx/misc/painblob.tga
806
        blendFunc GL_ONE GL_ONE
807
        rgbGen entity
808
    }
809
}
810
 
811
gfx/misc/painshieldblob
812
{
813
    cull disable
814
    {
815
        map gfx/misc/painshieldblob.tga
816
        blendFunc GL_ONE GL_ONE
817
        rgbGen entity
818
    }
819
}
820
 
821
gfx/misc/shieldblob
822
{
823
    cull disable
824
    {
825
        map gfx/misc/shieldblob.tga
826
        blendFunc GL_ONE GL_ONE
827
        rgbGen entity
828
    }
829
}
830
 
831
//===============================================================
832
//navigation aids
833
gfx/misc/nav_arrow
834
{
835
    cull disable
836
    {
837
        map gfx/misc/navarrow.tga
838
        blendFunc GL_SRC_ALPHA GL_ONE
839
        rgbGen identity
840
        alphaGen wave sin 0.5 0.25 0 1
841
        tcMod scroll 0 -2
842
    }
843
}
844
 
845
gfx/misc/nav_node
846
{
847
    cull disable
848
    {
849
        map gfx/misc/navnode.tga
850
        blendFunc GL_SRC_ALPHA GL_ONE
851
        rgbGen exactVertex
852
        alphaGen wave sin 0.5 0.25 0 1
853
    }
854
}
855
 
856
gfx/misc/nav_line
857
{
858
    cull disable
859
    {
860
        map gfx/misc/navline.tga
861
        blendFunc GL_SRC_ALPHA GL_ONE
862
        rgbGen exactVertex
863
        alphaGen wave sin 0.5 0.25 0 1
864
    }
865
}
866
 
867
gfx/misc/nav_cpoint
868
{
869
    cull disable
870
    {
871
        map gfx/misc/cpoint.tga
872
        blendFunc GL_SRC_ALPHA GL_ONE
873
        rgbGen exactVertex
874
        alphaGen wave sin 0.5 0.25 0 1
875
    }
876
}
877
 
878
gfx/misc/blue_portashield
879
{
880
    surfaceparm noimpact
881
    surfaceparm nolightmap
882
    surfaceparm trans
883
    nopicmip
884
    cull disable
885
    {
886
        map gfx/misc/blue_scanlines.tga
887
        blendFunc GL_ONE GL_ONE
888
        rgbGen wave sin 0.3 0.1 0 0.5
889
        tcMod scale 10 10
890
    }
891
    {
892
        map gfx/misc/shieldframe.tga
893
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
894
        rgbGen wave sin 0.2 0.1 0 1
895
    }
896
}
897
 
898
gfx/misc/red_portashield
899
{
900
    surfaceparm noimpact
901
    surfaceparm nolightmap
902
    surfaceparm trans
903
    nopicmip
904
    cull disable
905
    {
906
        map gfx/misc/red_scanlines.tga
907
        blendFunc GL_ONE GL_ONE
908
        rgbGen wave sin 0.3 0.1 0 0.5
909
        tcMod scale 10 10
910
    }
911
    {
912
        map gfx/misc/shieldframe.tga
913
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
914
        rgbGen wave noise 0.2 0.1 0 1
915
    }
916
}
917
 
918
gfx/misc/blue_dmgshield
919
{
920
    qer_editorimage textures/dreadnought/bluestatic.tga
921
    surfaceparm noimpact
922
    surfaceparm nolightmap
923
    surfaceparm trans
924
    nopicmip
925
    cull disable
926
    {
927
        map gfx/misc/blue_scanlines.tga
928
        blendFunc GL_ONE GL_ONE
929
        rgbGen wave sin 0.2 0.1 0 1
930
        tcMod scale 10 10
931
    }
932
    {
933
        map gfx/misc/shieldframe.tga
934
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
935
        tcMod turb 0 0.005 0 10
936
    }
937
    {
938
        map textures/dreadnought/bluestatic.tga
939
        blendFunc GL_ONE GL_ONE
940
        rgbGen wave random 0.5 0.5 0 1
941
        tcMod scale 2.5 2.5
942
        tcMod scroll 2356.2 242.2
943
    }
944
}
945
 
946
gfx/misc/red_dmgshield
947
{
948
    qer_editorimage textures/dreadnought/redstatic.tga
949
    surfaceparm noimpact
950
    surfaceparm nolightmap
951
    surfaceparm trans
952
    nopicmip
953
    cull disable
954
    {
955
        map gfx/misc/red_scanlines.tga
956
        blendFunc GL_ONE GL_ONE
957
        rgbGen wave sin 0.3 0.1 0 0.5
958
        tcMod scale 10 10
959
    }
960
    {
961
        map gfx/misc/shieldframe.tga
962
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
963
        tcMod turb 0 0.005 0 10
964
    }
965
    {
966
        map textures/dreadnought/redstatic.tga
967
        blendFunc GL_ONE GL_ONE
968
        rgbGen wave random 0.5 0.5 0 1
969
        tcMod scale 2.5 2.5
970
        tcMod scroll 1729.3 737.7
971
    }
972
}
973
 
974
//
975
//CTF icons
976
//
977
icons/iconf_red
978
{
979
    nopicmip
980
    {
981
        map icons/iconf_red.tga
982
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
983
    }
984
}
985
 
986
icons/iconf_blu
987
{
988
    nopicmip
989
    {
990
        map icons/iconf_blu.tga
991
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
992
    }
993
}
994
 
995
//
996
//shaders for cg_simpleitems
997
//
998
icons/dm_armor_sm
999
{
1000
    nopicmip
1001
    {
1002
        map icons/dm_armor_sm.tga
1003
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1004
    }
1005
}
1006
 
1007
icons/dm_superarmor_sm
1008
{
1009
    nopicmip
1010
    {
1011
        map icons/dm_superarmor_sm.tga
1012
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1013
    }
1014
}
1015
 
1016
icons/dm_health_sm
1017
{
1018
    nopicmip
1019
    {
1020
        map icons/dm_health_sm.tga
1021
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1022
    }
1023
}
1024
 
1025
icons/dm_health2_sm
1026
{
1027
    nopicmip
1028
    {
1029
        map icons/dm_health2_sm.tga
1030
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1031
    }
1032
}
1033
 
1034
icons/w_icon_grenade
1035
{
1036
    nopicmip
1037
    {
1038
        map icons/w_icon_grenade.tga
1039
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1040
    }
1041
}
1042
 
1043
icons/w_icon_stasis
1044
{
1045
    nopicmip
1046
    {
1047
        map icons/w_icon_stasis.tga
1048
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1049
    }
1050
}
1051
 
1052
icons/w_icon_phaser
1053
{
1054
    nopicmip
1055
    {
1056
        map icons/w_icon_phaser.tga
1057
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1058
    }
1059
}
1060
 
1061
icons/w_icon_dreadnought
1062
{
1063
    nopicmip
1064
    {
1065
        map icons/w_icon_dreadnought.tga
1066
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1067
    }
1068
}
1069
 
1070
icons/w_icon_imod
1071
{
1072
    nopicmip
1073
    {
1074
        map icons/w_icon_imod.tga
1075
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1076
    }
1077
}
1078
 
1079
icons/w_icon_rifle
1080
{
1081
    nopicmip
1082
    {
1083
        map icons/w_icon_rifle.tga
1084
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1085
    }
1086
}
1087
 
1088
icons/w_icon_tetrion
1089
{
1090
    nopicmip
1091
    {
1092
        map icons/w_icon_tetrion.tga
1093
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1094
    }
1095
}
1096
 
1097
icons/w_icon_scav
1098
{
1099
    nopicmip
1100
    {
1101
        map icons/w_icon_scav.tga
1102
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1103
    }
1104
}
1105
 
1106
icons/w_icon_quantum
1107
{
1108
    nopicmip
1109
    {
1110
        map icons/w_icon_quantum.tga
1111
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1112
    }
1113
}
1114
 
1115
icons/dm_glauncher_sm
1116
{
1117
    nopicmip
1118
    {
1119
        map icons/dm_glauncher_sm.tga
1120
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1121
    }
1122
}
1123
 
1124
icons/dm_scav
1125
{
1126
    nopicmip
1127
    {
1128
        map icons/dm_scav.tga
1129
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1130
    }
1131
}
1132
 
1133
icons/dm_torpedo_sm
1134
{
1135
    nopicmip
1136
    {
1137
        map icons/dm_torpedo_sm.tga
1138
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1139
    }
1140
}
1141
 
1142
icons/dm_a_arc_sm
1143
{
1144
    nopicmip
1145
    {
1146
        map icons/dm_a_arc_sm.tga
1147
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1148
    }
1149
}
1150
 
1151
icons/dm_stasis_sm
1152
{
1153
    nopicmip
1154
    {
1155
        map icons/dm_stasis_sm.tga
1156
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1157
    }
1158
}
1159
 
1160
icons/dm_imod
1161
{
1162
    nopicmip
1163
    {
1164
        map icons/dm_imod.tga
1165
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1166
    }
1167
}
1168
 
1169
icons/dm_phaser_sm
1170
{
1171
    nopicmip
1172
    {
1173
        map icons/dm_phaser_sm.tga
1174
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1175
    }
1176
}
1177
 
1178
icons/dm_tetrion_sm
1179
{
1180
    nopicmip
1181
    {
1182
        map icons/dm_tetrion_sm.tga
1183
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1184
    }
1185
}
1186
 
1187
icons/dm_transport_sm
1188
{
1189
    nopicmip
1190
    {
1191
        map icons/dm_transport_sm.tga
1192
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1193
    }
1194
}
1195
 
1196
icons/dm_health3_sm
1197
{
1198
    nopicmip
1199
    {
1200
        map icons/dm_health3_sm.tga
1201
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1202
    }
1203
}
1204
 
1205
icons/dm_quad
1206
{
1207
    nopicmip
1208
    {
1209
        map icons/dm_quad.tga
1210
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1211
    }
1212
}
1213
 
1214
icons/envirosuit
1215
{
1216
    nopicmip
1217
    {
1218
        map icons/envirosuit.tga
1219
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1220
    }
1221
}
1222
 
1223
icons/dm_haste
1224
{
1225
    nopicmip
1226
    {
1227
        map icons/dm_haste.tga
1228
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1229
    }
1230
}
1231
 
1232
icons/dm_invisibility
1233
{
1234
    nopicmip
1235
    {
1236
        map icons/dm_invisibility.tga
1237
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1238
    }
1239
}
1240
 
1241
icons/regen
1242
{
1243
    nopicmip
1244
    {
1245
        map icons/regen.tga
1246
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1247
    }
1248
}
1249
 
1250
icons/dm_flight
1251
{
1252
    nopicmip
1253
    {
1254
        map icons/dm_flight.tga
1255
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1256
    }
1257
}
1258
 
1259
icons/icon_seeker
1260
{
1261
    nopicmip
1262
    {
1263
        map icons/icon_seeker.tga
1264
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1265
    }
1266
}
1267
 
1268
icons/icon_detpack
1269
{
1270
    nopicmip
1271
    {
1272
        map icons/icon_detpack.tga
1273
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1274
    }
1275
}
1276
 
1277
icons/icon_shield
1278
{
1279
    nopicmip
1280
    {
1281
        map icons/icon_shield.tga
1282
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1283
    }
1284
}
1285
 
1286
icons/icon_decoy
1287
{
1288
    nopicmip
1289
    {
1290
        map icons/icon_decoy.tga
1291
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1292
    }
1293
}
1294
 
1295
icons/icon_shards
1296
{
1297
    nopicmip
1298
    {
1299
        map icons/icon_shards.tga
1300
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1301
    }
1302
}
1303
 
1304
icons/icon_detpack_use
1305
{
1306
    nopicmip
1307
    {
1308
        map icons/icon_detpack.tga
1309
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1310
    }
1311
    {
1312
        map icons/icon_detpack_glow.tga
1313
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
1314
        rgbGen wave sin 1.3 1 0 2
1315
    }
1316
}
1317
 
1318
icons/icon_rift
1319
{
1320
    nopicmip
1321
    {
1322
        map icons/icon_rift.tga
1323
        blendFunc GL_ONE GL_ONE
1324
        rgbGen wave sin 1 0.7 0 1
1325
    }
1326
    {
1327
        map icons/icon_rift2.tga
1328
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
1329
        rgbGen wave sin 1 0.7 0.5 1
1330
    }
1331
}
1332
 
1333
icons/icon_ready_off
1334
{
1335
    {
1336
        map icons/icon_ready_off.tga
1337
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1338
    }
1339
}
1340
 
1341
icons/icon_ready_on
1342
{
1343
    {
1344
        map icons/icon_ready_on.tga
1345
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1346
    }
1347
}
1348
 
1349
//==========================================================================
1350
sprites/chat
1351
{
1352
    {
1353
        map sprites/balloon4.tga
1354
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1355
    }
1356
}
1357
 
1358
gfx/damage/hole_lg_mrk
1359
{
1360
    polygonOffset
1361
    {
1362
        map gfx/damage/hole_lg_mrk.tga
1363
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1364
        rgbGen exactVertex
1365
    }
1366
}
1367
 
1368
gfx/damage/plasma_mrk
1369
{
1370
    polygonOffset
1371
    {
1372
        map gfx/damage/plasma_mrk.tga
1373
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1374
        rgbGen vertex
1375
        alphaGen vertex
1376
    }
1377
}
1378
 
1379
gfx/damage/burnmark3
1380
{
1381
    polygonOffset
1382
    {
1383
        map gfx/damage/burnmark8.tga
1384
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1385
        rgbGen exactVertex
1386
    }
1387
}
1388
 
1389
gfx/damage/burnmark1
1390
{
1391
    polygonOffset
1392
    {
1393
        map gfx/damage/burnmark5.tga
1394
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1395
        rgbGen exactVertex
1396
    }
1397
}
1398
 
1399
gfx/damage/burnmark2
1400
{
1401
    polygonOffset
1402
    {
1403
        map gfx/damage/burnmark4.tga
1404
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1405
        rgbGen exactVertex
1406
    }
1407
}
1408
 
1409
gfx/damage/burnmark4
1410
{
1411
    polygonOffset
1412
    {
1413
        map gfx/damage/burnmark3.tga
1414
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1415
        rgbGen exactVertex
1416
    }
1417
}
1418
 
1419
gfx/damage/rivetmark
1420
{
1421
    surfaceparm nomarks
1422
    surfaceparm nolightmap
1423
    surfaceparm trans
1424
    polygonOffset
1425
    {
1426
        map gfx/damage/rivetmark.tga
1427
        alphaFunc GT0
1428
        blendFunc GL_DST_COLOR GL_SRC_COLOR
1429
        rgbGen identity
1430
    }
1431
}
1432
 
1433
models/players2/tolek/clear
1434
{
1435
    {
1436
        map models/players2/tolek/clear.tga
1437
        blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
1438
    }
1439
}
1440