summaryrefslogtreecommitdiff
path: root/scripts/HudAnimations_custom.txt
blob: 7aeb39384a01f14caf4e04a4f66872db5f5175cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
// Bonus Health Pulse
event HudHealthBonusPulse
{
	Animate	PlayerStatusHealthBonusImage 		Alpha	"255"					Linear 0.0	0.2
	Animate	PlayerStatusHealthBonusImage 		Alpha	"0"						Linear 0.2	0.4
	
	Animate PlayerStatusHealthValue 		 	FgColor "Health Buff" 			Accel 0.0	0.0
	Animate PlayerStatusHealthValueSpectator 	FgColor "Spec Health Buff" 		Accel 0.0	0.0
	Animate PlayerStatusHealthValueFreezePanel 	FgColor "Spec Health Buff" 		Accel 0.0	0.0

	RunEvent HudHealthBonusPulseLoop			0.4
}

event HudHealthBonusPulseStop
{
	StopEvent HudHealthBonusPulse 				0.0
	StopEvent HudHealthBonusPulseLoop 			0.0
	
	Animate PlayerStatusHealthValue 			FgColor "Health Normal" 		Accel 0.0	0.0
	Animate PlayerStatusHealthValueSpectator 	FgColor "Spec Health Normal" 	Accel 0.0	0.0
	Animate PlayerStatusHealthValueFreezePanel 	FgColor "Spec Health Normal" 	Accel 0.0	0.0
}

//===========================================
// Low Health Pulse
event HudHealthDyingPulse
{
	Animate	PlayerStatusHealthBonusImage 		Alpha	"255"					Linear 0.0	0.2
	Animate	PlayerStatusHealthBonusImage 		Alpha	"0"						Linear 0.2	0.2
	
	Animate PlayerStatusHealthValue 		 	FgColor	"Health Hurt" 			Accel 0.0	0.0
	Animate PlayerStatusHealthValueSpectator 	FgColor "Spec Health Hurt" 		Accel 0.0	0.0
	Animate PlayerStatusHealthValueFreezePanel	FgColor "Spec Health Hurt" 		Accel 0.0	0.0
	
	RunEvent HudHealthDyingPulseLoop			0.4
}

event HudHealthDyingPulseStop
{
	StopEvent HudHealthDyingPulse 				0.0
	StopEvent HudHealthDyingPulseLoop 			0.0
	
	Animate PlayerStatusHealthValue 			FgColor	"Health Normal" 		Accel 0.0	0.0
	Animate PlayerStatusHealthValueSpectator 	FgColor "Spec Health Normal" 	Accel 0.0	0.0
	Animate PlayerStatusHealthValueFreezePanel	FgColor "Spec Health Normal" 	Accel 0.0	0.0
}

//===========================================
// Low Ammo Pulse
event HudLowAmmoPulse
{
	Animate	HudWeaponLowAmmoImage			Alpha	"255"						Linear 0.0	0.075
	Animate	HudWeaponLowAmmoImage			Alpha	"0"							Linear 0.125 0.075
	
	Animate AmmoInClip 						FgColor	"Ammo In Clip Low"			Linear 0.0	0.0
	Animate AmmoInReserve 					FgColor "Ammo In Reserve Low" 		Linear 0.0	0.0
	Animate AmmoNoClip 						FgColor "Ammo In Clip Low"			Linear 0.0	0.0
	
	RunEvent HudLowAmmoPulseLoop			0.25
}

event HudLowAmmoPulseStop
{
	StopEvent HudLowAmmoPulse 				0.0
	StopEvent HudLowAmmoPulseLoop 			0.0
	
	Animate AmmoInClip						FgColor	"Ammo In Clip"				Accel 0.0	0.0
	Animate AmmoInReserve					FgColor	"Ammo In Reserve"			Accel 0.0	0.0
	Animate AmmoNoClip						FgColor	"Ammo In Clip"				Accel 0.0	0.0
}
//===========================================
// Hitmarker Pulse
event DamagedPlayer 
{
	StopEvent HitMarker 					0.0
	RunEvent HitMarker 						0.01
}

event HitMarker
{
	Animate KnucklesCrosses	 				FgColor	"CrosshairDamage" 			Linear 0.0	0.0
	Animate KnucklesCrosses	 				FgColor	"Crosshair" 				Linear 0.15	0.0
	Animate RaysCrosshair	 				FgColor	"CrosshairDamage" 			Linear 0.0	0.0
	Animate RaysCrosshair	 				FgColor	"Crosshair" 				Linear 0.15	0.0
	Animate KonrWings	 					FgColor	"CrosshairDamage" 			Linear 0.0	0.0
	Animate KonrWings	 					FgColor	"Crosshair" 				Linear 0.15	0.0
}
//===========================================
// Spy Disguise
event HudSpyDisguiseFadeIn
{
	//RunEvent HudSpyDisguiseChanged		0.0
	//Animate PlayerStatusSpyImage			Alpha	"255"						Linear 0.9	0.1
	//Animate PlayerStatusClassImage		Alpha	"255"						Linear 0.0	0.0
}

event HudSpyDisguiseFadeOut
{
	//RunEvent HudSpyDisguiseChanged		0.0
	//Animate PlayerStatusSpyImage			Alpha	"0"							Linear 0.9	0.1
	//Animate PlayerStatusClassImage		Alpha	"0"							Linear 0.0	0.0
}

//===========================================
// Ubercharge Meters
event HudMedicCharged
{
	RunEvent HudMedicOrangePulseCharge 		0.0
	//RunEvent HudMedicSolidColorCharge 	0.0
	//RunEvent HudMedicRainbowCharged 		0.0
	
	RunEvent HudMedicChargedLoop			0.6
}

event HudMedicRainbowCharged
{
	Animate	ChargeLabel 					FgColor	"ColorGreen"				Linear 0.0	0.1
	Animate	ChargeLabel 					FgColor	"ColorCyan"					Linear 0.1	0.1
	Animate	ChargeLabel 					FgColor	"ColorBlue"					Linear 0.2	0.1
	Animate	ChargeLabel 					FgColor	"ColorMagenta"				Linear 0.3	0.1
	Animate	ChargeLabel 					FgColor	"ColorRed"					Linear 0.4	0.1
	Animate	ChargeLabel 					FgColor	"ColorYellow"				Linear 0.5	0.1

	Animate	ChargeMeter 					FgColor	"ColorGreen"				Linear 0.0	0.1
	Animate	ChargeMeter 					FgColor	"ColorCyan"					Linear 0.1	0.1
	Animate	ChargeMeter 					FgColor	"ColorBlue"					Linear 0.2	0.1
	Animate	ChargeMeter 					FgColor	"ColorMagenta"				Linear 0.3	0.1
	Animate	ChargeMeter 					FgColor	"ColorRed"					Linear 0.4	0.1
	Animate	ChargeMeter 					FgColor	"ColorYellow"				Linear 0.5	0.1

	RunEvent HudMedicChargedLoop			0.6
}

event HudMedicSolidColorCharge
{
	Animate ChargeLabel						FgColor	"Solid Color Uber"			Linear 0.0	0.0
	
	Animate ChargeMeter						FgColor	"Solid Color Uber"			Linear 0.0	0.0

	RunEvent HudMedicChargedLoop			0.6
}

event HudMedicOrangePulseCharge
{
	Animate	ChargeLabel 					FgColor	"Flashing Uber Color1"		Linear 0.0	0.3
	Animate	ChargeLabel 					FgColor	"Flashing Uber Color2"		Linear 0.3	0.3

	Animate	ChargeMeter 					FgColor	"Flashing Uber Color1"		Linear 0.0	0.3
	Animate	ChargeMeter 					FgColor	"Flashing Uber Color2"		Linear 0.3	0.3
	
	RunEvent HudMedicChargedLoop			0.6
}

event HudMedicChargedStop
{
	StopEvent HudMedicCharged				0.0
	StopEvent HudMedicRainbowCharged		0.0
	StopEvent HudMedicSolidColorCharge		0.0 
	StopEvent HudMedicOrangePulseCharge		0.0
	StopEvent HudMedicChargedLoop			0.0
	
	Animate	ChargeLabel 					FgColor	"Ammo In Clip"				Linear 0.0	0.0001
	Animate	ChargeMeter						FgColor	"Uber Bar Color"			Linear 0.0	0.0001
}

event HudReadyPulse
{
	Animate	TournamentInstructionsLabel 	FgColor	"255 165 0 255"				Linear 0.0	0.3
	Animate	TournamentInstructionsLabel 	FgColor	"255 69 0 255"				Linear 0.3	0.3

	RunEvent HudReadyPulseLoop				0.6
}

event CompetitiveGame_HideDisconnectButton
{
	Animate	DisconnectButton				ypos	r-100						Accel 0.0	0.0
}

event CompetitiveGame_ShowDisconnectButton
{
	Animate	DisconnectButton				ypos	r30							Accel 0.0	0.4
}

//===========================================
// Do not move chat window
event CompetitiveGame_LowerChatWindow { }
event CompetitiveGame_RestoreChatWindow { }
event HudTournament_MoveChatWindow { }