]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/model_xonotic_jumppad01.shader
Fix NULL textures on afterslime
[xonotic/xonotic-maps.pk3dir.git] / scripts / model_xonotic_jumppad01.shader
1 //Effects shaders for xonotic_jumppad01 and xonotic_jumlaunchpad01 models
2 //"Flame" parts
3 models/xonotic_jumppad01/jumpglow_orange
4 {
5         qer_editorimage models/xonotic_jumppad01/jumpglow_o.tga
6         cull none
7  {
8         map models/xonotic_jumppad01/jumpglow_o.tga
9         blendfunc add
10         tcmod page 3 1 0.02
11  }
12 }
13
14 models/xonotic_jumppad01/jumpglow_red
15 {
16         qer_editorimage models/xonotic_jumppad01/jumpglow_r.tga
17         cull none
18  {
19         map models/xonotic_jumppad01/jumpglow_r.tga
20         blendfunc add
21         tcmod page 3 1 0.02
22  }
23 }
24
25 models/xonotic_jumppad01/jumpglow_green
26 {
27         cull none
28  {
29         map models/xonotic_jumppad01/jumpglow_g.tga
30         blendfunc add
31         tcmod page 3 1 0.02
32  }
33 }
34
35 models/xonotic_jumppad01/jumpglow_blue
36 {
37         cull none
38  {
39         map models/xonotic_jumppad01/jumpglow_b.tga
40         blendfunc add
41         tcmod page 3 1 0.02
42  }
43 }
44
45 models/xonotic_jumppad01/jumpglow_yellow
46 {
47         qer_editorimage models/xonotic_jumppad01/jumpglow_y.tga
48         cull none
49  {
50         map models/xonotic_jumppad01/jumpglow_y.tga
51         blendfunc add
52         tcmod page 3 1 0.02
53  }
54 }
55
56 models/xonotic_jumppad01/jumpglow_purple
57 {
58         qer_editorimage models/xonotic_jumppad01/jumpglow_p.tga
59         cull none
60  {
61         map models/xonotic_jumppad01/jumpglow_p.tga
62         blendfunc add
63         tcmod page 3 1 0.02
64  }
65 }
66
67 //Energy bubbles
68 models/xonotic_jumppad01/energy_red_anim
69 {
70         qer_editorimage models/xonotic_jumppad01/energy_red.tga
71         nopicmip
72         surfaceparm nolightmap
73 //      surfaceparm nonsolid
74         surfaceparm trans
75 //      surfaceparm slick
76         cull none
77         surfaceparm nomarks // Added
78 //      surfaceparm noimpact // by
79 //      surfaceparm playerclip // Q
80         qer_trans 0.8
81 //      alphaFunc GE128
82         
83         {
84                 map models/xonotic_jumppad01/energy_red.tga
85                 tcGen environment
86 //                tcmod scale .6 .6
87                 blendfunc GL_ONE GL_ONE
88                 tcMod turb 0 0.25 0 0.5
89                 tcMod scroll -.5 -.3
90         }
91 }
92
93 models/xonotic_jumppad01/energy_blue_anim
94 {
95         qer_editorimage models/xonotic_jumppad01/energy_blue.tga
96         nopicmip
97         surfaceparm nolightmap
98 //      surfaceparm nonsolid
99         surfaceparm trans
100 //      surfaceparm slick
101         cull none
102         surfaceparm nomarks // Added
103 //      surfaceparm noimpact // by
104 //      surfaceparm playerclip // Q
105         qer_trans 0.8
106 //      alphaFunc GE128
107         
108         {
109                 map models/xonotic_jumppad01/energy_blue.tga
110                 tcGen environment
111 //                tcmod scale .6 .6
112                 blendfunc GL_ONE GL_ONE
113                 tcMod turb 0 0.25 0 0.5
114                 tcMod scroll -.5 -.3
115         }
116 }
117
118 models/xonotic_jumppad01/energy_green_anim
119 {
120         qer_editorimage models/xonotic_jumppad01/energy_green.tga
121         nopicmip
122         surfaceparm nolightmap
123 //      surfaceparm nonsolid
124         surfaceparm trans
125 //      surfaceparm slick
126         cull none
127         surfaceparm nomarks // Added
128 //      surfaceparm noimpact // by
129 //      surfaceparm playerclip // Q
130         qer_trans 0.8
131 //      alphaFunc GE128
132         
133         {
134                 map models/xonotic_jumppad01/energy_green.tga
135                 tcGen environment
136 //                tcmod scale .6 .6
137                 blendfunc GL_ONE GL_ONE
138                 tcMod turb 0 0.25 0 0.5
139                 tcMod scroll -.5 -.3
140         }
141 }
142
143 models/xonotic_jumppad01/energy_yellow_anim
144 {
145         qer_editorimage models/xonotic_jumppad01/energy_yellow.tga
146         nopicmip
147         surfaceparm nolightmap
148 //      surfaceparm nonsolid
149         surfaceparm trans
150 //      surfaceparm slick
151         cull none
152         surfaceparm nomarks // Added
153 //      surfaceparm noimpact // by
154 //      surfaceparm playerclip // Q
155         qer_trans 0.8
156 //      alphaFunc GE128
157         
158         {
159                 map models/xonotic_jumppad01/energy_yellow.tga
160                 tcGen environment
161 //                tcmod scale .6 .6
162                 blendfunc GL_ONE GL_ONE
163                 tcMod turb 0 0.25 0 0.5
164                 tcMod scroll -.5 -.3
165         }
166 }
167
168 models/xonotic_jumppad01/energy_orange_anim
169 {
170         qer_editorimage models/xonotic_jumppad01/energy_orange.tga
171         nopicmip
172         surfaceparm nolightmap
173 //      surfaceparm nonsolid
174         surfaceparm trans
175 //      surfaceparm slick
176         cull none
177         surfaceparm nomarks // Added
178 //      surfaceparm noimpact // by
179 //      surfaceparm playerclip // Q
180         qer_trans 0.8
181 //      alphaFunc GE128
182         
183         {
184                 map models/xonotic_jumppad01/energy_orange.tga
185                 tcGen environment
186 //                tcmod scale .6 .6
187                 blendfunc GL_ONE GL_ONE
188                 tcMod turb 0 0.25 0 0.5
189                 tcMod scroll -.5 -.3
190         }
191 }
192
193 models/xonotic_jumppad01/energy_purple_anim
194 {
195         qer_editorimage models/xonotic_jumppad01/energy_purple.tga
196         nopicmip
197         surfaceparm nolightmap
198 //      surfaceparm nonsolid
199         surfaceparm trans
200 //      surfaceparm slick
201         cull none
202         surfaceparm nomarks // Added
203 //      surfaceparm noimpact // by
204 //      surfaceparm playerclip // Q
205         qer_trans 0.8
206 //      alphaFunc GE128
207         
208         {
209                 map models/xonotic_jumppad01/energy_purple.tga
210                 tcGen environment
211 //                tcmod scale .6 .6
212                 blendfunc GL_ONE GL_ONE
213                 tcMod turb 0 0.25 0 0.5
214                 tcMod scroll -.5 -.3
215         }
216 }