Subversion-Projekte sthq.argas

Revision

Revision 16 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

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