//Health Bonus Pulse
event HudHealthBonusPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"175"			Linear 0.0 0.6
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"				Linear 0.2 0.4

	Animate	PlayerStatusHealthValue 	        FgColor		"166 217 125 255"			Linear 0.0 0.075
	Animate	PlayerStatusHealthValue 	        FgColor		"206 255 165 255"			Linear 0.125 0.075

	Animate	HudMedIco 	        FgColor		"220 230 190 255"			Linear 0.0 0.075
	Animate	HudMedIco 	        FgColor		"230 240 200 255"		Linear 0.125 0.075

	Animate	HudMedIcoSS 	        FgColor		"70 100 40 100"			Linear 0.0 0.075
	Animate	HudMedIcoSS 	        FgColor		"50 80 20 200"			Linear 0.125 0.075
	
	Animate	PlayerStatusHealthValueShadow 	        FgColor		"70 100 60 100"			Linear 0.0 0.075
	Animate	PlayerStatusHealthValueShadow 	        FgColor		"50 80 20 150"			Linear 0.125 0.075

	RunEvent HudHealthBonusPulseLoop		0.35
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
	RunEvent HudHealthBonusPulse 			0.0
	RunEvent PlayerStatusHealthValue 		0.0
	RunEvent HudMedIco				0.0
	RunEvent HudMedIcoSS				0.0
}

event HudHealthBonusPulseStop
{
	StopEvent HudHealthBonusPulse 			0.0
	StopEvent HudHealthBonusPulseLoop 		0.0
	StopEvent PlayerStatusHealthValue 		0.0
	StopEvent HudMedIco	 			0.0
	StopEvent HudMedIcoSS	 			0.0

	Animate PlayerStatusHealthValue 	        FgColor		"TanLight"	    Accel 0.0 0.0
	Animate PlayerStatusHealthValueShadow 	        FgColor		"0 0 0 100"	    Accel 0.0 0.0

	Animate	HudMedIco 	        FgColor		"TanLight"			Accel 0.0 0.0
	Animate	HudMedIcoSS 	        FgColor		"0 0 0 150"			Accel 0.0 0.0
}

//===========================================

//Health Dying Pulse
event HudHealthDyingPulse
{
	Animate	PlayerStatusHealthBonusImage 		Alpha		"195"			Linear 0.0 0.075
	Animate	PlayerStatusHealthBonusImage 		Alpha		"0"				Linear 0.125 0.075
	
	Animate	PlayerStatusHealthValue 	        FgColor		"220 90 90 255"			Linear 0.0 		0.11001
	Animate	PlayerStatusHealthValue 	        FgColor		"TanLight"			Linear 0.0 0.125
	Animate	PlayerStatusHealthValue 	        FgColor		"190 60 60 255"			Linear 0.10 	0.10001

	Animate	HudMedIco 	        FgColor		"220 90 90 255"			Linear 0.0 		0.11001
	Animate	HudMedIco 	        FgColor		"240 110 110 255"			Linear 0.0 0.125
	Animate	HudMedIco	        FgColor		"190 60 60 255"			Linear 0.10 	0.10001

	Animate	PlayerStatusHealthValueShadow 	        FgColor		"0 0 0 100"			Linear 0.0 0.075
	Animate	PlayerStatusHealthValueShadow 	        FgColor		"120 40 40 200"			Linear 0.125 0.075

	Animate	HudMedIcoSS 	        FgColor		"0 0 0 100"			Linear 0.0 0.075
	Animate	HudMedIcoSS 	        FgColor		"70 20 20 200"			Linear 0.125 0.075

	RunEvent HudHealthDyingPulseLoop		0.3
}

// call to loop HudHealthDyingPulse
event HudHealthDyingPulseLoop
{
	RunEvent HudHealthDyingPulse 			0.0
	RunEvent PlayerStatusHealthValue 		0.0
	RunEvent PlayerStatusHealthValueShadow 		0.0
	RunEvent HudMedIco				0.0
	RunEvent HudMedIcoSS				0.0
}

event HudHealthDyingPulseStop
{
	StopEvent HudHealthDyingPulse 			0.0
	StopEvent HudHealthDyingPulseLoop 		0.0
	StopEvent PlayerStatusHealthValue 		0.0
	StopEvent PlayerStatusHealthValueShadow 	0.0
	StopEvent HudMedIco	 			0.0
	StopEvent HudMedIcoSS	 			0.0

	Animate	PlayerStatusHealthValue				FgColor		"TanLight"			Accel 0.0 0.0
	Animate	HudMedIco					FgColor		"TanLight"			Accel 0.0 0.0
	Animate	PlayerStatusHealthValueShadow			FgColor		"0 0 0 100"			Accel 0.0 0.0
	Animate	HudMedIcoSS					FgColor		"0 0 0 150"			Accel 0.0 0.0
}

//===========================================

event HudLowAmmoPulse

{
	Animate	AmmoInClip 	        FgColor		"220 90 90 255"			Linear 0.0 		0.11001
	Animate	AmmoInClip 	        FgColor		"200 100 100 255"			Linear 0.0 0.125
	Animate	AmmoInClip 	        FgColor		"190 60 60 255"			Linear 0.10 	0.10001

	Animate	AmmoInReserve 	        FgColor		"220 90 90 255"			Linear 0.0 		0.11001
	Animate	AmmoInReserve 	        FgColor		"240 110 110 255"			Linear 0.0 0.125
	Animate	AmmoInReserve	        FgColor		"190 60 60 255"			Linear 0.10 	0.10001

	Animate	AmmoNoClip 	        FgColor		"220 90 90 255"			Linear 0.0 		0.11001
	Animate	AmmoNoClip 	        FgColor		"240 110 110 255"			Linear 0.0 0.125
	Animate	AmmoNoClip	        FgColor		"190 60 60 255"			Linear 0.10 	0.10001
	
	Animate	AmmoInClipShadow 	        FgColor		"0 0 0 100"			Linear 0.0 0.075
	Animate	AmmoInClipShadow 	        FgColor		"70 20 20 200"			Linear 0.125 0.075
	
	Animate	AmmoInReserveShadow 	        FgColor		"0 0 0 100"			Linear 0.0 0.075
	Animate	AmmoInReserveShadow 	        FgColor		"70 20 20 200"			Linear 0.125 0.075
	
	Animate	AmmoNoClipShadow 	        FgColor		"0 0 0 100"			Linear 0.0 0.075
	Animate	AmmoNoClipShadow 	        FgColor		"70 20 20 200"			Linear 0.125 0.075

	Animate	HudWeaponAmmoIcon 	        FgColor		"220 90 90 255"			Linear 0.0 		0.11001
	Animate	HudWeaponAmmoIcon 	        FgColor		"240 110 110 255"			Linear 0.0 0.125
	Animate	HudWeaponAmmoIcon	        FgColor		"190 60 60 255"			Linear 0.10 	0.10001

	Animate	HudWeaponAmmoIconSS 	        FgColor		"0 0 0 150"			Linear 0.0 0.075
	Animate	HudWeaponAmmoIconSS 	        FgColor		"70 20 20 120"			Linear 0.125 0.075
	
	RunEvent HudLowAmmoPulseLoop	0.3
}

// call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
	RunEvent HudLowAmmoPulse 		0.0
}

event HudLowAmmoPulseStop
{
	StopEvent HudLowAmmoPulse 		0.0
	StopEvent HudLowAmmoPulseLoop 	0.0

	Animate	AmmoInClip	    					FgColor		"TanLight"			Linear 0.0 0.0
	Animate	AmmoInReserve   					FgColor		"TanLight"			Linear 0.0 0.0
	Animate	AmmoNoClip	    					FgColor		"TanLight"			Linear 0.0 0.0
	
	Animate	AmmoInClipShadow	    					FgColor		"0 0 0 100"			Linear 0.0 0.0
	Animate	AmmoInReserveShadow   					FgColor		"0 0 0 100"			Linear 0.0 0.0
	Animate	AmmoNoClipShadow	    					FgColor		"0 0 0 100"			Linear 0.0 0.0
	Animate	HudWeaponAmmoIcon					FgColor		"TanLight"			Accel 0.0 0.0
	Animate	HudWeaponAmmoIconSS					FgColor		"0 0 0 150"			Accel 0.0 0.0
}

//==================================================================================
// HUD Crosshair 
event DamagedPlayer
{
	StopEvent HitMarker			0.0
	RunEvent HitMarker			0.00001
}

event HitMarker
{
	Animate CustomCrosshair		FgColor		"Hitmarker"		Linear 	0.0 	0.00001
	Animate CustomCrosshair		FgColor		"Crosshair"		Linear 	0.10 	0.10001
}

//==================================================================================
// Updated respawn timer on the match HUD

event TeamStatus_PlayerDead
{
	SetVisible	respawntime	1	0
}

event TeamStatus_PlayerAlive
{
	SetVisible	respawntime	0	0.2
}