Subversion Repositories duke3d_hrp

Rev

Details | Last modification | View Log | RSS feed

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