//===========================================
//  ___________
// | KrahHUD |
//  
event HudHealthBonusPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"205"		        Linear 0.0 0.2
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"			Linear 0.2 0.4

	Animate	PlayerStatusHealthValue 	FgColor		 "49 140 231 255"	        Accel 0.0 0.0
	
	RunEvent HudHealthBonusPulseLoop	0.4
}

event HudHealthBonusPulseLoop
{
	RunEvent HudHealthBonusPulse 0.0
	RunEvent PlayerStatusHealthValue 0.0
}

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

	Animate PlayerStatusHealthValue 	FgColor		"234 234 234 255"		Accel 0.0 0.0}

event HudHealthDyingPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"255"		        Linear 0.0 0.075
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"			Linear 0.125 0.075

	Animate	PlayerStatusHealthValue 	FgColor		"255 10 10 255"	        Accel 0.0 0.0
	
	RunEvent HudHealthDyingPulseLoop	0.25
}

event HudHealthDyingPulseLoop
{
	RunEvent HudHealthDyingPulse 0.0
	RunEvent PlayerStatusHealthValue 0.0

}

event HudHealthDyingPulseStop
{
	StopEvent HudHealthDyingPulse 0.0
	StopEvent HudHealthDyingPulseLoop 0.0
	StopEvent PlayerStatusHealthValue 0.0
}

event HudLowAmmoPulse
{
	animate AmmoInReserve fGColor RedSolid linear 0.0 0.0
	animate AmmoNoClip fGColor RedSolid linear 0.0 0.0
	runEvent HudLowAmmoPulseLoop  0.1
}

event HudLowAmmoPulseLoop
{
	runEvent HudLowAmmoPulse 0.0
}

event HudLowAmmoPulseStop
{
	stopEvent HudLowAmmoPulse 0.0
	stopEvent HudLowAmmoPulseLoop 0.0
	animate AmmoInReserve fGColor KrahGreen linear 0.0 0.0
	animate AmmoNoClip fGColor KrahWhite linear 0.0 0.0
}

event HudMedicCharged
{
	Animate	ChargeLabel 		FgColor		"KrahPink"			Linear 0.0 0.3
	Animate	ChargeLabel 		FgColor		"KrahCyan"		Linear 0.3 0.3
	Animate	ChargeLabel 		FgColor		"KrahGreen"		Linear 0.6 0.3

	Animate	ChargeMeter 		FgColor		"KrahPink"			Linear 0.0 0.3
	Animate	ChargeMeter 		FgColor		"KrahCyan"		Linear 0.3 0.3
	Animate	ChargeMeter 		FgColor		"KrahGreen"		Linear 0.6 0.3

	RunEvent HudMedicChargedLoop	0.9
}

event HudMedicChargedLoop
{
	RunEvent HudMedicCharged 0.0
}

event HudMedicChargedStop
{
	StopEvent HudMedicCharged 0.0
	StopEvent HudMedicChargedLoop 0.0
	
	Animate	ChargeLabel 	FgColor		"KrahWhite"		Linear 0.0 0.0
	Animate	ChargeMeter 	FgColor		"KrahWhite"		Linear 0.0 0.0
}

event HudSnapShotReminderIn
{
	Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001
	Animate ScreenshotPanel Position "c-83 13" Spline 0.001 0.2
	RunEvent HudHealthDyingPulseStop 10.0
	RunEvent HudHealthBonusPulseStop 10.0
	RunEvent HudLowAmmoPulseStop 10.0
	RunEvent HudMedicChargedStop 10.0
}

event CompetitiveGame_LowerChatWindow
{
	//Animate HudChat ypos r140 Accel 0 0
}

event CompetitiveGame_RestoreChatWindow
{
	//Animate HudChat ypos 275 Accel 0 0
}

event HudTournament_MoveChatWindow
{
	//RunEvent CompetitiveGame_LowerChatWindow 0
	//RunEvent CompetitiveGame_RestoreChatWindow 10
}
//  _______________
// | END KrahHUD |
//  
//===========================================
