]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - scripts/turrets.shader
Fix (this.shootfromfixedorigin != autocvar_g_shootfromfixedorigin) check not working...
[xonotic/xonotic-data.pk3dir.git] / scripts / turrets.shader
1 evil_basewall/mtl_gray
2 {
3         {
4                 map textures/exx/base/base_metal01
5                 rgbgen lightingDiffuse
6         }
7 }
8
9 models/turrets/tesla_chrome
10 {
11         qer_editorimage models/turrets/chrome.tga
12
13         //dp_reflect 0 0.75 0.75 1 0.5
14         {
15                 map models/turrets/chrome.tga
16                 rgbGen vertex
17                 tcGen environment
18                 tcMod scale 2 2
19         }
20 }
21
22 models/turrets/phaser_beam
23 {
24         surfaceparm trans
25         cull none
26         nopicmip
27
28         qer_editorimage models/turrets/phaser_beam
29         {
30                 map models/turrets/phaser_beam
31                 blendFunc GL_SRC_ALPHA GL_ONE
32         }
33 }
34
35 models/turrets/reactor_beams
36 {
37         surfaceparm trans
38         cull none
39
40         qer_editorimage models/turrets/reactor
41         {
42                 map models/turrets/reactor
43                 blendFunc add
44         }
45 }
46
47 models/turrets/r_fx1
48 {
49         surfaceparm nomarks
50         surfaceparm trans
51         surfaceparm pointlight
52         surfaceparm nolightmap
53         nopicmip
54         qer_editorimage models/turrets/r_fx1_1
55
56         {
57                 animmap 10 models/turrets/r_fx1_3 models/turrets/r_fx1_4 models/turrets/r_fx1_5 models/turrets/r_fx1_4 models/turrets/r_fx1_3 models/turrets/r_fx1_2 models/turrets/r_fx1_1 models/turrets/r_fx1_2
58         }
59 }