include duke3d_hrp.def
include weap.def

cachesize 500000000

texture 2492 { pal 0 { file "tex/title/creator.jpg" } } 
texture 2493 { pal 0 { file "tex/title/title.jpg" } } 
texture 3589 { pal 0 { file "tex/title/title.jpg" } } 
texture 3660 { pal 0 { file "tex/weapons/5177.png" } }
texture 3661 { pal 0 { file "tex/weapons/5177.png" } }
texture 10339 { pal 0 { file "tex/weapons/5177.png" } }
texture 10340 { pal 0 { file "tex/weapons/5177.png" } }

model "tex/weapons/shell.md3" {
  scale 5 shade 5
  skin { pal 0 file "tex/weapons/shell.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 }

}

model "tex/weapons/shell.md3" {
  scale 7 shade 5
  skin { pal 0 file "tex/weapons/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 }
}


// JIBS_FLESH1 
model "gore/flesh1.md3" {
  scale 9 shade 4 
  skin { pal 0 file "gore/flesh1.png" }
  skin { pal 22 file "gore/ice.png" } 
  frame { name "idle" tile 3870 } 

  anim { frame0 "f1" frame1 "f2" fps 8 flag 0 } 
  frame { name "f1" tile 3869 } 
} 

// JIBS_FLESH2
model "gore/flesh2.md3" { 
  scale 9 shade 4 
  skin { pal 0 file "gore/flesh2.png" } 
  skin { pal 22 file "gore/ice.png" }
  frame { name "idle" tile 3872 } 

  anim { frame0 "f1" frame1 "f2" fps 8 flag 0 } 
  frame { name "f1" tile 3871 } 
} 

// JIBS_FLESH3 
model "gore/flesh3.md3" { 
  scale 9 shade 4 
  skin { pal 0 file "gore/flesh3.png" }
  skin { pal 22 file "gore/ice.png" } 
  frame { name "idle" tile 3874 } 

  anim { frame0 "f1" frame1 "f2" fps 8 flag 0 } 
  frame { name "f1" tile 3873 } 
} 

// JIBS_BRAIN 
model "gore/brain.md3" { 
  scale 9 shade 8 
  skin { pal 0 file "gore/brain.png" } 
  skin { pal 22 file "gore/ice.png" }
  frame { name "idle" tile 3876 } 

  anim { frame0 "f1" frame1 "f2" fps 8 flag 0 } 
  frame { name "f1" tile 3875 } 
} 

// JIBS_SPINE 
model "gore/spine.md3" { 
  scale 9 shade 8 
  skin { pal 0 file "gore/spine.png" } 
  skin { pal 22 file "gore/ice.png" }
  frame { name "idle" tile 3878 } 

  anim { frame0 "f1" frame1 "f2" fps 4 flag 0 } 
  frame { name "f1" tile 3877 } 
} 

//blood splashes
dummytile 5756 128 128
dummytile 5757 128 128
dummytile 5758 128 128
dummytile 5759 128 128
dummytile 5760 128 128
dummytile 5001 10 10

definetexture 5756 0 0 0 -1 -1 gore/0013bck2.png
definetexture 5757 0 0 0 -1 -1 gore/0013bck3.png
definetexture 5758 0 0 0 -1 -1 gore/0013bck4.png
definetexture 5759 0 0 0 -1 -1 gore/0013bck.png
definetexture 5760 0 0 0 -1 -1 gore/cblood1.png
definetexture 5001 0 0 0 -1 -1 gore/cblood1.png
definetexture 4005 0 0 0 -1 -1 gore/cblood1.png

// Freezer (2548)
model "tex/weapons/2548_freezer.md3" {
   scale 1.9
   skin { pal 0 file "tex/weapons/2548_freezer.jpg" }
   glow { file "tex/weapons/2548_freezer_g.png" }
   frame { name "idle" tile0 2548 tile1 2550 }
   skin { pal 0 file "tex/weapons/2548_freezer_f.jpg" }
   glow { file "tex/weapons/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 }
}

// Atomic Health (100)
model "tex/weapons/0100_atom.md3" {
   scale 1 shade 4
   skin { pal 0 file "tex/weapons/0100_atom.png" }
   anim { frame0 "FRAME1" frame1 "FRAME118" fps 19 flags 0 }
   frame { name "FRAME1" tile0 100 tile1 115 }
hud { tile0 100 tile1 115 yadd .60 zadd 1.0 }
}

dummytile 3668 76 74
dummytile 3669 76 74
definetexture 3668 0 0 0 -1 -1 tex/weapons/5134.png
definetexture 3669 0 0 0 -1 -1 tex/weapons/5134.png

// Atomic Health (100)
model "tex/weapons/0100_atom.md3" {
   scale 1 shade 4
   skin { pal 0 file "tex/weapons/0100_atom.png" }
   anim { frame0 "FRAME1" frame1 "FRAME118" fps 19 flags 0 }
   frame { name "FRAME1" tile0 3682 tile1 3697 }
hud { tile0 100 tile1 115 yadd .60 zadd 1.0 }
}

texture 3733 { pal 0 { file "tex/damages/concrete_hole.png" nocompress nodownsize } }
texture 3739 { pal 0 { file "tex/damages/electronic_hole.png" nocompress nodownsize } }
texture 3735 { pal 0 { file "tex/damages/metal_hole2.png" nocompress nodownsize } }
texture 3740 { pal 0 { file "tex/damages/organic_hole.png" nocompress nodownsize } }
texture 3737 { pal 0 { file "tex/damages/wood_hole.png" nocompress nodownsize } }

model "tex/weapons/2595_shotspark1.md3"
 {
  scale 90 shade 3
  skin { pal 0 file "tex/weapons/2595_shotspark1.png" }
  anim { frame0 "FRAME3" frame1 "FRAME20" fps 40 flag 0 }
  frame { name "FRAME3" tile0 2595 tile1 2602 }
//  frame { name "FRAME1" tile 2595 }
 }

dummytilerange 7421 7424 40 40
texture 7421 { pal 0 { file tex/gore/0013bck.png } }
texture 7422 { pal 0 { file tex/gore/0013bck2.png } }
texture 7423 { pal 0 { file tex/gore/0013bck3.png } }
texture 7424 { pal 0 { file tex/gore/0013bck4.png } }

texture 2296 { pal 0 { file tex/gore/0013bck.png } }
texture 2297 { pal 0 { file tex/gore/0013bck2.png } }
texture 2298 { pal 0 { file tex/gore/0013bck3.png } }
texture 2299 { pal 0 { file tex/gore/0013bck4.png } }

// Slimecrunch (2375)
model "highres/sprites/firstperson/2375_slimecrunch.md2" {
   scale 3.5
   skin { pal 0 file "highres/sprites/firstperson/2375_slimer.png" }
   // anim { frame0 "frame01" frame1 "frame03" fps 3 flags 0 }
   frame { name "frame01" tile 2375 }
   frame { name "frame02" tile 2376 }
   frame { name "frame03" 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.md2" {
   scale 1.5
   skin { pal 0 file "highres/sprites/firstperson/2510_devastator.jpg" }
   frame { name "Frame 0" tile 2510 }
   skin { pal 0 file "highres/sprites/firstperson/2510_devastator_f.jpg" }
   glow { file "highres/sprites/firstperson/2510_devastator_g.png" }
   frame { name "Frame 1" tile 2511 }
   hud { tile0 2510 tile1 2511 xadd -0.38 yadd -0.70 zadd 1.42 angadd 1024 flipped } //left devastator
   hud { tile0 2510 tile1 2511 xadd 0.38 yadd 0.18 zadd 1.42 angadd 1024 } //right devastator
}

definetexture 2614 0 0 0 -1 -1 tex/weapons/shotgunmuzzleflash.png
definetexture 2615 0 0 0 -1 -1 tex/weapons/shotgunmuzzleflash.png
definetexture 10506 0 0 0 -1 -1 tex/weapons/shotgunmuzzleflash.png

dummytilerange 10495 10505 100 100

model "tentacle.md2"
{
scale 1.0
skin { pal 0 surface 0 file "Tent_Side-mid.bmp" }
anim { frame0 "frame01" frame1 "frame39" fps 15 flags 0 }
frame { name "frame01" tile0 10495 tile1 10499 }
anim { frame0 "frame41" frame1 "frame57" fps 10 flags 0 }
frame { name "frame41" tile0 10500 tile1 10505 }
}
/*
model "tex/spas12/spas12.md3" {

scale 50

skin { pal 0 surface 0 file "tex/spas12/soldier_hand.bmp" }
skin { pal 0 surface 1 file "tex/spas12/soldier_arm.bmp" }
skin { pal 0 surface 2 file "tex/spas12/Spas12_Reference.BMP" }

anim { frame0 "idle1" frame1 "idle21" fps 5 flags 0 }
anim { frame0 "fire11" frame1 "fire31" fps 27 flags 0 }
frame { name "idle1" tile0 2613 tile1 2613 }
frame { name "fire11" tile0 2616 tile1 2619 }

hud { tile0 2613 tile1 2613 }
hud { tile0 2616 tile1 2619 }

}
*/
model "tex/props/airp.md3"
{
scale 1.0
skin { pal 0 file "tex/props/chrome_blueblack6.bmp" }
frame { name "MilkShape 3D" tile 3592 }
frame { name "MilkShape 3D" tile 3593 }
frame { name "MilkShape 3D" tile 3655 }
}

model "tex/mp5c/wmp5.md3"
{
scale 3
skin { pal 0 file "tex/mp5c/w_mp5.bmp" }
frame { name "MilkShape 3D" tile 3710 }
}

model "tex/mp5c/wammo.md3"
{
scale 3
skin { pal 0 surface 0 file "tex/mp5c/w_9mmclip_big.BMP" }
skin { pal 0 surface 1 file "tex/mp5c/w_9mmclip.BMP" }
frame { name "MilkShape 3D" tile 3713 }
}

model "tex/p90/p90w.md3"
{
scale 3
skin { pal 0 file "tex/p90/p_FNp90.bmp" }
frame { name "MilkShape 3D" tile 28 }
}

model "tex/p90/57ammo.md3"
{
scale 3
skin { pal 0 surface 0 file "tex/p90/w_57mm_big.bmp" }
skin { pal 0 surface 1 file "tex/p90/w_57mm.bmp" }
frame { name "MilkShape 3D" tile 49 }
}

dummytile 8055 64 64
// Smoke effect from  sd_duke mod
model "tex/plane.md3" {
  scale 270 shade 2
  skin { pal 0 file "tex/smoke4.png" nocompress nodownsize }
  anim { frame0 "FRAME1" frame1 "FRAME6" fps 0 flag 0 }
  frame { name "FRAME1" tile 8055 }
}

dummytile 8056 64 64
// Smoke effect from  sd_duke mod
model "tex/plane.md3" {
  scale 270 shade 2
  skin { pal 0 file "tex/smoke4.png" nocompress nodownsize }
  anim { frame0 "FRAME1" frame1 "FRAME6" fps 0 flag 0 }
  frame { name "FRAME1" tile 8056 }
}

dummytile 8057 64 64
dummytile 8058 64 64
// Smoke effect from  sd_duke mod
model "tex/plane.md3" {
  scale 270 shade 2
  skin { pal 0 file "tex/smoke4.png" nocompress nodownsize }
  anim { frame0 "FRAME1" frame1 "FRAME6" fps 0 flag 0 }
  frame { name "FRAME1" tile 8057 }
  frame { name "FRAME1" tile 8058 }
frame { name "FRAME1" tile 2329 }
}

dummytile 3747 128 128
definetexture 3747 0 0 0 -1 -1 tex/Flare.png
alphahack 3747 0.01
dummytile 3746 128 128
definetexture 3746 0 0 0 -1 -1 tex/Flare.png
alphahack 3746 0.01
definetexture 3744 0 0 0 -1 -1 tex/Flare.png
alphahack 3744 0.01

model "tex/props/door.md3" {
scale 10 
skin { pal 0 file "tex/props/0159.jpg" }
anim { frame0 "frame2" frame1 "frame14" fps 120 flag 0 }
frame { name "frame2" tile0 8139 tile1 8141 }
frame { name "frame1" tile 8138 }
frame { name "frame14" tile 8142 }
}

model "tex/zombie/zombie.md3" {
scale 2
skin { pal 0 file "tex/zombie/poisonzombie_sheet.bmp" }
anim { frame0 "frame1" frame1 "frame42" fps 30 flags 0 }
anim { frame0 "frame43" frame1 "frame88" fps 30 flags 0 }
frame { name "frame1" tile0 9360 tile1 9384 }
frame { name "frame43" tile0 9424 tile1 9431 }
frame { name "frame89" tile0 9410 tile1 9414 }
}

model "tex/zm/zombie.md3" {
scale 2 flags 1
skin { pal 0 file "tex/zm/Zombie_Classic_sheet.bmp" nocompress nodownsize }
anim { frame0 "walk48n1" frame1 "walk48n48" fps 20 flags 0 }
frame { name "walk48n1" tile0 9680 tile1 9699 }
anim { frame0 "attack49-92n1" frame1 "attack49-92n43" fps 30 flags 0 }
frame { name "attack49-92n1" tile0 9720 tile1 9732 }
frame { name "die85" tile 9735 }
frame { name "die83" tile 9736 }
frame { name "die80" tile 9737 }
frame { name "die78" tile 9738 }
frame { name "die74" tile 9739 }
frame { name "dead94n1" tile 9740 }
}