Subversion-Projekte sthq.argas

Revision

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

Revision Autor Zeilennr. Zeile
1 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
    {
21 lars 116
        map gfx/effects/newtosteleport2.tga
117
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1 lars 118
        rgbGen wave sin 0.6 0.4 0 3
119
        tcMod scroll 0.01 0.2
120
    }
121
    {
21 lars 122
        map gfx/effects/newtosteleport3.tga
123
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1 lars 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
    {
21 lars 507
        map gfx/effects/newtosteleport2.tga
508
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1 lars 509
        rgbGen wave sin 0.6 0.4 0 3
510
        tcMod scroll 0.01 0.2
511
    }
512
    {
21 lars 513
        map gfx/effects/newtosteleport3.tga
514
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
515
        rgbGen wave sin 0.6 0.3 0.75 2
1 lars 516
        tcMod scroll -0.01 0.4
517
    }
518
}
519
 
520
powerups/holoOuch
521
{
522
    polygonOffset
523
    {
524
        map gfx/effects/teleport10.tga
525
        blendFunc GL_ONE GL_ONE
526
        rgbGen entity
527
        tcMod scroll 5 5
528
    }
529
}
530
 
531
powerups/holoOuchScreen
532
{
533
    cull disable
534
    {
535
        map gfx/effects/teleport11.tga
536
        blendFunc GL_ONE GL_ONE
537
        rgbGen vertex
538
        tcMod scroll 5.7 5.7
539
        tcMod scale 1.3 1.3
540
    }
541
}
542
 
543
powerups/holoOuchBlob
544
{
545
    cull disable
546
    {
547
        //tcMod rotate 1241
548
        map gfx/effects/painscreen.tga
549
        blendFunc GL_ONE GL_ONE
550
        rgbGen entity
551
    }
552
}
553
 
554
powerups/halfShield
555
{
556
    nomipmaps
557
    deformVertexes bulge 1 5 0
558
    polygonOffset
559
    {
560
        map gfx/effects/shield2g.tga
561
        blendFunc GL_ONE GL_ONE
562
        rgbGen entity
563
        tcMod scale 0.5 0.5
564
        tcMod scroll 0.15 0.1
565
    }
566
    {
567
        map gfx/effects/shield3g.tga
568
        blendFunc GL_ONE GL_ONE
569
        rgbGen entity
570
        tcMod scroll -0.1 0.3
571
    }
572
}
573
 
574
powerups/halfShieldWpn
575
{
576
    nomipmaps
577
    polygonOffset
578
    {
579
        map gfx/effects/shield2g.tga
580
        blendFunc GL_ONE GL_ONE
581
        rgbGen entity
582
        tcMod scale 0.5 0.5
583
        tcMod scroll 0.15 0.1
584
    }
585
    {
586
        map gfx/effects/shield3g.tga
587
        blendFunc GL_ONE GL_ONE
588
        rgbGen entity
589
        tcMod scroll -0.1 0.3
590
    }
591
}
592
 
593
powerups/halfShieldScreen
594
{
595
    cull disable
596
    {
597
        map gfx/effects/shield6g.tga
598
        blendFunc GL_ONE GL_ONE
599
        rgbGen vertex
600
        tcMod scroll 0.3 0.2
601
    }
602
    {
603
        map gfx/effects/teleport6.tga
604
        blendFunc GL_ONE GL_ONE
605
        rgbGen vertex
606
        tcMod scroll 5.7 5.7
607
        tcMod scale 1.3 1.3
608
    }
609
}
610
 
611
powerups/fullShield
612
{
613
    nomipmaps
614
    deformVertexes bulge 1 5 0
615
    polygonOffset
616
    {
617
        map gfx/effects/shield4g.tga
618
        blendFunc GL_ONE GL_ONE
619
        rgbGen entity
620
        tcMod scroll 0.2 0.1
621
    }
622
    {
623
        map gfx/effects/shield5g.tga
624
        blendFunc GL_ONE GL_ONE
625
        rgbGen entity
626
        tcMod scroll -0.2 0.3
627
    }
628
}
629
 
630
powerups/fullShieldWpn
631
{
632
    nomipmaps
633
    polygonOffset
634
    {
635
        map gfx/effects/shield4g.tga
636
        blendFunc GL_ONE GL_ONE
637
        rgbGen entity
638
        tcMod scroll 0.2 0.1
639
    }
640
    {
641
        map gfx/effects/shield5g.tga
642
        blendFunc GL_ONE GL_ONE
643
        rgbGen entity
644
        tcMod scroll -0.2 0.3
645
    }
646
}
647
 
648
powerups/fullShieldScreen
649
{
650
    cull disable
651
    {
652
        map gfx/effects/shield6g.tga
653
        blendFunc GL_ONE GL_ONE
654
        rgbGen vertex
655
        tcMod scroll 0.3 0.2
656
    }
657
    {
658
        map gfx/effects/shield7g.tga
659
        blendFunc GL_ONE GL_ONE
660
        rgbGen vertex
661
        tcMod scroll -0.1 0.3
662
    }
663
}
664
 
665
powerups/regen
666
{
667
    deformVertexes wave 100 sin 3 0 0 0
668
    {
669
        //tcMod turb 0 0.2 0 .2
670
        map textures/effects/regenmap.tga
671
        blendFunc GL_ONE GL_ONE
672
        tcGen environment
673
        tcMod rotate 30
674
        tcMod scroll 1 0.1
675
    }
676
}
677
 
678
powerups/scavBeamEffect
679
{
680
    qer_editorimage gfx/effects/teleport4.tga
681
    polygonOffset
682
    {
683
        map gfx/effects/teleport_o.tga
684
        blendFunc GL_ONE GL_ONE
685
        rgbGen wave sin 0.5 0.5 0.75 1
686
        tcMod scroll 0.5 0.5
687
    }
688
}
689
 
690
powerups/disrupt
691
{
692
    qer_editorimage gfx/effects/teleport4.tga
693
    polygonOffset
694
    {
695
        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
696
        blendFunc GL_ONE GL_ONE
697
        rgbGen wave sin 0.5 0.5 0.75 0.5
698
        tcMod scroll 0.5 0.5
699
    }
700
}
701
 
702
powerups/disruptor
703
{
704
    qer_editorimage textures/sfx/disintegration.tga
705
    cull back
706
    {
707
        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
708
        blendFunc GL_ONE GL_ONE
709
        rgbGen entity
710
        tcMod scroll 0.5 0.5
711
        tcMod scale 2 2
712
    }
713
}
714
 
715
powerups/quantum_disruptor
716
{
717
    qer_editorimage gfx/misc/photon4.tga
718
    {
719
        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
720
        blendFunc GL_ONE GL_ONE
721
        rgbGen entity
722
        tcMod scroll 0.15 0.15
723
    }
724
}
725
 
726
powerups/quantum_disruptor_hm
727
{
728
    polygonOffset
729
    {
730
        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
731
        blendFunc GL_ONE GL_ONE
732
        rgbGen wave sin 0.5 0.5 0.77 0.75
733
        tcMod scroll 0.15 0.15
734
    }
735
}
736
 
737
powerups/holoOuch_2
738
{
739
    polygonOffset
740
    {
741
        map gfx/effects/teleport5.tga
742
        blendFunc GL_ONE GL_ONE
743
        rgbGen entity
744
        tcMod scroll 5 5
745
    }
746
}
747
 
748
powerups/placeholder
749
{
750
    surfaceparm trans
751
    {
752
        map gfx/effects/grid.tga
753
        blendFunc GL_ONE GL_ONE
754
        rgbGen wave sin 0.5 0.2 0 0.7
755
        tcMod scale 6 6
756
        tcMod scroll 0.8 1.2
757
    }
758
}
759
 
760
powerups/holodecoy
761
{
762
    polygonOffset
763
    {
764
        map gfx/effects/decoystatic.tga
765
        blendFunc GL_ONE GL_ONE
766
        rgbGen entity
767
        tcMod scroll 7 5
768
    }
769
}
770
 
771
powerups/rezout
772
{
773
    qer_editorimage gfx/effects/grid.tga
774
    surfaceparm trans
775
    {
776
        map gfx/effects/decoystatic.tga
777
        blendFunc GL_ONE GL_ONE
778
        rgbGen wave random 0.1 0.25 0 0.7
779
        tcMod scale 3 3
780
        tcMod scroll 4.3 4.7
781
    }
782
    {
783
        map gfx/effects/grid.tga
784
        blendFunc GL_ONE GL_ONE
785
        rgbGen entity
786
        tcMod scale 8 8
787
        tcMod scroll -0.4 0.7
788
    }
789
}
790
 
791
powerups/explode
792
{
793
    qer_editorimage gfx/effects/teleport4.tga
794
    deformVertexes bulge 0 32 0.5
795
    polygonOffset
796
    {
797
        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
798
        blendFunc GL_ONE GL_ONE
799
        rgbGen wave inversesawtooth 0 1 0 2
800
        tcMod stretch inversesawtooth 0.2 0.2 0 2
801
    }
802
}
803
 
804
powerups/phaser_disruptor
805
{
806
    qer_editorimage powerups/quantum_disruptor.tga
807
    cull back
808
    {
809
        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
810
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
811
        //rgbGen entity
812
        //tcMod scroll 0.075 0.075
813
        rgbGen wave inversesawtooth 0 1 0 0.5
814
        tcMod stretch inversesawtooth 0.4 0.4 0 2
815
    }
816
}
817
 
818
gfx/misc/painblob
819
{
820
    cull disable
821
    {
822
        map gfx/misc/painblob.tga
823
        blendFunc GL_ONE GL_ONE
824
        rgbGen entity
825
    }
826
}
827
 
828
gfx/misc/painshieldblob
829
{
830
    cull disable
831
    {
832
        map gfx/misc/painshieldblob.tga
833
        blendFunc GL_ONE GL_ONE
834
        rgbGen entity
835
    }
836
}
837
 
838
gfx/misc/shieldblob
839
{
840
    cull disable
841
    {
842
        map gfx/misc/shieldblob.tga
843
        blendFunc GL_ONE GL_ONE
844
        rgbGen entity
845
    }
846
}
847
 
848
//===============================================================
849
//navigation aids
850
gfx/misc/nav_arrow
851
{
852
    cull disable
853
    {
854
        map gfx/misc/navarrow.tga
855
        blendFunc GL_SRC_ALPHA GL_ONE
856
        rgbGen identity
857
        alphaGen wave sin 0.5 0.25 0 1
858
        tcMod scroll 0 -2
859
    }
860
}
861
 
862
gfx/misc/nav_node
863
{
864
    cull disable
865
    {
866
        map gfx/misc/navnode.tga
867
        blendFunc GL_SRC_ALPHA GL_ONE
868
        rgbGen exactVertex
869
        alphaGen wave sin 0.5 0.25 0 1
870
    }
871
}
872
 
873
gfx/misc/nav_line
874
{
875
    cull disable
876
    {
877
        map gfx/misc/navline.tga
878
        blendFunc GL_SRC_ALPHA GL_ONE
879
        rgbGen exactVertex
880
        alphaGen wave sin 0.5 0.25 0 1
881
    }
882
}
883
 
884
gfx/misc/nav_cpoint
885
{
886
    cull disable
887
    {
888
        map gfx/misc/cpoint.tga
889
        blendFunc GL_SRC_ALPHA GL_ONE
890
        rgbGen exactVertex
891
        alphaGen wave sin 0.5 0.25 0 1
892
    }
893
}
894
 
895
gfx/misc/blue_portashield
896
{
897
    surfaceparm noimpact
898
    surfaceparm nolightmap
899
    surfaceparm trans
900
    nopicmip
901
    cull disable
902
    {
903
        map gfx/misc/blue_scanlines.tga
904
        blendFunc GL_ONE GL_ONE
905
        rgbGen wave sin 0.3 0.1 0 0.5
906
        tcMod scale 10 10
907
    }
908
    {
909
        map gfx/misc/shieldframe.tga
910
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
911
        rgbGen wave sin 0.2 0.1 0 1
912
    }
913
}
914
 
915
gfx/misc/red_portashield
916
{
917
    surfaceparm noimpact
918
    surfaceparm nolightmap
919
    surfaceparm trans
920
    nopicmip
921
    cull disable
922
    {
923
        map gfx/misc/red_scanlines.tga
924
        blendFunc GL_ONE GL_ONE
925
        rgbGen wave sin 0.3 0.1 0 0.5
926
        tcMod scale 10 10
927
    }
928
    {
929
        map gfx/misc/shieldframe.tga
930
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
931
        rgbGen wave noise 0.2 0.1 0 1
932
    }
933
}
934
 
935
gfx/misc/blue_dmgshield
936
{
937
    qer_editorimage textures/dreadnought/bluestatic.tga
938
    surfaceparm noimpact
939
    surfaceparm nolightmap
940
    surfaceparm trans
941
    nopicmip
942
    cull disable
943
    {
944
        map gfx/misc/blue_scanlines.tga
945
        blendFunc GL_ONE GL_ONE
946
        rgbGen wave sin 0.2 0.1 0 1
947
        tcMod scale 10 10
948
    }
949
    {
950
        map gfx/misc/shieldframe.tga
951
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
952
        tcMod turb 0 0.005 0 10
953
    }
954
    {
955
        map textures/dreadnought/bluestatic.tga
956
        blendFunc GL_ONE GL_ONE
957
        rgbGen wave random 0.5 0.5 0 1
958
        tcMod scale 2.5 2.5
959
        tcMod scroll 2356.2 242.2
960
    }
961
}
962
 
963
gfx/misc/red_dmgshield
964
{
965
    qer_editorimage textures/dreadnought/redstatic.tga
966
    surfaceparm noimpact
967
    surfaceparm nolightmap
968
    surfaceparm trans
969
    nopicmip
970
    cull disable
971
    {
972
        map gfx/misc/red_scanlines.tga
973
        blendFunc GL_ONE GL_ONE
974
        rgbGen wave sin 0.3 0.1 0 0.5
975
        tcMod scale 10 10
976
    }
977
    {
978
        map gfx/misc/shieldframe.tga
979
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
980
        tcMod turb 0 0.005 0 10
981
    }
982
    {
983
        map textures/dreadnought/redstatic.tga
984
        blendFunc GL_ONE GL_ONE
985
        rgbGen wave random 0.5 0.5 0 1
986
        tcMod scale 2.5 2.5
987
        tcMod scroll 1729.3 737.7
988
    }
989
}
990
 
991
//
992
//CTF icons
993
//
994
icons/iconf_red
995
{
996
    nopicmip
997
    {
998
        map icons/iconf_red.tga
999
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1000
    }
1001
}
1002
 
1003
icons/iconf_blu
1004
{
1005
    nopicmip
1006
    {
1007
        map icons/iconf_blu.tga
1008
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1009
    }
1010
}
1011
 
1012
//
1013
//shaders for cg_simpleitems
1014
//
1015
icons/dm_armor_sm
1016
{
1017
    nopicmip
1018
    {
1019
        map icons/dm_armor_sm.tga
1020
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1021
    }
1022
}
1023
 
1024
icons/dm_superarmor_sm
1025
{
1026
    nopicmip
1027
    {
1028
        map icons/dm_superarmor_sm.tga
1029
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1030
    }
1031
}
1032
 
1033
icons/dm_health_sm
1034
{
1035
    nopicmip
1036
    {
1037
        map icons/dm_health_sm.tga
1038
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1039
    }
1040
}
1041
 
1042
icons/dm_health2_sm
1043
{
1044
    nopicmip
1045
    {
1046
        map icons/dm_health2_sm.tga
1047
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1048
    }
1049
}
1050
 
1051
icons/w_icon_grenade
1052
{
1053
    nopicmip
1054
    {
1055
        map icons/w_icon_grenade.tga
1056
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1057
    }
1058
}
1059
 
1060
icons/w_icon_stasis
1061
{
1062
    nopicmip
1063
    {
1064
        map icons/w_icon_stasis.tga
1065
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1066
    }
1067
}
1068
 
1069
icons/w_icon_phaser
1070
{
1071
    nopicmip
1072
    {
1073
        map icons/w_icon_phaser.tga
1074
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1075
    }
1076
}
1077
 
1078
icons/w_icon_dreadnought
1079
{
1080
    nopicmip
1081
    {
1082
        map icons/w_icon_dreadnought.tga
1083
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1084
    }
1085
}
1086
 
1087
icons/w_icon_imod
1088
{
1089
    nopicmip
1090
    {
1091
        map icons/w_icon_imod.tga
1092
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1093
    }
1094
}
1095
 
1096
icons/w_icon_rifle
1097
{
1098
    nopicmip
1099
    {
1100
        map icons/w_icon_rifle.tga
1101
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1102
    }
1103
}
1104
 
1105
icons/w_icon_tetrion
1106
{
1107
    nopicmip
1108
    {
1109
        map icons/w_icon_tetrion.tga
1110
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1111
    }
1112
}
1113
 
1114
icons/w_icon_scav
1115
{
1116
    nopicmip
1117
    {
1118
        map icons/w_icon_scav.tga
1119
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1120
    }
1121
}
1122
 
1123
icons/w_icon_quantum
1124
{
1125
    nopicmip
1126
    {
1127
        map icons/w_icon_quantum.tga
1128
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1129
    }
1130
}
1131
 
1132
icons/dm_glauncher_sm
1133
{
1134
    nopicmip
1135
    {
1136
        map icons/dm_glauncher_sm.tga
1137
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1138
    }
1139
}
1140
 
1141
icons/dm_scav
1142
{
1143
    nopicmip
1144
    {
1145
        map icons/dm_scav.tga
1146
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1147
    }
1148
}
1149
 
1150
icons/dm_torpedo_sm
1151
{
1152
    nopicmip
1153
    {
1154
        map icons/dm_torpedo_sm.tga
1155
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1156
    }
1157
}
1158
 
1159
icons/dm_a_arc_sm
1160
{
1161
    nopicmip
1162
    {
1163
        map icons/dm_a_arc_sm.tga
1164
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1165
    }
1166
}
1167
 
1168
icons/dm_stasis_sm
1169
{
1170
    nopicmip
1171
    {
1172
        map icons/dm_stasis_sm.tga
1173
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1174
    }
1175
}
1176
 
1177
icons/dm_imod
1178
{
1179
    nopicmip
1180
    {
1181
        map icons/dm_imod.tga
1182
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1183
    }
1184
}
1185
 
1186
icons/dm_phaser_sm
1187
{
1188
    nopicmip
1189
    {
1190
        map icons/dm_phaser_sm.tga
1191
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1192
    }
1193
}
1194
 
1195
icons/dm_tetrion_sm
1196
{
1197
    nopicmip
1198
    {
1199
        map icons/dm_tetrion_sm.tga
1200
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1201
    }
1202
}
1203
 
1204
icons/dm_transport_sm
1205
{
1206
    nopicmip
1207
    {
1208
        map icons/dm_transport_sm.tga
1209
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1210
    }
1211
}
1212
 
1213
icons/dm_health3_sm
1214
{
1215
    nopicmip
1216
    {
1217
        map icons/dm_health3_sm.tga
1218
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1219
    }
1220
}
1221
 
1222
icons/dm_quad
1223
{
1224
    nopicmip
1225
    {
1226
        map icons/dm_quad.tga
1227
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1228
    }
1229
}
1230
 
1231
icons/envirosuit
1232
{
1233
    nopicmip
1234
    {
1235
        map icons/envirosuit.tga
1236
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1237
    }
1238
}
1239
 
1240
icons/dm_haste
1241
{
1242
    nopicmip
1243
    {
1244
        map icons/dm_haste.tga
1245
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1246
    }
1247
}
1248
 
1249
icons/dm_invisibility
1250
{
1251
    nopicmip
1252
    {
1253
        map icons/dm_invisibility.tga
1254
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1255
    }
1256
}
1257
 
1258
icons/regen
1259
{
1260
    nopicmip
1261
    {
1262
        map icons/regen.tga
1263
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1264
    }
1265
}
1266
 
1267
icons/dm_flight
1268
{
1269
    nopicmip
1270
    {
1271
        map icons/dm_flight.tga
1272
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1273
    }
1274
}
1275
 
1276
icons/icon_seeker
1277
{
1278
    nopicmip
1279
    {
1280
        map icons/icon_seeker.tga
1281
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1282
    }
1283
}
1284
 
1285
icons/icon_detpack
1286
{
1287
    nopicmip
1288
    {
1289
        map icons/icon_detpack.tga
1290
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1291
    }
1292
}
1293
 
1294
icons/icon_shield
1295
{
1296
    nopicmip
1297
    {
1298
        map icons/icon_shield.tga
1299
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1300
    }
1301
}
1302
 
1303
icons/icon_decoy
1304
{
1305
    nopicmip
1306
    {
1307
        map icons/icon_decoy.tga
1308
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1309
    }
1310
}
1311
 
1312
icons/icon_shards
1313
{
1314
    nopicmip
1315
    {
1316
        map icons/icon_shards.tga
1317
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1318
    }
1319
}
1320
 
1321
icons/icon_detpack_use
1322
{
1323
    nopicmip
1324
    {
1325
        map icons/icon_detpack.tga
1326
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1327
    }
1328
    {
1329
        map icons/icon_detpack_glow.tga
1330
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
1331
        rgbGen wave sin 1.3 1 0 2
1332
    }
1333
}
1334
 
1335
icons/icon_rift
1336
{
1337
    nopicmip
1338
    {
1339
        map icons/icon_rift.tga
1340
        blendFunc GL_ONE GL_ONE
1341
        rgbGen wave sin 1 0.7 0 1
1342
    }
1343
    {
1344
        map icons/icon_rift2.tga
1345
        blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
1346
        rgbGen wave sin 1 0.7 0.5 1
1347
    }
1348
}
1349
 
1350
icons/icon_ready_off
1351
{
1352
    {
1353
        map icons/icon_ready_off.tga
1354
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1355
    }
1356
}
1357
 
1358
icons/icon_ready_on
1359
{
1360
    {
1361
        map icons/icon_ready_on.tga
1362
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1363
    }
1364
}
1365
 
1366
//==========================================================================
1367
sprites/chat
1368
{
1369
    {
1370
        map sprites/balloon4.tga
1371
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1372
    }
1373
}
1374
 
1375
gfx/damage/hole_lg_mrk
1376
{
1377
    polygonOffset
1378
    {
1379
        map gfx/damage/hole_lg_mrk.tga
1380
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1381
        rgbGen exactVertex
1382
    }
1383
}
1384
 
1385
gfx/damage/plasma_mrk
1386
{
1387
    polygonOffset
1388
    {
1389
        map gfx/damage/plasma_mrk.tga
1390
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1391
        rgbGen vertex
1392
        alphaGen vertex
1393
    }
1394
}
1395
 
1396
gfx/damage/burnmark3
1397
{
1398
    polygonOffset
1399
    {
1400
        map gfx/damage/burnmark8.tga
1401
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1402
        rgbGen exactVertex
1403
    }
1404
}
1405
 
1406
gfx/damage/burnmark1
1407
{
1408
    polygonOffset
1409
    {
1410
        map gfx/damage/burnmark5.tga
1411
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1412
        rgbGen exactVertex
1413
    }
1414
}
1415
 
1416
gfx/damage/burnmark2
1417
{
1418
    polygonOffset
1419
    {
1420
        map gfx/damage/burnmark4.tga
1421
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1422
        rgbGen exactVertex
1423
    }
1424
}
1425
 
1426
gfx/damage/burnmark4
1427
{
1428
    polygonOffset
1429
    {
1430
        map gfx/damage/burnmark3.tga
1431
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
1432
        rgbGen exactVertex
1433
    }
1434
}
1435
 
1436
gfx/damage/rivetmark
1437
{
1438
    surfaceparm nomarks
1439
    surfaceparm nolightmap
1440
    surfaceparm trans
1441
    polygonOffset
1442
    {
1443
        map gfx/damage/rivetmark.tga
1444
        alphaFunc GT0
1445
        blendFunc GL_DST_COLOR GL_SRC_COLOR
1446
        rgbGen identity
1447
    }
1448
}
1449
 
1450
models/players2/tolek/clear
1451
{
1452
    {
1453
        map models/players2/tolek/clear.tga
1454
        blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
1455
    }
1456
}
1457