include platoon_tex.def


dummytile 3999 20 100

model "player/soldier_in_base.md3"
{
 scale 11 shade 10
 skin { pal 0 surface 0 file "player/player_top_s.png" }
 skin { pal 0 surface 1 file "player/player_bottom.png" }

 anim { frame0 "FRAME1" frame1 "FRAME10" fps 4 flags 0 }
 anim { frame0 "FRAME10" frame1 "FRAME20" fps 10 flags 1 }
 
 frame { name "FRAME1" tile 3331 }
 frame { name "FRAME10" tile 3332 }

}

model "enviro/ladder.md3"
{
 scale 20 shade 0
 skin { pal 0 file "textures/0880.jpg" }
 frame { name "FRAME1" tile 3999 }
}


model "enviro/chopper1.md3"
{
 scale 20 shade 12
 skin { pal 0 file "enviro/chopper1.png" }
 anim { frame0 "FRAME1" frame1 "FRAME4" fps 230 flags 0 }
 frame { name "FRAME1" tile0 249 tile1 250 }
}

dummytile 4000 120 60

model "enviro/truck.md3"
{
 scale 25 shade 3
 skin { pal 0 file "enviro/truck.png" }
 frame { name "FRAME1" tile 4000 }
}


model "player/soldier.md3"
{
 scale 19 shade 10
 skin { pal 0 surface 0 file "player/player_top_s.png" }
 skin { pal 0 surface 1 file "player/player_bottom.png" }
 skin { pal 0 surface 2 file "weapons/m16.png" }

 anim { frame0 "FRAME1" frame1 "FRAME47" fps 4 flags 0 }
 anim { frame0 "FRAME48" frame1 "FRAME59" fps 30 flags 0 }
 anim { frame0 "FRAME84" frame1 "FRAME87" fps 10 flags 1 }
 anim { frame0 "FRAME87" frame1 "FRAME90" fps 10 flags 1 }
 anim { frame0 "FRAME90" frame1 "FRAME93" fps 10 flags 1 }
 anim { frame0 "FRAME108" frame1 "FRAME119" fps 30 flags 0 }
 anim { frame0 "FRAME41" frame1 "FRAME46" fps 5 flags 0 }
 
 frame { name "FRAME1" tile0 1405 tile1 1409 }
 frame { name "FRAME108" tile0 1425 tile1 1444 }
 frame { name "FRAME84" tile0 1455 tile1 1459 }
 frame { name "FRAME88" tile0 1460 tile1 1464 }
 frame { name "FRAME90" tile0 1465 tile1 1469 }
 
  frame { name "FRAME108" tile 1410 }
  frame { name "FRAME41" tile 1404 }
}


model "enviro/palma.md3"
{
 scale 15 shade 3
 skin { pal 0 surface 0 file "enviro/tree1.png" }
 skin { pal 0 surface 1 file "enviro/0909_treetrunk.jpg" }
 frame { name "FRAME1" tile 252 }
}

model "player/soldier.md3"
{
 scale 19 shade 10 zadd 3
 skin { pal 0 surface 0 file "player/player_top_s.png" }
 skin { pal 0 surface 1 file "player/player_bottom.png" }
 skin { pal 0 surface 2 file "weapons/m16.png" }

 anim { frame0 "FRAME62" frame1 "FRAME72" fps 2 flags 0 }
 anim { frame0 "FRAME73" frame1 "FRAME83" fps 30 flags 0 }
 anim { frame0 "FRAME95" frame1 "FRAME107" fps 30 flags 1 }


 frame { name "FRAME62" tile0 1491 tile1 1495 }
 frame { name "FRAME73" tile0 1496 tile1 1505 }
 frame { name "FRAME95" tile0 1511 tile1 1515 }
 frame { name "FRAME107" tile 1518 }
}

dummytile 2520 154 67
dummytile 2519 154 67

model "weapons/knife.md3"
{

 scale 70 shade 6
 skin { pal 0 surface 0 file "weapons/nozyk1.png" }
 skin { pal 22 surface 0 file "weapons/nozyk2.png" }
 skin { pal 0 surface 1 file "weapons/hand_skin2.png" }

 anim { frame0 "FRAME1" frame1 "FRAME40" fps 2 flags 0 }
 anim { frame0 "FRAME41" frame1 "FRAME51" fps 30 flags 1 }
 anim { frame0 "FRAME52" frame1 "FRAME62" fps 30 flags 1 }
 anim { frame0 "FRAME63" frame1 "FRAME75" fps 20 flags 1 }

 frame { name "FRAME1" tile 2520 }
 frame { name "FRAME41" tile 2521 }
 frame { name "FRAME52" tile 2522 }
 frame { name "FRAME63" tile 2519 }

 hud { tile0 2519 tile1 2522 xadd 0.3 yadd 0.5 zadd 2.8 angadd 512 }

}

model "weapons/LAW_hud.md3"
{

 scale 70 shade 6
 skin { pal 0 surface 0 file "weapons/LAW.png" }
 skin { pal 0 surface 1 file "weapons/hand_skin2.png" }
 skin { pal 0 surface 2 file "weapons/hand_skin2.png" }

  anim { frame0 "FRAME1" frame1 "FRAME30" fps 1 flags 0 }
  frame { name "FRAME1" tile 2544 }

 hud { tile 2544 xadd 0.3 yadd 0.4 zadd 0.5 angadd -30 }
 }

model "weapons/LAW_pickup.md3"
{
  scale 9 shade 3
  skin { pal 0 file "weapons/LAW.png" }
  frame { name "FRAME1" tile 23 }
}

model "enemy/mina1.md3"
{ 
  scale 11 shade 3
  skin { pal 0 file "enemy/mina.png" }
  frame { name "FRAME1" tile0 37 tile1 38 }
}

model "enemy/mina2.md3"
{ 
  scale 11 shade 3
  skin { pal 0 file "enemy/mina.png" }
  frame { name "FRAME1" tile 39 }
}

dummytile 2349 70 70

model "enemy/can_dead.md3"
{
  scale 4 shade 3
  skin { pal 0 file "enemy/cannon.png" }
  anim { frame0 "FRAME1" frame1 "FRAME19" fps 10 flags 1 }
  frame { name "FRAME1" tile 2349 }
}

model "weapons/flamer_hud.md3"
{

 scale 70 shade 6
 skin { pal 0 surface 0 file "weapons/flamer.png" }
 skin { pal 0 surface 1 file "weapons/hand_skin2.png" }

  anim { frame0 "FRAME1" frame1 "FRAME30" fps 2 flags 0 }
  frame { name "FRAME1" tile0 2556 tile1 2557 }

 hud { tile0 2556 tile1 2557 xadd 0.0 yadd -0.3 zadd 1 angadd -30 }
 }


model "weapons/flamer_pickup.md3"
{
  scale 13 shade 3
  skin { pal 0 file "weapons/flamer.png" }
  
  frame { name "FRAME1" tile 25 }

}

model "weapons/grenade.md3"
{ 
  scale 54 shade 3
  skin { pal 0 file "weapons/grenade.png" }
  
  anim { frame0 "FRAME1" frame1 "FRAME27" fps 20 flags 0 }
  frame { name "FRAME1" tile 26 }

}
model "weapons/grenade_hud.md3"
{
  scale 90 shade 3
  skin { pal 0 surface 0 file "weapons/grenade.png" }
  skin { pal 0 surface 1 file "weapons/hand_skin2.png" }
  
  anim { frame0 "FRAME1" frame1 "FRAME5" fps 1 flags 0 }
  anim { frame0 "FRAME56" frame1 "FRAME63" fps 20 flags 0 }
  
  frame { name "FRAME1" tile 2573 }
  frame { name "FRAME42" tile 2574 }
  frame { name "FRAME56" tile 2575 }

   hud { tile 2573 xadd 0 yadd -0.3 zadd 1.3 angadd -30 }
   hud { tile 2574 xadd 0.3 yadd 0.2 zadd 1.3 angadd -30 }
   hud { tile 2575 xadd 0.3 yadd -0.2 zadd 1.3 angadd -30 }

}

model "weapons/shotgun_pickup.md3"
{
  scale 9 shade 3
  skin { pal 0 file "weapons/shotgun.png" }
  frame { name "FRAME1" tile 28 }
}

model "weapons/m60g.md3"
{ 
  scale 10 shade 3
  skin { pal 0 surface 1 file "weapons/m60_hud.png" }
  skin { pal 0 surface 0 file "weapons/shell.png" }
  
  frame { name "FRAME1" tile 22 }
}

model "weapons/m16_pickup.md3"
{ 
  scale 14 shade 3
  skin { pal 0 surface 1 file "weapons/m16.png" }
  skin { pal 0 surface 0 file "weapons/m16_mag.png" }
  frame { name "FRAME1" tile 21 }
}

model "weapons/m16_mag.md3"
{
  scale 47 shade 3
  skin { pal 0 file "weapons/m16_mag.png" }

  frame { name "FRAME1" tile 40 }
}

model "enemy/cannon.md3"
{
  scale 7 shade 3 zadd -0.2

  skin { pal 0 surface 0 file "enemy/SOLDIER_1.png" }
  skin { pal 11 surface 0 file "enemy/SOLDIER_11.png" }
  skin { pal 12 surface 0 file "enemy/SOLDIER_12.png" }

  skin { pal 0 surface 1 file "weapons/muzel2.png" }
  skin { pal 0 surface 3 file "enemy/cannon.png" }
  skin { pal 0 surface 2 file "weapons/muzel2.png" }
    
  frame { name "FRAME2" tile0 2350 tile1 2359 }
  frame { name "FRAME1" tile0 2360 tile1 2364 }

  anim { frame0 "FRAME3" frame1 "FRAME5" fps 20 flags 0 }
  frame { name "FRAME3" tile0 2420 tile1 2424 }
}

model "enemy/kamikadze.md3"
{
  scale 7 shade 3

  skin { pal 0 surface 0 file "enemy/SOLDIER_1.png" }
  skin { pal 11 surface 0 file "enemy/SOLDIER_11.png" }
  skin { pal 12 surface 0 file "enemy/SOLDIER_12.png" }
  skin { pal 0 surface 1 file "enemy/kamikadze_stuff.png" }
  
  anim { frame0 "FRAME1" frame1 "FRAME40" fps 5 flags 0 }
  anim { frame0 "FRAME41" frame1 "FRAME53" fps 20 flags 0 }
  
  frame { name "FRAME41" tile0 1680 tile1 1699 }
  frame { name "FRAME1" tile 1741 }
  frame { name "FRAME25" tile 1734 }
  
}

model "enemy/ckm_soldier.md3"
{
  scale 7 shade 3

  skin { pal 0 surface 0 file "enemy/SOLDIER_1.png" }
  skin { pal 11 surface 0 file "enemy/SOLDIER_11.png" }
  skin { pal 12 surface 0 file "enemy/SOLDIER_12.png" }
  skin { pal 33 surface 0 file "enemy/burning_flesh.png" }
  skin { pal 0 surface 3 file "enemy/hmg.png" }
  skin { pal 0 surface 2 file "enemy/ammo_belt.png" }
  skin { pal 0 surface 1 file "weapons/muzel2.png" }
  
  anim { frame0 "FRAME1" frame1 "FRAME40" fps 5 flags 0 }
  anim { frame0 "FRAME41" frame1 "FRAME53" fps 20 flags 0 }
  anim { frame0 "FRAME54" frame1 "FRAME58" fps 20 flags 0 }
  anim { frame0 "FRAME58" frame1 "FRAME69" fps 20 flags 0 }
  

  frame { name "FRAME41" tile0 2120 tile1 2139 }
  frame { name "FRAME1" tile0 2190 tile1 2194 }
  frame { name "FRAME54" tile0 2195 tile1 2197 }
  frame { name "FRAME58" tile 2180 }
  
}

model "enemy/ckm_soldier.md3"
{
  scale 7 shade 3

  skin { pal 0 surface 0 file "enemy/SOLDIER_1_dead.png" }
  skin { pal 11 surface 0 file "enemy/SOLDIER_11_dead.png" }
  skin { pal 12 surface 0 file "enemy/SOLDIER_12_dead.png" }
  skin { pal 33 surface 0 file "enemy/burning_flesh.png" }
  skin { pal 0 surface 3 file "enemy/hmg.png" }
  skin { pal 0 surface 2 file "enemy/ammo_belt.png" }
  skin { pal 0 surface 1 file "weapons/muzel2.png" }

  anim { frame0 "FRAME69" frame1 "FRAME90" fps 30 flags 1 } // death1
  anim { frame0 "FRAME91" frame1 "FRAME110" fps 32 flags 1 } //death2
  anim { frame0 "FRAME111" frame1 "FRAME130" fps 25 flags 1 } // death3
  anim { frame0 "FRAME131" frame1 "FRAME148" fps 22 flags 1 } //death4

  frame { name "FRAME69" tile0 2181 tile1 2184 }
  frame { name "FRAME91" tile0 2140 tile1 2142 }
  frame { name "FRAME111" tile0 2145 tile1 2147 }
  frame { name "FRAME131" tile0 2150 tile1 2153 }

  frame { name "FRAME90" tile 2185 }
  frame { name "FRAME110" tile 2143 }
  frame { name "FRAME130" tile 2148 }
  frame { name "FRAME148" tile 2153 }

}


dummytilerange 2140 2143 83 86
dummytilerange 2145 2148 83 86
dummytilerange 2150 2153 83 86

model "enemy/ak_soldier.md3"
{
  scale 7 shade 3

  skin { pal 0 surface 0 file "enemy/SOLDIER_1.png" }
  skin { pal 11 surface 0 file "enemy/SOLDIER_11.png" }
  skin { pal 12 surface 0 file "enemy/SOLDIER_12.png" }
  skin { pal 0 surface 2 file "enemy/karabin1.png" }
  skin { pal 0 surface 1 file "weapons/muzel2.png" }
  
  anim { frame0 "FRAME1" frame1 "FRAME40" fps 5 flags 0 }
  anim { frame0 "FRAME41" frame1 "FRAME53" fps 20 flags 0 }
  anim { frame0 "FRAME54" frame1 "FRAME58" fps 15 flags 0 }
  anim { frame0 "FRAME58" frame1 "FRAME69" fps 20 flags 0 }
  

  frame { name "FRAME41" tile0 2000 tile1 2019 }
  frame { name "FRAME1" tile0 2030 tile1 2034 }
  frame { name "FRAME54" tile0 2035 tile1 2037 }
  frame { name "FRAME58" tile 2055 }
  
}


dummytilerange 2048 2051 83 86
dummytilerange 2061 2064 83 86
dummytilerange 2080 2083 83 86

model "enemy/ak_soldier.md3"
{
  scale 7 shade 3

  skin { pal 0 surface 0 file "enemy/SOLDIER_1_dead.png" }
  skin { pal 11 surface 0 file "enemy/SOLDIER_11_dead.png" }
  skin { pal 12 surface 0 file "enemy/SOLDIER_12_dead.png" }
  skin { pal 33 surface 0 file "enemy/burning_flesh.png" }
  skin { pal 0 surface 2 file "enemy/karabin1.png" }
  skin { pal 0 surface 1 file "weapons/muzel2.png" }

  anim { frame0 "FRAME69" frame1 "FRAME90" fps 30 flags 1 } // death1
  anim { frame0 "FRAME91" frame1 "FRAME110" fps 32 flags 1 } //death2
  anim { frame0 "FRAME111" frame1 "FRAME130" fps 25 flags 1 } // death3
  anim { frame0 "FRAME131" frame1 "FRAME148" fps 22 flags 1 } //death4

  frame { name "FRAME69" tile0 2056 tile1 2059 }
  frame { name "FRAME91" tile0 2048 tile1 2050 }
  frame { name "FRAME111" tile0 2061 tile1 2063 }
  frame { name "FRAME131" tile0 2080 tile1 2082 }

  frame { name "FRAME90" tile 2060 }
  frame { name "FRAME110" tile 2051 }
  frame { name "FRAME130" tile 2064 }
  frame { name "FRAME148" tile 2083 }

}

dummytilerange 2048 2051 83 86
dummytilerange 2061 2064 83 86
dummytilerange 2080 2083 83 86

model "weapons/shotgun_hud.md3"
{

 scale 90 shade 3
 skin { pal 0 surface 0 file "weapons/shotgun.png" }
 skin { pal 0 surface 1 file "weapons/shotgun.png" }
 skin { pal 0 surface 2 file "weapons/shotgun.png" }
 skin { pal 0 surface 3 file "weapons/hand_skin2.png" }



  anim { frame0 "FRAME1" frame1 "FRAME30" fps 2 flag 0 }
  anim { frame0 "FRAME31" frame1 "FRAME58" fps 40 flag 0 }
  
  frame { name "FRAME1" tile 2613 }
  frame { name "FRAME31" tile0 2616 tile1 2619 }

 hud { tile0 2613 tile1 2619 xadd 0.7 yadd 0.9 zadd 0.5 angadd -60 }


 }

model "weapons/m60_hud.md3"
{

 scale 60 shade 3
 skin { pal 0 surface 1 file "weapons/hand_skin2.png" }
 skin { pal 0 surface 2 file "weapons/m60_hud.png" }
 skin { pal 0 surface 0 file "weapons/shell.png" }


  anim { frame0 "FRAME1" frame1 "FRAME20" fps 2 flag 0 }
  anim { frame0 "FRAME31" frame1 "FRAME34" fps 50 flag 0 }
  
  frame { name "FRAME1" tile 2537 }
  frame { name "FRAME31" tile0 2538 tile1 2540 }

 hud { tile0 2537 tile1 2540 xadd 0.2 yadd -0.2 zadd 1.2 angadd -30 }


 }

// Tree (908)
// Tree2 (910), using #908 model                   // TEX STOLEN FROM HRP!
model "enviro/0908_tree.md3" {
   scale 18
   skin { pal 0 file "enviro/0908_tree.png" }
   skin { pal 33 file "enviro/0908_tree_burned.png" }
  // anim { frame0 "FRAME7" frame1 "FRAME21" fps 5 flag 0 }
   frame { name "FRAME1" tile 908 }
   frame { name "FRAME1" tile 2621 }
   frame { name "FRAME1" tile 910 }  // Tree2 (910)
}

// Treetrunk (909)
model "enviro/0909_treetrunk.md3" {
   scale 1.2
   skin { pal 0 file "enviro/0909_treetrunk.jpg" }
   skin { pal 33 file "enviro/burned.png" }
   frame { name "FRAME1" tile 909 }
   frame { name "FRAME1" tile 2620 }
}

model "enviro/krzak1.md3"
{
  scale 10 shade 3
  skin { pal 0 file "enviro/krzak1.png" }
  skin { pal 33 file "enviro/krzak1_burned.png" }
  skin { pal 23 file "enviro/krzak1_dead.png" }
 
  anim { frame0 "FRAME30" frame1 "FRAME40" fps 2 flags 0 }
  frame { name "FRAME30" tile 2622 }
}

model "enviro/paproc1.md3"
{
  scale 10 shade 3
  skin { pal 0 file "enviro/paproc1.png" }
  skin { pal 33 file "enviro/paproc_burned.png" }
  skin { pal 23 file "enviro/paproc1_dead.png" }
 
  anim { frame0 "FRAME7" frame1 "FRAME21" fps 2 flags 0 }
  frame { name "FRAME7" tile 2623 }
}

model "weapons/m16_hud.md3"
{

 scale 60 shade 3
 skin { pal 0 surface 3 file "weapons/hand_skin2.png" }
 skin { pal 0 surface 0 file "weapons/m16.png" }
 skin { pal 0 surface 1 file "weapons/hand_skin2.png" }
 skin { pal 0 surface 2 file "weapons/m16_mag.png" }



  anim { frame0 "FRAME1" frame1 "FRAME30" fps 1 flag 0 }
  anim { frame0 "FRAME31" frame1 "FRAME34" fps 50 flag 0 }
  anim { frame0 "FRAME35" frame1 "FRAME70" fps 25 flag 0 }

  frame { name "FRAME35" tile0 2528 tile1 2529 }
  frame { name "FRAME1" tile 2524 }
  frame { name "FRAME31" tile0 2525 tile1 2526 }

 hud { tile0 2524 tile1 2527 xadd 0.2 yadd -0.3 zadd 1 angadd -30 }


 hud { tile 2528 xadd 0.2 yadd -0.3 zadd 1 angadd -30 }
 hud { tile 2529 xadd 0.0 yadd -0.3 zadd 1 angadd -30 }
 }

model "weapons/shell.md3"
{
  scale 5 shade 5
  skin { pal 0 file "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 }
  frame { name "FRAME11" tile 5122 }
  frame { name "FRAME1" tile 5124 }
}

model "weapons/shell.md3"
{
  scale 7 shade 5
  skin { pal 0 file "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 "FRAME11" tile 5123 }
  frame { name "FRAME1" tile 5125 }
}

// Chaingun Ammo (41)
definemodel "weapons/0041_chaingunammo.md2" 3 2
definemodelskin 0 "weapons/0041_chanigunammo.png"
definemodelframe "sf_bammo01" 41 41

// Shotgun Ammo (49)
definemodel "weapons/0049_shotgunammo.md2" 6 0 
definemodelskin 0 "weapons/0049_shotgunammo.png" 
definemodelframe "idle" 49 49

definetexture 2530 0 0 0 -1 -1 "weapons/null.png"
definetexture 2531 0 0 0 -1 -1 "weapons/null.png"
definetexture 2532  0 0 0 -1 -1 "weapons/null.png"
definetexture 2614  0 0 0 -1 -1 "weapons/null.png"
definetexture 2615  0 0 0 -1 -1 "weapons/null.png"


dummytile 5122 8 8
dummytile 5123 8 8
dummytile 5124 8 8
dummytile 5125 8 8

// Dip Switch 2 (164)
definemodel "enviro/0164_dipswitch2.md2" 1.55 -5
definemodelskin 0 "enviro/0164_dipswitch2.png"
definemodelframe "red" 164 164
definemodelskin 0 "enviro/0165_dipswitch2.png"
definemodelframe "green" 165 165

// Light Switch (134)
definemodel "enviro/0134_lightswitch.md2" 5 0
definemodelskin 0 "enviro/0134_lightswitch_red.png"
definemodelframe "red" 134 134
definemodelskin 0 "enviro/0134_lightswitch_green.png"
definemodelframe "green" 135 135