
// Duke3D HRP HUD Weapons Definitions


// Fist (1640)
model "highres/sprites/firstperson/1640_fist.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   normal { file "highres/sprites/firstperson/duke_hand_n.png" }
   specular { file "highres/sprites/firstperson/duke_hand_s.png" }
   frame { name "frame_1" tile 1640 }
   hud { tile 1640 xadd -0.2 yadd 1.50 zadd -0.4 fov 250 }
   hud { tile 1640 xadd 0.3 yadd 0.1 zadd -0.4 flipped fov 250 }
}

// Crack knuckles (2324)
model "highres/sprites/firstperson/2324_crackknuckles.md3" {
   scale 1.75
   skin { pal 0 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   normal { file "highres/sprites/firstperson/duke_hand_n.png" }
   specular { file "highres/sprites/firstperson/duke_hand_s.png" }
   anim { frame0 "frame_1" frame1 "frame_28" fps 30 flags 0 }
   frame { name "frame_1" tile0 2324 tile1 2327 }
   hud { tile0 2324 tile1 2327 xadd 0.1 yadd 0.5 zadd 0.35 flipped fov 250 }
}

// Slimecrunch (2375)
model "highres/sprites/firstperson/2375_slimecrunch.md3" {
   scale 3.5
   skin { pal 0 file "highres/sprites/firstperson/2375_slimer.png" }
   // anim { frame0 "frame00" frame1 "frame02" fps 3 flags 0 }
   frame { name "frame00" tile 2375 }
   frame { name "frame01" tile 2376 }
   frame { name "frame02" tile 2377 }
   hud { tile 2375 yadd 0.14 zadd 1.16 angadd 1024 }
   hud { tile 2376 yadd 0.14 zadd 1.16 angadd 1024 }
   hud { tile 2377 yadd 0.14 zadd 1.16 angadd 1024 }
}

// Devastator (2510)
model "highres/sprites/firstperson/2510_devastator.md3" {
   scale 1.5
   skin { pal 0 file "highres/sprites/firstperson/2510_devastator_d.png" specfactor 1 specpower 1 }
//   normal { file "highres/sprites/firstperson/2510_devastator_n.png" parallaxbias 0.0 parallaxscale 0.0 }
   specular { file "highres/sprites/firstperson/2510_devastator_s.png" }
   frame { name "Frame0" tile 2510 }

   glow { file "highres/sprites/firstperson/2510_devastator_g.png" }
   frame { name "Frame1" tile 2511 }
   hud { tile0 2510 tile1 2511 xadd -0.38 yadd -0.70 zadd 1.42 angadd -512 flipped } //left devastator
   hud { tile0 2510 tile1 2511 xadd 0.38 yadd 0.18 zadd 1.42 angadd -512 } //right devastator
}

// Mighty Boot (2521)
model "highres/sprites/firstperson/2521_mightyboot.md3" {
   scale 9
   skin { pal 0 file "highres/sprites/characters/1405_duke2013_d.png" }
   specular { surface 0 file "highres/sprites/characters/1405_duke2013_s.png" }
   normal { surface 0 file "highres/sprites/characters/1405_duke2013_n.png" }
   frame { name "frame1" tile 2521 }
   hud { tile 2521 xadd 0.1 yadd 2.0 zadd 2.5 angadd 600 }
   hud { tile 2521 xadd -0.6 yadd 1.8 zadd 2.5 angadd 650 flipped }  // Quick Kick
}








// Mighty Boot (2522)
model "highres/sprites/firstperson/2522_mightyboot.md3" {
   scale 9
   skin { pal 0 file "highres/sprites/characters/1405_duke2013_d.png" }
   specular { surface 0 file "highres/sprites/characters/1405_duke2013_s.png" }
   normal { surface 0 file "highres/sprites/characters/1405_duke2013_n.png" }
   frame { name "frame1" tile 2522 }
   hud { tile 2522 xadd  0.09 yadd 2.5 zadd 2.5 angadd 550 }
   hud { tile 2522 xadd -0.5 yadd 1.4 zadd 2.5 angadd 500 flipped }  // Quick Kick
}








// Pistol (2524)
model "highres/sprites/firstperson/2524_pistol.md3" {
   scale 2
   skin { pal 0 surface 4 file "highres/sprites/firstperson/2524.png" }
   skin { pal 0 surface 3 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   specular { surface 3 file "highres/sprites/firstperson/duke_hand_s.png" }
   normal { surface 3 file "highres/sprites/firstperson/duke_hand_n.png" }
   skin { pal 0 surface 2 file "highres/sprites/pickups/0021_pistol_d.png" specpower 1 specfactor 0.5 }
   normal { surface 2 file "highres/sprites/pickups/0021_pistol_n.png" }
   specular { surface 2 file "highres/sprites/pickups/0021_pistol_s.png" }
   skin { pal 0 surface 1 file "highres/sprites/pickups/0021_pistol_d.png" specpower 1 specfactor 0.5 }
   normal { surface 1 file "highres/sprites/pickups/0021_pistol_n.png" }
   specular { surface 1 file "highres/sprites/pickups/0021_pistol_s.png" }
   skin { pal 0 surface 0 file "highres/sprites/pickups/0021_pistol_d.png" specpower 1 specfactor 0.5 }
   normal { surface 0 file "highres/sprites/pickups/0021_pistol_n.png" }
   specular { surface 0 file "highres/sprites/pickups/0021_pistol_s.png" }
   frame { name "frame1" tile 2524 }
   anim { frame0 "frame2" frame1 "frame6" fps 60 flags 0 }
   frame { name "frame2" tile0 2525 tile1 2526 }
   anim { frame0 "frame7" frame1 "frame16" fps 12.5 flags 1 }
   frame { name "frame7" tile0 2528 tile1 2529 }
   hud { tile0 2524 tile1 2526 xadd -0.09 yadd 1.52 zadd -0.6 angadd -37 fov 340 }
   hud { tile0 2528 tile1 2529 xadd -0.15 yadd 1.36 zadd -0.68 angadd -37 fov 330 }
}

model "highres/sprites/firstperson/2530_clip.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/pickups/0040_pistolammo.jpg" specpower 0.5 specfactor 0.5 }
   frame { name "Frame0" tile0 2530 tile1 2531 }
   hud { tile 2530 xadd 0.38 yadd 0.9 zadd -0.28 angadd -37 fov 330 }
}

model "highres/sprites/firstperson/2532_cliphand.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   specular { file "highres/sprites/firstperson/duke_hand_s.png" }
   normal { file "highres/sprites/firstperson/duke_hand_n.png" }
   frame { name "frame_1" tile 2532 }
   hud { tile 2532 xadd 0.35 yadd 1.36 zadd -0.48 angadd -37 fov 360 }
}

// Chaingun (2536)
model "highres/sprites/firstperson/2536_chaingun.md3" {
   scale 1.9
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2536_chaingun_d.png" }
   normal { surface 0 file "highres/sprites/firstperson/2536_chaingun_n.png" }
   specular { surface 0 file "highres/sprites/firstperson/2536_chaingun_s.png" }
   glow { surface 0 file "highres/sprites/firstperson/2536_chaingun_g.png" }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   normal { surface 1 file "highres/sprites/firstperson/duke_hand_n.png" }
   specular { surface 1 file "highres/sprites/firstperson/duke_hand_s.png" }
   frame { name "frame00" tile 2537 }
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2536_chaingun_f.png" }
   frame { name "frame00" tile0 2538 tile1 2540 }
   hud { tile0 2537 tile1 2540 xadd -0.21 yadd 0.42 zadd -0.8 angadd -24 fov 410 }
   frame { name "frame00" tile 2536 }
   frame { name "frame00" tile0 2541 tile1 2543 }
   hud { tile 2536 hide }
}

// Chaingun muzzleflash (2541-2543)
texture 2541 { pal 0 { file "highres/sprites/firstperson/2541.png" } }
texture 2542 { pal 0 { file "highres/sprites/firstperson/2542.png" } }
texture 2543 { pal 0 { file "highres/sprites/firstperson/2543.png" } }

// RPG (2544)
model "highres/sprites/firstperson/2544_rpg.md3" {
   scale 4
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2544_rpg_d.png" }
   normal { surface 0 file "highres/sprites/firstperson/2544_rpg_n.png" }
   specular { surface 0 file "highres/sprites/firstperson/2544_rpg_s.png" }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/duke_hand_d.png" specpower 5 specfactor 0.5 }
   normal { surface 1 file "highres/sprites/firstperson/duke_hand_n.png" }
   specular { surface 1 file "highres/sprites/firstperson/duke_hand_s.png" }
   skin { pal 0 surface 2 file "highres/common/transp.png" }
   glow { surface 2 file "highres/common/transp.png" }
   frame { name "frame_1" tile 2544 }
   skin { pal 0 surface 2 file "highres/sprites/firstperson/muzzle_flash_01.png" }
   glow { surface 2 file "highres/sprites/firstperson/muzzle_flash_01.png" }
   frame { name "frame_1" tile0 2545 tile1 2546 }
   hud { tile0 2544 tile1 2546 xadd 1.5 yadd 4 zadd -0.5 angadd -64 fov 250 }
}

// Freezer (2548)
model "highres/sprites/firstperson/2548_freezer.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/2548_freezer.jpg" }
   glow { file "highres/sprites/firstperson/2548_freezer_g.png" }
   frame { name "idle" tile0 2548 tile1 2550 }
   skin { pal 0 file "highres/sprites/firstperson/2548_freezer_f.jpg" }
   glow { file "highres/sprites/firstperson/2548_freezer_f_g.png" }
   anim { frame0 "fire0" frame1 "fire1" fps 60 flags 0 }
   frame { name "fire0" tile0 2551 tile1 2553 }
   hud { tile 2548 xadd -0.5 yadd 0.5 zadd -0.16 angadd -9 }
   hud { tile0 2551 tile1 2553 xadd -0.5 yadd 0.5 zadd -0.35 angadd -15 }
   hud { tile 2550 hide }
}

// Expander (2554)
model "highres/sprites/firstperson/2554_expander.md3" {
   scale 15.0
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2556_shrinker.png" }
   glow { surface 0 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/2556_shrinker.png" }
   glow { surface 1 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   skin { pal 0 surface 2 file "highres/sprites/firstperson/2554_expander.png" }
   glow { surface 2 file "highres/sprites/firstperson/2554_expander_g.png" }
   frame { name "Frame0" tile 2554 }
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2556_shrinker.png" }
   glow { surface 0 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   detail { surface 0 file "highres/sprites/firstperson/2554_expander_body_f.png" xscale 1 yscale 1 }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/2556_shrinker.png" }
   glow { surface 1 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   detail { surface 1 file "highres/sprites/firstperson/2554_expander_body_f.png" xscale 1 yscale 1 }
   skin { pal 0 surface 2 file "highres/sprites/firstperson/2554_expander.png" }
   glow { surface 2 file "highres/sprites/firstperson/2554_expander_g.png" }
   detail { surface 2 file "highres/sprites/firstperson/2554_expander_f.png" xscale 1 yscale 1 }
   frame { name "Frame0" tile 2555 }
   hud { tile 2554 xadd 0 yadd 1.4 zadd 1.55 angadd -30 }
   hud { tile 2555 xadd 0 yadd 1.4 zadd 1.5 angadd -30 }
}

// Shrinker (2556)
model "highres/sprites/firstperson/2556_shrinker.md3" {
   scale 15.0
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2556_shrinker.png" }
   glow { surface 0 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/2556_shrinker.png" }   
   glow { surface 1 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   frame { name "Frame0" tile 2556 }
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2556_shrinker.png" }
   glow { surface 0 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   detail { surface 0 file "highres/sprites/firstperson/2556_shrinker_f.png" xscale 1 yscale 1 }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/2556_shrinker.png" }   
   glow { surface 1 file "highres/sprites/firstperson/2556_shrinker_g.png" }
   detail { surface 1 file "highres/sprites/firstperson/2556_shrinker_f.png" xscale 1 yscale 1 } 
   frame { name "Frame0" tile 2557 }
   hud { tile 2556 xadd 0 yadd 1.4 zadd 1.55 angadd -30 }
   hud { tile 2557 xadd 0 yadd 1.4 zadd 1.5 angadd -30 }
}

// Shrinker/Expander crystal (2558 pal0/2)
model "highres/sprites/firstperson/2558_crystal.md3" {
  scale 15.0 shade 0
  skin { pal 0 surface 0 file "highres/sprites/firstperson/2558_crystal.png" }
  skin { pal 0 surface 1 file "highres/sprites/firstperson/2558_crystal.png" }
  skin { pal 2 surface 0 file "highres/sprites/firstperson/2558_crystal_red.png" }
  skin { pal 2 surface 1 file "highres/sprites/firstperson/2558_crystal_red.png" }
  frame { name "Frame0" tile 2558 }
  anim { frame0 "Frame1" frame1 "Frame5" fps 20 flags 0 }
  frame { name "Frame1" tile0 2559 tile1 2561 }
  hud { tile0 2558 tile1 2561 xadd 0 yadd 1.4 zadd 1.55 angadd -30 }
  hud { tile0 2559 tile1 2561 xadd 0 yadd 1.4 zadd 1.5 angadd -30 }
}

// Tripbomb hand (2563)
model "highres/sprites/firstperson/2563_tripbombhand.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/2563_tripbombhand.png" specpower 1 specfactor 0.2 }
   frame { name "trip" tile 2563 }
   anim { frame0 "release1" frame1 "release2" fps 15 flags 0 }
   frame { name "release1" tile0 2564 tile1 2565 }
   hud { tile0 2563 tile1 2565 xadd -0.039 yadd 1.55 zadd 0.09 angadd 0 }
   hud { tile0 2563 tile1 2565 xadd 0.046 yadd 0.44 zadd 0.09 angadd 0 flipped }
}

// Tripbomb (2566)
model "highres/sprites/firstperson/2566_tripbomb.md3" {
   scale 6.5
   skin { pal 0 file "highres/sprites/firstperson/2566_tripbomb.png" }
   glow { file "highres/sprites/firstperson/2566_tripbomb_g.png" }

   frame { name "frame00" tile 2566 }
   hud { tile 2566 yadd 0.14 zadd 1.46 angadd 1024 }
}

// Keycard Hand (2568)
model "highres/sprites/firstperson/2568_keycardhand.md3" {
   scale 1.9 shade 0
   skin { pal 0 surface 0 file "highres/sprites/firstperson/2568_keycardhand.png" specpower 1 specfactor 0.2 }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   normal { surface 1 file "highres/sprites/firstperson/duke_hand_n.png" }
   specular { surface 1 file "highres/sprites/firstperson/duke_hand_s.png" }
   frame { name "Frame0" tile 2568 }
  // hud { tile 2568 xadd -0.25 yadd 0.24 zadd -0.1 angadd 0 }
   hud { tile 2568 xadd 0.25 yadd 0.24 zadd -0.1 angadd 512 flipped }
}























// Trigger Hand (2570)
model "highres/sprites/firstperson/2570_triggerhand.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/2570_triggerhand.png" }
   frame { name "ready" tile 2570 }
   anim { frame0 "push0" frame1 "push1" fps 6 flags 1 }
   frame { name "push0" tile0 2571 tile1 2572 }
   hud { tile0 2570 tile1 2572 xadd 0.7 yadd 1.20 zadd -0.4 }
}

// Pipebomb (2573)
model "highres/sprites/firstperson/2573_pipebombhand.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/2573_pipebombhand.png" }
   frame { name "hold" tile 2573 }
   frame { name "load" tile 2574 }
   hud { tile 2573 xadd -0.2 yadd 1.3 zadd -0.42 }
   hud { tile 2574 xadd -0.2 yadd 1.10 zadd -0.42 }
}

// Pipebomb Drop (2575)
model "highres/sprites/firstperson/2575_pipebombdrop.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/2575_pipebombdrop.png" }
   frame { name "drop" tile 2575 }
   hud { tile 2575 xadd -0.2 yadd 1.10 zadd -0.42 }
}

// Tip Hand (2576/2577)
model "highres/sprites/firstperson/2576_tiphand.md3" {
   scale 1.9
   skin { pal 0 surface 0 file "highres/sprites/firstperson/duke_hand.png" }
   detail { surface 0 file "highres/sprites/firstperson/2576_tiphand_lmap.png" detailscale 1 }
   skin { pal 0 surface 1 file "highres/sprites/firstperson/dollarnote.png" }   
   frame { name "Frame0" tile 2576 }
   hud { tile 2576 xadd -0.5 yadd 1.65 zadd -0.82 }
}

model "highres/sprites/firstperson/2577_tiphand.md3" {
   scale 1.9
   skin { pal 0 file "highres/sprites/firstperson/duke_hand.png" }
   detail { file "highres/sprites/firstperson/2577_tiphand_lmap.png" detailscale 1 }
   frame { name "Frame0" tile 2577 }
   hud { tile 2577 xadd -0.5 yadd 1.65 zadd -0.82 }
}

// Scubagear Mask (2581)
texture 2581 { pal 0 { file "highres/sprites/firstperson/2581.png" } }
model "highres/sprites/firstperson/2581_scuba.md3" {
   scale 0.5
   skin { pal 0 file "highres/sprites/firstperson/2581_scuba.png" }
   frame { name "Frame0" tile 2581 }
   hud { tile 2581 xadd 1.105 yadd -0.15 zadd 0.35 }
}

// Shotgun (2613)
model "highres/sprites/firstperson/2613_shotgun.md3" {
   scale 2
   skin { pal 0 surface 2 file "highres/sprites/pickups/0028_shotgun_d.png" specpower 20 specfactor 1.5 }
   normal { surface 2 file "highres/sprites/pickups/0028_shotgun_n.png" }
   specular { surface 2 file "highres/sprites/pickups/0028_shotgun_s.png" }
   skin { pal 0 surface 0 file "highres/sprites/pickups/0028_shotgun_d.png" specpower 20 specfactor 1.5 }
   normal { surface 0 file "highres/sprites/pickups/0028_shotgun_n.png" }
   specular { surface 0 file "highres/sprites/pickups/0028_shotgun_s.png" }
   skin { pal 0 surface 1 file "highres/sprites/pickups/0028_shotgun_d.png" specpower 20 specfactor 1.5 }
   normal { surface 1 file "highres/sprites/pickups/0028_shotgun_n.png" }
   specular { surface 1 file "highres/sprites/pickups/0028_shotgun_s.png" }
   skin { pal 0 surface 3 file "highres/sprites/firstperson/2615.png" }
   glow { surface 3 file "highres/sprites/firstperson/2615.png" } 
   skin { pal 0 surface 4 file "highres/sprites/firstperson/duke_hand_d.png" specpower 1 specfactor 0.2 }
   specular { surface 4 file "highres/sprites/firstperson/duke_hand_s.png" }
   normal { surface 4 file "highres/sprites/firstperson/duke_hand_n.png" } 
   frame { name "frame1" tile 2613 }
   frame { name "frame2" tile 2616 }
   frame { name "frame3" tile 2617 }
   frame { name "frame4" tile 2618 }
   frame { name "frame5" tile 2619 }
   hud { tile 2613 xadd  0.12 yadd 1.4 zadd -0.9 angadd -24 fov 300 }
   hud { tile 2616 xadd -0.0 yadd 1.5 zadd -0.9 angadd -24 fov 300 }
   hud { tile 2617 xadd -0.5 yadd 1.5 zadd -0.9 angadd -24 fov 300 }
   hud { tile 2618 xadd -0.6 yadd 1.5 zadd -0.9 angadd -24 fov 300 }
   hud { tile 2619 xadd -0.65 yadd 1.5 zadd -0.9 angadd -24 fov 300 }
   frame { name "frame7" tile0 2614 tile1 2615 }
   hud { tile0 2614 tile1 2615 hide }
}
