Subversion Repositories duke3d_hrp

Rev

Rev 390 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
348 spiker 1
 
2
// Duke3D HRP Switches Definitions
3
 
4
 
5
// Access Switch (130/131)
6
model "highres/sprites/switches/0130_accessswitch.md3" {
7
   scale 1.24 shade 0
8
 
9
   skin { pal 0 file "highres/sprites/switches/0130_accessswitch.jpg" }
10
   skin { pal 10 file "highres/sprites/switches/0130_accessswitch_10.jpg" }
11
   skin { pal 11 file "highres/sprites/switches/0130_accessswitch_11_22.jpg" }
12
   skin { pal 12 file "highres/sprites/switches/0130_accessswitch_12_18.jpg" }
13
   skin { pal 13 file "highres/sprites/switches/0130_accessswitch_13.jpg" }
14
   skin { pal 14 file "highres/sprites/switches/0130_accessswitch_14.jpg" }
15
   skin { pal 15 file "highres/sprites/switches/0130_accessswitch_15.jpg" }
16
   skin { pal 16 file "highres/sprites/switches/0130_accessswitch_16.jpg" }
17
   skin { pal 18 file "highres/sprites/switches/0130_accessswitch_12_18.jpg" }
18
   skin { pal 21 file "highres/sprites/switches/0130_accessswitch_21.jpg" }
19
   skin { pal 22 file "highres/sprites/switches/0130_accessswitch_11_22.jpg" }
20
   skin { pal 23 file "highres/sprites/switches/0130_accessswitch_23.jpg" }
21
   skin { pal 24 file "highres/sprites/switches/0130_accessswitch_24.jpg" }
22
 
23
   detail { file "highres/detail/metal_fine.png" xscale 0.15 yscale 0.3 }
24
   glow { file "highres/sprites/switches/0130_accessswitch_glow.png" }
25
   frame { name "frame01" tile 130 }
26
 
27
   skin { pal 0 file "highres/sprites/switches/0131_accessswitch.jpg" }
28
   skin { pal 10 file "highres/sprites/switches/0131_accessswitch_10.jpg" }
29
   skin { pal 11 file "highres/sprites/switches/0131_accessswitch_11_22.jpg" }
30
   skin { pal 12 file "highres/sprites/switches/0131_accessswitch_12_18.jpg" }
31
   skin { pal 13 file "highres/sprites/switches/0131_accessswitch_13.jpg" }
32
   skin { pal 14 file "highres/sprites/switches/0131_accessswitch_14.jpg" }
33
   skin { pal 15 file "highres/sprites/switches/0131_accessswitch_15.jpg" }
34
   skin { pal 16 file "highres/sprites/switches/0131_accessswitch_16.jpg" }
35
   skin { pal 18 file "highres/sprites/switches/0131_accessswitch_12_18.jpg" }
36
   skin { pal 21 file "highres/sprites/switches/0131_accessswitch_21.jpg" }
37
   skin { pal 22 file "highres/sprites/switches/0131_accessswitch_11_22.jpg" }
38
   skin { pal 23 file "highres/sprites/switches/0131_accessswitch_23.jpg" }
39
   skin { pal 24 file "highres/sprites/switches/0131_accessswitch_24.jpg" }
40
 
41
   detail { file "highres/detail/metal_fine.png" xscale 0.15 yscale 0.3 }
42
   glow { file "highres/sprites/switches/0131_accessswitch_glow.png" }
43
   frame { name "frame01" tile 131 }
44
}
45
 
46
 
47
// Slot Door (132/133)
48
model "highres/sprites/switches/0132_slotdoor.md3" {
49
   scale 1.5 shade 0
50
   skin { pal 0 file "highres/sprites/switches/0132_slotdoor.png" }
51
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 1.2 }
52
   glow { file "highres/sprites/switches/0132_slotdoor_glow.png" }
53
   frame { name "red" tile 132 }
54
}
55
 
56
model "highres/sprites/switches/0133_slotdoor.md3" { 
57
   scale 1.5 shade 0
58
   skin { pal 0 file "highres/sprites/switches/0133_slotdoor.png" }
59
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 1.2 }
60
   glow { file "highres/sprites/switches/0133_slotdoor_glow.png" }
61
   frame { name "green" tile 133 }
62
}
63
 
64
 
65
// Light Switch (134/135)
66
model "highres/sprites/switches/0134_lightswitch.md3" {
67
   scale 5 shade 0
68
   skin { pal 0 file "highres/sprites/switches/0134_lightswitch_red.png" }
69
   detail { file "highres/detail/metal.png" xscale 0.5 yscale 0.6 }
70
   glow { file "highres/sprites/switches/0134_lightswitch_red_glow.png" }
71
   frame { name "red" tile 134 }
72
   skin { pal 0 file "highres/sprites/switches/0134_lightswitch_green.png" }
73
   detail { file "highres/detail/metal.png" xscale 0.5 yscale 0.6 }
74
   glow { file "highres/sprites/switches/0134_lightswitch_green_glow.png" }
75
   frame { name "green" tile 135 }
76
}
77
 
78
 
79
// Space door Switch (136/137)
80
texture 136 { 
81
   pal 0 { file "highres/sprites/switches/0136.png" }
82
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
83
}
84
texture 137 { 
85
   pal 0 { file "highres/sprites/switches/0137.png" }
86
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
87
}
88
 
89
model "highres/sprites/switches/0136_sdoorswitch.md3" {
90
   scale 1.55 shade 0
91
   skin { pal 0 file "highres/sprites/switches/0136_sdoorswitch_red.png" }
92
   detail { file "highres/detail/metal.png" detailscale 0.6 }
93
   glow { file "highres/sprites/switches/0136_sdoorswitch_red_glow.png" }
94
   frame { name "red" tile 136 }
95
   skin { pal 0 file "highres/sprites/switches/0136_sdoorswitch_green.png" }
96
   detail { file "highres/detail/metal.png" detailscale 0.6 }
97
   glow { file "highres/sprites/switches/0136_sdoorswitch_green_glow.png" }
98
   frame { name "green" tile 137 }
99
}
100
 
101
 
102
// Space light Switch (138/139)
103
model "highres/sprites/switches/0138_slightswitch.md3" {
104
   scale 1.55 shade 0
105
   skin { pal 0 file "highres/sprites/switches/0138_slightswitch_red.png" }
106
   detail { file "highres/detail/metal.png" detailscale 0.6 }
107
   glow { file "highres/sprites/switches/0138_slightswitch_red_glow.png" }
108
   frame { name "red" tile 138 }
109
   skin { pal 0 file "highres/sprites/switches/0138_slightswitch_green.png" }
110
   detail { file "highres/detail/metal.png" detailscale 0.6 }
111
   glow { file "highres/sprites/switches/0138_slightswitch_green_glow.png" }
112
   frame { name "green" tile 139 }
113
}
114
 
115
 
116
// Frankenstine Switch (140/141)
117
model "highres/sprites/switches/0140_fsswitch.md3" {
118
   scale 2.5 shade 10
119
   skin { pal 0 file "highres/sprites/switches/0140_fsswitch.png" }
120
   detail { file "highres/detail/metal.png" detailscale 0.6 }
121
   glow { file "highres/sprites/switches/0140_fsswitch_glow.png" }
122
   frame { name "Frame0" tile 140 }
123
   skin { pal 0 file "highres/sprites/switches/0141_fsswitch.png" }
124
   detail { file "highres/detail/metal.png" detailscale 0.6 }
125
   glow { file "highres/sprites/switches/0141_fsswitch_glow.png" }
126
   frame { name "Frame1" tile 141 }
127
}
128
 
129
 
130
// Nuke Button (142/143)
131
model "highres/sprites/switches/0142_nukebutton.md3" {
132
   scale 3.5 shade 6
133
   detail { file "highres/detail/rust.png" detailscale 0.3 }
134
   skin { pal 0 file "highres/sprites/switches/0142_nukebutton.png" }
135
   detail { file "highres/detail/rust.png" detailscale 0.3 }
136
   skin { pal 13 file "highres/sprites/switches/0142_nukebutton_13.png" }
137
   detail { file "highres/detail/rust.png" detailscale 0.3 }
138
   skin { pal 14 file "highres/sprites/switches/0142_nukebutton_g.png" }
139
   anim { frame0 "Frame 1" frame1 "Frame 9" fps 7.4 flags 1 }
140
   frame { name "Frame 0" tile 142 }
141
   frame { name "Frame 1" tile0 143 tile1 145 }
142
}
143
 
144
 
145
// Multi Switch (146-149)
146
model "highres/sprites/switches/0146_multiswitch.md3" {
147
   scale 22 shade 6
148
   skin { pal 0 file "highres/sprites/switches/0146_multiswitch.png" }
149
   detail { file "highres/detail/metal_worn.png" detailscale 0.3 }
150
   glow { file "highres/sprites/switches/0146_multiswitch_glow.png" }
151
   frame { name "frame00" tile 147 }
152
   frame { name "frame01" tile 148 }
153
   frame { name "frame02" tile 149 }
154
   frame { name "frame03" tile 146 }
155
}
156
 
157
 
158
// Dip Switch (162/163)
159
texture 162 { 
160
   pal 0 { file "highres/sprites/switches/0162.png" }
161
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
162
   glow { file "highres/sprites/switches/0162_glow.png" } 
163
}
164
texture 163 { 
165
   pal 0 { file "highres/sprites/switches/0163.png" }
166
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
167
   glow { file "highres/sprites/switches/0163_glow.png" } 
168
}
169
 
170
model "highres/sprites/switches/0162_dipswitch.md3" {
171
   scale 1.55 shade -5
172
   skin { pal 0 file "highres/sprites/switches/0162_dipswitch.png" }
173
   detail { file "highres/detail/metal.png" detailscale 0.6 }
174
   glow { file "highres/sprites/switches/0162_dipswitch_glow.png" }
175
   frame { name "red" tile 162 }
176
   skin { pal 0 file "highres/sprites/switches/0163_dipswitch.png" }
177
   detail { file "highres/detail/metal.png" detailscale 0.6 }
178
   glow { file "highres/sprites/switches/0163_dipswitch_glow.png" }
179
   frame { name "green" tile 163 }
180
}
181
 
182
 
183
// Dip Switch 2 (164/165)
184
texture 164 { 
185
   pal 0 { file "highres/sprites/switches/0164.png" }
186
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
187
   glow { file "highres/sprites/switches/0164_glow.png" } 
188
}
189
texture 165 { 
190
   pal 0 { file "highres/sprites/switches/0165.png" }
191
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
192
   glow { file "highres/sprites/switches/0165_glow.png" } 
193
}
194
 
195
model "highres/sprites/switches/0164_dipswitch2.md3" {
196
   scale 1.55 shade -5
197
   skin { pal 0 file "highres/sprites/switches/0164_dipswitch2.png" }
198
   detail { file "highres/detail/metal.png" detailscale 0.6 }
199
   glow { file "highres/sprites/switches/0164_dipswitch2_glow.png" }
200
   frame { name "red" tile 164 }
201
   skin { pal 0 file "highres/sprites/switches/0165_dipswitch2.png" }
202
   detail { file "highres/detail/metal.png" detailscale 0.6 }
203
   glow { file "highres/sprites/switches/0165_dipswitch2_glow.png" }
204
   frame { name "green" tile 165 }
205
}
206
 
207
 
208
// Tech Switch (166/167)
209
model "highres/sprites/switches/0166_techswitch.md3" {
210
   scale 4.5 shade 0
211
   skin { pal 0 file "highres/sprites/switches/0166_techswitch.png" }
212
   detail { file "highres/detail/metal.png" detailscale 0.6 }
213
   glow { file "highres/sprites/switches/0166_techswitch_glow.png" }
214
   frame { name "frame00" tile 166 }
215
   skin { pal 0 file "highres/sprites/switches/0167_techswitch.png" }
216
   detail { file "highres/detail/metal.png" detailscale 0.6 }
217
   glow { file "highres/sprites/switches/0167_techswitch_glow.png" }
218
   frame { name "frame01" tile 167 }
219
}
220
 
221
 
222
// Dip Switch 3 (168/169)
223
model "highres/sprites/switches/0168_dipswitch3.md3" {
224
   scale 4.5 shade 0
225
   skin { pal 0 file "highres/sprites/switches/0168_dipswitch3.png" }
226
   detail { file "highres/detail/metal_fine.png" detailscale 0.6 }
227
   glow { file "highres/sprites/switches/0168_dipswitch3_glow.png" }
228
   frame { name "idle" tile 168 }
229
   skin { pal 0 file "highres/sprites/switches/0169_dipswitch3.png" }
230
   detail { file "highres/detail/metal_fine.png" detailscale 0.6 }
231
   glow { file "highres/sprites/switches/0169_dipswitch3_glow.png" }
232
   frame { name "idle" tile 169 }
233
}
234
 
235
 
236
// Access Switch 2 (170/171)
237
model "highres/sprites/switches/0170_accessswitch2.md3" {
238
   scale 10 shade 0
239
 
240
   skin { pal 0 file "highres/sprites/switches/0170_accessswitch2.png" }
241
   skin { pal 10 file "highres/sprites/switches/0170_accessswitch2_10.png" }
242
   skin { pal 11 file "highres/sprites/switches/0170_accessswitch2_11_22.png" }
243
   skin { pal 12 file "highres/sprites/switches/0170_accessswitch2_12_18.png" }
244
   skin { pal 13 file "highres/sprites/switches/0170_accessswitch2_13.png" }
245
   skin { pal 14 file "highres/sprites/switches/0170_accessswitch2_14.png" }
246
   skin { pal 15 file "highres/sprites/switches/0170_accessswitch2_15.png" }
247
   skin { pal 16 file "highres/sprites/switches/0170_accessswitch2_16.png" }
248
   skin { pal 18 file "highres/sprites/switches/0170_accessswitch2_12_18.png" }
249
   skin { pal 21 file "highres/sprites/switches/0170_accessswitch2_21.png" }
250
   skin { pal 22 file "highres/sprites/switches/0170_accessswitch2_11_22.png" }
251
   skin { pal 23 file "highres/sprites/switches/0170_accessswitch2_23.png" }
252
   skin { pal 24 file "highres/sprites/switches/0170_accessswitch2_24.png" }
253
 
254
   detail { file "highres/detail/metal_fine.png" xscale 0.3 yscale 0.6 }
255
   glow { file "highres/sprites/switches/0170_accessswitch2_glow.png" }
256
   frame { name "idle" tile 170 }
257
 
258
   skin { pal 0 file "highres/sprites/switches/0171_accessswitch2.png" }
259
   skin { pal 10 file "highres/sprites/switches/0171_accessswitch2_10.png" }
260
   skin { pal 11 file "highres/sprites/switches/0171_accessswitch2_11_22.png" }
261
   skin { pal 12 file "highres/sprites/switches/0171_accessswitch2_12_18.png" }
262
   skin { pal 13 file "highres/sprites/switches/0171_accessswitch2_13.png" }
263
   skin { pal 14 file "highres/sprites/switches/0171_accessswitch2_14.png" }
264
   skin { pal 15 file "highres/sprites/switches/0171_accessswitch2_15.png" }
265
   skin { pal 16 file "highres/sprites/switches/0171_accessswitch2_16.png" }
266
   skin { pal 18 file "highres/sprites/switches/0171_accessswitch2_12_18.png" }
267
   skin { pal 21 file "highres/sprites/switches/0171_accessswitch2_21.png" }
268
   skin { pal 22 file "highres/sprites/switches/0171_accessswitch2_11_22.png" }
269
   skin { pal 23 file "highres/sprites/switches/0171_accessswitch2_23.png" }
270
   skin { pal 24 file "highres/sprites/switches/0171_accessswitch2_24.png" }
271
 
272
   detail { file "highres/detail/metal_fine.png" xscale 0.3 yscale 0.6 }
273
   glow { file "highres/sprites/switches/0171_accessswitch2_glow.png" }
274
   frame { name "idle" tile 171 }
275
}
276
 
277
 
278
// Light Switch (712/713)
279
model "highres/sprites/switches/0712_lightswitch.md3" {
280
   scale 1.575 shade 0
281
   skin { pal 0 file "highres/sprites/switches/0712_lightswitch.png" }
282
   detail { file "highres/detail/metal_fine.png" xscale 0.6 yscale 0.6 }
283
   frame { name "off" tile 712 }
284
   frame { name "on" tile 713 }
285
}
286
 
287
 
288
// Power Switch 1 (860/861)
289
model "highres/sprites/switches/0860_powerswitch.md3" {
290
   scale 1 shade 0
291
   skin { pal 0 file "highres/sprites/switches/0860_powerswitch_off.jpg" }
292
   detail { file "highres/detail/metal.png" detailscale 0.15 }
293
   glow { file "highres/sprites/switches/0860_powerswitch_off_glow.png" }
294
   frame { name "Frame 1" tile 860 }
295
   skin { pal 0 file "highres/sprites/switches/0861_powerswitch_on.jpg" }
296
   detail { file "highres/detail/metal.png" detailscale 0.15 }
297
   glow { file "highres/sprites/switches/0861_powerswitch_on_glow.png" }
298
   frame { name "Frame 3" tile 861 }
299
}
300
 
301
 
302
// Lock switch 1 (862/863)
303
model "highres/sprites/switches/0862_lockswitch1.md3" {
304
   scale 1.55 shade 0
305
   skin { pal 0 file "highres/sprites/switches/0862_lockswitch1.png" }
306
   glow { file "highres/sprites/switches/0862_lockswitch1_glow.png" }
307
   frame { name "red" tile 862 }
308
   skin { pal 0 file "highres/sprites/switches/0863_lockswitch1.png" }
309
   glow { file "highres/sprites/switches/0863_lockswitch1_glow.png" }
310
   frame { name "green" tile 863 }
311
}
312
 
313
 
314
// Power Switch 2 (864/865)
315
model "highres/sprites/switches/0864_powerswitch2.md3" {
316
   scale 2.75 shade 0
317
   skin { pal 0 file "highres/sprites/switches/0864_powerswitch2.png" }
318
   detail { file "highres/detail/metal.png" detailscale 0.6 }
319
   glow { file "highres/sprites/switches/0864_powerswitch2_glow.png" }
320
   anim { frame0 "frame2" frame1 "frame2" fps 6 flags 0 }
321
   frame { name "frame2" tile 864 }
322
   anim { frame0 "frame1" frame1 "frame1" fps 6 flags 0 }
323
   frame { name "frame1" tile 865 }
324
}
325
 
326
 
327
// Hand switch (1111/1112)
328
model "highres/sprites/switches/1111_handswitch.md3" {
329
   scale 1.6 shade 10
330
   skin { pal 0 file "highres/sprites/switches/1111_handswitch_off.png" }
331
   detail { file "highres/detail/alien_metal_0.png" xscale 0.6 yscale 1.2 }
332
   frame { name "Frame0" tile 1111 }
333
   skin { pal 0 file "highres/sprites/switches/1112_handswitch_on.png" }
334
   detail { file "highres/detail/alien_metal_0.png" xscale 0.6 yscale 1.2 }
335
   frame { name "Frame1" tile 1112 }
336
}
337
 
338
 
339
// Pull switch (1122/1123)
340
model "highres/sprites/switches/1122_pullswitch.md3" {
341
   scale 1.5 shade 0
342
   skin { pal 0 file "highres/sprites/switches/1122_pullswitch.png" }
343
   detail { file "highres/detail/metal.png" xscale 0.3 yscale 0.6 }
344
   frame { name "Frame0" tile 1122 }
345
   skin { pal 0 file "highres/sprites/switches/1123_pullswitch.png" }
346
   detail { file "highres/detail/metal.png" xscale 0.3 yscale 0.6 }
347
   glow { file "highres/sprites/switches/1123_pullswitch_glow.png" }
348
   frame { name "Frame1" tile 1123 }
349
}
350
 
351
 
352
// Alien switch (1142/1143)
353
model "highres/sprites/switches/1142_alienswitch.md3" {
354
   scale 1.3 shade 12
355
   skin { pal 0 file "highres/sprites/switches/1142_alienswitch.png" }
356
   detail { file "highres/detail/metal_fine.png" detailscale 0.3 }
357
   frame { name "Frame0" tile 1142 }
358
   skin { pal 0 file "highres/sprites/switches/1143_alienswitch.png" }
359
   detail { file "highres/detail/metal_fine.png" detailscale 0.3 }
360
   glow { file "highres/sprites/switches/1143_alienswitch_glow.png" }
361
   frame { name "Frame1" tile 1143 }
362
}
363
 
364
 
365
texture 2444 { 
366
   pal 0 { file "highres/sprites/switches/2444.png" }
367
   detail { file "highres/detail/metal_fine.png" xscale 0.65 yscale 0.45 } 
368
}
369
 
370
 
371
// Broken DIPSWITCH2 (4483)
372
texture 4483 { 
373
   pal 0 { file "highres/sprites/switches/4483.png" }
374
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.5 }
375
}
376
 
377
// Broken state of Power Switch 1 (4954)
378
model "highres/sprites/switches/4954_switchbroke.md3" {
379
   scale 1 shade 0
380
   skin { pal 0 file "highres/sprites/switches/4954_switchbroke.png" }
381
   detail { file "highres/detail/metal.png" detailscale 0.3 }
382
   frame { name "FRAME1" tile 4954 }
383
}