
AnimTables = { }


-----------------------------------------
-- MALE CITIZEN ANIM TABLE
-----------------------------------------
AnimTables[1] = { }
AnimTables[1].Models =
{

  "models/Humans/Group01/Male_01.mdl",
  "models/Humans/Group01/male_02.mdl",
  "models/Humans/Group01/male_03.mdl",
  "models/Humans/Group01/Male_04.mdl",
  "models/Humans/Group01/Male_05.mdl",
  "models/Humans/Group01/male_06.mdl",
  "models/Humans/Group01/male_07.mdl",
  "models/Humans/Group01/male_08.mdl",
  "models/Humans/Group01/male_09.mdl",
  "models/Humans/Group02/Male_01.mdl",
  "models/Humans/Group02/male_02.mdl",
  "models/Humans/Group02/male_03.mdl",
  "models/Humans/Group02/Male_04.mdl",
  "models/Humans/Group02/Male_05.mdl",
  "models/Humans/Group02/male_06.mdl",
  "models/Humans/Group02/male_07.mdl",
  "models/Humans/Group02/male_08.mdl",
  "models/Humans/Group02/male_09.mdl",
  "models/infected/common_male01.mdl"

};

AnimTables[1].Anim = { }

AnimTables[1].Anim["STAND_idle"] = 1490;
AnimTables[1].Anim["STAND_walk"] = 6;
AnimTables[1].Anim["STAND_run"] = 10;

AnimTables[1].Anim["CROUCH_idle"] = 5;
AnimTables[1].Anim["CROUCH_walk"] = 8;

AnimTables[1].Anim["STAND_FIST_idle"] = 1;
AnimTables[1].Anim["STAND_FIST_walk"] = 6;
AnimTables[1].Anim["STAND_FIST_run"] = 10;
AnimTables[1].Anim["CROUCH_FIST_idle"] = 5;
AnimTables[1].Anim["CROUCH_FIST_walk"] = 8;

AnimTables[1].Anim["STAND_FIST_AIM_idle"] = 265;
AnimTables[1].Anim["STAND_FIST_AIM_walk"] = 318;
AnimTables[1].Anim["STAND_FIST_AIM_run"] = 319;
AnimTables[1].Anim["CROUCH_FIST_AIM_idle"] = 279;
AnimTables[1].Anim["CROUCH_FIST_AIM_walk"] = 340;

AnimTables[1].Anim["STAND_PISTOL_idle"] = 1;
AnimTables[1].Anim["STAND_PISTOL_walk"] = 6;
AnimTables[1].Anim["STAND_PISTOL_run"] = 10;
AnimTables[1].Anim["CROUCH_PISTOL_idle"] = 5;
AnimTables[1].Anim["CROUCH_PISTOL_walk"] = 8;

AnimTables[1].Anim["STAND_PISTOL_AIM_idle"] = 270;
AnimTables[1].Anim["STAND_PISTOL_AIM_walk"] = 318;
AnimTables[1].Anim["STAND_PISTOL_AIM_run"] = 319;
AnimTables[1].Anim["CROUCH_PISTOL_AIM_idle"] = 271;
AnimTables[1].Anim["CROUCH_PISTOL_AIM_walk"] = 340;
 
AnimTables[1].Anim["STAND_SMG_idle"] = 330;
AnimTables[1].Anim["STAND_SMG_walk"] = 337;
AnimTables[1].Anim["STAND_SMG_run"] = 338;
AnimTables[1].Anim["CROUCH_SMG_idle"] = 332;
AnimTables[1].Anim["CROUCH_SMG_walk"] = 335;

AnimTables[1].Anim["STAND_SMG_AIM_idle"] = 265;
AnimTables[1].Anim["STAND_SMG_AIM_walk"] = 318;
AnimTables[1].Anim["STAND_SMG_AIM_run"] = 319;
AnimTables[1].Anim["CROUCH_SMG_AIM_idle"] = 266;
AnimTables[1].Anim["CROUCH_SMG_AIM_walk"] = 340;

AnimTables[1].Anim["STAND_RIFLE_idle"] = 322;
AnimTables[1].Anim["STAND_RIFLE_walk"] = 337;
AnimTables[1].Anim["STAND_RIFLE_run"] = 338;
AnimTables[1].Anim["CROUCH_RIFLE_idle"] = 332;
AnimTables[1].Anim["CROUCH_RIFLE_walk"] = 335;

AnimTables[1].Anim["STAND_RIFLE_AIM_idle"] = 331;
AnimTables[1].Anim["STAND_RIFLE_AIM_walk"] = 318;
AnimTables[1].Anim["STAND_RIFLE_AIM_run"] = 319;
AnimTables[1].Anim["CROUCH_RIFLE_AIM_idle"] = 266;
AnimTables[1].Anim["CROUCH_RIFLE_AIM_walk"] = 340;

AnimTables[1].Anim["jump"] = 27;

-----------------------------------------
-- END MALE CITIZEN ANIM TABLE
-----------------------------------------



-----------------------------------------
-- FEMALE CITIZEN ANIM TABLE
-----------------------------------------
AnimTables[2] = { }
AnimTables[2].Models =
{

  "models/Humans/Group01/Female_01.mdl",
  "models/Humans/Group01/Female_02.mdl",
  "models/Humans/Group01/Female_03.mdl",
  "models/Humans/Group01/Female_04.mdl",
  "models/Humans/Group01/Female_06.mdl",
  "models/Humans/Group01/Female_07.mdl",
  "models/Humans/Group02/Female_01.mdl",
  "models/Humans/Group02/Female_02.mdl",
  "models/Humans/Group02/Female_03.mdl",
  "models/Humans/Group02/Female_04.mdl",
  "models/Humans/Group02/Female_06.mdl",
  "models/Humans/Group02/Female_07.mdl",

};
AnimTables[2].Anim = { }

AnimTables[2].Anim["STAND_idle"] = 1;
AnimTables[2].Anim["STAND_walk"] = 6;
AnimTables[2].Anim["STAND_run"] = 10;

AnimTables[2].Anim["STAND_FIST_idle"] = 1;
AnimTables[2].Anim["STAND_FIST_walk"] = 6;
AnimTables[2].Anim["STAND_FIST_run"] = 10;
AnimTables[2].Anim["CROUCH_FIST_idle"] = 5;
AnimTables[2].Anim["CROUCH_FIST_walk"] = 8;
AnimTables[2].Anim["STAND_FIST_AIM_idle"] = 265;
AnimTables[2].Anim["STAND_FIST_AIM_walk"] = 318;
AnimTables[2].Anim["STAND_FIST_AIM_run"] = 319;
AnimTables[2].Anim["CROUCH_FIST_AIM_idle"] = 279;
AnimTables[2].Anim["CROUCH_FIST_AIM_walk"] = 340;

AnimTables[2].Anim["STAND_PISTOL_idle"] = 1;
AnimTables[2].Anim["STAND_PISTOL_walk"] = 6;
AnimTables[2].Anim["STAND_PISTOL_run"] = 10;
AnimTables[2].Anim["CROUCH_PISTOL_idle"] = 5;
AnimTables[2].Anim["CROUCH_PISTOL_walk"] = 8;
AnimTables[2].Anim["STAND_PISTOL_AIM_idle"] = 304;
AnimTables[2].Anim["STAND_PISTOL_AIM_walk"] = 352;
AnimTables[2].Anim["STAND_PISTOL_AIM_run"] = 353;
AnimTables[2].Anim["CROUCH_PISTOL_AIM_idle"] = 266;
AnimTables[2].Anim["CROUCH_PISTOL_AIM_walk"] = 342;

AnimTables[2].Anim["STAND_SMG_idle"] = 311;
AnimTables[2].Anim["STAND_SMG_walk"] = 313;
AnimTables[2].Anim["STAND_SMG_run"] = 316;
AnimTables[2].Anim["CROUCH_SMG_idle"] = 332;
AnimTables[2].Anim["CROUCH_SMG_walk"] = 335;
AnimTables[2].Anim["STAND_SMG_AIM_idle"] = 265;
AnimTables[2].Anim["STAND_SMG_AIM_walk"] = 318;
AnimTables[2].Anim["STAND_SMG_AIM_run"] = 319;
AnimTables[2].Anim["CROUCH_SMG_AIM_idle"] = 266;
AnimTables[2].Anim["CROUCH_SMG_AIM_walk"] = 340;

AnimTables[2].Anim["STAND_RIFLE_idle"] = 322;
AnimTables[2].Anim["STAND_RIFLE_walk"] = 337;
AnimTables[2].Anim["STAND_RIFLE_run"] = 338;
AnimTables[2].Anim["CROUCH_RIFLE_idle"] = 332;
AnimTables[2].Anim["CROUCH_RIFLE_walk"] = 335;
AnimTables[2].Anim["STAND_RIFLE_AIM_idle"] = 331;
AnimTables[2].Anim["STAND_RIFLE_AIM_walk"] = 318;
AnimTables[2].Anim["STAND_RIFLE_AIM_run"] = 319;
AnimTables[2].Anim["CROUCH_RIFLE_AIM_idle"] = 266;
AnimTables[2].Anim["CROUCH_RIFLE_AIM_walk"] = 340;

AnimTables[2].Anim["CROUCH_idle"] = 5;
AnimTables[2].Anim["CROUCH_walk"] = 8;

AnimTables[2].Anim["jump"] = 27;

-----------------------------------------
-- END FEMALE CITIZEN ANIM TABLE
-----------------------------------------

-----------------------------------------
-- CP ANIM TABLE
-----------------------------------------
AnimTables[3] = { }
AnimTables[3].Models =
{

  "models/police.mdl"
  
};
AnimTables[3].Anim = { }

AnimTables[3].Anim["STAND_idle"] = 1;
AnimTables[3].Anim["STAND_walk"] = 6;
AnimTables[3].Anim["STAND_run"] = 10;


AnimTables[3].Anim["STAND_FIST_idle"] = 1;
AnimTables[3].Anim["STAND_FIST_walk"] = 6;
AnimTables[3].Anim["STAND_FIST_run"] = 10;
AnimTables[3].Anim["CROUCH_FIST_idle"] = 282;
AnimTables[3].Anim["CROUCH_FIST_walk"] = 8;
AnimTables[3].Anim["STAND_FIST_AIM_idle"] = 265;
AnimTables[3].Anim["STAND_FIST_AIM_walk"] = 340;
AnimTables[3].Anim["STAND_FIST_AIM_run"] = 343;
AnimTables[3].Anim["CROUCH_FIST_AIM_idle"] = 283;
AnimTables[3].Anim["CROUCH_FIST_AIM_walk"] = 8;

AnimTables[3].Anim["STAND_BLUNT_idle"] = 1;
AnimTables[3].Anim["STAND_BLUNT_walk"] = 6;
AnimTables[3].Anim["STAND_BLUNT_run"] = 10;
AnimTables[3].Anim["CROUCH_BLUNT_idle"] = 282;
AnimTables[3].Anim["CROUCH_BLUNT_walk"] = 8;
AnimTables[3].Anim["STAND_BLUNT_AIM_idle"] = 328;
AnimTables[3].Anim["STAND_BLUNT_AIM_walk"] = 323;
AnimTables[3].Anim["STAND_BLUNT_AIM_run"] = 10;
AnimTables[3].Anim["CROUCH_BLUNT_AIM_idle"] = 283;
AnimTables[3].Anim["CROUCH_BLUNT_AIM_walk"] = 8;
AnimTables[3].Anim["BLUNT_ATTACK"] = 277;

AnimTables[3].Anim["STAND_PISTOL_idle"] = 1;
AnimTables[3].Anim["STAND_PISTOL_walk"] = 6;
AnimTables[3].Anim["STAND_PISTOL_run"] = 10;
AnimTables[3].Anim["CROUCH_PISTOL_idle"] = 282;
AnimTables[3].Anim["CROUCH_PISTOL_walk"] = 8;
AnimTables[3].Anim["STAND_PISTOL_AIM_idle"] = 270;
AnimTables[3].Anim["STAND_PISTOL_AIM_walk"] = 352;
AnimTables[3].Anim["STAND_PISTOL_AIM_run"] = 353;
AnimTables[3].Anim["CROUCH_PISTOL_AIM_idle"] = 283;
AnimTables[3].Anim["CROUCH_PISTOL_AIM_walk"] = 8;

AnimTables[3].Anim["STAND_SMG_idle"] = 301;
AnimTables[3].Anim["STAND_SMG_walk"] = 339;
AnimTables[3].Anim["STAND_SMG_run"] = 343;
AnimTables[3].Anim["CROUCH_SMG_idle"] = 283;
AnimTables[3].Anim["CROUCH_SMG_walk"] = 8;
AnimTables[3].Anim["STAND_SMG_AIM_idle"] = 302;
AnimTables[3].Anim["STAND_SMG_AIM_walk"] = 340;
AnimTables[3].Anim["STAND_SMG_AIM_run"] = 344;
AnimTables[3].Anim["CROUCH_SMG_AIM_idle"] = 283;
AnimTables[3].Anim["CROUCH_SMG_AIM_walk"] = 8;

AnimTables[3].Anim["STAND_RIFLE_idle"] = 301;
AnimTables[3].Anim["STAND_RIFLE_walk"] = 339;
AnimTables[3].Anim["STAND_RIFLE_run"] = 343;
AnimTables[3].Anim["CROUCH_RIFLE_idle"] = 283;
AnimTables[3].Anim["CROUCH_RIFLE_walk"] = 8;
AnimTables[3].Anim["STAND_RIFLE_AIM_idle"] = 302;
AnimTables[3].Anim["STAND_RIFLE_AIM_walk"] = 340;
AnimTables[3].Anim["STAND_RIFLE_AIM_run"] = 344;
AnimTables[3].Anim["CROUCH_RIFLE_AIM_idle"] = 283;
AnimTables[3].Anim["CROUCH_RIFLE_AIM_walk"] = 8;

AnimTables[3].Anim["CROUCH_idle"] = 282;
AnimTables[3].Anim["CROUCH_walk"] = 8;

AnimTables[3].Anim["jump"] = 27;

-----------------------------------------
-- END CP ANIM TABLE
-----------------------------------------

-----------------------------------------
-- COMBINE OVERWATCH ANIM TABLE
-----------------------------------------
AnimTables[4] = { }
AnimTables[4].Models =
{

  "models/Combine_Soldier.mdl",
  "models/Combine_Super_Soldier.mdl"
  
};
AnimTables[4].Anim = { }

AnimTables[4].Anim["STAND_idle"] = "Idle_Unarmed";
AnimTables[4].Anim["STAND_walk"] = 339;
AnimTables[4].Anim["STAND_run"] = 343;


AnimTables[4].Anim["STAND_FIST_idle"] = "Idle_Unarmed";
AnimTables[4].Anim["STAND_FIST_walk"] = 339;
AnimTables[4].Anim["STAND_FIST_run"] = 343;
AnimTables[4].Anim["CROUCH_FIST_idle"] = 45;
AnimTables[4].Anim["CROUCH_FIST_walk"] = 341;
AnimTables[4].Anim["STAND_FIST_AIM_idle"] = 302;
AnimTables[4].Anim["STAND_FIST_AIM_walk"] = 340;
AnimTables[4].Anim["STAND_FIST_AIM_run"] = 344;
AnimTables[4].Anim["CROUCH_FIST_AIM_idle"] = 45;
AnimTables[4].Anim["CROUCH_FIST_AIM_walk"] = 341;


AnimTables[4].Anim["STAND_PISTOL_idle"] = 1;
AnimTables[4].Anim["STAND_PISTOL_walk"] = 339;
AnimTables[4].Anim["STAND_PISTOL_run"] = 343;
AnimTables[4].Anim["CROUCH_PISTOL_idle"] = 45;
AnimTables[4].Anim["CROUCH_PISTOL_walk"] = 341;
AnimTables[4].Anim["STAND_PISTOL_AIM_idle"] = 302;
AnimTables[4].Anim["STAND_PISTOL_AIM_walk"] = 340;
AnimTables[4].Anim["STAND_PISTOL_AIM_run"] = 344;
AnimTables[4].Anim["CROUCH_PISTOL_AIM_idle"] = 45;
AnimTables[4].Anim["CROUCH_PISTOL_AIM_walk"] = 341;

AnimTables[4].Anim["STAND_SMG_idle"] = 1;
AnimTables[4].Anim["STAND_SMG_walk"] = 339;
AnimTables[4].Anim["STAND_SMG_run"] = 343;
AnimTables[4].Anim["CROUCH_SMG_idle"] = 45;
AnimTables[4].Anim["CROUCH_SMG_walk"] = 341;
AnimTables[4].Anim["STAND_SMG_AIM_idle"] = 302;
AnimTables[4].Anim["STAND_SMG_AIM_walk"] = 340;
AnimTables[4].Anim["STAND_SMG_AIM_run"] = 344;
AnimTables[4].Anim["CROUCH_SMG_AIM_idle"] = 45;
AnimTables[4].Anim["CROUCH_SMG_AIM_walk"] = 341;

AnimTables[4].Anim["STAND_RIFLE_idle"] = 1;
AnimTables[4].Anim["STAND_RIFLE_walk"] = 339;
AnimTables[4].Anim["STAND_RIFLE_run"] = 343;
AnimTables[4].Anim["CROUCH_RIFLE_idle"] = 45;
AnimTables[4].Anim["CROUCH_RIFLE_walk"] = 341;
AnimTables[4].Anim["STAND_RIFLE_AIM_idle"] = 302;
AnimTables[4].Anim["STAND_RIFLE_AIM_walk"] = 340;
AnimTables[4].Anim["STAND_RIFLE_AIM_run"] = 344;
AnimTables[4].Anim["CROUCH_RIFLE_AIM_idle"] = 45;
AnimTables[4].Anim["CROUCH_RIFLE_AIM_walk"] = 341;


AnimTables[4].Anim["CROUCH_idle"] = 45;
AnimTables[4].Anim["CROUCH_walk"] = 341;

AnimTables[4].Anim["jump"] = 27;

-----------------------------------------
-- END COMBINE OVERWATCH ANIM TABLE
-----------------------------------------

for k, v in pairs( AnimTables ) do

	for n, m in pairs( v.Models ) do
	
		AnimTables[k].Models[n] = string.lower( AnimTables[k].Models[n] );
	
	end

end
