
// Duke3D HRP Switches Definitions


// Access Switch (130/131)
model "highres/sprites/switches/0130_accessswitch.md3" {
   scale 1.24 shade 0
   skin { pal 0 file "highres/sprites/switches/0130_accessswitch_lb.jpg" } 
   skin { pal 21 file "highres/sprites/switches/0130_accessswitch_lr.jpg" }
   skin { pal 23 file "highres/sprites/switches/0130_accessswitch_ly.jpg" }
   detail { file "highres/detail/metal_fine.png" xscale 0.15 yscale 0.3 }
   glow { file "highres/sprites/switches/0130_accessswitch_l_glow.png" }
   frame { name "frame01" tile 130 }
   skin { pal 0 file "highres/sprites/switches/0130_accessswitch_ab.jpg" }
   skin { pal 21 file "highres/sprites/switches/0130_accessswitch_ar.jpg" }
   skin { pal 23 file "highres/sprites/switches/0130_accessswitch_ay.jpg" }
   detail { file "highres/detail/metal_fine.png" xscale 0.15 yscale 0.3 }
   glow { file "highres/sprites/switches/0130_accessswitch_a_glow.png" }
   frame { name "frame01" tile 131 }
}


// Slot Door (132/133)
model "highres/sprites/switches/0132_slotdoor.md3" {
   scale 1.5 shade 0
   skin { pal 0 file "highres/sprites/switches/0132_slotdoor.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 1.2 }
   glow { file "highres/sprites/switches/0132_slotdoor_glow.png" }
   frame { name "red" tile 132 }
}

model "highres/sprites/switches/0133_slotdoor.md3" { 
   scale 1.5 shade 0
   skin { pal 0 file "highres/sprites/switches/0133_slotdoor.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 1.2 }
   glow { file "highres/sprites/switches/0133_slotdoor_glow.png" }
   frame { name "green" tile 133 }
}


// Light Switch (134/135)
model "highres/sprites/switches/0134_lightswitch.md3" {
   scale 5 shade 0
   skin { pal 0 file "highres/sprites/switches/0134_lightswitch_red.png" }
   detail { file "highres/detail/metal.png" xscale 0.5 yscale 0.6 }
   glow { file "highres/sprites/switches/0134_lightswitch_red_glow.png" }
   frame { name "red" tile 134 }
   skin { pal 0 file "highres/sprites/switches/0134_lightswitch_green.png" }
   detail { file "highres/detail/metal.png" xscale 0.5 yscale 0.6 }
   glow { file "highres/sprites/switches/0134_lightswitch_green_glow.png" }
   frame { name "green" tile 135 }
}


// Space door Switch (136/137)
texture 136 { 
   pal 0 { file "highres/sprites/switches/0136.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
}
texture 137 { 
   pal 0 { file "highres/sprites/switches/0137.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
}

model "highres/sprites/switches/0136_sdoorswitch.md3" {
   scale 1.55 shade 0
   skin { pal 0 file "highres/sprites/switches/0136_sdoorswitch_red.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0136_sdoorswitch_red_glow.png" }
   frame { name "red" tile 136 }
   skin { pal 0 file "highres/sprites/switches/0136_sdoorswitch_green.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0136_sdoorswitch_green_glow.png" }
   frame { name "green" tile 137 }
}


// Space light Switch (138/139)
model "highres/sprites/switches/0138_slightswitch.md3" {
   scale 1.55 shade 0
   skin { pal 0 file "highres/sprites/switches/0138_slightswitch_red.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0138_slightswitch_red_glow.png" }
   frame { name "red" tile 138 }
   skin { pal 0 file "highres/sprites/switches/0138_slightswitch_green.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0138_slightswitch_green_glow.png" }
   frame { name "green" tile 139 }
}


// Frankenstine Switch (140/141)
model "highres/sprites/switches/0140_fsswitch.md3" {
   scale 2.5 shade 10
   skin { pal 0 file "highres/sprites/switches/0140_fsswitch.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0140_fsswitch_glow.png" }
   frame { name "Frame0" tile 140 }
   skin { pal 0 file "highres/sprites/switches/0141_fsswitch.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0141_fsswitch_glow.png" }
   frame { name "Frame1" tile 141 }
}


// Nuke Button (142/143)
model "highres/sprites/switches/0142_nukebutton.md3" {
   scale 3.5 shade 6
   detail { file "highres/detail/rust.png" detailscale 0.3 }
   skin { pal 0 file "highres/sprites/switches/0142_nukebutton.png" }
   detail { file "highres/detail/rust.png" detailscale 0.3 }
   skin { pal 13 file "highres/sprites/switches/0142_nukebutton_13.png" }
   detail { file "highres/detail/rust.png" detailscale 0.3 }
   skin { pal 14 file "highres/sprites/switches/0142_nukebutton_g.png" }
   anim { frame0 "Frame 1" frame1 "Frame 9" fps 7.4 flags 1 }
   frame { name "Frame 0" tile 142 }
   frame { name "Frame 1" tile0 143 tile1 145 }
}


// Multi Switch (146-149)
model "highres/sprites/switches/0146_multiswitch.md3" {
   scale 22 shade 6
   skin { pal 0 file "highres/sprites/switches/0146_multiswitch.png" }
   detail { file "highres/detail/metal_worn.png" detailscale 0.3 }
   glow { file "highres/sprites/switches/0146_multiswitch_glow.png" }
   frame { name "mswitch01" tile 147 }
   frame { name "mswitch02" tile 148 }
   frame { name "mswitch03" tile 149 }
   frame { name "mswitch04" tile 146 }
}


// Dip Switch (162/163)
texture 162 { 
   pal 0 { file "highres/sprites/switches/0162.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
   glow { file "highres/sprites/switches/0162_glow.png" } 
}
texture 163 { 
   pal 0 { file "highres/sprites/switches/0163.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
   glow { file "highres/sprites/switches/0163_glow.png" } 
}

model "highres/sprites/switches/0162_dipswitch.md3" {
   scale 1.55 shade -5
   skin { pal 0 file "highres/sprites/switches/0162_dipswitch.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0162_dipswitch_glow.png" }
   frame { name "red" tile 162 }
   skin { pal 0 file "highres/sprites/switches/0163_dipswitch.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0163_dipswitch_glow.png" }
   frame { name "green" tile 163 }
}


// Dip Switch 2 (164/165)
texture 164 { 
   pal 0 { file "highres/sprites/switches/0164.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
   glow { file "highres/sprites/switches/0164_glow.png" } 
}
texture 165 { 
   pal 0 { file "highres/sprites/switches/0165.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.6 }
   glow { file "highres/sprites/switches/0165_glow.png" } 
}

model "highres/sprites/switches/0164_dipswitch2.md3" {
   scale 1.55 shade -5
   skin { pal 0 file "highres/sprites/switches/0164_dipswitch2.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0164_dipswitch2_glow.png" }
   frame { name "red" tile 164 }
   skin { pal 0 file "highres/sprites/switches/0165_dipswitch2.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0165_dipswitch2_glow.png" }
   frame { name "green" tile 165 }
}


// Tech Switch (166/167)
model "highres/sprites/switches/0166_techswitch.md3" {
   scale 4.5 shade 0
   skin { pal 0 file "highres/sprites/switches/0166_techswitch.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0166_techswitch_glow.png" }
   frame { name "red" tile 166 }
   skin { pal 0 file "highres/sprites/switches/0167_techswitch.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0167_techswitch_glow.png" }
   frame { name "green" tile 167 }
}


// Dip Switch 3 (168/169)
model "highres/sprites/switches/0168_dipswitch3.md3" {
   scale 4.5 shade 0
   skin { pal 0 file "highres/sprites/switches/0168_dipswitch3.png" }
   detail { file "highres/detail/metal_fine.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0168_dipswitch3_glow.png" }
   frame { name "idle" tile 168 }
   skin { pal 0 file "highres/sprites/switches/0169_dipswitch3.png" }
   detail { file "highres/detail/metal_fine.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0169_dipswitch3_glow.png" }
   frame { name "idle" tile 169 }
}


// Access Switch 2 (170/171)
model "highres/sprites/switches/0170_accessswitch2.md3" {
   scale 10 shade 0
   skin { pal 0 file "highres/sprites/switches/0170_accessswitch2.png" }
   skin { pal 21 file "highres/sprites/switches/0170_accessswitch2_21.png" }
   skin { pal 23 file "highres/sprites/switches/0170_accessswitch2_23.png" }
   detail { file "highres/detail/metal_fine.png" xscale 0.3 yscale 0.6 }
   glow { file "highres/sprites/switches/0170_accessswitch2_glow.png" }
   frame { name "idle" tile 170 }
   skin { pal 0 file "highres/sprites/switches/0171_accessswitch2.png" }
   skin { pal 21 file "highres/sprites/switches/0171_accessswitch2_21.png" }
   skin { pal 23 file "highres/sprites/switches/0171_accessswitch2_23.png" }
   detail { file "highres/detail/metal_fine.png" xscale 0.3 yscale 0.6 }
   glow { file "highres/sprites/switches/0171_accessswitch2_glow.png" }
   frame { name "idle" tile 171 }
}


// Light Switch (712/713)
model "highres/sprites/switches/0712_lightswitch.md3" {
   scale 1.575 shade 0
   skin { pal 0 file "highres/sprites/switches/0712_lightswitch.png" }
   frame { name "off" tile 712 }
   frame { name "on" tile 713 }
}


// Power Switch 1 (860/861)
model "highres/sprites/switches/0860_powerswitch.md3" {
   scale 1 shade 0
   skin { pal 0 file "highres/sprites/switches/0860_powerswitch_off.jpg" }
   detail { file "highres/detail/metal.png" detailscale 0.15 }
   glow { file "highres/sprites/switches/0860_powerswitch_off_glow.png" }
   frame { name "Frame 1" tile 860 }
   skin { pal 0 file "highres/sprites/switches/0861_powerswitch_on.jpg" }
   detail { file "highres/detail/metal.png" detailscale 0.15 }
   glow { file "highres/sprites/switches/0861_powerswitch_on_glow.png" }
   frame { name "Frame 3" tile 861 }
}


// Lock switch 1 (862/863)
model "highres/sprites/switches/0862_lockswitch1.md3" {
   scale 1.55 shade 0
   skin { pal 0 file "highres/sprites/switches/0862_lockswitch1.png" }
   glow { file "highres/sprites/switches/0862_lockswitch1_glow.png" }
   frame { name "red" tile 862 }
   skin { pal 0 file "highres/sprites/switches/0863_lockswitch1.png" }
   glow { file "highres/sprites/switches/0863_lockswitch1_glow.png" }
   frame { name "green" tile 863 }
}


// Power Switch 2 (864/865)
model "highres/sprites/switches/0864_powerswitch2.md3" {
   scale 2.75 shade 0
   skin { pal 0 file "highres/sprites/switches/0864_powerswitch2.png" }
   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0864_powerswitch2_glow.png" }
   anim { frame0 "frame2" frame1 "frame2" fps 6 flags 0 }
   frame { name "frame2" tile 864 }
   anim { frame0 "frame1" frame1 "frame1" fps 6 flags 0 }
   frame { name "frame1" tile 865 }
}


// Hand switch (1111/1112)
model "highres/sprites/switches/1111_handswitch.md3" {
   scale 1.6 shade 10
   skin { pal 0 file "highres/sprites/switches/1111_handswitch_off.png" }
   detail { file "highres/detail/alien_metal_0.png" xscale 0.6 yscale 1.2 }
   frame { name "Frame0" tile 1111 }
   skin { pal 0 file "highres/sprites/switches/1112_handswitch_on.png" }
   detail { file "highres/detail/alien_metal_0.png" xscale 0.6 yscale 1.2 }
   frame { name "Frame1" tile 1112 }
}


// Pull switch (1122/1123)
model "highres/sprites/switches/1122_pullswitch.md3" {
   scale 1.5 shade 0
   skin { pal 0 file "highres/sprites/switches/1122_pullswitch.png" }
   detail { file "highres/detail/metal.png" xscale 0.3 yscale 0.6 }
   frame { name "Frame0" tile 1122 }
   skin { pal 0 file "highres/sprites/switches/1123_pullswitch.png" }
   detail { file "highres/detail/metal.png" xscale 0.3 yscale 0.6 }
   glow { file "highres/sprites/switches/1123_pullswitch_glow.png" }
   frame { name "Frame1" tile 1123 }
}


// Alien switch (1142/1143)
model "highres/sprites/switches/1142_alienswitch.md3" {
   scale 1.3 shade 12
   skin { pal 0 file "highres/sprites/switches/1142_alienswitch.png" }
   detail { file "highres/detail/metal_fine.png" detailscale 0.3 }
   frame { name "Frame0" tile 1142 }
   skin { pal 0 file "highres/sprites/switches/1143_alienswitch.png" }
   detail { file "highres/detail/metal_fine.png" detailscale 0.3 }
   glow { file "highres/sprites/switches/1143_alienswitch_glow.png" }
   frame { name "Frame1" tile 1143 }
}


texture 2444 { 
   pal 0 { file "highres/sprites/switches/2444.png" }
   detail { file "highres/detail/metal_fine.png" xscale 0.65 yscale 0.45 } 
}


// Broken DIPSWITCH2 (4483)
texture 4483 { 
   pal 0 { file "highres/sprites/switches/4483.png" }
   detail { file "highres/detail/metal.png" xscale 0.6 yscale 0.5 }
}

// Broken state of Power Switch 1 (4954)
model "highres/sprites/switches/4954_switchbroke.md3" {
   scale 1 shade 0
   skin { pal 0 file "highres/sprites/switches/4954_switchbroke.png" }
   detail { file "highres/detail/metal.png" detailscale 0.3 }
   frame { name "FRAME1" tile 4954 }
}