Debian Codegraph @

pak6-patch088/scripts/weaponhits.shader

raw
1 railDic
2 {
3 cull disable
4 deformVertexes autosprite
5 {
6 clampmap textures/oafx/plastrail.tga
7 blendfunc gl_one gl_src_alpha
8 rgbGen wave inversesawtooth 0 1 0 1.3
9 tcMod rotate -460
10 }
11 {
12 clampmap textures/oafx/plastrail.tga
13 blendfunc gl_one gl_src_alpha
14 rgbGen wave inversesawtooth 0 1 0 1.3
15 tcMod rotate 754
16 }
17 }
18
19 oldbulletExplosion
20 {
21 cull disable
22 {
23 map models/weaphits/bulletscroll.tga
24 blendfunc add
25 tcMod scroll -1.4 0
26 }
27 }
28
29 bitoutofdatebulletExplosion
30 {
31 cull disable
32 {
33 map models/weaphits/bulletscroll2.tga
34 blendfunc gl_one gl_src_alpha
35 rgbGen wave inversesawtooth 0 1 0 2.8
36 tcMod scroll -1.5 0
37 }
38 {
39 map models/weaphits/bulletscroll2.tga
40 blendfunc gl_one gl_src_alpha
41 rgbGen wave inversesawtooth 0 1 0 2.8
42 tcMod scroll -1.5 0
43 }
44 }
45
46 bulletExplosion
47 {
48 cull disable
49 {
50 animmap 12 models/weaphits/bullet_0000.tga models/weaphits/bullet_0001.tga models/weaphits/bullet_0002.tga models/weaphits/bullet_0003.tga models/weaphits/bullet_0004.tga models/weaphits/bullet_0005.tga models/weaphits/bullet_0006.tga models/weaphits/bullet_0007.tga
51 blendfunc add
52 }
53 }
54
55 lightningExplosion
56 {
57 cull disable
58 deformVertexes wave 9 sin 0 1 0 9
59 {
60 map models/weaphits/elecscroll.tga
61 blendfunc add
62 tcMod scroll -8 0
63 }
64 }
65
66 bfgExplocsion
67 {
68 cull disable
69 {
70 map models/weaphits/bfgscroll.tga
71 blendfunc add
72 tcMod scroll -1.4 0
73 }
74 {
75 map models/weaphits/bfgscroll.tga
76 blendfunc add
77 tcMod scroll -0.6 0
78 }
79 }
80
81 /* BFG explosion: inversesawtooth can be glitchy when seen from faraway (especially with 0 baseline value)
82 take care when using it */
83 bfgExplosion
84 {
85 {
86 clampmap textures/oa/bfgfiar
87 blendfunc add
88 rgbGen wave inversesawtooth 0 .8 0 1
89 tcMod rotate 77
90 tcMod stretch sawtooth .6 .2 0 1
91 }
92 {
93 clampmap textures/oa/bfgfiar
94 blendfunc add
95 rgbGen wave sin .2 .8 0 1
96 tcMod rotate -33
97 tcMod stretch sawtooth .8 .2 0 1
98 }
99 {
100 clampmap textures/oa/bfgfiar
101 blendfunc add
102 rgbGen wave inversesawtooth 0 .6 0 1
103 tcMod rotate -77
104 tcMod stretch inversesawtooth 0 .4 0 1
105 }
106 }
107
108 plasmaExplosion
109 {
110 cull disable
111 deformVertexes wave 1 sin 0 1 0 2
112 {
113 clampmap models/weaphits/plasring.tga
114 blendfunc add
115 rgbGen wave inversesawtooth 0 1 0 1.6
116 tcMod stretch sawtooth 0 4.3 0 1.4
117 tcMod rotate -37
118 }
119 {
120 clampmap models/weaphits/plasring.tga
121 blendfunc add
122 rgbGen wave inversesawtooth 0 1 0 1.6
123 tcMod stretch sawtooth 0 4.5 0 1.4
124 tcMod rotate 66
125 }
126 }
127
128 railExplosion
129 {
130 cull disable
131 {
132 clampmap models/weaphits/smokering2.tga
133 blendfunc blend
134 rgbGen lightingDiffuse
135 tcMod stretch sawtooth 0 4.5 0 1.3
136 tcMod rotate -80
137 alphaGen wave inversesawtooth 0 1 0 1.65
138 }
139 {
140 clampmap models/weaphits/smokering2.tga
141 blendfunc blend
142 rgbGen lightingDiffuse
143 tcMod stretch sawtooth 0 4.5 0 1.4
144 tcMod rotate 66
145 alphaGen wave inversesawtooth 0 1 0 1.65
146 }
147 {
148 clampmap models/weaphits/spark.tga
149 blendfunc gl_src_alpha gl_one
150 rgbGen identity
151 tcMod stretch sawtooth 1.5 -3.5 0 1.1
152 tcMod rotate -80
153 alphaGen wave inversesawtooth 0 1 0 1.65
154 }
155 }
156
157 OLDplasmaExplosion
158 {
159 cull disable
160 {
161 map models/weaphits/plasscroll2.tga
162 blendfunc add
163 tcMod scroll -1.2 7
164 }
165 }
166
167 OLDrailExplosion
168 {
169 cull disable
170 {
171 map models/weaphits/railscroll.tga
172 blendfunc blend
173 rgbGen lightingDiffuse
174 tcMod scroll -1 -0.06
175 }
176 {
177 map models/weaphits/plasscroll2.tga
178 blendfunc add
179 rgbGen wave inversesawtooth 0 1 0 0.6
180 tcMod scroll 0 1
181 }
182 }
183
184 OLDrocketExplosion
185 {
186 {
187 clampmap textures/oa/fiar.tga
188 blendfunc add
189 rgbGen wave inversesawtooth 0 1 0 1
190 tcMod rotate 77
191 tcMod stretch sin 0.3 0.4 0 0.4
192 }
193 {
194 clampmap textures/oa/fiar2.tga
195 blendfunc add
196 rgbGen wave inversesawtooth 0 1 0 1
197 tcMod rotate 33
198 tcMod stretch sin 0.8 -0.4 0 0.1
199 }
200 {
201 clampmap textures/oa/fiar.tga
202 blendfunc add
203 rgbGen wave inversesawtooth 0 1 0 1
204 tcMod rotate -17
205 }
206 {
207 clampmap textures/oa/fiar2.tga
208 blendfunc add
209 rgbGen wave inversesawtooth 0 1 0 1
210 tcMod rotate -77
211 }
212 }
213
214 bloodExplosion
215 {
216 {
217 clampmap gfx/2d/bloodspew.tga
218 blendfunc blend
219 tcMod rotate 77
220 tcMod stretch sin 0 2 0 0.4
221 alphaGen wave inversesawtooth 0 1 0 1
222 }
223 {
224 clampmap gfx/2d/bloodspew.tga
225 blendfunc blend
226 tcMod rotate -43
227 tcMod stretch sin 0 1.7 0 0.4
228 alphaGen wave inversesawtooth 0 1 0 1
229 }
230 }
231
232 olderrocketExplosion
233 {
234 {
235 clampmap textures/oa/fiar.tga
236 blendfunc add
237 rgbGen wave inversesawtooth 0 1 0 1
238 tcMod rotate 77
239 tcMod stretch sin 0 1 0 0.4
240 }
241 {
242 clampmap textures/oa/fiar2.tga
243 blendfunc add
244 rgbGen wave inversesawtooth 0 1 0 1
245 tcMod rotate 33
246 tcMod stretch sin 0 1 0 0.4
247 }
248 {
249 clampmap textures/oa/fiar.tga
250 blendfunc add
251 rgbGen wave inversesawtooth 0 1 0 1
252 tcMod rotate -17
253 tcMod stretch sawtooth 0 1.8 0 1
254 }
255 {
256 clampmap textures/oa/fiar2.tga
257 blendfunc add
258 rgbGen wave inversesawtooth 0 1 0 1
259 tcMod rotate -77
260 tcMod stretch sawtooth 0.3 1 0 1
261 }
262 }
263
264 /* Rocket explosion: inversesawtooth can be glitchy when seen from faraway (especially with 0 baseline value)
265 take care when using it */
266 rocketExplosion
267 {
268 {
269 animmap 8 models/weaphits/rlboom/rlboom_1.tga models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga
270 blendfunc gl_one gl_src_alpha
271 rgbGen wave inversesawtooth 0 1 0 8
272 }
273 {
274 animmap 8 models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga models/weaphits/rlboom/rlboom_8.tga
275 blendfunc gl_one gl_src_alpha
276 rgbGen wave sawtooth 0 1 0 8
277 }
278 {
279 clampmap textures/oa/fiar.tga
280 blendfunc add
281 rgbGen wave inversesawtooth 0.1 0.8 0 1
282 tcMod rotate 77
283 tcMod stretch inversesawtooth 0.1 1 0 0.4
284 }
285 {
286 clampmap textures/oa/fiar2.tga
287 blendfunc add
288 rgbGen wave inversesawtooth 0 1 0 1
289 tcMod rotate 33
290 tcMod stretch sin 0.2 1 0 0.4
291 }
292 {
293 clampmap textures/oa/fiar.tga
294 blendfunc add
295 rgbGen wave sin 0 1 0 1
296 tcMod rotate -17
297 tcMod stretch sawtooth 0.1 1.5 0 1
298 }
299 {
300 clampmap textures/oa/fiar.tga
301 blendfunc add
302 rgbGen wave inversesawtooth 0.1 1 0 1
303 tcMod rotate -77
304 tcMod stretch sawtooth 0.4 0.8 0 1
305 }
306 }
307
308 lasmaExplosion
309 {
310 cull disable
311 {
312 clampmap textures/oa/fiar.tga
313 blendfunc add
314 rgbGen wave inversesawtooth 0 1 0 4
315 tcMod rotate 300
316 tcMod stretch sin 0.3 0.4 0 0.4
317 }
318 {
319 clampmap textures/oa/fiar2.tga
320 blendfunc add
321 rgbGen wave inversesawtooth 0 1 0 4
322 tcMod rotate 122
323 tcMod stretch sin 0.8 -0.7 0 0.1
324 }
325 }
326
327 ailExplosion
328 {
329 cull disable
330 {
331 clampmap textures/oa/fiar.tga
332 blendfunc add
333 rgbGen wave inversesawtooth 0 1 0 1
334 tcMod rotate 12
335 tcMod stretch sin 0.3 0.4 0 0.4
336 }
337 {
338 clampmap textures/oa/fiar2.tga
339 blendfunc add
340 rgbGen wave inversesawtooth 0 1 0 1
341 tcMod rotate 15
342 tcMod stretch sin 0.8 -0.4 0 0.1
343 }
344 {
345 clampmap textures/oa/fiar.tga
346 blendfunc add
347 rgbGen wave inversesawtooth 0 1 0 1
348 tcMod rotate -12
349 }
350 {
351 clampmap textures/oa/fiar2.tga
352 blendfunc add
353 rgbGen wave inversesawtooth 0 1 0 1
354 tcMod rotate -78
355 }
356 }
357
358 OLDgrenadeExplosion
359 {
360 {
361 clampmap textures/oa/grenfiar.tga
362 blendfunc add
363 rgbGen wave inversesawtooth 0 1 0 1.6
364 tcMod rotate 77
365 tcMod stretch sin 0.3 0.4 0 0.4
366 }
367 {
368 clampmap textures/oa/grenfiar.tga
369 blendfunc add
370 rgbGen wave inversesawtooth 0 1 0 1.6
371 tcMod rotate 33
372 tcMod stretch sin 0.8 -0.4 0 0.4
373 }
374 {
375 clampmap textures/oa/grenfiar.tga
376 blendfunc add
377 rgbGen wave inversesawtooth 0 1 0 1.6
378 tcMod rotate -17
379 }
380 {
381 clampmap textures/oa/grenfiar.tga
382 blendfunc add
383 rgbGen wave inversesawtooth 0 1 0 1.6
384 tcMod rotate -77
385 }
386 }
387
388 /* Rocket explosion: inversesawtooth can be glitchy when seen from faraway (especially with 0 baseline value)
389 take care when using it */
390 grenadeExplosion
391 {
392 {
393 clampmap textures/oa/grenfiar
394 blendfunc add
395 rgbGen wave sin .2 .8 0 1
396 tcMod rotate 77
397 tcMod stretch sawtooth .6 .2 0 1
398 }
399 {
400 clampmap textures/oa/fiar
401 blendfunc add
402 rgbGen wave sin .2 .8 0 1
403 tcMod rotate -33
404 tcMod stretch sawtooth .8 .2 0 1
405 }
406 {
407 clampmap textures/oa/grenfiar
408 blendfunc add
409 rgbGen wave inversesawtooth 0 .6 0 1.6
410 tcMod rotate -77
411 tcMod stretch inversesawtooth 0 .2 0 .6
412 }
413 {
414 clampmap textures/oa/grenfiar
415 blendfunc add
416 rgbGen wave inversesawtooth 0 .8 0 1.6
417 tcMod rotate 33
418 tcMod stretch inversesawtooth .2 .4 0 .6
419 }
420 }