Subversion Repositories duke3d_hrp

Rev

Rev 613 | Rev 671 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed


// 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.jpg" }
   skin { pal 10 file "highres/sprites/switches/0130_accessswitch_10.jpg" }
   skin { pal 11 file "highres/sprites/switches/0130_accessswitch_11_22.jpg" }
   skin { pal 12 file "highres/sprites/switches/0130_accessswitch_12_18.jpg" }
   skin { pal 13 file "highres/sprites/switches/0130_accessswitch_13.jpg" }
   skin { pal 14 file "highres/sprites/switches/0130_accessswitch_14.jpg" }
   skin { pal 15 file "highres/sprites/switches/0130_accessswitch_15.jpg" }
   skin { pal 16 file "highres/sprites/switches/0130_accessswitch_16.jpg" }
   skin { pal 18 file "highres/sprites/switches/0130_accessswitch_12_18.jpg" }
   skin { pal 21 file "highres/sprites/switches/0130_accessswitch_21.jpg" }
   skin { pal 22 file "highres/sprites/switches/0130_accessswitch_11_22.jpg" }
   skin { pal 23 file "highres/sprites/switches/0130_accessswitch_23.jpg" }
   skin { pal 24 file "highres/sprites/switches/0130_accessswitch_24.jpg" }

   detail { file "highres/detail/metal_fine.png" xscale 0.15 yscale 0.3 }
   glow { file "highres/sprites/switches/0130_accessswitch_g.png" }
   frame { name "frame01" tile 130 }

   skin { pal 0 file "highres/sprites/switches/0131_accessswitch.jpg" }
   skin { pal 10 file "highres/sprites/switches/0131_accessswitch_10.jpg" }
   skin { pal 11 file "highres/sprites/switches/0131_accessswitch_11_22.jpg" }
   skin { pal 12 file "highres/sprites/switches/0131_accessswitch_12_18.jpg" }
   skin { pal 13 file "highres/sprites/switches/0131_accessswitch_13.jpg" }
   skin { pal 14 file "highres/sprites/switches/0131_accessswitch_14.jpg" }
   skin { pal 15 file "highres/sprites/switches/0131_accessswitch_15.jpg" }
   skin { pal 16 file "highres/sprites/switches/0131_accessswitch_16.jpg" }
   skin { pal 18 file "highres/sprites/switches/0131_accessswitch_12_18.jpg" }
   skin { pal 21 file "highres/sprites/switches/0131_accessswitch_21.jpg" }
   skin { pal 22 file "highres/sprites/switches/0131_accessswitch_11_22.jpg" }
   skin { pal 23 file "highres/sprites/switches/0131_accessswitch_23.jpg" }
   skin { pal 24 file "highres/sprites/switches/0131_accessswitch_24.jpg" }

   detail { file "highres/detail/metal_fine.png" xscale 0.15 yscale 0.3 }
   glow { file "highres/sprites/switches/0131_accessswitch_g.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_g.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_g.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_d.png" }
//   detail { file "highres/detail/metal.png" xscale 0.5 yscale 0.6 }
   glow { file "highres/sprites/switches/0134_lightswitch_g.png" }
   normal { file "highres/sprites/switches/0134_lightswitch_n.png" }
   specular { file "highres/sprites/switches/0134_lightswitch_s.png" }
   frame { name "red" tile 134 }
   skin { pal 0 file "highres/sprites/switches/0135_lightswitch_d.png" }
//   detail { file "highres/detail/metal.png" xscale 0.5 yscale 0.6 }
   glow { file "highres/sprites/switches/0135_lightswitch_g.png" }
   normal { file "highres/sprites/switches/0134_lightswitch_n.png" }
   specular { file "highres/sprites/switches/0134_lightswitch_s.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_d.png" }
   specular { pal 0 file "highres/sprites/switches/0136_sdoorswitch_red_s.png" }
//   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0136_sdoorswitch_red_g.png" }
   frame { name "red" tile 136 }
   skin { pal 0 file "highres/sprites/switches/0136_sdoorswitch_green_d.png" }
//   detail { file "highres/detail/metal.png" detailscale 0.6 }
   glow { file "highres/sprites/switches/0136_sdoorswitch_green_g.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_g.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_g.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_g.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_g.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_g.png" }
   frame { name "frame00" tile 147 }
   frame { name "frame01" tile 148 }
   frame { name "frame02" tile 149 }
   frame { name "frame03" 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_g.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_g.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_g.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_g.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_g.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_g.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_g.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_g.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_g.png" }
   frame { name "frame00" 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_g.png" }
   frame { name "frame01" 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_g.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_g.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 10 file "highres/sprites/switches/0170_accessswitch2_10.png" }
   skin { pal 11 file "highres/sprites/switches/0170_accessswitch2_11_22.png" }
   skin { pal 12 file "highres/sprites/switches/0170_accessswitch2_12_18.png" }
   skin { pal 13 file "highres/sprites/switches/0170_accessswitch2_13.png" }
   skin { pal 14 file "highres/sprites/switches/0170_accessswitch2_14.png" }
   skin { pal 15 file "highres/sprites/switches/0170_accessswitch2_15.png" }
   skin { pal 16 file "highres/sprites/switches/0170_accessswitch2_16.png" }
   skin { pal 18 file "highres/sprites/switches/0170_accessswitch2_12_18.png" }
   skin { pal 21 file "highres/sprites/switches/0170_accessswitch2_21.png" }
   skin { pal 22 file "highres/sprites/switches/0170_accessswitch2_11_22.png" }
   skin { pal 23 file "highres/sprites/switches/0170_accessswitch2_23.png" }
   skin { pal 24 file "highres/sprites/switches/0170_accessswitch2_24.png" }

   detail { file "highres/detail/metal_fine.png" xscale 0.3 yscale 0.6 }
   glow { file "highres/sprites/switches/0170_accessswitch2_g.png" }
   frame { name "idle" tile 170 }

   skin { pal 0 file "highres/sprites/switches/0171_accessswitch2.png" }
   skin { pal 10 file "highres/sprites/switches/0171_accessswitch2_10.png" }
   skin { pal 11 file "highres/sprites/switches/0171_accessswitch2_11_22.png" }
   skin { pal 12 file "highres/sprites/switches/0171_accessswitch2_12_18.png" }
   skin { pal 13 file "highres/sprites/switches/0171_accessswitch2_13.png" }
   skin { pal 14 file "highres/sprites/switches/0171_accessswitch2_14.png" }
   skin { pal 15 file "highres/sprites/switches/0171_accessswitch2_15.png" }
   skin { pal 16 file "highres/sprites/switches/0171_accessswitch2_16.png" }
   skin { pal 18 file "highres/sprites/switches/0171_accessswitch2_12_18.png" }
   skin { pal 21 file "highres/sprites/switches/0171_accessswitch2_21.png" }
   skin { pal 22 file "highres/sprites/switches/0171_accessswitch2_11_22.png" }
   skin { pal 23 file "highres/sprites/switches/0171_accessswitch2_23.png" }
   skin { pal 24 file "highres/sprites/switches/0171_accessswitch2_24.png" }

   detail { file "highres/detail/metal_fine.png" xscale 0.3 yscale 0.6 }
   glow { file "highres/sprites/switches/0171_accessswitch2_g.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_d.png" }
   normal { pal 0 file "highres/sprites/switches/0712_lightswitch_n.png" }
//   detail { file "highres/detail/metal_fine.png" xscale 0.6 yscale 0.6 }
   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_g.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_g.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_g.png" }
   frame { name "red" tile 862 }
   skin { pal 0 file "highres/sprites/switches/0863_lockswitch1.png" }
   glow { file "highres/sprites/switches/0863_lockswitch1_g.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_g.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_g.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_g.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 }
}