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

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

	Animate	PlayerStatusHealthValue 		FgColor		"Garm3nHUDBonusPulse"			Linear 	0.0 0.2
	Animate	PlayerStatusHealthValue 		FgColor		"Garm3nHUDBonusPulseTP"			Linear 	0.2 0.4

	Animate	PlayerStatusHealthValue2 		FgColor		"Garm3nHUDBonusPulse"			Linear 	0.0 0.2
	Animate	PlayerStatusHealthValue2 		FgColor		"Garm3nHUDBonusPulseTP"			Linear 	0.2 0.4

	RunEvent HudHealthBonusPulseLoop		0.4
}

event HudHealthBonusPulseLoop
{
	RunEvent HudHealthBonusPulse			0.0
}

event HudHealthBonusPulseStop
{
	StopEvent HudHealthBonusPulse 			0.0
	StopEvent HudHealthBonusPulseLoop 		0.0

	Animate PlayerStatusHealthValue 		FgColor		"Garm3nHUDWhite"				Linear	0.0 0.0

	Animate PlayerStatusHealthValue2 		FgColor		"Garm3nHUDWhite"				Linear 	0.0 0.0
}

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

//Health Dying Pulse
event HudHealthDyingPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"255"							Linear 	0.0 0.075
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"								Linear 	0.125 0.075

	Animate PlayerStatusHealthValue 		FgColor		"Garm3nHUDDyingPulse"			Linear 	0.0 0.075
	Animate PlayerStatusHealthValue 		FgColor		"Garm3nHUDDyingPulseTP"			Linear 	0.125 0.075

	Animate PlayerStatusHealthValue2 		FgColor		"Garm3nHUDDyingPulse"			Linear 	0.0 0.075
	Animate PlayerStatusHealthValue2 		FgColor		"Garm3nHUDDyingPulseTP"			Linear 	0.125 0.075

	RunEvent HudHealthDyingPulseLoop		0.25
}

event HudHealthDyingPulseLoop
{
	RunEvent HudHealthDyingPulse 			0.0
}

event HudHealthDyingPulseStop
{
	StopEvent HudHealthDyingPulse 			0.0
	StopEvent HudHealthDyingPulseLoop 		0.0

	Animate PlayerStatusHealthValue 		FgColor		"Garm3nHUDWhite"				Linear 	0.0 0.0

	Animate PlayerStatusHealthValue2 		FgColor		"Garm3nHUDWhite"				Linear 	0.0 0.0
}

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

event HudLowAmmoPulse
{
	Animate	HudWeaponLowAmmoImage		Alpha			"255"							Linear 	0.0 0.075
	Animate	HudWeaponLowAmmoImage		Alpha			"0"								Linear 	0.125 0.075

	Animate	AmmoInClip					FgColor			"Garm3nHUDDyingPulse"			Linear 	0.0 0.075
	Animate	AmmoInClip					FgColor			"Garm3nHUDDyingPulseTP"			Linear 	0.125 0.075

	Animate	AmmoInReserve				FgColor			"Garm3nHUDDyingPulse"			Linear 	0.0 0.075
	Animate	AmmoInReserve				FgColor			"Garm3nHUDDyingPulseTP"			Linear 	0.125 0.075

	Animate	AmmoNoClip					FgColor			"Garm3nHUDDyingPulse"			Linear 	0.0 0.075
	Animate	AmmoNoClip					FgColor			"Garm3nHUDDyingPulseTP"			Linear 	0.125 0.075
	
	RunEvent HudLowAmmoPulseLoop		0.25
}

event HudLowAmmoPulseLoop
{
	RunEvent HudLowAmmoPulse 			0.0
}

event HudLowAmmoPulseStop
{
	StopEvent HudLowAmmoPulse 			0.0
	StopEvent HudLowAmmoPulseLoop 		0.0

	Animate AmmoInClip 					FgColor			"Garm3nHUDWhite"				Linear 	0.0 0.0

	Animate AmmoInReserve 				FgColor			"Garm3nHUDWhite"				Linear 	0.0 0.0

	Animate AmmoNoClip 					FgColor			"Garm3nHUDWhite"				Linear 	0.0 0.0
}

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

event HudMedicCharged
{
	Animate	ChargeLabel 				FgColor			"Garm3nHUDMedicCharge"			Linear 	0.0 0.1
	Animate	ChargeLabel 				FgColor			"Garm3nHUDMedicCharge2"			Linear 	0.3 0.4

	Animate	ChargeLabel2 				FgColor			"Garm3nHUDMedicCharge"			Linear 	0.0 0.1
	Animate	ChargeLabel2 				FgColor			"Garm3nHUDMedicCharge2"			Linear 	0.3 0.4
	
	Animate	ChargeMeter 				FgColor			"Garm3nHUDMedicCharge"			Linear 	0.0 0.1
	Animate	ChargeMeter 				FgColor			"Garm3nHUDMedicCharge2"			Linear 	0.3 0.4

	RunEvent HudMedicChargedLoop		0.6
}

event HudMedicChargedLoop
{
	RunEvent HudMedicCharged 			0.0
}

event HudMedicChargedStop
{
	StopEvent HudMedicCharged 			0.0
	StopEvent HudMedicChargedLoop 		0.0
	
	Animate	ChargeLabel 				FgColor			"Garm3nHUDWhite"				Linear 	0.0 0.0

	Animate	ChargeLabel2 				FgColor			"Garm3nHUDWhite"				Linear 	0.0 0.0

	Animate	ChargeMeter 				FgColor			"Garm3nHUDWhite"				Linear 	0.0 0.0
}

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

event TeamStatus_PlayerDead
{
	SetVisible DeathPanel  1 0
	SetVisible SkullPanel  1 0
	SetVisible respawntime  1 0

	Animate DeathPanel ypos 19 Accel 0 0.2
	Animate SkullPanel ypos 20 Accel 0 0.2
}

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

event HudSpyDisguiseChanged{}
event HudSpyDisguiseHide{}
event HudSpyDisguiseFadeIn{}
event HudSpyDisguiseFadeOut{}
event CompetitiveGame_LowerChatWindow{}
event CompetitiveGame_RestoreChatWindow{}
event HudTournament_MoveChatWindow{}
event RDPositiveScorePulse{}
event RDNegativeScorePulse{}
event ActiveTimerHighlight{}
event ActiveTimerDim{}
event DamagedPlayer{}

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