forked from CafeFPS/scripts_r5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hudanimations.txt
488 lines (406 loc) · 16.3 KB
/
hudanimations.txt
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
// commands:
// Animate <panel name> <variable> <target value> <interpolator> <start time> <duration>
// variables:
// FgColor
// BgColor
// Position
// Size
// Blur (hud panels only)
// TextColor (hud panels only)
// Ammo2Color (hud panels only)
// Alpha (hud weapon selection only)
// SelectionAlpha (hud weapon selection only)
// TextScan (hud weapon selection only)
//
// interpolator:
// Linear
// Accel - starts moving slow, ends fast
// Deaccel - starts moving fast, ends slow
//
// RunEvent <event name> <start time>
// starts another even running at the specified time
//
// StopEvent <event name> <start time>
// stops another event that is current running at the specified time
//
// StopAnimation <panel name> <variable> <start time>
// stops all animations refering to the specified variable in the specified panel
//
// Note: This doesn't seem to work any more
// Error: Could not find panel <panel name> as child of "CBaseModPanel" for StopPanelAnimations command
// StopPanelAnimations <panel name> <start time>
// stops all active animations operating on the specified panel
//
//
// Useful game console commands:
// cl_Animationinfo <hudelement name> or <panelname>
// displays all the animatable variables for the hud element
//
// RunAnimationScript from script on hud elements
// Unique element names force the need for duplicated/renamed anim events for each tab content panel
// A better solution is to find a way in script to be able to set a start position and then a 2nd position to move to. Didn't work when first tried.
event MoveLeft_LegacyMainPanel
{
Animate LegacyMainPanel Position "480 0" Linear 0 0
Animate LegacyMainPanel Alpha "0" Linear 0 0
Animate LegacyMainPanel Position "0 0" Deaccel 0 0.125
Animate LegacyMainPanel Alpha "255" Accel 0 0.125
}
event MoveRight_LegacyMainPanel
{
Animate LegacyMainPanel Position "-480 0" Linear 0 0
Animate LegacyMainPanel Alpha "0" Linear 0 0
Animate LegacyMainPanel Position "0 0" Deaccel 0 0.125
Animate LegacyMainPanel Alpha "255" Accel 0 0.125
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
event MoveLeft_FriendsPanel
{
Animate FriendsPanel Position "480 0" Linear 0 0
Animate FriendsPanel Alpha "0" Linear 0 0
Animate FriendsPanel Position "0 0" Deaccel 0 0.125
Animate FriendsPanel Alpha "255" Accel 0 0.125
}
event MoveRight_FriendsPanel
{
Animate FriendsPanel Position "-480 0" Linear 0 0
Animate FriendsPanel Alpha "0" Linear 0 0
Animate FriendsPanel Position "0 0" Deaccel 0 0.125
Animate FriendsPanel Alpha "255" Accel 0 0.125
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
event MoveLeft_PilotPanel
{
Animate PilotPanel Position "480 0" Linear 0 0
Animate PilotPanel Alpha "0" Linear 0 0
Animate PilotPanel Position "0 0" Deaccel 0 0.125
Animate PilotPanel Alpha "255" Accel 0 0.125
}
event MoveRight_PilotPanel
{
Animate PilotPanel Position "-480 0" Linear 0 0
Animate PilotPanel Alpha "0" Linear 0 0
Animate PilotPanel Position "0 0" Deaccel 0 0.125
Animate PilotPanel Alpha "255" Accel 0 0.125
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
event MoveLeft_TitanPanel
{
Animate TitanPanel Position "480 0" Linear 0 0
Animate TitanPanel Alpha "0" Linear 0 0
Animate TitanPanel Position "0 0" Deaccel 0 0.125
Animate TitanPanel Alpha "255" Accel 0 0.125
}
event MoveRight_TitanPanel
{
Animate TitanPanel Position "-480 0" Linear 0 0
Animate TitanPanel Alpha "0" Linear 0 0
Animate TitanPanel Position "0 0" Deaccel 0 0.125
Animate TitanPanel Alpha "255" Accel 0 0.125
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
event MoveLeft_SettingsPanel
{
Animate SettingsPanel Position "480 0" Linear 0 0
Animate SettingsPanel Alpha "0" Linear 0 0
Animate SettingsPanel Position "0 0" Deaccel 0 0.125
Animate SettingsPanel Alpha "255" Accel 0 0.125
}
event MoveRight_SettingsPanel
{
Animate SettingsPanel Position "-480 0" Linear 0 0
Animate SettingsPanel Alpha "0" Linear 0 0
Animate SettingsPanel Position "0 0" Deaccel 0 0.125
Animate SettingsPanel Alpha "255" Accel 0 0.125
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
event SoloLobby
{
StopEvent PartyLeaderLobby 0
StopEvent PartyMemberLobby 0
StopEvent MatchLobby 0
StopEvent PrivateMatchLobby 0
Animate BtnEditPilotLoadouts Position "67 389" Linear 0 0
Animate BtnOptions Position "67 744" Linear 0 0
Animate ImgTeamLogo Alpha "0" Linear 0 0
}
event PartyLeaderLobby
{
StopEvent SoloLobby 0
StopEvent PartyMemberLobby 0
StopEvent MatchLobby 0
StopEvent PrivateMatchLobby 0
Animate BtnEditPilotLoadouts Position "67 346" Linear 0 0
Animate BtnOptions Position "67 704" Linear 0 0
Animate ImgTeamLogo Alpha "0" Linear 0 0
}
event PartyMemberLobby
{
StopEvent SoloLobby 0
StopEvent PartyLeaderLobby 0
StopEvent MatchLobby 0
StopEvent PrivateMatchLobby 0
Animate BtnEditPilotLoadouts Position "67 169" Linear 0 0
Animate BtnOptions Position "67 495" Linear 0 0
Animate ImgTeamLogo Alpha "0" Linear 0 0
}
event MatchLobby
{
StopEvent SoloLobby 0
StopEvent PartyLeaderLobby 0
StopEvent PartyMemberLobby 0
StopEvent PrivateMatchLobby 0
Animate BtnEditPilotLoadouts Position "67 169" Linear 0 0
Animate BtnOptions Position "67 495" Linear 0 0
Animate ImgTeamLogo Alpha "255" Linear 0 0
}
event PrivateMatchLobby
{
StopEvent SoloLobby 0
StopEvent PartyLeaderLobby 0
StopEvent PartyMemberLobby 0
StopEvent MatchLobby 0
Animate BtnEditPilotLoadouts Position "67 346" Linear 0 0
Animate BtnOptions Position "67 591" Linear 0 0
Animate ImgTeamLogo Alpha "255" Linear 0 0
}
event ShowPlayButtonMessage
{
StopEvent HidePlayButtonMessage 0
Animate MainMenuButton0 Size "674 112" Deaccel 0 0.125
}
event HidePlayButtonMessage
{
StopEvent ShowPlayButtonMessage 0
Animate MainMenuButton0 Size "674 56" Deaccel 0 0.125
}
event ShowStoreButtonMessage
{
StopEvent HideStoreButtonMessage 0
Animate MainMenuButton1 Size "674 90" Deaccel 0 0.125
}
event HideStoreButtonMessage
{
StopEvent ShowStoreButtonMessage 0
Animate MainMenuButton1 Size "674 45" Deaccel 0 0.125
}
event LevelInit
{
}
event OpenPilotVDU
{
StopEvent ClosePilotVDU 0.0
Animate VDU_CockpitScreen Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitScreen Size "270 45" Spline 0.15 0.25
Animate VDU_CockpitScreen Size "270 351" Spline 0.33 0.3
Animate VDU_CockpitScreen Size "270 270" Spline 0.6 0.08
Animate VDU_CockpitScreen Alpha "0" Linear 0 0
Animate VDU_CockpitScreen Alpha "255" Spline 0.15 0.3
Animate VDU_CockpitStatic Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitStatic Size "270 45" Spline 0.15 0.25
Animate VDU_CockpitStatic Size "270 274" Spline 0.33 0.3
Animate VDU_CockpitStatic Size "270 211" Spline 0.6 0.08
Animate VDU_CockpitStatic Alpha "0" Linear 0 0
Animate VDU_CockpitStatic Alpha "255" Spline 0.15 0.3
Animate VDU_FG Size "0 0" Linear 0.0 0.0
Animate VDU_FG Size "373 63" Spline 0.15 0.25
Animate VDU_FG Size "373 486" Spline 0.33 0.3
Animate VDU_FG Size "373 373" Spline 0.6 0.08
Animate VDU_FG Alpha "0" Linear 0 0
Animate VDU_FG Alpha "255" Spline 0.15 0.3
Animate VDU_BG Size "0 0" Linear 0.0 0.0
Animate VDU_BG Size "373 63" Spline 0.15 0.25
Animate VDU_BG Size "373 438" Spline 0.33 0.3
Animate VDU_BG Size "373 337" Spline 0.6 0.08
Animate VDU_BG Position "0 4" Linear 0.0 0.0
Animate VDU_BG Alpha "0" Linear 0 0
Animate VDU_BG Alpha "255" Spline 0.15 0.3
}
event OpenWidescreenVDU
{
StopEvent ClosePilotVDU 0.0
Animate VDU_CockpitScreen Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitScreen Size "328 54" Spline 0.15 0.25
Animate VDU_CockpitScreen Size "328 427" Spline 0.33 0.3
Animate VDU_CockpitScreen Size "328 328" Spline 0.6 0.08
Animate VDU_CockpitScreen Alpha "0" Linear 0 0
Animate VDU_CockpitScreen Alpha "255" Spline 0.15 0.3
Animate VDU_CockpitStatic Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitStatic Size "328 54" Spline 0.15 0.25
Animate VDU_CockpitStatic Size "328 335" Spline 0.33 0.3
Animate VDU_CockpitStatic Size "328 259" Spline 0.6 0.08
Animate VDU_CockpitStatic Alpha "0" Linear 0 0
Animate VDU_CockpitStatic Alpha "255" Spline 0.15 0.3
Animate VDU_FG Size "0 0" Linear 0.0 0.0
Animate VDU_FG Size "373 63" Spline 0.15 0.25
Animate VDU_FG Size "373 486" Spline 0.33 0.3
Animate VDU_FG Size "373 373" Spline 0.6 0.08
Animate VDU_FG Alpha "0" Linear 0 0
Animate VDU_FG Alpha "255" Spline 0.15 0.3
Animate VDU_BG Size "0 0" Linear 0.0 0.0
Animate VDU_BG Size "454 63" Spline 0.15 0.25
Animate VDU_BG Size "454 438" Spline 0.33 0.3
Animate VDU_BG Size "454 337" Spline 0.6 0.08
Animate VDU_BG Position "0 9" Linear 0.0 0.0
Animate VDU_BG Alpha "0" Linear 0 0
Animate VDU_BG Alpha "255" Spline 0.15 0.3
}
event OpenJumpQuest
{
Animate JQ_FG Size "0 0" Linear 0.0 0.0
Animate JQ_FG Size "405 63" Spline 0.15 0.25
Animate JQ_FG Size "405 344" Spline 0.33 0.3
Animate JQ_FG Size "405 270" Spline 0.6 0.08
Animate JQ_FG Alpha "0" Linear 0 0
Animate JQ_FG Alpha "255" Spline 0.15 0.3
Animate JQ_BG Size "0 0" Linear 0.0 0.0
Animate JQ_BG Size "405 63" Spline 0.15 0.25
Animate JQ_BG Size "405 344" Spline 0.33 0.3
Animate JQ_BG Size "405 270" Spline 0.6 0.08
Animate JQ_BG Alpha "0" Linear 0 0
Animate JQ_BG Alpha "255" Spline 0.15 0.3
}
event ClosePilotVDU
{
StopEvent OpenPilotVDU 0.0
Animate VDU_CockpitScreen Size "270 22" Spline 0.0 0.2
Animate VDU_CockpitScreen Size "0 0" Spline 0.15 0.25
Animate VDU_CockpitScreen Alpha "0" Linear 0.2 0.2
Animate VDU_CockpitStatic Size "270 22" Spline 0.0 0.2
Animate VDU_CockpitStatic Size "0 0" Spline 0.15 0.25
Animate VDU_CockpitStatic Alpha "0" Linear 0.2 0.2
Animate VDU_FG Size "373 31" Spline 0.0 0.2
Animate VDU_FG Size "0 0" Spline 0.15 0.25
Animate VDU_FG Alpha "0" Linear 0.2 0.2
Animate VDU_BG Size "373 31" Spline 0.0 0.2
Animate VDU_BG Size "0 0" Spline 0.15 0.25
Animate VDU_BG Alpha "0" Linear 0.2 0.3
}
event FadeAntiTitanHint
{
Animate AntiTitanHint Alpha "255" Linear 0 0
Animate AntiTitanHint Alpha "0" Linear 3.0 2.0
}
event FadeAnitTitanHintInstant
{
StopAnimation AntiTitanHint Alpha "0.0"
Animate AntiTitanHint Alpha "0" Linear 0.1 0.5
StopEvent FadeAntiTitanHint 0.0
}
event FadeRodeoBatteryHint
{
Animate RodeoBatteryHint Alpha "255" Linear 0 0
Animate RodeoBatteryHint Alpha "0" Linear 8.0 2.0
}
event ShowRodeoBatteryHintInstant
{
Animate RodeoBatteryHint Alpha "255" Linear 0 0
}
event AnimateEjectIcon
{
Animate CrosshairEjectHintIcon ypos -18 Linear 0 0.1
Animate CrosshairEjectHintIcon ypos 0 Linear 0.1 0.1
}
event AnimateEmergencyTitanIcon
{
Animate EmergencyTitanAvailableIcon Size "55 55" Linear 0 0.1
Animate EmergencyTitanAvailableIcon Size "35 35" Linear 0.1 0.1
}
event PulseNextSpawnTimeLabel
{
Animate NextSpawnTimeLabel Alpha "255" Linear 0 0
Animate NextSpawnTimeLabel Alpha "64" Linear 0 0.1
Animate NextSpawnTimeLabel Alpha "255" Accel 0.1 0.1
Animate NextSpawnTimeLabel Alpha "64" Linear 0.2 0.1
Animate NextSpawnTimeLabel Alpha "255" Accel 0.3 0.1
}
event CenterBossVDU
{
Animate VDU_CockpitScreen_Boss Position "0 0" Linear 0.0 0.0
Animate VDU_CockpitScreen_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitScreen_Boss Size "1000 150" Linear 0.15 0.1
Animate VDU_CockpitScreen_Boss Size "1000 1150" Linear 0.25 0.1
Animate VDU_CockpitScreen_Boss Size "1200 1000" Linear 0.35 0.05
Animate VDU_CockpitScreen_Boss Alpha "0" Linear 0 0
Animate VDU_CockpitScreen_Boss Alpha "255" Linear 0.15 0.3
Animate VDU_CockpitStatic_Boss Position "0 0" Linear 0.0 0.0
Animate VDU_CockpitStatic_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitStatic_Boss Size "1000 150" Linear 0.15 0.1
Animate VDU_CockpitStatic_Boss Size "1000 1150" Linear 0.25 0.1
Animate VDU_CockpitStatic_Boss Size "1200 1000" Linear 0.35 0.05
Animate VDU_CockpitStatic_Boss Alpha "0" Linear 0 0
Animate VDU_CockpitStatic_Boss Alpha "255" Linear 0.15 0.3
Animate VDU_FG_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_FG_Boss Size "1400 126" Linear 0.15 0.1
Animate VDU_FG_Boss Size "1400 1200" Linear 0.25 0.1
Animate VDU_FG_Boss Size "1600 1400" Linear 0.35 0.05
Animate VDU_FG_Boss Alpha "0" Linear 0 0
Animate VDU_FG_Boss Alpha "255" Linear 0.15 0.3
Animate VDU_BG_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_BG_Boss Size "1400 126" Linear 0.15 0.1
Animate VDU_BG_Boss Size "1400 1200" Linear 0.25 0.1
Animate VDU_BG_Boss Size "1600 1400" Linear 0.35 0.05
Animate VDU_BG_Boss Alpha "0" Linear 0 0
Animate VDU_BG_Boss Alpha "255" Linear 0.15 0.3
}
event UncenterBossVDU
{
Animate VDU_CockpitScreen_Boss Position "450 0" Linear 0.0 0.3
Animate VDU_CockpitScreen_Boss Size "400 275" Linear 0.0 0.3
Animate VDU_CockpitScreen_Boss Size "400 325" Linear 0.3 0.08
Animate VDU_CockpitStatic_Boss Position "450 0" Linear 0.0 0.3
Animate VDU_CockpitStatic_Boss Size "400 275" Linear 0.0 0.3
Animate VDU_CockpitStatic_Boss Size "400 325" Linear 0.3 0.08
Animate VDU_FG_Boss Size "550 500" Linear 0.0 0.3
Animate VDU_FG_Boss Size "550 460" Linear 0.3 0.08
Animate VDU_BG_Boss Size "550 500" Linear 0.0 0.3
Animate VDU_BG_Boss Size "550 460" Linear 0.3 0.08
}
event OpenBossVDU
{
StopEvent CenterBossVDU 0.0
StopEvent CloseBossVDU 0.0
Animate VDU_CockpitScreen_Boss Position "-450 0" Linear 0.0 0.0
Animate VDU_CockpitScreen_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitScreen_Boss Size "400 45" Linear 0.15 0.1
Animate VDU_CockpitScreen_Boss Size "400 275" Linear 0.25 0.1
Animate VDU_CockpitScreen_Boss Size "400 225" Linear 0.35 0.08
Animate VDU_CockpitScreen_Boss Alpha "0" Linear 0 0
Animate VDU_CockpitScreen_Boss Alpha "255" Linear 0.15 0.3
Animate VDU_CockpitStatic_Boss Position "-450 0" Linear 0.0 0.0
Animate VDU_CockpitStatic_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_CockpitStatic_Boss Size "400 45" Linear 0.15 0.1
Animate VDU_CockpitStatic_Boss Size "400 275" Linear 0.25 0.1
Animate VDU_CockpitStatic_Boss Size "400 225" Linear 0.35 0.08
Animate VDU_CockpitStatic_Boss Alpha "0" Linear 0 0
//Animate VDU_CockpitStatic_Boss Alpha "255" Linear 0.15 0.3
Animate VDU_FG_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_FG_Boss Size "550 100" Linear 0.15 0.1
Animate VDU_FG_Boss Size "550 500" Linear 0.25 0.1
Animate VDU_FG_Boss Size "600 460" Linear 0.35 0.08
Animate VDU_FG_Boss Alpha "0" Linear 0 0
Animate VDU_FG_Boss Alpha "255" Linear 0.15 0.3
Animate VDU_BG_Boss Size "0 0" Linear 0.0 0.0
Animate VDU_BG_Boss Size "550 100" Linear 0.15 0.1
Animate VDU_BG_Boss Size "550 500" Linear 0.25 0.1
Animate VDU_BG_Boss Size "600 460" Linear 0.35 0.08
Animate VDU_BG_Boss Alpha "0" Linear 0 0
Animate VDU_BG_Boss Alpha "255" Linear 0.15 0.3
}
event CloseBossVDU
{
StopEvent OpenBossVDU 0.0
Animate VDU_CockpitScreen_Boss Position "-475 0" Linear 0.0 0.0
Animate VDU_CockpitScreen_Boss Size "400 45" Spline 0.0 0.2
Animate VDU_CockpitScreen_Boss Size "0 0" Spline 0.15 0.1
Animate VDU_CockpitScreen_Boss Alpha "0" Linear 0.2 0.1
Animate VDU_CockpitStatic_Boss Size "400 45" Spline 0.0 0.2
Animate VDU_CockpitStatic_Boss Size "0 0" Spline 0.15 0.1
Animate VDU_CockpitStatic_Boss Alpha "0" Linear 0.2 0.1
Animate VDU_FG_Boss Size "500 100" Spline 0.0 0.2
Animate VDU_FG_Boss Size "0 0" Spline 0.15 0.1
Animate VDU_FG_Boss Alpha "0" Linear 0.2 0.2
Animate VDU_BG_Boss Size "500 100" Spline 0.0 0.2
Animate VDU_BG_Boss Size "0 0" Spline 0.15 0.1
Animate VDU_BG_Boss Alpha "0" Linear 0.2 0.1
}