/*
--------------------------------------------------------------------------------
Duke Caribbean: Life's A Beach Plus
By Hendricks266
--------------------------------------------------------------------------------
*/

// FireLaser blue patch
texture 6326 { pal 1 { file "vaca_hrp/dp/firelaser_1.png" nocompress nodownsize } }
texture 6346 { pal 1 { file "vaca_hrp/dp/firelaser_1.png" nocompress nodownsize } }


// MP5K -> Soak 'Em Real Good
texture 8800 { pal 0 { file "vaca_hrp/dp/mp5fire1.png" nocompress nodownsize } }

// MP5AMMO
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/MP5CLIP.md3" {
scale 0.75
   skin { pal 0 surface 0 file "vaca_hrp/dp/mp5clips.png" }
   frame { name "MilkShape 3D" tile 8832 }
}

// MP5 PICKUP
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/mp5pick.md3" {
 scale 4.0
   skin { pal 0 surface 0 file "vaca_hrp/dp/mp5stock.png" } 
   skin { pal 0 surface 1 file "vaca_hrp/dp/mp5body.png" }
   skin { pal 0 surface 2 file "vaca_hrp/dp/mp5clips.png" }
   skin { pal 0 surface 3 file "vaca_hrp/dp/mp5grip.png" }
   frame { name "MilkShape 3D" tile 8833 }
}

// HUD MP5
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/MP5.md3" {
   scale 1.9
   shade 3

   skin { pal 0 surface 0 file "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/arms256.png" }
   skin { pal 0 surface 1 file "vaca_hrp/dp/mp5stock.png" } 
   skin { pal 0 surface 2 file "vaca_hrp/dp/mp5body.png" }
   skin { pal 0 surface 3 file "vaca_hrp/dp/mp5clips.png" }
   skin { pal 0 surface 4 file "vaca_hrp/dp/mp5grip.png" }
   anim { frame0 "Idle" frame1 "Idle" fps 15 }
   frame { name "Idle" tile 8835 flags 0 smoothduration 0.01 }
   anim { frame0 "fire1" frame1 "fire4" fps 40 }
   frame { name "fire1" tile 8836 flags 1 smoothduration 0.01 }
   anim { frame0 "reload1" frame1 "reload20" fps 25 flags 1 }
   frame { name "reload1" tile 8837 }
   anim { frame0 "reload21" frame1 "reload40" fps 25 flags 1 }
   frame { name "reload21" tile 8838 }
   anim { frame0 "cold1" frame1 "cold11" fps 14 flags 1 }
   frame { name "cold1" tile 8839 flags 1 smoothduration 0.01 }
   hud { tile 8835 xadd -.15 yadd 1.2 zadd -0.40 angadd -16 } // idle
   hud { tile 8836 xadd -.15 yadd 1.2 zadd -0.40 angadd -16 } // firing
   hud { tile 8837 xadd -.15 yadd 1.0 zadd -0.40 angadd -16 } // reload part 1
   hud { tile 8838 xadd -.15 yadd 1.0 zadd -0.40 angadd -16 } // reload part 2
   hud { tile 8839 xadd -.15 yadd 1.15 zadd -0.40 angadd -8 } // butt
}

/*
model "DUKEPLUS_RESOURCES/GRAPHICS/shell.md3" {
  scale 5 shade 5
  skin { pal 0 file "vaca_hrp/dp/shell2.png" }
  anim { frame0 "FRAME2" frame1 "FRAME10" fps 40 flag 0 }
  anim { frame0 "FRAME11" frame1 "FRAME16" fps 30 flag 1 }
  frame { name "FRAME2" tile0 2533 tile1 2534 }

}
*/
undefmodelrange 2533 2535

texture 2533 { pal 0 { file "vaca_hrp/dp/2533.png" nocompress nodownsize } }
texture 2534 { pal 0 { file "vaca_hrp/dp/2534.png" nocompress nodownsize } }
texture 2535 { pal 0 { file "vaca_hrp/dp/2534.png" nocompress nodownsize } }

/*
model "DUKEPLUS_RESOURCES/GRAPHICS/shell.md3" {
  scale 7 shade 5
  skin { pal 0 file "vaca_hrp/dp/shell2.png" }
  anim { frame0 "FRAME2" frame1 "FRAME10" fps 40 flag 0 }
  anim { frame0 "FRAME11" frame1 "FRAME16" fps 30 flag 1 }
  frame { name "FRAME2" tile 2535 }
  frame { name "FRAME2" tile 6325 }
}
*/

texture 8613 { pal 0 { file "vaca_hrp/dp/shell_hud.png" nocompress nodownsize } }

// Cruizer Shotgun -> Cruizer Soak'em
// CRUIZER SHOTGUN PICKUP
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/Cruizer_pickup.md3" {
  scale 1.6
  skin { pal 0 surface 0 file "vaca_hrp/dp/2barrel.png" } // 2barrel
   skin { pal 0 surface 1 file "vaca_hrp/dp/3grips.png" }     // 3grips
   skin { pal 0 surface 2 file "vaca_hrp/dp/1rec.png" }     // 1rec
   frame { name "MilkShape 3D" tile 8830 }
}

texture 8831 { pal 0 { file "vaca_hrp/dp/shotgunmuzzleflash.png" nocompress nodownsize } }

// HUD CRUIZER SHOTGUN
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/Cruizer.md3" {
 scale .9
 shade 3
  skin { pal 0 surface 0 file "vaca_hrp/dp/2barrel.png" } // 2barrel
   skin { pal 0 surface 1 file "vaca_hrp/dp/3grips.png" }     // 3grips
   skin { pal 0 surface 2 file "vaca_hrp/dp/1rec.png" }     // 1rec
   skin { pal 0 surface 3 file "vaca_hrp/dp/shell.png" }  //shell
   skin { pal 0 surface 4 file "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/arms256.png" } //arms256
  anim { frame0 "Idle1" frame1 "Idle1" fps 15 flags 0 }
   frame { name "Idle1" tile 8840 smoothduration 0.0 }
   anim { frame0 "shoot1" frame1 "pump8" fps 18 flags 1 } // frame1 "shoot6"
   frame { name "shoot1" tile 8841 smoothduration 0.0 }
   anim { frame0 "pump1" frame1 "pump8" fps 15 flags 1 smoothduration 0.0 }
   frame { name "pump1" tile 8842 smoothduration 0.0 }
   anim { frame0 "reload1" frame1 "reload5" fps 15 flags 1 } // complete first shell goes to reload 10
   frame { name "reload1" tile 8843 smoothduration 0.0 }
   anim { frame0 "reload6" frame1 "reload10" fps 11 flags 1 } // the part that repeats; holds 8 shells total
   frame { name "reload6" tile 8844 smoothduration 0.0 }
   anim { frame0 "reload10" frame1 "reload10" fps 11 flags 0 } // necessary to reset the reload animation
   frame { name "reload10" tile 8845 smoothduration 0.0 }
   anim { frame0 "reload11" frame1 "reload14" fps 15 flags 1 } // the hand returns to idle position from reloading
   frame { name "reload11" tile 8846 smoothduration 0.0 }
   anim { frame0 "pumpb1" frame1 "pumpb6" fps 15 flags 1 }
   frame { name "pumpb1" tile 8847 smoothduration 0.0 }

   hud { tile 8840  xadd 0.00 yadd 0.25 zadd -.40 angadd -16 }
   hud { tile 8841  xadd 0.00 yadd 0.25 zadd -.40 angadd -16 }
   hud { tile 8842  xadd 0.00 yadd 0.25 zadd -.40 angadd -16 }
   hud { tile 8843  xadd 0.00 yadd 0.2 zadd -.40 angadd -16 }
   hud { tile 8844  xadd 0.00 yadd 0.2 zadd -.40 angadd -16 }
   hud { tile 8845  xadd 0.00 yadd 0.2 zadd -.40 angadd -16 }
   hud { tile 8846  xadd 0.00 yadd 0.25 zadd -.40 angadd -16 }
   hud { tile 8847  xadd 0.00 yadd 0.25 zadd -.40 angadd -16 }

}

// Sawnoff Shotgun -> Saturator
// HUD DOUBLE BARRELED Shotgun (8826)
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/sawnoff.md3" {
   scale 1.8 // 1.9
   shade 3

   skin { pal 0 surface 0 file "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/arms256.png" } // surface 0 is left arm
   skin { pal 0 surface 1 file "vaca_hrp/dp/newbarrel.png" } // surface 1 part of gun
   skin { pal 0 surface 2 file "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/arms256.png" } // surface 2 is right arm
   skin { pal 0 surface 3 file "vaca_hrp/dp/newbarrel.png" } // surface 3 is part of gun
   skin { pal 0 surface 4 file "vaca_hrp/dp/shell_dirty.png" } // surface 4 is the shells

   anim { frame0 "Idle" frame1 "Idle" fps 15 }
   frame { name "Idle" tile 8826 flags 0 smoothduration 0.01 }
   anim { frame0 "fire1" frame1 "fire6" fps 13 }
   frame { name "fire1" tile 8827 flags 1 smoothduration 0.01 }
   anim { frame0 "reload1" frame1 "reload18" fps 12 flags 1 }
   frame { name "reload1" tile 8828 flags 0 smoothduration 0.01 }
   anim { frame0 "cold1" frame1 "cold9" fps 12 flags 1 }
   frame { name "cold1" tile 8829 flags 1 }
   
   hud { tile 8826 xadd 0.09 yadd 1.0 zadd -0.60 angadd -32 }
   hud { tile 8827 xadd 0.09 yadd 1.0 zadd -0.60 angadd -32 }
   hud { tile 8828 xadd 0.09 yadd 1.0 zadd -0.60 angadd -32 }
   
   // hud { tile 8829 xadd 0.09 yadd 1.0 zadd -0.72 angadd -16 }
   hud { tile 8829 xadd 0.09 yadd 1.0 zadd -0.60 angadd -32 }
}

// SAWNOFF SHOTGUN PICKUP
model "DUKEPLUS_RESOURCES/GRAPHICS/WEAPONS/sawnoffpickup.md3" {
  scale 3.0
  skin { pal 0 surface 0 file "vaca_hrp/dp/newbarrel.png" }
  skin { pal 0 surface 1 file "vaca_hrp/dp/sawnoffpickupmain.png" }
  frame { name "MilkShape 3D" tile 6324 }
}
