animations
{
	$path models/human/animation

	//========================
	// Walking/Cautious
	//========================
	minedetector_stand_walk_fwd		multiplayer/mp_rifle_curious_walk_forward.skc	deltadriven crossblend 0.2 //autosteps_walk
	minedetector_stand_walk_back		multiplayer/mp_rifle_curious_walk_backwards.skc	deltadriven crossblend 0.2 //autosteps_walk
	minedetector_stand_walk_left		multiplayer/mp_rifle_curious_walk_left.skc	deltadriven crossblend 0.2 //autosteps_walk
	minedetector_stand_walk_right		multiplayer/mp_rifle_curious_walk_right.skc	deltadriven crossblend 0.2 //autosteps_walk

	//========================
	// Jogging/Relaxed
	//========================

	minedetector_stand_run_fwd		weapon_rifle/walks_runs/rifle_jog.skc			autosteps_run
	minedetector_stand_run_back		multiplayer/mp_rifle_jog_back.skc			autosteps_run
	minedetector_stand_run_left		multiplayer/mp_rifle_run_left.skc			autosteps_run
	minedetector_stand_run_right		multiplayer/mp_rifle_run_right.skc			autosteps_run
	
	//========================
	// Standing
	//========================
	
	minedetector_stand_idle	 		multiplayer/mp_rifle_stand_curious.skc			crossblend 0.2	

	//========================
	// Crouching
	//========================
	minedetector_crouch_idle		weapon_rifle/crouch/rifle_crouch.skc			crossblend 0.2
	minedetector_crouch_walk_fwd		multiplayer/mp_rifle_crouch_walk_forwards.skc		crossblend 0.1 //autosteps_walk
	minedetector_crouch_walk_back		multiplayer/mp_rifle_crouch_walk_back.skc		crossblend 0.1 //autosteps_walk
	minedetector_crouch_walk_left		multiplayer/mp_rifle_crouch_walk_left.skc		crossblend 0.1 //autosteps_walk
	minedetector_crouch_walk_right		multiplayer/mp_rifle_crouch_walk_right.skc		crossblend 0.1 //autosteps_walk

	minedetector_crouch_run_fwd		multiplayer/mp_rifle_crouchrun.skc			crossblend 0.1 autosteps_run
	minedetector_crouch_run_back		multiplayer/mp_rifle_crouch_run_backwards.skc		crossblend 0.1 autosteps_run
	minedetector_crouch_run_left		weapon_rifle/walks_runs/rifle_crouchrun_left.skc				crossblend 0.1 autosteps_run
	minedetector_crouch_run_right		weapon_rifle/walks_runs/rifle_crouchrun_right.skc				crossblend 0.1 autosteps_run
	
/*	//========================
	// Walking/Cautious
	//========================
	minedetector_stand_walk_fwd		viewmodel/minedetector/a_w_minedetector_idle.skc	deltadriven crossblend 0.2		
	minedetector_stand_walk_back		viewmodel/minedetector/a_w_minedetector_idle.skc	deltadriven crossblend 0.2	
	minedetector_stand_walk_left		viewmodel/minedetector/a_w_minedetector_idle.skc	deltadriven crossblend 0.2		
	minedetector_stand_walk_right		viewmodel/minedetector/a_w_minedetector_idle.skc	deltadriven crossblend 0.2			

	//========================
	// Jogging/Relaxed
	//========================
	minedetector_stand_run_fwd		viewmodel/minedetector/a_w_minedetector_idle.skc	autosteps_run
	minedetector_stand_run_back		viewmodel/minedetector/a_w_minedetector_idle.skc	autosteps_run
	minedetector_stand_run_left		viewmodel/minedetector/a_w_minedetector_idle.skc	autosteps_run
	minedetector_stand_run_right		viewmodel/minedetector/a_w_minedetector_idle.skc	autosteps_run

	//========================
	// Standing
	//========================
	minedetector_stand_idle	 		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2	

	//========================
	// Crouching
	//========================
	minedetector_crouch_idle		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_walk_fwd		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_walk_back		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_walk_left		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_walk_right		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2

	minedetector_crouch_run_fwd		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_run_back		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_run_left		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
	minedetector_crouch_run_right		viewmodel/minedetector/a_w_minedetector_idle.skc	crossblend 0.2
*/

	//========================
	// Firing  (place)
	//========================
	minedetector_stand_charge		viewmodel/minedetector/a_w_minedetector_arm.skc
	{
		server
		{
			first	weaponcommand mainhand movementspeed 0.01
  			first charge mainhand secondary 
			end	weaponcommand mainhand movementspeed 1.0
		}
	}
	minedetector_crouch_charge		viewmodel/minedetector/a_w_minedetector_arm.skc
	{
		server
		{
			first	weaponcommand mainhand movementspeed 0.01
  			first charge mainhand secondary 
			end	weaponcommand mainhand movementspeed 1.0
		}
	}	
	minedetector_stand_fire			viewmodel/minedetector/a_w_minedetector_arm.skc
	{
		server
		{
                 // Frames were 22 and 56
			first	weaponcommand mainhand movementspeed 0.01
			1	weaponcommand mainhand attachtohand offhand
			18	weaponcommand mainhand attachtohand mainhand
			22	attachmodel models/weapons/us_w_mine.tik tag_weapon_left
			56	removeattachedmodel tag_weapon_left 0 models/weapons/us_w_mine.tik
			56 	releasefire
			57	forcelandminemeasure
			94	weaponcommand mainhand attachtohand offhand
			end	weaponcommand mainhand attachtohand mainhand
			end	weaponcommand mainhand movementspeed 1.0
		}
	}
	minedetector_crouch_fire		viewmodel/minedetector/a_w_minedetector_arm.skc
	{
		server
		{
                 // Frames were 22 and 56
			first	weaponcommand mainhand movementspeed 0.01
			1	weaponcommand mainhand attachtohand offhand
			18	weaponcommand mainhand attachtohand mainhand				
			22	attachmodel models/weapons/us_w_mine.tik tag_weapon_left
			56	removeattachedmodel tag_weapon_left 0 models/weapons/us_w_mine.tik
			56	releasefire
			57	forcelandminemeasure
			94	weaponcommand mainhand attachtohand offhand								
			end	weaponcommand mainhand attachtohand mainhand
			end	weaponcommand mainhand movementspeed 1.0
		}
	}

	//========================
	// Minedetector Secondary Firing  (pickup)
	//========================
	minedetector_stand_charge_secondary	viewmodel/minedetector/A_W_Minedetector_disarm.skc		
	{
		server
		{
			first charge mainhand secondary
		}
	}

	minedetector_crouch_charge_secondary	viewmodel/minedetector/A_W_Minedetector_disarm.skc	
	{
		server
		{
			first charge mainhand secondary
		}
	}

	minedetector_stand_fire_secondary	viewmodel/minedetector/A_W_Minedetector_disarm.skc		
	{
		server
		{
			first	weaponcommand mainhand movementspeed 0.01
			1	weaponcommand mainhand attachtohand offhand								
			18	weaponcommand mainhand attachtohand mainhand								
			50	attachmodel models/weapons/us_w_mine.tik tag_weapon_left
			50 	releasefire mainhand secondary		
			51	forcelandminemeasure
			98	removeattachedmodel tag_weapon_left 0 models/weapons/us_w_mine.tik
			109	weaponcommand mainhand attachtohand offhand								
			end	weaponcommand mainhand movementspeed 1.0
			//end	weaponcommand mainhand attachtohand mainhand
		}
	}

	minedetector_crouch_fire_secondary	viewmodel/minedetector/A_W_Minedetector_disarm.skc		
	{
		server
		{
			first	weaponcommand mainhand movementspeed 0.01
			1	weaponcommand mainhand attachtohand offhand								
			18	weaponcommand mainhand attachtohand mainhand								
			69	attachmodel models/weapons/us_w_mine.tik tag_weapon_left
			69 	releasefire mainhand secondary		
			70	forcelandminemeasure
			98	removeattachedmodel tag_weapon_left 0 models/weapons/us_w_mine.tik
			109	weaponcommand mainhand attachtohand offhand								
			//end	weaponcommand mainhand attachtohand mainhand
			end	weaponcommand mainhand movementspeed 1.0
		}
	}

	//===========================
	// Little needle waggle modes
	//===========================
	minedetector_idle2			viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 2
			first pingformines
		}
	}
	minedetector_stand_idle2		viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 2
			first pingformines
		}
	}
	minedetector_crouch_idle2		viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 2
			first pingformines
		}
	}

	minedetector_idle1			viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 1
		}
	}
	minedetector_stand_idle1		viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 1
		}
	}
	minedetector_crouch_idle1		viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 1
		}
	}

 	minedetector_idle0			viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 0
		}
	}
	minedetector_stand_idle0		viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 0
		}
	}
	minedetector_crouch_idle0		viewmodel/minedetector/a_w_minedetector_idle.skc
	{
		server
		{
			first setweaponidlestate 0
		}
	}
 
	//========================
	// Raise
	//========================
	minedetector_stand_raise		viewmodel/minedetector/a_w_minedetector_pullout.skc
	{
		server
		{
			first activatenewweapon lefthand
		}
		client
		{
			enter sound snd_grenade_pullout
		}
	}
	minedetector_crouch_raise		viewmodel/minedetector/a_w_minedetector_pullout.skc
	{
		server
		{
			first activatenewweapon lefthand
		}
		client
		{
			enter sound snd_grenade_pullout
		}
	}

	//========================
	// Lower
	//========================
	minedetector_stand_lower		viewmodel/minedetector/a_w_minedetector_putaway.skc
	{
		server
		{
			last deactivateweapon righthand
			enter stoploopsound
		}
		client
		{
			enter sound snd_grenade_putaway
		}
	}
	minedetector_crouch_lower		viewmodel/minedetector/a_w_minedetector_putaway.skc
	{
		server
		{
			last deactivateweapon righthand
			enter stoploopsound
		}
		client
		{
			enter sound snd_grenade_putaway
		}
	}

	//----------------
	// PAIN ANIMATIONS
	//----------------

	//Stand//
	minedetector_stand_hit_head01		weapon_rifle/minor_pain/rifle_stand_hit_head.skc		random	autosteps_walk
	minedetector_stand_hit_head02		weapon_rifle/minor_pain/rifle_stand_hit_head01.skc		random	autosteps_walk
	minedetector_stand_hit_uppertorso	weapon_rifle/minor_pain/rifle_stand_hit_torso.skc			autosteps_walk
	minedetector_stand_hit_lowertorso	weapon_rifle/minor_pain/rifle_stand_hit_torso.skc			autosteps_walk
	minedetector_stand_hit_back		weapon_rifle/minor_pain/rifle_stand_hit_lower_back.skc			autosteps_walk
	minedetector_stand_hit_rarm		weapon_rifle/minor_pain/rifle_stand_hit_Rshoulder.skc			autosteps_walk
	minedetector_stand_hit_larm		weapon_rifle/minor_pain/rifle_stand_hit_torso.skc			autosteps_walk
	minedetector_stand_hit_leg		weapon_rifle/minor_pain/rifle_stand_hit_leg.skc				autosteps_walk

	//Crouch//
	minedetector_crouch_hit_head		weapon_rifle/minor_pain/rifle_crouch_hit_torso.skc			autosteps_walk
	minedetector_crouch_hit_uppertorso01	weapon_rifle/minor_pain/rifle_crouch_hit_torso.skc		random	autosteps_walk
	minedetector_crouch_hit_uppertorso02	weapon_rifle/minor_pain/rifle_crouch_hit_back02.skc		random	autosteps_walk
	minedetector_crouch_hit_uppertorso03	weapon_rifle/minor_pain/rifle_crouch_hit_front.skc		random	autosteps_walk
	minedetector_crouch_hit_uppertorso04	weapon_rifle/minor_pain/rifle_crouch_hit_front.skc		random	autosteps_walk
	minedetector_crouch_hit_lowertorso01	weapon_rifle/minor_pain/rifle_crouch_hit_torso.skc		random	autosteps_walk
	minedetector_crouch_hit_lowertorso02	weapon_rifle/minor_pain/rifle_crouch_hit_back02.skc		random	autosteps_walk
	minedetector_crouch_hit_lowertorso03	weapon_rifle/minor_pain/rifle_crouch_hit_front.skc		random	autosteps_walk
	minedetector_crouch_hit_back		weapon_rifle/minor_pain/rifle_crouch_hit_back.skc			autosteps_walk
	minedetector_crouch_hit_rarm01		weapon_rifle/minor_pain/rifle_crouch_hit_Rshoulder.skc		random	autosteps_walk
	minedetector_crouch_hit_rarm02		weapon_rifle/minor_pain/rifle_crouch_hit_rarm.skc		random	autosteps_walk
	minedetector_crouch_hit_larm		weapon_rifle/minor_pain/rifle_crouch_hit_torso.skc			autosteps_walk
	minedetector_crouch_hit_leg		weapon_rifle/minor_pain/rifle_crouch_hit_torso.skc			autosteps_walk

	$path models/human/protoanimations
	
	//========================
	// Jumping & Falling
	//========================
	minedetector_jump_takeoff			jump_takeoff.skc			crossblend 0.1
	{
		server
		{
			first ai_event	footstep
		}
		client
		{
			first footstep	"Bip01 R Foot" run
		}
	}
	minedetector_jump_run_takeoff		jump_takeoff.skc			crossblend 0.1
	{
		server
		{
			first ai_event	footstep
		}
		client
		{
			first footstep	"Bip01 R Foot" run
		}
	}
	minedetector_fall				jump_stretch_loop.skc			crossblend 0.2
	minedetector_land				jump_land.skc					crossblend 0.1
	{
		client
		{
			first landing
		}
	}
	minedetector_land_hard			jump_land.skc			crossblend 0.1
	{
		client
		{
			first landing
		}
	}
}
