0% found this document useful (0 votes)
200 views32 pages

HudAnimations TF

This document contains scripting code for animating elements of a heads-up display (HUD) in a game. It defines events and commands for opening and closing menus, weapon selection, and filling an "Uber" meter by animating alpha values of over 100 elements over time in sequence using linear interpolation.

Uploaded by

Const
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views32 pages

HudAnimations TF

This document contains scripting code for animating elements of a heads-up display (HUD) in a game. It defines events and commands for opening and closing menus, weapon selection, and filling an "Uber" meter by animating alpha values of over 100 elements over time in sequence using linear interpolation.

Uploaded by

Const
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 32

////////////////////////////////////////////////////

//CTRL+F FOR "DAMAGEDPLAYER" TO ANIMATE CROSSHAIRS//


////////////////////////////////////////////////////
// sample animation script
// sample animation script
//
//
// commands:
//
Animate <panel name> <variable> <target value> <interpolator> <start tim
e> <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
//
Spline - simple ease in/out curve
//
Pulse - < freq > over the duration, the value is pulsed
(cosine) freq times ending at the dest value (assuming freq is integral)
//
Flicker - < randomness factor 0.0 to 1.0 > over duration
, each frame if random # is less than factor, use end value, otherwise use prev
value
//
//
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 tim
e
//
//
StopAnimation <panel name> <variable> <start time>
//
stops all animations refering to the specified variable in the s
pecified panel
//
//
StopPanelAnimations <panel name> <start time>
//
stops all active animations operating on the specified panel
//
// SetFont <panel name> <fontparameter> <fontname from scheme> <set time>
//
//
SetTexture <panel name> <textureidname> <texturefilename> <set time>
//
// SetString <panel name> <string varname> <stringvalue> <set time>
event LevelInit
{
}
event OpenWeaponSelectionMenu

{
StopEvent CloseWeaponSelectionMenu
StopEvent WeaponPickup

0.0
0.0

// make the display visible


Animate HudWeaponSelection Alpha

"128"

Animate HudWeaponSelection SelectionAlpha


Animate HudWeaponSelection FgColor

"255" Linear 0.0 0.1


"FgColor"
Linear 0

Linear 0

.0 0.1
.0 0.1
//Animate HudWeaponSelection TextColor "BrightFg"
Animate HudWeaponSelection TextScan
"1"

Linear 0.0 0.1


Linear 0

.0 0.1
}
event CloseWeaponSelectionMenu
{
StopEvent CloseWeaponSelectionMenu
StopEvent WeaponPickup

0.0
0.0

// make the display visible


Animate HudWeaponSelection Alpha

"128"

Animate HudWeaponSelection SelectionAlpha


Animate HudWeaponSelection FgColor

"255" Linear 0.0 0.1


"FgColor"
Linear 0

Linear 0

.0 0.1
.0 0.1
//Animate HudWeaponSelection TextColor "BrightFg"
Animate HudWeaponSelection TextScan
"1"

Linear 0.0 0.1


Linear 0

.0 0.1
}
event MenuOpen
{
StopEvent
// fade
Animate
Animate
Animate
Animate
Animate
Animate

0.0
}

in
HudMenu
HudMenu
HudMenu
HudMenu
HudMenu
HudMenu

MenuClose 0.0

// Undo any blur


Animate HudMenu
0.01

Alpha
"255"
Linear
SelectionAlpha "255"
Linear
FgColor
"FgColor"
MenuColor
"MenuColor"
ItemColor
"ItemColor"
TextScan
"1"

event MenuClose
{
// Hide
Animate
Animate
Animate
Animate
Animate
}
event MenuPulse

it
HudMenu
HudMenu
HudMenu
HudMenu
HudMenu

Blur

0.0 0.1
0.0 0.1
Linear
Linear
Linear
Linear

"1"

Alpha
"0" Linear 0.0 1
SelectionAlpha "0" Linear 0.0 1
FgColor
"0 0 0 0" Linear 0.0 1
MenuColor
"0 0 0 0" Linear 0.0 1
ItemColor
"0 0 0 0" Linear 0.0 1

0.0 0.1
0.0 0.1
0.0 0.1
0.0 0.1
Linear

{
0.0
0.1
0.2
0.3
0.4
0.5
0.6
}

Animate HudMenu
0.1
Animate HudMenu
0.1
Animate HudMenu
0.1
Animate HudMenu
0.1
Animate HudMenu
0.1
Animate HudMenu
0.1
Animate HudMenu
0.4

event MenuOpen
{
StopEvent
// fade
Animate
Animate
Animate
Animate
Animate
Animate

0.0

in
HudMenu
HudMenu
HudMenu
HudMenu
HudMenu
HudMenu

Blur

"7"

Linear

Blur

"2"

Deaccel

Blur

"7"

Linear

Blur

"2"

Deaccel

Blur

"7"

Linear

Blur

"2"

Deaccel

Blur

"1"

Deaccel

MenuClose 0.0
Alpha
"255"
Linear
SelectionAlpha "255"
Linear
FgColor
"FgColor"
MenuColor
"MenuColor"
ItemColor
"ItemColor"
TextScan
"1"

// Undo any blur


Animate HudMenu
Blur
0.01
StopEvent FillUberBar 0.0
RunEvent ClearUberBar 0.01

0.0 0.1
0.0 0.1
Linear
Linear
Linear
Linear

"1"

}
event MenuClose
{
// Hide it
Animate HudMenu Alpha
"0" Linear 0.0 1
Animate HudMenu SelectionAlpha "0" Linear 0.0 1
Animate HudMenu FgColor
"0 0 0 0" Linear 0.0 1
Animate HudMenu MenuColor
"0 0 0 0" Linear 0.0 1
Animate HudMenu ItemColor
"0 0 0 0" Linear 0.0 1
RunEvent FillUberBar 0.0
}
event FillUberBar
{
RunEvent ClearUberBar 0.0
Animate UberBox0 alpha "255"
Animate UberBox1 alpha "255"
Animate UberBox2 alpha "255"
Animate UberBox3 alpha "255"
Animate UberBox4 alpha "255"
Animate UberBox5 alpha "255"
Animate UberBox6 alpha "255"
Animate UberBox7 alpha "255"
Animate UberBox8 alpha "255"
Animate UberBox9 alpha "255"

Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear

0.10 0.001
0.33 0.001
0.67 0.001
1.0 0.001
1.33 0.001
1.67 0.001
2.0 0.001
2.33 0.001
2.67 0.001
3.0 0.001

0.0 0.1
0.0 0.1
0.0 0.1
0.0 0.1
Linear

Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate

UberBox10
UberBox11
UberBox12
UberBox13
UberBox14
UberBox15
UberBox16
UberBox17
UberBox18
UberBox19
UberBox20
UberBox21
UberBox22
UberBox23
UberBox24
UberBox25
UberBox26
UberBox27
UberBox28
UberBox29
UberBox30
UberBox31
UberBox32
UberBox33
UberBox34
UberBox35
UberBox36
UberBox37
UberBox38
UberBox39
UberBox40
UberBox41
UberBox42
UberBox43
UberBox44
UberBox45
UberBox46
UberBox47
UberBox48
UberBox49
UberBox50
UberBox51
UberBox52
UberBox53
UberBox54
UberBox55
UberBox56
UberBox57
UberBox58
UberBox59
UberBox60
UberBox61
UberBox62
UberBox63
UberBox64
UberBox65
UberBox66
UberBox67
UberBox68
UberBox69

alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha
alpha

"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"
"255"

Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear
Linear

3.33 0.001
3.67 0.001
4.0 0.001
4.33 0.001
4.67 0.001
5.0 0.001
5.33 0.001
5.67 0.001
6.0 0.001
6.33 0.001
6.67 0.001
7.0 0.001
7.33 0.001
7.67 0.001
8.0 0.001
8.33 0.001
8.67 0.001
9.0 0.001
9.33 0.001
9.67 0.001
10.0 0.001
10.33 0.001
10.67 0.001
11.0 0.001
11.33 0.001
11.67 0.001
12.0 0.001
12.33 0.001
12.67 0.001
13.0 0.001
13.33 0.001
13.67 0.001
14.0 0.001
14.33 0.001
14.67 0.001
15.0 0.001
15.33 0.001
15.67 0.001
16.0 0.001
16.33 0.001
16.67 0.001
17.0 0.001
17.33 0.001
17.67 0.001
18.0 0.001
18.33 0.001
18.67 0.001
19.0 0.001
19.33 0.001
19.67 0.001
20.0 0.001
20.33 0.001
20.67 0.001
21.0 0.001
21.33 0.001
21.67 0.001
22.0 0.001
22.33 0.001
22.67 0.001
23.0 0.001

Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate

UberBox70 alpha "255" Linear 23.33 0.001


UberBox71 alpha "255" Linear 23.67 0.001
UberBox72 alpha "255" Linear 24.0 0.001
UberBox73 alpha "255" Linear 24.33 0.001
UberBox74 alpha "255" Linear 24.67 0.001
UberBox75 alpha "255" Linear 25.0 0.001
UberBox76 alpha "255" Linear 25.33 0.001
UberBox77 alpha "255" Linear 25.67 0.001
UberBox78 alpha "255" Linear 26.0 0.001
UberBox79 alpha "255" Linear 26.33 0.001
UberBox80 alpha "255" Linear 26.67 0.001
UberBox81 alpha "255" Linear 27.0 0.001
UberBox82 alpha "255" Linear 27.33 0.001
UberBox83 alpha "255" Linear 27.67 0.001
UberBox84 alpha "255" Linear 28.0 0.001
UberBox85 alpha "255" Linear 28.33 0.001
UberBox86 alpha "255" Linear 28.67 0.001
UberBox87 alpha "255" Linear 29.0 0.001
UberBox88 alpha "255" Linear 29.33 0.001
UberBox89 alpha "255" Linear 29.67 0.001
UberBox90 alpha "255" Linear 30.0 0.001
UberBox91 alpha "255" Linear 30.33 0.001
UberBox92 alpha "255" Linear 30.67 0.001
UberBox93 alpha "255" Linear 31.0 0.001
UberBox94 alpha "255" Linear 31.33 0.001
UberBox95 alpha "255" Linear 31.67 0.001
UberBox96 alpha "255" Linear 32.0 0.001
UberBox97 alpha "255" Linear 32.33 0.001
UberBox98 alpha "255" Linear 32.67 0.001
UberBox99 alpha "255" Linear 33.0 0.001
UberBox100 alpha "255" Linear 33.33 0.001
UberBox101 alpha "255" Linear 33.67 0.001
UberBox102 alpha "255" Linear 34.0 0.001
UberBox103 alpha "255" Linear 34.33 0.001
UberBox104 alpha "255" Linear 34.67 0.001
UberBox105 alpha "255" Linear 35.0 0.001
UberBox106 alpha "255" Linear 35.33 0.001
UberBox107 alpha "255" Linear 35.67 0.001
UberBox108 alpha "255" Linear 36.0 0.001
UberBox109 alpha "255" Linear 36.33 0.001
UberBox110 alpha "255" Linear 36.67 0.001
UberBox111 alpha "255" Linear 37.0 0.001
UberBox112 alpha "255" Linear 37.33 0.001
UberBox113 alpha "255" Linear 37.67 0.001
UberBox114 alpha "255" Linear 38.0 0.001
UberBox115 alpha "255" Linear 38.33 0.001
UberBox116 alpha "255" Linear 38.67 0.001
UberBox117 alpha "255" Linear 39.0 0.001
UberBox118 alpha "255" Linear 39.33 0.001
UberBox119 alpha "255" Linear 39.67 0.001

}
event ClearUberBar
{
Animate UberBox0 alpha
Animate UberBox1 alpha
Animate UberBox2 alpha
Animate UberBox3 alpha
Animate UberBox4 alpha
Animate UberBox5 alpha

"0"
"0"
"0"
"0"
"0"
"0"

Linear
Linear
Linear
Linear
Linear
Linear

0.0
0.0
0.0
0.0
0.0
0.0

0.001
0.001
0.001
0.001
0.001
0.001

Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate

UberBox6 alpha "0" Linear 0.0 0.001


UberBox7 alpha "0" Linear 0.0 0.001
UberBox8 alpha "0" Linear 0.0 0.001
UberBox9 alpha "0" Linear 0.0 0.001
UberBox10 alpha "0" Linear 0.0 0.001
UberBox11 alpha "0" Linear 0.0 0.001
UberBox12 alpha "0" Linear 0.0 0.001
UberBox13 alpha "0" Linear 0.0 0.001
UberBox14 alpha "0" Linear 0.0 0.001
UberBox15 alpha "0" Linear 0.0 0.001
UberBox16 alpha "0" Linear 0.0 0.001
UberBox17 alpha "0" Linear 0.0 0.001
UberBox18 alpha "0" Linear 0.0 0.001
UberBox19 alpha "0" Linear 0.0 0.001
UberBox20 alpha "0" Linear 0.0 0.001
UberBox21 alpha "0" Linear 0.0 0.001
UberBox22 alpha "0" Linear 0.0 0.001
UberBox23 alpha "0" Linear 0.0 0.001
UberBox24 alpha "0" Linear 0.0 0.001
UberBox25 alpha "0" Linear 0.0 0.001
UberBox26 alpha "0" Linear 0.0 0.001
UberBox27 alpha "0" Linear 0.0 0.001
UberBox28 alpha "0" Linear 0.0 0.001
UberBox29 alpha "0" Linear 0.0 0.001
UberBox30 alpha "0" Linear 0.0 0.001
UberBox31 alpha "0" Linear 0.0 0.001
UberBox32 alpha "0" Linear 0.0 0.001
UberBox33 alpha "0" Linear 0.0 0.001
UberBox34 alpha "0" Linear 0.0 0.001
UberBox35 alpha "0" Linear 0.0 0.001
UberBox36 alpha "0" Linear 0.0 0.001
UberBox37 alpha "0" Linear 0.0 0.001
UberBox38 alpha "0" Linear 0.0 0.001
UberBox39 alpha "0" Linear 0.0 0.001
UberBox40 alpha "0" Linear 0.0 0.001
UberBox41 alpha "0" Linear 0.0 0.001
UberBox42 alpha "0" Linear 0.0 0.001
UberBox43 alpha "0" Linear 0.0 0.001
UberBox44 alpha "0" Linear 0.0 0.001
UberBox45 alpha "0" Linear 0.0 0.001
UberBox46 alpha "0" Linear 0.0 0.001
UberBox47 alpha "0" Linear 0.0 0.001
UberBox48 alpha "0" Linear 0.0 0.001
UberBox49 alpha "0" Linear 0.0 0.001
UberBox50 alpha "0" Linear 0.0 0.001
UberBox51 alpha "0" Linear 0.0 0.001
UberBox52 alpha "0" Linear 0.0 0.001
UberBox53 alpha "0" Linear 0.0 0.001
UberBox54 alpha "0" Linear 0.0 0.001
UberBox55 alpha "0" Linear 0.0 0.001
UberBox56 alpha "0" Linear 0.0 0.001
UberBox57 alpha "0" Linear 0.0 0.001
UberBox58 alpha "0" Linear 0.0 0.001
UberBox59 alpha "0" Linear 0.0 0.001
UberBox60 alpha "0" Linear 0.0 0.001
UberBox61 alpha "0" Linear 0.0 0.001
UberBox62 alpha "0" Linear 0.0 0.001
UberBox63 alpha "0" Linear 0.0 0.001
UberBox64 alpha "0" Linear 0.0 0.001
UberBox65 alpha "0" Linear 0.0 0.001

Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate

UberBox66 alpha "0" Linear 0.0 0.001


UberBox67 alpha "0" Linear 0.0 0.001
UberBox68 alpha "0" Linear 0.0 0.001
UberBox69 alpha "0" Linear 0.0 0.001
UberBox70 alpha "0" Linear 0.0 0.001
UberBox71 alpha "0" Linear 0.0 0.001
UberBox72 alpha "0" Linear 0.0 0.001
UberBox73 alpha "0" Linear 0.0 0.001
UberBox74 alpha "0" Linear 0.0 0.001
UberBox75 alpha "0" Linear 0.0 0.001
UberBox76 alpha "0" Linear 0.0 0.001
UberBox77 alpha "0" Linear 0.0 0.001
UberBox78 alpha "0" Linear 0.0 0.001
UberBox79 alpha "0" Linear 0.0 0.001
UberBox80 alpha "0" Linear 0.0 0.001
UberBox81 alpha "0" Linear 0.0 0.001
UberBox82 alpha "0" Linear 0.0 0.001
UberBox83 alpha "0" Linear 0.0 0.001
UberBox84 alpha "0" Linear 0.0 0.001
UberBox85 alpha "0" Linear 0.0 0.001
UberBox86 alpha "0" Linear 0.0 0.001
UberBox87 alpha "0" Linear 0.0 0.001
UberBox88 alpha "0" Linear 0.0 0.001
UberBox89 alpha "0" Linear 0.0 0.001
UberBox90 alpha "0" Linear 0.0 0.001
UberBox91 alpha "0" Linear 0.0 0.001
UberBox92 alpha "0" Linear 0.0 0.001
UberBox93 alpha "0" Linear 0.0 0.001
UberBox94 alpha "0" Linear 0.0 0.001
UberBox95 alpha "0" Linear 0.0 0.001
UberBox96 alpha "0" Linear 0.0 0.001
UberBox97 alpha "0" Linear 0.0 0.001
UberBox98 alpha "0" Linear 0.0 0.001
UberBox99 alpha "0" Linear 0.0 0.001
UberBox100 alpha "0" Linear 0.0 0.001
UberBox101 alpha "0" Linear 0.0 0.001
UberBox102 alpha "0" Linear 0.0 0.001
UberBox103 alpha "0" Linear 0.0 0.001
UberBox104 alpha "0" Linear 0.0 0.001
UberBox105 alpha "0" Linear 0.0 0.001
UberBox106 alpha "0" Linear 0.0 0.001
UberBox107 alpha "0" Linear 0.0 0.001
UberBox108 alpha "0" Linear 0.0 0.001
UberBox109 alpha "0" Linear 0.0 0.001
UberBox110 alpha "0" Linear 0.0 0.001
UberBox111 alpha "0" Linear 0.0 0.001
UberBox112 alpha "0" Linear 0.0 0.001
UberBox113 alpha "0" Linear 0.0 0.001
UberBox114 alpha "0" Linear 0.0 0.001
UberBox115 alpha "0" Linear 0.0 0.001
UberBox116 alpha "0" Linear 0.0 0.001
UberBox117 alpha "0" Linear 0.0 0.001
UberBox118 alpha "0" Linear 0.0 0.001
UberBox119 alpha "0" Linear 0.0 0.001

}
event TimerIncrement
{
Animate HudTimer

Blur

"7"

Linear 0.0
0.1
Animate HudTimer
Deaccel 0.1
0.8
Animate HudTimer
Deaccel 1.1
1.5
}
event TimerDecrement
{
Animate HudTimer
Linear 0.0
0.1
Animate HudTimer
Deaccel 0.1
0.8
Animate HudTimer
Deaccel 1.1
1.5
}
event ResourceIncrement
{
Animate HudResources
Linear 0.0
0.0
Animate HudResources
Linear 0.0
0.01
Animate HudResources
Deaccel 0.1
1.5
Animate HudResources
Linear 0.1
2
Animate HudResources
Linear 2
2
}
event ResourceDecrement
{
Animate HudResources
Linear 0.0
0.0
Animate HudResources
Linear 0.0
0.01
Animate HudResources
Deaccel 0.1
1.5
Animate HudResources
Linear 0.1
2
Animate HudResources
Linear 2
2
}
event ResourcePickup
{
Animate HudResourcesPickup
Linear 0
0
Animate HudResourcesPickup
Linear 0
0
Animate HudResourcesPickup
Deaccel 0
1
Animate HudResourcesPickup
Deaccel 0
0.2
Animate HudResourcesPickup
Deaccel .8
0.2

Blur

"2"

Blur

"0"

Blur

"7"

Blur

"2"

Blur

"0"

Blur

"3"

PulseAmount

"0"

Blur

"1"

PulseAmount

"1"

PulseAmount

"0"

Blur

"7"

PulseAmount

"0"

Blur

"1"

PulseAmount

"1"

PulseAmount

"0"

Alpha

"255"

Position

"80 r40"

Position

"80 r120"

Blur

"7"

Alpha

"0"

Animate HudResourcesPickup
Deaccel 0.2
0.3
}

Blur

"1"

event HintMessageShow
{
Animate HudHintDisplay HintSize "1"
Animate HudHintDisplay FgColor "FgColor"
// flash text
Animate HudHintDisplay
Animate HudHintDisplay
Animate HudHintDisplay
Animate HudHintDisplay
Animate HudHintDisplay

FgColor
FgColor
FgColor
FgColor
FgColor

Deaccel 0.0
Linear 0.4

0.3
0.4

"FgColor"
Linear 1.5 0.01
"255 220 0 255" Linear 2.0 0.2
"FgColor"
Linear 2.2 0.2
"255 220 0 255" Linear 3.0 0.2
"FgColor"
Linear 3.2 0.2

// hide the panel after a while


Animate HudHintDisplay FgColor "255 220 0 0"
Animate HudHintDisplay HintSize "0"

Linear 10.0
Deaccel 10.2

0.2
0.3

Linear 0.0
Deaccel 0.2

0.2
0.3

}
event HintMessageHide
{
Animate HudHintDisplay FgColor "255 220 0 0"
Animate HudHintDisplay HintSize "0"
}

event KeyHintMessageShow
{
// show the hints
Animate HudHintKeyDisplay Alpha 255 Linear 0.0 0.5
// flash text
Animate HudHintKeyDisplay
Animate HudHintKeyDisplay
Animate HudHintKeyDisplay
Animate HudHintKeyDisplay
Animate HudHintKeyDisplay

FgColor
FgColor
FgColor
FgColor
FgColor

"FgColor"
Linear 0.0 0.01
"255 220 0 255" Linear 0.5 0.2
"FgColor"
Linear 0.7 0.2
"255 220 0 255" Linear 1.5 0.2
"FgColor"
Linear 1.7 0.2

// hide the panel after a while


Animate HudHintKeyDisplay Alpha 0 Linear 12.0 1.0
}
event KeyHintMessageHide
{
Animate HudHintKeyDisplay Alpha 0 Linear 0.0 0.5
}
//===========================================
//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage
Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage
Linear 0.2 0.4

Alpha

"255"

Alpha

"0"

Animate PlayerStatusHealthValue
oss" Accel 0.0 0.0
Animate HealthBuffBG
Accel 0.0 0.3
Animate HealthBuffBG
Accel 0.3 0.6
Animate SpecBG
0.0 0.0
Animate
SpecBG
0 0.3
Animate SpecBG
3 0.6

FgColor "Health Buff Cr


Alpha

"255"

Alpha

"255"

BgColor

"Spec Health Buff"

Accel

Alpha

"255"

Accel 0.

Alpha

"255"

Accel 0.

Animate FreezeBG
Accel 0.0 0.0
Animate
FreezeBG
Accel 0.0 0.0
Animate FreezeBG
Accel 0.3 0.6

BgColor

"Spec Health Buff"

Alpha

"255"

Alpha

"255"

Animate TargetBG
Accel 0.0 0.0
Animate
TargetBG
Accel 0.0 0.0
Animate TargetBG
Accel 0.3 0.6

BgColor

"Spec Health Buff"

Alpha

"255"

Alpha

"255"

RunEvent HudHealthBonusPulseLoop

0.4

}
// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}
event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0
Animate PlayerStatusHealthValue FgColor "Health Normal Cross" Accel 0.0
0.0
Animate HealthBuffBG
Accel 0.0 0.0
Animate SpecBG
Accel 0.0 0.0
Animate
SpecBG
0.0 0.0

Alpha

"0"

BgColor

"Spec Health Normal"

Alpha

"0"

Animate FreezeBG
Accel 0.0 0.0
Animate
FreezeBG
Accel 0.0 0.0

BgColor

Animate TargetBG

BgColor

Accel
"Spec Health Nor

mal"

Alpha

"0"
"Spec Health Nor

mal"

Accel 0.0 0.0


Animate
TargetBG
Accel 0.0 0.0

Alpha

"0"

}
//===========================================
//Health Dying Pulse
event HudHealthDyingPulse
{
Animate
HealthLowBG
Accel 0.0 0.3
Animate HealthLowBG
Accel 0.3 0.6
Animate SpecBG
l 0.0 0.0
Animate
SpecBG
0 0.3
Animate SpecBG
3 0.6

Alpha

"255"

Alpha

"255"

BgColor

"Spec Health Hurt"

Acce

Alpha

"255"

Accel 0.

Alpha

"255"

Accel 0.

Animate FreezeBG
Accel 0.0 0.0
Animate
FreezeBG
Accel 0.0 0.0
Animate FreezeBG
Accel 0.3 0.6

BgColor

"Spec Health Hurt"

Alpha

"255"

Alpha

"255"

Animate TargetBG
Accel 0.0 0.0
Animate
TargetBG
Accel 0.0 0.0
Animate TargetBG
Accel 0.3 0.6

BgColor

"Spec Health Hurt"

Alpha

"255"

Alpha

"255"

RunEvent HudHealthDyingPulseLoop

0.25

}
// call to loop HudHealthDyingPulse
event HudHealthDyingPulseLoop
{
RunEvent HudHealthDyingPulse 0.0
}
event HudHealthDyingPulseStop
{
StopEvent HudHealthDyingPulse 0.0
StopEvent HudHealthDyingPulseLoop 0.0
Animate HealthLowBG
Accel 0.0 0.0
Animate SpecBG
Accel 0.0 0.0
Animate
SpecBG
0.0 0.0
Animate FreezeBG

Alpha

"0"

BgColor

"Spec Health Normal"

Alpha

"0"
BgColor

Accel
"Spec Health Nor

mal"

Accel 0.0 0.0


Animate
FreezeBG
Accel 0.0 0.0

Alpha

Animate TargetBG
Accel 0.0 0.0
Animate
TargetBG
Accel 0.0 0.0

"0"

BgColor

"Spec Health Nor

mal"

Alpha

"0"

}
//===========================================
event HudLowAmmoPulse
{
Animate HudWeaponLowAmmoImage
Linear 0.0
0.075
Animate HudWeaponLowAmmoImage
Linear 0.125
0.075
Animate
AmmoLowBG
Accel 0.0 0.3
Animate AmmoLowBG
Accel 0.3 0.6
RunEvent HudLowAmmoPulseLoop

Alpha

"255"

Alpha

"0"

Alpha

"255"

Alpha

"255"

0.25

}
// call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
RunEvent HudLowAmmoPulse 0.0
}
event HudLowAmmoPulseStop
{
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0
Animate
AmmoLowBG
Accel 0.0 0.0

Alpha

"0"

}
//===========================================
event ControlPointIconShrink
{
Animate HudControlPointIcons icon_expand "0" Linear 0.0 0.2
}
event ControlPointIconGrow
{
Animate HudControlPointIcons icon_expand "4" Linear 0.0 0.2
}
// Metal Account
//activecolor - instantly turn red, fade back to yellow
event AccountMoneyRemoved

{
Animate HudAccount
Animate HudAccount

FgColor "HudIcon_Red" Linear 0.0 0.0001


FgColor "OrangeDim" Accel 0.0 3.0

Animate HudAccount

Ammo2Color "HudIcon_Red" Linear 0.0 0.00

Animate HudAccount

Ammo2Color "0 0 0 0" Accel 0.0 3.0

01
}
//activecolor - instantly turn green, fade back to yellow
event AccountMoneyAdded
{
Animate HudAccount
FgColor "HudIcon_Green" Linear 0.0 0.000
1
Animate HudAccount
FgColor "OrangeDim" Accel 0.0 3.0
Animate HudAccount

Ammo2Color "HudIcon_Green" Accel 0.0 0.0

Animate HudAccount

Ammo2Color "0 0 0 0" Accel 0.0 3.0

001
}
event AccountMoneyInvisible
{
Animate HudAccount
Animate HudAccount
}

FgColor "OrangeDim" Accel 0.0 0.0001


Ammo2Color "0 0 0 0" Accel 0.0 0.0001

//===========================================
event FlagOutlineHide
{
Animate OutlineImage
Linear 0.0 0.1
}

Alpha

"0"

// Local player flag pickup/drop


//===========================================
// Spy Disguise
event HudSpyDisguiseChanged
{
Animate PlayerStatusSpyOutlineImage
Linear 0.0 0.2
-200"
"

Animate PlayerStatusSpyOutlineImage
Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage
Linear 0.0 0.2
RunEvent HudSpyDisguiseHide

Alpha

"255"

Position

"c-200 c

Size

"400 400

Position

"3 413"

Size

"55 55"

0.7

}
event HudSpyDisguiseHide
{
Animate PlayerStatusSpyOutlineImage
Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage
Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage
Linear 0.2 0.1
}
event HudSpyDisguiseFadeIn
{
//RunEvent HudSpyDisguiseChanged
//Animate PlayerStatusSpyImage
Linear 0.9 0.1

"255"
}

"0"

Alpha

"255"

//Uncomment the line below for spy disguise image.


//Animate PlayerStatusClassImage
Linear 0.0 0.0

event HudSpyDisguiseFadeOut
{
//RunEvent HudSpyDisguiseChanged
//Animate PlayerStatusSpyImage
Linear 0.9 0.1

"0"
}

Alpha

Alpha

0
Alpha

//Uncomment the line below for spy disguise image.


//Animate PlayerStatusClassImage
Linear 0.0 0.0

"0"

Alpha

//===========================================
// Show the Overtime panel
event OvertimeShow
{
Animate OvertimeLabel
Linear 0.0 0.1
Animate OvertimeBG
"255"
Linear 0.0 0.1
}
event HudSnapShotReminderIn
{
Animate ScreenshotPanel
.0 0.001
Animate ScreenshotPanel
.001 0.2
}

Alpha

"255"
Alpha

Position

"c-83 -50"

Linear 0

Position

"c-83 13"

Spline 0

event HudReplayReminderIn
// Places the replay reminder in the same place
as the snapshot reminder
{
Animate ReplayReminder
Position
"c-83 -50"
Linear 0
.0 0.001
Animate ReplayReminder
Position
"c-83 13"
Spline 0
.001 0.2
}
event HudReplayReminderIn2
// Puts the panel below the snapshot panel
{
Animate ReplayReminder
Position
"c-83 -50"
Linear 0

.0 0.001
Animate ReplayReminder
.001 0.2
}

Position

event HudReplayTipIn
{
Animate ReplayTip
Linear 0.0 0.001
Animate ReplayTip
Spline 0.001 0.1
}
event HudReplayTipOut
{
Animate ReplayTip
Linear 0.0 0.001
Animate ReplayTip
Spline 0.001 0.1
}
event HudTournamentSetupPanelOpen
{
Animate HudTournamentSetup
.0 0.001
Animate HudTournamentSetup
.001 0.2
}
event HudTournamentSetupPanelClose
{
Animate HudTournamentSetup
.0 0.001
Animate HudTournamentSetup
.001 0.2
}

"c-83 53"

Spline 0

Position

"10 -100"

Position

"10 6"

Position

"10 6"

Position

"10 -100"

Position

"c-90 -70"

Linear 0

Position

"c-90 70"

Spline 0

Position

"c-90 70"

Linear 0

Position

"c-90 -70"

Spline 0

//====================================
// Flash the medic charge hud when we have full charge
event HudMedicCharged
{
///////Rainbow Charge
Animate ChargeLabel
.0 0.1
Animate ChargeLabel
Linear 0.1 0.1
Animate ChargeLabel
Linear 0.2 0.1
Animate ChargeLabel
.3 0.1
Animate ChargeLabel
Linear 0.4 0.1
Animate ChargeLabel
.5 0.1
///////Solid Color Charge

FgColor

"ColorGreen"

FgColor

"ColorCyan"

FgColor

"ColorBlue"

FgColor

"ColorMagenta"

FgColor

"ColorRed"

FgColor

"ColorYellow"

Linear 0

Linear 0

Linear 0

//
Animate ChargeLabel
.0 0.000

FgColor

"Solid Color Uber"

Linear 0

FgColor

"Flashing Uber Color1"

FgColor

"Flashing Uber Color2"

FgColor

"ColorGreen"

FgColor

"ColorCyan"

FgColor

"ColorBlue"

FgColor

"ColorMagenta"

FgColor

"ColorRed"

FgColor

"ColorYellow"

Linear 0

FgColor

"Solid Color Uber"

Linear 0

FgColor

"Flashing Uber Color1"

FgColor

"Flashing Uber Color2"

///////Orange Pulse Charge


//
Linear
//
Linear

Animate ChargeLabel
0.0 0.3
Animate ChargeLabel
0.3 0.3

///////Rainbow Charge
Animate ChargeMeter
.0 0.1
Animate ChargeMeter
Linear 0.1 0.1
Animate ChargeMeter
Linear 0.2 0.1
Animate ChargeMeter
.3 0.1
Animate ChargeMeter
Linear 0.4 0.1
Animate ChargeMeter
.5 0.1
///////Solid Color Charge
//
Animate ChargeMeter
.0 0.000

Linear 0

Linear 0

///////Orange Pulse Charge


//
Linear
//
Linear

Animate ChargeMeter
0.0 0.3
Animate ChargeMeter
0.3 0.3

RunEvent HudMedicChargedLoop

0.6

}
// call to loop HudHealthBonusPulse
event HudMedicChargedLoop
{
RunEvent HudMedicCharged 0.0
}
event HudMedicChargedStop
{
StopEvent HudMedicCharged 0.0
StopEvent HudMedicChargedLoop 0.0
Animate ChargeLabel
.0 0.0001
Animate ChargeMeter
Linear 0.0 0.0001

FgColor

"Ammo In Clip"

FgColor

"Uber Bar Color"

}
//====================================

Linear 0

event VideoCaptionFadeIn
{
Animate VideoCaption
.0 0.1
}

Alpha

"255"

event VideoCaptionFadeOut
{
Animate VideoCaption
Linear 0.0 0.1
}

Alpha

"0"

Linear 0

//====================================
// arena
event ArenaVsPanelOnShow
{
Animate bluepanel
Animate redpanel
Animate vslabel Alpha

Position
Position
"0"

RunEvent ArenaVsPanelSlideIn
RunEvent ArenaVsPanelSlideOut

"-200 50"
Linear 0.0 0.001
"r-200 140"
Linear 0.0 0.001
Linear 0.0 0.001

1.0
4.8

}
event ArenaVsPanelSlideIn
{
Animate bluepanel
Animate redpanel
Animate vslabel Alpha
}

Position
"c-100 50"
Position
"c-100 140"
"255" Linear 0.15 0.2

event ArenaVsPanelSlideOut
{
Animate bluepanel
Animate redpanel
Animate vslabel Alpha
}

Position
Position
"0"

Spline 0.0 0.2


Spline 0.0 0.2

"-200 50"
Spline 0.0 0.2
"r-200 140"
Spline 0.0 0.2
Linear 0.0 0.05

//===========================================
//Cart Alarm Pulse
event HudCartAlarmPulse
{
Animate EscortItemImageAlert
.0 0.3
Animate EscortItemImageAlert
.6 0.3

Alpha

"160"

Linear 0

Alpha

"0"

Linear 0

RunEvent HudCartAlarmPulseLoop 1.2


}
event HudCartAlarmPulseLoop
{
RunEvent HudCartAlarmPulse 0.0
}
event HudCartAlarmPulseStop

{
StopEvent HudCartAlarmPulse 0.0
StopEvent HudCartAlarmPulseLoop 0.0
}
//===========================================
// Active Timer BG Pulse
event ActiveTimerBGPulse
{
Animate ActiveTimerBG
.1 0.1
Animate ActiveTimerBG

Alpha

"0"

Alpha

"255"

Animate ActiveTimerBG

Alpha

"0"

Animate ActiveTimerBG

Alpha

"255"

Animate ActiveTimerBG

Alpha

"0"

Animate ActiveTimerBG

Alpha

"255"

Linear 0
Linear 0.3 0.1
Linear 0

.5 0.1
Linear 0.7 0.1
Linear 0

.9 0.1
Linear 1.1 0.1

}
//===========================================
event TeamsFullArrowAnimate
{
Animate TeamsFullArrow Position
0
0
Animate TeamsFullArrow Position
0
0.4
Animate TeamsFullArrow Position
0.4
0.4
RunEvent TeamsFullArrowAnimateLoop

"c-118 165"

Linear

"c-118 180"

Linear

"c-118 165"

Linear

0.8

}
event TeamsFullArrowAnimateLoop
{
RunEvent TeamsFullArrowAnimate 0.0
}
event TeamsFullArrowAnimateEnd
{
StopEvent TeamsFullArrowAnimate 0.0
StopEvent TeamsFullArrowAnimateLoop 0.0
}
//===========================================
event TrainingHudBounce
{
Animate ObjectiveStatusTraining Position
Linear 0 0
Animate ObjectiveStatusTraining Position
Bounce 0.0 2.0
}
event TrainingPressSpacebarBlink
{

"c-160 r187"
"c-160 r127"

Animate PressSpacebarToContinue
Linear 0.0 0.1
Animate PressSpacebarToContinue
Linear 0.2 0.1

Alpha

"255"

Alpha

"0"

Animate PressSpacebarToContinue
Linear 0.4 0.1
Animate PressSpacebarToContinue
Linear 0.6 0.1

Alpha

"255"

Alpha

"0"

Animate PressSpacebarToContinue
Linear 0.8 0.1
Animate PressSpacebarToContinue
Linear 1.0 0.1

Alpha

"255"

Alpha

"0"

Animate PressSpacebarToContinue
Linear 1.2 0.1

Alpha

"255"

RunEvent TrainingPressSpacebarBlinkLoop

3.0

}
event TrainingPressSpacebarBlinkLoop
{
RunEvent TrainingPressSpacebarBlink
}

0.0

event TrainingPressSpacebarBlinkStop
{
StopEvent TrainingPressSpacebarBlink
StopEvent TrainingPressSpacebarBlinkLoop
}

0.0
0.0

//===========================================
event IntroMovieContinueBlink
{
Animate continue
Animate continue
.2 0.1

Alpha
Alpha

"255"
"0"

Linear 0.0 0.1


Linear 0

Animate continue
Animate continue

Alpha
Alpha

"255"
"0"

Linear 0.4 0.1


Linear 0

Animate continue
Animate continue

Alpha
Alpha

"255"
"0"

Linear 0.8 0.1


Linear 1

Animate continue

Alpha

"255"

Linear 1.2 0.1

.6 0.1

.0 0.1

RunEvent IntroMovieContinueBlinkLoop

2.0

}
event IntroMovieContinueBlinkLoop
{
RunEvent IntroMovieContinueBlink
}
event IntroMovieContinueBlinkStop
{

0.0

StopEvent IntroMovieContinueBlink
StopEvent IntroMovieContinueBlinkLoop

0.0
0.0

}
//===========================================
event HasMOTDBlink
{
Animate MOTD_ShowButtonPanel_SB
Linear 0.0 0.1
Animate MOTD_ShowButtonPanel_SB
Linear 0.2 0.1

Alpha

"255"

Alpha

"0"

Animate MOTD_ShowButtonPanel_SB
Linear 0.4 0.1
Animate MOTD_ShowButtonPanel_SB
Linear 0.6 0.1

Alpha

"255"

Alpha

"0"

Animate MOTD_ShowButtonPanel_SB
Linear 0.8 0.1
Animate MOTD_ShowButtonPanel_SB
Linear 1.0 0.1

Alpha

"255"

Alpha

"0"

Animate MOTD_ShowButtonPanel_SB
Linear 1.2 0.1

Alpha

"255"

RunEvent HasMOTDBlinkLoop

2.0

}
event HasMOTDBlinkLoop
{
RunEvent HasMOTDBlink
}

0.0

event HasMOTDBlinkStop
{
StopEvent HasMOTDBlink
StopEvent HasMOTDBlinkLoop
Animate MOTD_ShowButtonPanel_SB
Linear 0.0 0.1
}

0.0
Alpha

0.0
"255"

//===========================================
event HasNotificationsBlink
{
Animate Notifications_ShowButtonPanel_SB
Linear 0.0 0.1
Animate Notifications_ShowButtonPanel_SB
Linear 0.2 0.1

Alpha

"255"

Alpha

"0"

Animate Notifications_ShowButtonPanel_SB
Linear 0.4 0.1
Animate Notifications_ShowButtonPanel_SB
Linear 0.6 0.1

Alpha

"255"

Alpha

"0"

Animate Notifications_ShowButtonPanel_SB
Linear 0.8 0.1
Animate Notifications_ShowButtonPanel_SB
Linear 1.0 0.1

Alpha

"255"

Alpha

"0"

Animate Notifications_ShowButtonPanel_SB
Linear 1.2 0.1

Alpha

RunEvent HasNotificationsBlinkLoop

"255"

2.0

}
event HasNotificationsBlinkLoop
{
RunEvent HasNotificationsBlink
}

0.0

event HasNotificationsBlinkStop
{
StopEvent HasNotificationsBlink
StopEvent HasNotificationsBlinkLoop
Animate Notifications_ShowButtonPanel_SB
Linear 0.0 0.1
}

0.0
Alpha

0.0
"255"

//===========================================
event AddToCartBlink
{
Animate CartButton
Animate CartButton

BgColor "TanDark"
Linear 0.0 0.01
BgColor "255 150 0 255" Linear 0.1 0.01

Animate CartButton
Animate CartButton

BgColor "TanDark"
Linear 0.2 0.01
BgColor "255 150 0 255" Linear 0.3 0.01

Animate CartButton
Animate CartButton

BgColor "TanDark"
Linear 0.4 0.01
BgColor "255 150 0 255" Linear 0.5 0.01

Animate CartButton
Animate CartButton

BgColor "TanDark"
Linear 0.6 0.01
BgColor "255 150 0 255" Linear 0.7 0.01

Animate CartButton
Animate CartButton

BgColor "TanDark"
Linear 0.8 0.01
BgColor "255 150 0 255" Linear 0.9 0.01

Animate CartButton

BgColor "TanDark"

Linear 1.0 0.01

}
//===========================================
event NotificationsPresentBlink
{
Animate NotificationsPresentPanel
Linear 0.0 0.1
Animate NotificationsPresentPanel
Linear 0.2 0.1

Alpha

"255"

Alpha

"0"

Animate NotificationsPresentPanel
Linear 0.4 0.1
Animate NotificationsPresentPanel
Linear 0.6 0.1

Alpha

"255"

Alpha

"0"

Animate NotificationsPresentPanel
Linear 0.8 0.1
Animate NotificationsPresentPanel
Linear 1.0 0.1

Alpha

"255"

Alpha

"0"

Animate NotificationsPresentPanel
Linear 1.2 0.1

Alpha

RunEvent NotificationsPresentBlinkLoop

"255"
2.0

}
event NotificationsPresentBlinkLoop
{
RunEvent NotificationsPresentBlink
}

0.0

event NotificationsPresentBlinkStop
{
StopEvent NotificationsPresentBlink
StopEvent NotificationsPresentBlinkLoop
Animate NotificationsPresentPanel
Alpha
Linear 0.0 0.1
}

0.0
"255"

0.0

//===========================================
event DamagedPlayer
{
Animate DamageCircleDot

FgColor "242 0 0 255"

Accel 0.

Animate DamageCircleDot

FgColor "0 255 0 255"

Accel 0.2 0.

0 0.0
0
//Change "DamageCircleDot" to the fieldname of your crosshair
//Change the TOP value of "FgColor" to whatever color you want it to flash
//Change the BOTTOM value of "FgColor" to what you want the xhair to be colored
normally
}
//===========================================
event SpyWarningFlash
{
Animate EnemyCountImageBG
.0 0.01
Animate EnemyCountImageBG
.21 0.01
RunEvent

BgColor "RedSolid"

Linear 0

BgColor "TanLight"

Linear 0

SpyWarningFlashLoop

0.42

}
event SpyWarningFlashLoop
{
RunEvent SpyWarningFlash
}
event SpyWarningFlashEnd
{
StopEvent SpyWarningFlash
StopEvent SpyWarningFlashLoop
}
event HudReadyPulse

0.0

0.0
0.0

{
Animate TournamentInstructionsLabel
Linear 0.0 0.3
Animate TournamentInstructionsLabel
Linear 0.3 0.3
RunEvent HudReadyPulseLoop

FgColor

"255 165 0 255"

FgColor

"255 69 0 255"

0.6

}
event HudReadyPulseLoop
{
RunEvent HudReadyPulse
}

0.0

event HudReadyPulseEnd
{
Animate TournamentInstructionsLabel
Linear 0.0 0.1

FgColor

StopEvent HudReadyPulse
StopEvent HudReadyPulseLoop
}
event HideStamp
{
SetVisible ApplyStampButton
0
}

"TanLight"

0.0
0.0

event CollectionCrafting_Intro
{
// Reset
SetVisible ApplyStampButton
0
0
SetVisible Stamp
0
Animate Stamp
0 0
Animate DrawingPanel
xpos
Animate DrawingPanel
wide
Animate LetterFront
0 0
Animate LetterFront
0 0
Animate LetterBack_Top
xpos c-250
Animate LetterBack_Top
ypos 400
Animate LetterBack_Top
wide 500
Animate LetterBack_Bottom
xpos
Animate LetterBack_Bottom
ypos
Animate LetterBack_Bottom
wide
Animate LetterBack_Flap
xpos
Animate LetterBack_Flap
ypos
Animate LetterBack_Flap
wide
Animate LetterBack_Flap
tall
Animate LetterBack_Top
ypos
SetVisible ReturnModel
0
0
Animate SendEvelopeButton
ypos
SetVisible
SendEvelopeButton
0
SetVisible ResponseTimeout
0

0
xpos c140
c0
0

Accel
Accel

Accel

xpos c0

0 0
0 0
Accel

wide 0

Accel

Accel
Accel
Accel
c-250
400
500
c-250
400
500
0
400

0 0
0 0
0 0
Accel
Accel
Accel
Accel
Accel
Accel
Deaccel
Accel

0 0
0 0
0 0
0 0
0 0
0 0
0.6 0.4
0 0

280

Accel

0 0

0
SetVisible WaitingForResponse

0
SetVisible ShowExplanationsButton1

SetVisible ShowExplanationsButton2

0
0
Animate TradeUpContainer

wide 800

// Slide paper down


Animate TradeUpContainer Position
// Slider BG up
Animate BG

Accel 0 0
"0 60" Deaccel 0

Position

0.3

"0 34" Deaccel 0

0.3
// Fade dimmer down
Animate Dimmer Alpha "255" Linear 0 0.4
}
event CollectionCrafting_LetterStart
{
// Slide envelope up
FireCommand
0.0 "playsound ui/trade_up_envelope_slide_in.wav"
Animate LetterBack_Bottom
ypos 60 Deaccel 0 0.3
Animate LetterBack_Flap
ypos 60 Deaccel 0 0.3
Animate LetterBack_Top
ypos 60 Deaccel 0 0.3
SetVisible ShowExplanationsButton1
0
0
// Close flap
FireCommand
0.3 "playsound ui/trade_up_envelope_fold.wav"
Animate LetterBack_Flap
tall 250 Deaccel 0.4 0.2
// Start Flip
FireCommand
0.8 "playsound
Animate TradeUpContainer
Animate LetterBack_Bottom
Animate LetterBack_Bottom
Animate LetterBack_Flap
Animate LetterBack_Flap
Animate LetterBack_Top
Animate LetterBack_Top
// End Flips
Animate LetterFront
Animate LetterFront
Animate DrawingPanel
Animate DrawingPanel
SetVisible ApplyStampButton

ui/trade_up_envelope_spin.wav"
wide 0 Accel 0.8 0
wide 0 Accel 0.8 0.2
xpos c0 Accel 0.8 0.2
wide 0 Accel 0.8 0.2
xpos c0 Accel 0.8 0.2
wide 0 Accel 0.8 0.2
xpos c0 Accel 0.8 0.2
xpos c-250
wide 500
xpos c-250
Deaccel
wide 500
Deaccel
1

Deaccel 1.0 0.2


Deaccel 1.0 0.2
1.0 0.2
1.0 0.2

1.3
SetVisible ShowExplanationsButton2

1.3

}
event CollectionCrafting_PlaceStamp
{
SetVisible Stamp
0
SetVisible ApplyStampButton
0

1
0

FireCommand

0 "playsound ui/trade_up_apply_stamp.wav"

}
event CollectionCrafting_LetterSend
{
SetVisible ShowExplanationsButton2
SetVisible
SendEvelopeButton
0
Animate Stamp
Animate LetterFront
Animate DrawingPanel
xpos

0
0

xpos
xpos
c-320

c70
Deaccel 0 0.3
c-320 Deaccel 0 0.3
Deaccel 0 0.3

RunEventChild BehindItemParticlePanel PlayEnvelopSendParticles 0.3


Animate Stamp
xpos 1120
Accel 0.3 0.2
Animate LetterFront
xpos 1000
Accel 0.3 0.2
Animate DrawingPanel
xpos 1000
Accel 0.3 0.2
SetVisible CloseButton
0
0
FireCommand

0.2 "playsound ui/trade_up_envelope_slide_out.wav"

}
event PlayNewItemParticles
{
FireCommand 0 "start0"
}
event PlayCrateSmashParticles
{
FireCommand 0 "start1"
}
event PlayEnvelopSendParticles
{
FireCommand 0 "start2"
}
event ShowFoundLabels
{
Animate YouTradedForLabel alpha 0 Linear 0 0
Animate ItemName
alpha 0 Linear 0 0
Animate YouTradedForLabel alpha 255 Linear 3 1
Animate ItemName
alpha 255 Linear 3 1
}
event CollectionCrafting_ItemRecieved
{
RunEventChild NewItemPanel ShowFoundLabels
0
FireCommand 0 "playcratesequence1"
SetVisible
NewItemPanel
0 0
SetVisible ReturnModel
1 0.05
RunEventChild BehindItemParticlePanel PlayCrateSmashParticles 0.2
FireCommand

0 "playsound ui/trade_up_crate_smash.wav"

SetVisible
NewItemPanel
SetVisible CloseButton

1
1

1.5
1.5

FireCommand 2.1 "playcratesequence2"


RunEventChild BehindItemParticlePanel PlayNewItemParticles 1.5

FireCommand

1.0 "playsound ../player/taunt_medic_heroic.wav"

}
event CollectionCrafting_OKBlink_Repeatable
{
Animate OkButton
FgColor Red
Linear 0 0.1
Animate OkButton
FgColor TanLight Linear 0.1 0.1
}
event CollectionCrafting_OKBlink
{
RunEvent CollectionCrafting_OKBlink_Repeatable
RunEvent CollectionCrafting_OKBlink_Repeatable
RunEvent CollectionCrafting_OKBlink_Repeatable
RunEvent CollectionCrafting_OKBlink_Repeatable
}
event CollectionCrafting_ShowSendButton
{
SetVisible
SendEvelopeButton
0
Animate SendEvelopeButton
}

1
ypos

event CollectionCrafting_ShowWaiting
{
SetVisible WaitingForResponse
}

event CollectionCrafting_HideWaiting
{
SetVisible WaitingForResponse
}

event CollectionCrafting_ShowFailure
{
SetVisible ResponseTimeout
SetVisible CloseButton
}

1
1

0
0

event CollectionCrafting_WaitForItemsOnly
{
// Set Everything Invisible
SetVisible ReturnModel
0
SetVisible
SendEvelopeButton
0
SetVisible ResponseTimeout
0
SetVisible WaitingForResponse 0
0
SetVisible ShowExplanationsButton1
0
SetVisible ShowExplanationsButton2
0
SetVisible ShowExplanationsButton2
SetVisible
SendEvelopeButton
0

0
0.2
0.4
0.6

320 Deaccel 0 0.5

0
0
0

0
0
0

0
0

SetVisible CloseButton

0
SetVisible ApplyStampButton

0
SetVisible Stamp

Animate Stamp

xpos c140

0
Accel

0 0
Animate DrawingPanel
Animate DrawingPanel
Animate LetterFront

xpos c0
wide 0

Accel
Accel
xpos c0

0 0
0 0
Accel

wide 0

Accel

0 0
Animate LetterFront
0 0
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate
Animate

LetterBack_Top
LetterBack_Top
LetterBack_Top
LetterBack_Bottom
LetterBack_Bottom
LetterBack_Bottom
LetterBack_Flap
LetterBack_Flap
LetterBack_Flap
LetterBack_Flap
LetterBack_Top

// Slider BG up
Animate BG

xpos c-250
ypos 400
wide 500
xpos
ypos
wide
xpos
ypos
wide
tall
ypos
Position

Accel
Accel
Accel
c-250
400
500
c-250
400
500
0
400

0 0
0 0
0 0
Accel
Accel
Accel
Accel
Accel
Accel
Deaccel
Accel

0 0
0 0
0 0
0 0
0 0
0 0
0.6 0.4
0 0

"0 34" Deaccel 0

0.3
// Fade dimmer down
Animate Dimmer Alpha "255" Linear 0 0.4
}
//-------------------------------------------------------------------------event QuestItem_Identify_Expand
{
StopEvent QuestItem_Identify_Collapse 0
Animate Dimmer wide 285 Bias 0.1
0.0 0.4
Animate Dimmer xpos 0 Bias 0.1
0.0 0.4
}
event QuestItem_Identify_Collapse
{
StopEvent QuestItem_Identify_Expand 0
Animate Dimmer wide 0 Accel 0.4 0.4
Animate Dimmer xpos 142
Accel 0.4 0.4
}
event QuestItem_Complete_Expand
{
Animate Dimmer wide 285 Deaccel 0.4 0.1
Animate Dimmer xpos 0 Deaccel 0.4 0.1
}
event QuestItem_Complete_Collapse
{
Animate Dimmer wide 0 Accel 0 0.4
Animate Dimmer xpos 142
Accel 0 0.4
}

event QuestItem_Complete_Progress
{
Animate Dimmer wide 0 Linear 0 5
Animate Dimmer xpos 142
Linear 0 5
}
event QuestItem_Options_Flash
{
Animate OptionsButton
Animate OptionsButton
Animate OptionsButton
Animate OptionsButton
Animate OptionsButton
Animate OptionsButton
}

FgColor
FgColor
FgColor
FgColor
FgColor
FgColor

LightOrange
TanLight
LightOrange
TanLight
LightOrange
TanLight

Linear
Linear
Linear
Linear
Linear
Linear

0
0.1
0.2
0.3
0.4
0.5

0.1
0.1
0.1
0.1
0.1
0.1

//-------------------------------------------------------------------------event QuestItem_Expand
{
Animate FrontFolderContainer
ypos 240
Gain 0.75 0 0.4
RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0
RunEventChild TurnInContainer QuestItem_Complete_Expand 0
SetInputEnabled FrontFolderContainer 0 0
RunEvent QuestItem_Options_Flash 1
}
event QuestItem_Collapse
{
Animate FrontFolderContainer
ypos 0 Gain 0.75 0 0.4
RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
SetInputEnabled FrontFolderContainer 1 0
}
event QuestItem_TurningIn
{
RunEventChild TurnInContainer QuestItem_Complete_Progress 0
}
event QuestItem_Reset
{
Animate FrontFolderContainer
ypos 0 Linear 0 0
RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
SetInputEnabled FrontFolderContainer 1 0
}
//-------------------------------------------------------------------------event QuestItem_Operation2_Expand
{
StopEvent QuestItem_Operation2_Collapse 0
RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0.4
RunEventChild TurnInContainer QuestItem_Complete_Expand 0.4
Animate FrontFolderContainer

xpos -270

Gain 0.75 0.4 0.3

Animate BackFolderContainer

xpos -270

Gain 0.75 0.4 0.

3
Animate FrontFolderContainer
xpos -10
Gain 0.75 0.7 0.3
Animate BackFolderContainer
xpos 0 Gain 0.75 0.7 0.3
SetVisible FrontFolderContainer 0 0.7
SetVisible BackFolderContainer 1 0.7
SetInputEnabled FrontFolderContainer 0 0
RunEvent QuestItem_Options_Flash 1
}
event QuestItem_Operation2_Collapse
{
StopEvent QuestItem_Operation2_Expand 0
RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
Animate FrontFolderContainer
Animate BackFolderContainer

xpos -270
Gain 0.75 0.0 0.3
xpos -270
Gain 0.75 0.0 0.

3
Animate FrontFolderContainer
xpos 0 Gain 0.75 0.3 0.4
Animate BackFolderContainer
xpos 0 Gain 0.75 0.3 0.4
SetVisible FrontFolderContainer 1 0.3
SetVisible BackFolderContainer 0 0.3
SetInputEnabled FrontFolderContainer 1 0
}
event QuestItem_Operation2_TurningIn
{
RunEventChild TurnInContainer QuestItem_Complete_Progress 0
}
event QuestItem_Operation2_Reset
{
StopEvent QuestItem_Operation2_Collapse 0
StopEvent QuestItem_Operation2_Expand 0
RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
Animate FrontFolderContainer
xpos 0 Linear 0 0
Animate BackFolderContainer
xpos 0 Linear 0 0
SetVisible FrontFolderContainer 1 0
SetVisible BackFolderContainer 0 0
SetInputEnabled FrontFolderContainer 1 0
}
//-------------------------------------------------------------------------event QuestItem_DisableFrontMouse
{
SetVisible FrontInputProxyPanel 0 0
}
event QuestItem_EnableFrontMouse
{
SetVisible FrontInputProxyPanel 1 0
}

event QuestItem_Expand_Halloween
{
StopEvent QuestItem_Collapse_Halloween 0
// Immediately disable the mouse proxy so the inactive hint goes away
RunEventChild FrontFolderContainer
QuestItem_DisableFrontMouse 0
SetInputEnabled FrontFolderContainer 0 0
// Slide the sleeve
Animate SleeveImage xpos 300 Bias 0.2 0.0 0.4
Animate EncodedStatus xpos 300 Bias 0.2 0.0 0.4
Animate ReadyToTurnInStatus xpos 300 Bias 0.2 0.0 0.4
Animate InactiveStatus xpos 300 Bias 0.2 0.0 0.4
// Once the sleeve is off, then "unroll" the paper
FireCommand
0.4 "playsound ui/quest_folder_open_halloween.wav"
RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0.4
RunEventChild TurnInContainer QuestItem_Complete_Expand 0.4
Animate FrontFolderContainer
ypos 240
Gain 0.75 0.4 0.
4
Animate QuestPaperContainer

tall 300

Gain 0.75 0.

4 0.4
RunEvent QuestItem_Options_Flash 1
}
event QuestItem_Collapse_Halloween
{
StopEvent QuestItem_Expand_Halloween 0
// Roll up the paper
Animate FrontFolderContainer
ypos 0 Gain 0.75 0 0.4
Animate QuestPaperContainer
tall 70 Gain 0.75 0 0.4
RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
RunEventChild FrontFolderContainer
QuestItem_EnableFrontMouse 0
// Put the sleeve back
FireCommand
0.5 "playsound ui/quest_folder_keeper_slide_on_halloween
.wav"
Animate SleeveImage
xpos 15 Bias 0.8 0.5
Animate ReadyToTurnInStatus xpos 10
Bias 0.8 0.5
Animate InactiveStatus
xpos 10
Bias 0.8 0.5
Animate EncodedStatus
xpos 10
Bias 0.8 0.5
SetInputEnabled FrontFolderContainer 1 0

0.2
0.2
0.2
0.2

}
event QuestItem_Reset_Halloween
{
StopEvent QuestItem_Expand_Halloween 0
SetVisible FrontFolderContainer 1 0
RunEventChild FrontFolderContainer
QuestItem_EnableFrontMouse 0
// Roll
Animate
Animate
Animate
Animate

up the paper
FrontFolderContainer
QuestPaperContainer
EncodedStatus
ReadyToTurnInStatus

ypos 0 Linear 0 0
tall 70 Linear 0 0
xpos 10 Bias 0 0 0
xpos 10 Bias 0 0 0

Animate InactiveStatus

xpos 10 Bias 0 0 0

// Put the sleeve back


Animate SleeveImage xpos 15
Linear 0 0
SetInputEnabled FrontFolderContainer 1 0
}
//-------------------------------------------------------------------------event QuestItem_Front_Selected
{
StopEvent QuestItem_Front_OtherSelected 0
StopEvent QuestItem_Front_NoneSelected 0
Animate

MainContainer

ypos 0 Gain 0.75 0 0.4

}
event QuestItem_Front_OtherSelected
{
StopEvent QuestItem_Front_Selected 0
StopEvent QuestItem_Front_NoneSelected 0
Animate

MainContainer

ypos 300

Gain 0.7

ypos 120

Gain 0.7

5 0 0.4
}
event QuestItem_Front_NoneSelected
{
StopEvent QuestItem_Front_Selected 0
StopEvent QuestItem_Front_OtherSelected 0
Animate

MainContainer

5 0 0.4
}
//-------------------------------------------------------------------------event QuestItem_Back_Selected
{
StopEvent QuestItem_Back_OtherSelected 0
StopEvent QuestItem_Back_NoneSelected 0
Animate

MainContainer

ypos 0 Gain 0.75 0 0.4

}
event QuestItem_Back_OtherSelected
{
StopEvent QuestItem_Back_Selected 0
StopEvent QuestItem_Back_NoneSelected 0
Animate

MainContainer

ypos 300

Gain 0.7

ypos 0

Gain 0.7

5 0 0.8
}
event QuestItem_Back_NoneSelected
{
StopEvent QuestItem_Back_Selected 0
StopEvent QuestItem_Back_OtherSelected 0
Animate

MainContainer

5 0 0.4
}
//-------------------------------------------------------------------------event QuestItem_Highlight_On_Halloween
{
SetVisible GlowImage 1 0
Animate GlowImage Alpha 255 Bias 0.8 0 0.2
}
event QuestItem_Highlight_Off_Halloween
{
Animate GlowImage Alpha 0 Bias 0.8 0 0.2
}
//

You might also like