Debian Codegraph @

pak0/scripts/common.shader

raw
1 //12-12-06 removed redundant nodrop
2 //12-23-06 fixed the b0rked invisible shader
3 //01-25-07 removed redundant clip + added nodrawnonsolid, clusterportal
4 //01-27-07 moved portal from clown.shader to here
5 //01-31-07 added mirror shader doesnt work, gave other shaders transparency in map editor.-kit89
6 //02-14-07 added timportal + mirror1, mirror 2, terrain, terrain 2, metalclip
7 //02-27-07 added botclip, missleclip, remapped certain mirrors to point to invisible.tga
8 //need this or maps FTBFS
9 //for the idiot bots out there use instead of botclip!!!!
10 textures/common/donotenter
11 {
12 surfaceparm nodraw
13 surfaceparm nonsolid
14 surfaceparm trans
15 surfaceparm nomarks
16 surfaceparm donotenter
17 }
18
19 textures/common/clip
20 {
21 surfaceparm nolightmap
22 surfaceparm nomarks
23 surfaceparm nodraw
24 surfaceparm nonsolid
25 surfaceparm playerclip
26 surfaceparm noimpact
27 }
28
29 textures/common/caulk
30 {
31 surfaceparm nodraw
32 surfaceparm nomarks
33 surfaceparm nolightmap
34 }
35
36 textures/common/invisible
37 {
38 surfaceparm nolightmap
39
40 {
41 map textures/common/invisible.tga
42 alphaFunc GE128
43 depthWrite
44 rgbGen vertex
45 }
46
47 }
48
49 //use this near the trigger hurts, lava, death fogs, etc.
50 // to keep weapons and powerups from piling up...
51 textures/common/nodrop
52 {
53 surfaceparm trans
54 surfaceparm nonsolid
55 surfaceparm nomarks
56 surfaceparm nodrop
57 surfaceparm nolightmap
58 surfaceparm nodraw
59 cull none
60 }
61 //need this for the teleporters in cbctf1
62 textures/common/trigger
63 {
64 surfaceparm nodraw
65
66 }
67 //also needed for for cbctf1
68 textures/common/origin
69 {
70 surfaceparm nodraw
71 surfaceparm nonsolid
72 surfaceparm origin
73 }
74 //aids in VIS compiles
75 textures/common/hint
76 {
77 surfaceparm hint
78 surfaceparm nodraw
79 surfaceparm nonsolid
80 surfaceparm structural
81 surfaceparm trans
82 surfaceparm noimpact
83 }
84
85 textures/common/nodraw
86 {
87 surfaceparm nodraw
88 surfaceparm nonsolid
89 surfaceparm nomarks
90 surfaceparm trans
91 }
92 //for an icy effect
93 textures/common/slick
94 {
95 surfaceparm nodraw
96 surfaceparm nomarks
97 surfaceparm trans
98 surfaceparm slick
99 }
100
101 textures/common/cushion
102 {
103 surfaceparm nodraw
104 surfaceparm nomarks
105 surfaceparm nodamage
106 surfaceparm trans
107 }
108
109 //to keep certain textures from being shot up
110 textures/common/weapclip
111 {
112 surfaceparm nodraw
113 surfaceparm trans
114 surfaceparm nomarks
115 }
116
117 //for every stupid q3dm17 remake
118 textures/common/nodrawnonsolid
119 {
120 surfaceparm nonsolid
121 surfaceparm nodraw
122 }
123
124 //hint for the bots
125 textures/common/clusterportal
126 {
127 qer_nocarve
128 surfaceparm nodraw
129 surfaceparm nonsolid
130 surfaceparm trans
131 surfaceparm nomarks
132 surfaceparm clusterportal
133 }
134
135 //can also be used as a mirror
136 textures/common/portal
137 {
138 qer_editorimage textures/common/invisible.tga
139 surfaceparm nolightmap
140 portal
141 {
142 map textures/common/invisible.tga
143 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
144 depthWrite
145
146 }
147 }
148
149 //Added for Mirrors
150 textures/common/mirror
151 {
152 portal
153 q3map_nolightmap
154 {
155 map textures/common/invisible.tga
156 blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
157 depthWrite
158 }
159 }
160
161 textures/common/timportal
162 {
163 qer_editorimage textures/common/invisible.tga
164 surfaceparm nolightmap
165 portal
166 {
167 map textures/common/invisible.tga
168 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
169 depthWrite
170
171 }
172 {
173 map textures/oa_fogs/kc_fogcloud3.jpg
174 blendfunc gl_src_alpha gl_one_minus_src_alpha
175 alphagen portal 512
176 rgbGen identity
177 tcmod rotate .1
178 tcmod scroll .04 .01
179 }
180 }
181
182 //nicked from nexuiz for backwards compat
183 textures/common/mirror1
184 {
185 qer_editorimage textures/common/invisible.tga
186 surfaceparm nolightmap
187 portal
188
189 {
190 map textures/common/invisible.tga
191 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
192 depthWrite
193 }
194
195
196
197 }
198
199 //nicked from nexuiz w/added turb. for backwards compat
200 textures/common/mirror2
201 {
202 qer_editorimage textures/common/invisible.tga
203 surfaceparm nolightmap
204 portal
205 {
206 map textures/common/invisible.tga
207 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
208 depthWrite
209 }
210 {
211 map textures/sfx/mirror.tga
212 tcMod turb 0 0.25 0 0.05
213 blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
214 }
215
216 }
217
218 //nicked from nexuiz
219 textures/common/terrain
220 {
221 q3map_terrain
222 surfaceparm nodraw
223 surfaceparm nolightmap
224 surfaceparm nomarks
225 }
226
227 //nicked from nexuiz
228 textures/common/terrain2
229 {
230 q3map_terrain
231 qer_editorimage textures/common/common.tga
232 surfaceparm dust
233 surfaceparm nodraw
234 surfaceparm nomarks
235 surfaceparm nolightmap
236 }
237
238 //nicked from nexuiz
239 textures/common/metalclip
240 {
241 surfaceparm nodraw
242 surfaceparm nolightmap
243 surfaceparm nonsolid
244 surfaceparm trans
245 surfaceparm nomarks
246 surfaceparm noimpact
247 surfaceparm playerclip
248 surfaceparm metalsteps
249 }
250
251 // acts as player clip only for the bots
252 // can keep them from being pushed into voids
253 // do not use, use donotenter instead :-P
254 textures/common/botclip
255 {
256 surfaceparm nodraw
257 surfaceparm nolightmap
258 surfaceparm nonsolid
259 surfaceparm trans
260 surfaceparm nomarks
261 surfaceparm noimpact
262 surfaceparm botclip
263 }
264
265 textures/common/missileclip
266 {
267 surfaceparm nodamage
268 surfaceparm nomarks
269 surfaceparm nodraw
270 surfaceparm playerclip
271 surfaceparm trans
272 }
273
274 textures/common/full_clip
275 {
276 surfaceparm nodraw
277 surfaceparm playerclip
278 }
279
280 textures/common/antiportal
281 {
282 qer_nocarve
283 surfaceparm nodraw
284 surfaceparm nonsolid
285 surfaceparm structural
286 surfaceparm trans
287 surfaceparm antiportal
288 }
289
290 textures/common/areaportal
291 {
292 surfaceparm nodraw
293 surfaceparm nolightmap
294 surfaceparm nonsolid
295 surfaceparm structural
296 surfaceparm trans
297 surfaceparm nomarks
298 surfaceparm areaportal
299 }
300
301 textures/common/lightgrid
302 {
303 surfaceparm nodraw
304 surfaceparm nolightmap
305 surfaceparm nonsolid
306 surfaceparm detail
307 surfaceparm nomarks
308 surfaceparm trans
309 surfaceparm lightgrid
310 }