Debian Codegraph @

pak6-patch088/scripts/weapon_machinegun.shader

raw
1 machinegunFlash3
2 {
3 cull disable
4 {
5 clampmap models/weapons2/machinegun/f_machinegun.tga
6 blendfunc add
7 rgbGen identity
8 tcMod stretch sin 0.6 0.4 0 1
9 tcMod rotate 256
10 }
11 {
12 clampmap models/weapons2/machinegun/f_machinegun.tga
13 blendfunc add
14 rgbGen identity
15 tcMod stretch sin -0.6 0.4 0 1
16 tcMod rotate -256
17 }
18 }
19
20 models/weapons2/machinegun/f_machinegun2
21 {
22 cull disable
23 {
24 clampmap models/weapons2/machinegun/f_machinegun2.tga
25 blendfunc add
26 rgbGen identity
27 tcMod rotate 5288
28 }
29 }
30
31 models/weapons2/machinegun/f_machinegun3
32 {
33 deformVertexes autosprite
34 {
35 clampmap models/weapons2/machinegun/f_machinegun3.tga
36 blendfunc add
37 rgbGen identity
38 tcMod rotate 8288
39 }
40 }
41
42 models/weapons2/machinegun/muzzlside
43 {
44 cull disable
45 {
46 map models/weapons2/machinegun/muzzlside.tga
47 blendfunc add
48 }
49 }
50
51 models/weapons2/shells/mgunshell
52 {
53 cull disable
54 {
55 map models/weapons2/shells/mgunshell.tga
56 rgbGen lightingDiffuse
57 }
58 {
59 map gfx/fx/spec/specenv.tga
60 blendfunc gl_dst_color gl_dst_alpha
61 rgbGen lightingDiffuse
62 tcGen environment
63 alphaGen lightingSpecular
64 detail
65 }
66 }
67
68 models/weapons2/shells/mgunshell_2
69 {
70 deformVertexes autosprite
71 {
72 clampmap models/weapons2/shells/mgunshell_2.tga
73 blendfunc blend
74 rgbGen lightingDiffuse
75 tcMod scale 1.4 1.4
76 }
77 }
78
79 shellCase
80 {
81 cull disable
82 {
83 map models/weapons2/shells/sgunshell.tga
84 rgbGen lightingDiffuse
85 }
86 {
87 map gfx/fx/spec/specenv.tga
88 blendfunc gl_dst_color gl_dst_alpha
89 rgbGen lightingDiffuse
90 tcGen environment
91 alphaGen lightingSpecular
92 detail
93 }
94 }
95
96 models/weapons2/machinegun/muzzlecenter
97 {
98 deformVertexes autosprite
99 {
100 map models/weapons2/machinegun/f_machinegun.tga
101 blendfunc add
102 tcMod rotate 1246
103 }
104 {
105 map models/weapons2/machinegun/f_machinegun.tga
106 blendfunc add
107 tcMod rotate -1246
108 }
109 }
110
111 models/weapons2/machinegun/flare
112 {
113 deformVertexes autosprite
114 {
115 map models/weapons2/machinegun/flare.tga
116 blendfunc add
117 }
118 }
119
120 models/weapons2/machinegun/skin
121 {
122 {
123 map models/weapons2/machinegun/mgun.tga
124 rgbGen lightingDiffuse
125 }
126 {
127 map gfx/fx/detail/d_met.tga
128 blendfunc gl_dst_color gl_src_color
129 tcMod scale 8 8
130 detail
131 }
132 {
133 map gfx/fx/spec/gunmetal.tga
134 blendfunc gl_dst_color gl_dst_alpha
135 rgbGen lightingDiffuse
136 tcGen environment
137 alphaGen lightingSpecular
138 detail
139 }
140 {
141 map models/weapons2/machinegun/mgun.tga
142 blendfunc gl_dst_color gl_dst_alpha
143 rgbGen lightingDiffuse
144 alphaGen lightingSpecular
145 detail
146 }
147 }
148
149 models/weapons2/machinegun/sight
150 {
151 cull disable
152 {
153 map models/weapons2/machinegun/sight.tga
154 rgbGen lightingDiffuse
155 alphaFunc GE128
156 }
157 }
158