Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add events FillUberBar and ClearUberBar to HudAnimations_tf.txt
- event FillUberBar
- {
- Animate UberBox0 alpha "255" Linear 0.0 0.001
- Animate UberBox1 alpha "255" Linear 0.27 0.001
- Animate UberBox2 alpha "255" Linear 0.53 0.001
- Animate UberBox3 alpha "255" Linear 0.8 0.001
- Animate UberBox4 alpha "255" Linear 1.07 0.001
- Animate UberBox5 alpha "255" Linear 1.33 0.001
- Animate UberBox6 alpha "255" Linear 1.6 0.001
- Animate UberBox7 alpha "255" Linear 1.87 0.001
- Animate UberBox8 alpha "255" Linear 2.13 0.001
- Animate UberBox9 alpha "255" Linear 2.4 0.001
- Animate UberBox10 alpha "255" Linear 2.67 0.001
- Animate UberBox11 alpha "255" Linear 2.93 0.001
- Animate UberBox12 alpha "255" Linear 3.2 0.001
- Animate UberBox13 alpha "255" Linear 3.47 0.001
- Animate UberBox14 alpha "255" Linear 3.73 0.001
- Animate UberBox15 alpha "255" Linear 4.0 0.001
- Animate UberBox16 alpha "255" Linear 4.27 0.001
- Animate UberBox17 alpha "255" Linear 4.53 0.001
- Animate UberBox18 alpha "255" Linear 4.8 0.001
- Animate UberBox19 alpha "255" Linear 5.07 0.001
- Animate UberBox20 alpha "255" Linear 5.33 0.001
- Animate UberBox21 alpha "255" Linear 5.6 0.001
- Animate UberBox22 alpha "255" Linear 5.87 0.001
- Animate UberBox23 alpha "255" Linear 6.13 0.001
- Animate UberBox24 alpha "255" Linear 6.4 0.001
- Animate UberBox25 alpha "255" Linear 6.67 0.001
- Animate UberBox26 alpha "255" Linear 6.93 0.001
- Animate UberBox27 alpha "255" Linear 7.2 0.001
- Animate UberBox28 alpha "255" Linear 7.47 0.001
- Animate UberBox29 alpha "255" Linear 7.73 0.001
- Animate UberBox30 alpha "255" Linear 8.0 0.001
- Animate UberBox31 alpha "255" Linear 8.27 0.001
- Animate UberBox32 alpha "255" Linear 8.53 0.001
- Animate UberBox33 alpha "255" Linear 8.8 0.001
- Animate UberBox34 alpha "255" Linear 9.07 0.001
- Animate UberBox35 alpha "255" Linear 9.33 0.001
- Animate UberBox36 alpha "255" Linear 9.6 0.001
- Animate UberBox37 alpha "255" Linear 9.87 0.001
- Animate UberBox38 alpha "255" Linear 10.13 0.001
- Animate UberBox39 alpha "255" Linear 10.4 0.001
- Animate UberBox40 alpha "255" Linear 10.67 0.001
- Animate UberBox41 alpha "255" Linear 10.93 0.001
- Animate UberBox42 alpha "255" Linear 11.2 0.001
- Animate UberBox43 alpha "255" Linear 11.47 0.001
- Animate UberBox44 alpha "255" Linear 11.73 0.001
- Animate UberBox45 alpha "255" Linear 12.0 0.001
- Animate UberBox46 alpha "255" Linear 12.27 0.001
- Animate UberBox47 alpha "255" Linear 12.53 0.001
- Animate UberBox48 alpha "255" Linear 12.8 0.001
- Animate UberBox49 alpha "255" Linear 13.07 0.001
- Animate UberBox50 alpha "255" Linear 13.33 0.001
- Animate UberBox51 alpha "255" Linear 13.6 0.001
- Animate UberBox52 alpha "255" Linear 13.87 0.001
- Animate UberBox53 alpha "255" Linear 14.13 0.001
- Animate UberBox54 alpha "255" Linear 14.4 0.001
- Animate UberBox55 alpha "255" Linear 14.67 0.001
- Animate UberBox56 alpha "255" Linear 14.93 0.001
- Animate UberBox57 alpha "255" Linear 15.2 0.001
- Animate UberBox58 alpha "255" Linear 15.47 0.001
- Animate UberBox59 alpha "255" Linear 15.73 0.001
- Animate UberBox60 alpha "255" Linear 16.0 0.001
- Animate UberBox61 alpha "255" Linear 16.27 0.001
- Animate UberBox62 alpha "255" Linear 16.53 0.001
- Animate UberBox63 alpha "255" Linear 16.8 0.001
- Animate UberBox64 alpha "255" Linear 17.07 0.001
- Animate UberBox65 alpha "255" Linear 17.33 0.001
- Animate UberBox66 alpha "255" Linear 17.6 0.001
- Animate UberBox67 alpha "255" Linear 17.87 0.001
- Animate UberBox68 alpha "255" Linear 18.13 0.001
- Animate UberBox69 alpha "255" Linear 18.4 0.001
- Animate UberBox70 alpha "255" Linear 18.67 0.001
- Animate UberBox71 alpha "255" Linear 18.93 0.001
- Animate UberBox72 alpha "255" Linear 19.2 0.001
- Animate UberBox73 alpha "255" Linear 19.47 0.001
- Animate UberBox74 alpha "255" Linear 19.73 0.001
- Animate UberBox75 alpha "255" Linear 20.0 0.001
- Animate UberBox76 alpha "255" Linear 20.27 0.001
- Animate UberBox77 alpha "255" Linear 20.53 0.001
- Animate UberBox78 alpha "255" Linear 20.8 0.001
- Animate UberBox79 alpha "255" Linear 21.07 0.001
- Animate UberBox80 alpha "255" Linear 21.33 0.001
- Animate UberBox81 alpha "255" Linear 21.6 0.001
- Animate UberBox82 alpha "255" Linear 21.87 0.001
- Animate UberBox83 alpha "255" Linear 22.13 0.001
- Animate UberBox84 alpha "255" Linear 22.4 0.001
- Animate UberBox85 alpha "255" Linear 22.67 0.001
- Animate UberBox86 alpha "255" Linear 22.93 0.001
- Animate UberBox87 alpha "255" Linear 23.2 0.001
- Animate UberBox88 alpha "255" Linear 23.47 0.001
- Animate UberBox89 alpha "255" Linear 23.73 0.001
- Animate UberBox90 alpha "255" Linear 24.0 0.001
- Animate UberBox91 alpha "255" Linear 24.27 0.001
- Animate UberBox92 alpha "255" Linear 24.53 0.001
- Animate UberBox93 alpha "255" Linear 24.8 0.001
- Animate UberBox94 alpha "255" Linear 25.07 0.001
- Animate UberBox95 alpha "255" Linear 25.33 0.001
- Animate UberBox96 alpha "255" Linear 25.6 0.001
- Animate UberBox97 alpha "255" Linear 25.87 0.001
- Animate UberBox98 alpha "255" Linear 26.13 0.001
- Animate UberBox99 alpha "255" Linear 26.4 0.001
- Animate UberBox100 alpha "255" Linear 26.67 0.001
- Animate UberBox101 alpha "255" Linear 26.93 0.001
- Animate UberBox102 alpha "255" Linear 27.2 0.001
- Animate UberBox103 alpha "255" Linear 27.47 0.001
- Animate UberBox104 alpha "255" Linear 27.73 0.001
- Animate UberBox105 alpha "255" Linear 28.0 0.001
- Animate UberBox106 alpha "255" Linear 28.27 0.001
- Animate UberBox107 alpha "255" Linear 28.53 0.001
- Animate UberBox108 alpha "255" Linear 28.8 0.001
- Animate UberBox109 alpha "255" Linear 29.07 0.001
- Animate UberBox110 alpha "255" Linear 29.33 0.001
- Animate UberBox111 alpha "255" Linear 29.6 0.001
- Animate UberBox112 alpha "255" Linear 29.87 0.001
- Animate UberBox113 alpha "255" Linear 30.13 0.001
- Animate UberBox114 alpha "255" Linear 30.4 0.001
- Animate UberBox115 alpha "255" Linear 30.67 0.001
- Animate UberBox116 alpha "255" Linear 30.93 0.001
- Animate UberBox117 alpha "255" Linear 31.2 0.001
- Animate UberBox118 alpha "255" Linear 31.47 0.001
- Animate UberBox119 alpha "255" Linear 31.73 0.001
- Animate UberBox120 alpha "255" Linear 32.0 0.001
- Animate UberBox121 alpha "255" Linear 32.27 0.001
- Animate UberBox122 alpha "255" Linear 32.53 0.001
- Animate UberBox123 alpha "255" Linear 32.8 0.001
- Animate UberBox124 alpha "255" Linear 33.07 0.001
- Animate UberBox125 alpha "255" Linear 33.33 0.001
- Animate UberBox126 alpha "255" Linear 33.6 0.001
- Animate UberBox127 alpha "255" Linear 33.87 0.001
- Animate UberBox128 alpha "255" Linear 34.13 0.001
- Animate UberBox129 alpha "255" Linear 34.4 0.001
- Animate UberBox130 alpha "255" Linear 34.67 0.001
- Animate UberBox131 alpha "255" Linear 34.93 0.001
- Animate UberBox132 alpha "255" Linear 35.2 0.001
- Animate UberBox133 alpha "255" Linear 35.47 0.001
- Animate UberBox134 alpha "255" Linear 35.73 0.001
- Animate UberBox135 alpha "255" Linear 36.0 0.001
- Animate UberBox136 alpha "255" Linear 36.27 0.001
- Animate UberBox137 alpha "255" Linear 36.53 0.001
- Animate UberBox138 alpha "255" Linear 36.8 0.001
- Animate UberBox139 alpha "255" Linear 37.07 0.001
- Animate UberBox140 alpha "255" Linear 37.33 0.001
- Animate UberBox141 alpha "255" Linear 37.6 0.001
- Animate UberBox142 alpha "255" Linear 37.87 0.001
- Animate UberBox143 alpha "255" Linear 38.13 0.001
- Animate UberBox144 alpha "255" Linear 38.4 0.001
- Animate UberBox145 alpha "255" Linear 38.67 0.001
- Animate UberBox146 alpha "255" Linear 38.93 0.001
- Animate UberBox147 alpha "255" Linear 39.2 0.001
- Animate UberBox148 alpha "255" Linear 39.47 0.001
- }
- event ClearUberBar
- {
- RunEvent ClearUberBar 0.0
- Animate UberBox0 alpha "0" Linear 0.0 0.001
- Animate UberBox1 alpha "0" Linear 0.0 0.001
- Animate UberBox2 alpha "0" Linear 0.0 0.001
- Animate UberBox3 alpha "0" Linear 0.0 0.001
- Animate UberBox4 alpha "0" Linear 0.0 0.001
- Animate UberBox5 alpha "0" Linear 0.0 0.001
- Animate UberBox6 alpha "0" Linear 0.0 0.001
- Animate UberBox7 alpha "0" Linear 0.0 0.001
- Animate UberBox8 alpha "0" Linear 0.0 0.001
- Animate UberBox9 alpha "0" Linear 0.0 0.001
- Animate UberBox10 alpha "0" Linear 0.0 0.001
- Animate UberBox11 alpha "0" Linear 0.0 0.001
- Animate UberBox12 alpha "0" Linear 0.0 0.001
- Animate UberBox13 alpha "0" Linear 0.0 0.001
- Animate UberBox14 alpha "0" Linear 0.0 0.001
- Animate UberBox15 alpha "0" Linear 0.0 0.001
- Animate UberBox16 alpha "0" Linear 0.0 0.001
- Animate UberBox17 alpha "0" Linear 0.0 0.001
- Animate UberBox18 alpha "0" Linear 0.0 0.001
- Animate UberBox19 alpha "0" Linear 0.0 0.001
- Animate UberBox20 alpha "0" Linear 0.0 0.001
- Animate UberBox21 alpha "0" Linear 0.0 0.001
- Animate UberBox22 alpha "0" Linear 0.0 0.001
- Animate UberBox23 alpha "0" Linear 0.0 0.001
- Animate UberBox24 alpha "0" Linear 0.0 0.001
- Animate UberBox25 alpha "0" Linear 0.0 0.001
- Animate UberBox26 alpha "0" Linear 0.0 0.001
- Animate UberBox27 alpha "0" Linear 0.0 0.001
- Animate UberBox28 alpha "0" Linear 0.0 0.001
- Animate UberBox29 alpha "0" Linear 0.0 0.001
- Animate UberBox30 alpha "0" Linear 0.0 0.001
- Animate UberBox31 alpha "0" Linear 0.0 0.001
- Animate UberBox32 alpha "0" Linear 0.0 0.001
- Animate UberBox33 alpha "0" Linear 0.0 0.001
- Animate UberBox34 alpha "0" Linear 0.0 0.001
- Animate UberBox35 alpha "0" Linear 0.0 0.001
- Animate UberBox36 alpha "0" Linear 0.0 0.001
- Animate UberBox37 alpha "0" Linear 0.0 0.001
- Animate UberBox38 alpha "0" Linear 0.0 0.001
- Animate UberBox39 alpha "0" Linear 0.0 0.001
- Animate UberBox40 alpha "0" Linear 0.0 0.001
- Animate UberBox41 alpha "0" Linear 0.0 0.001
- Animate UberBox42 alpha "0" Linear 0.0 0.001
- Animate UberBox43 alpha "0" Linear 0.0 0.001
- Animate UberBox44 alpha "0" Linear 0.0 0.001
- Animate UberBox45 alpha "0" Linear 0.0 0.001
- Animate UberBox46 alpha "0" Linear 0.0 0.001
- Animate UberBox47 alpha "0" Linear 0.0 0.001
- Animate UberBox48 alpha "0" Linear 0.0 0.001
- Animate UberBox49 alpha "0" Linear 0.0 0.001
- Animate UberBox50 alpha "0" Linear 0.0 0.001
- Animate UberBox51 alpha "0" Linear 0.0 0.001
- Animate UberBox52 alpha "0" Linear 0.0 0.001
- Animate UberBox53 alpha "0" Linear 0.0 0.001
- Animate UberBox54 alpha "0" Linear 0.0 0.001
- Animate UberBox55 alpha "0" Linear 0.0 0.001
- Animate UberBox56 alpha "0" Linear 0.0 0.001
- Animate UberBox57 alpha "0" Linear 0.0 0.001
- Animate UberBox58 alpha "0" Linear 0.0 0.001
- Animate UberBox59 alpha "0" Linear 0.0 0.001
- Animate UberBox60 alpha "0" Linear 0.0 0.001
- Animate UberBox61 alpha "0" Linear 0.0 0.001
- Animate UberBox62 alpha "0" Linear 0.0 0.001
- Animate UberBox63 alpha "0" Linear 0.0 0.001
- Animate UberBox64 alpha "0" Linear 0.0 0.001
- Animate UberBox65 alpha "0" Linear 0.0 0.001
- Animate UberBox66 alpha "0" Linear 0.0 0.001
- Animate UberBox67 alpha "0" Linear 0.0 0.001
- Animate UberBox68 alpha "0" Linear 0.0 0.001
- Animate UberBox69 alpha "0" Linear 0.0 0.001
- Animate UberBox70 alpha "0" Linear 0.0 0.001
- Animate UberBox71 alpha "0" Linear 0.0 0.001
- Animate UberBox72 alpha "0" Linear 0.0 0.001
- Animate UberBox73 alpha "0" Linear 0.0 0.001
- Animate UberBox74 alpha "0" Linear 0.0 0.001
- Animate UberBox75 alpha "0" Linear 0.0 0.001
- Animate UberBox76 alpha "0" Linear 0.0 0.001
- Animate UberBox77 alpha "0" Linear 0.0 0.001
- Animate UberBox78 alpha "0" Linear 0.0 0.001
- Animate UberBox79 alpha "0" Linear 0.0 0.001
- Animate UberBox80 alpha "0" Linear 0.0 0.001
- Animate UberBox81 alpha "0" Linear 0.0 0.001
- Animate UberBox82 alpha "0" Linear 0.0 0.001
- Animate UberBox83 alpha "0" Linear 0.0 0.001
- Animate UberBox84 alpha "0" Linear 0.0 0.001
- Animate UberBox85 alpha "0" Linear 0.0 0.001
- Animate UberBox86 alpha "0" Linear 0.0 0.001
- Animate UberBox87 alpha "0" Linear 0.0 0.001
- Animate UberBox88 alpha "0" Linear 0.0 0.001
- Animate UberBox89 alpha "0" Linear 0.0 0.001
- Animate UberBox90 alpha "0" Linear 0.0 0.001
- Animate UberBox91 alpha "0" Linear 0.0 0.001
- Animate UberBox92 alpha "0" Linear 0.0 0.001
- Animate UberBox93 alpha "0" Linear 0.0 0.001
- Animate UberBox94 alpha "0" Linear 0.0 0.001
- Animate UberBox95 alpha "0" Linear 0.0 0.001
- Animate UberBox96 alpha "0" Linear 0.0 0.001
- Animate UberBox97 alpha "0" Linear 0.0 0.001
- Animate UberBox98 alpha "0" Linear 0.0 0.001
- Animate UberBox99 alpha "0" Linear 0.0 0.001
- Animate UberBox100 alpha "0" Linear 0.0 0.001
- Animate UberBox101 alpha "0" Linear 0.0 0.001
- Animate UberBox102 alpha "0" Linear 0.0 0.001
- Animate UberBox103 alpha "0" Linear 0.0 0.001
- Animate UberBox104 alpha "0" Linear 0.0 0.001
- Animate UberBox105 alpha "0" Linear 0.0 0.001
- Animate UberBox106 alpha "0" Linear 0.0 0.001
- Animate UberBox107 alpha "0" Linear 0.0 0.001
- Animate UberBox108 alpha "0" Linear 0.0 0.001
- Animate UberBox109 alpha "0" Linear 0.0 0.001
- Animate UberBox110 alpha "0" Linear 0.0 0.001
- Animate UberBox111 alpha "0" Linear 0.0 0.001
- Animate UberBox112 alpha "0" Linear 0.0 0.001
- Animate UberBox113 alpha "0" Linear 0.0 0.001
- Animate UberBox114 alpha "0" Linear 0.0 0.001
- Animate UberBox115 alpha "0" Linear 0.0 0.001
- Animate UberBox116 alpha "0" Linear 0.0 0.001
- Animate UberBox117 alpha "0" Linear 0.0 0.001
- Animate UberBox118 alpha "0" Linear 0.0 0.001
- Animate UberBox119 alpha "0" Linear 0.0 0.001
- Animate UberBox120 alpha "0" Linear 0.0 0.001
- Animate UberBox121 alpha "0" Linear 0.0 0.001
- Animate UberBox122 alpha "0" Linear 0.0 0.001
- Animate UberBox123 alpha "0" Linear 0.0 0.001
- Animate UberBox124 alpha "0" Linear 0.0 0.001
- Animate UberBox125 alpha "0" Linear 0.0 0.001
- Animate UberBox126 alpha "0" Linear 0.0 0.001
- Animate UberBox127 alpha "0" Linear 0.0 0.001
- Animate UberBox128 alpha "0" Linear 0.0 0.001
- Animate UberBox129 alpha "0" Linear 0.0 0.001
- Animate UberBox130 alpha "0" Linear 0.0 0.001
- Animate UberBox131 alpha "0" Linear 0.0 0.001
- Animate UberBox132 alpha "0" Linear 0.0 0.001
- Animate UberBox133 alpha "0" Linear 0.0 0.001
- Animate UberBox134 alpha "0" Linear 0.0 0.001
- Animate UberBox135 alpha "0" Linear 0.0 0.001
- Animate UberBox136 alpha "0" Linear 0.0 0.001
- Animate UberBox137 alpha "0" Linear 0.0 0.001
- Animate UberBox138 alpha "0" Linear 0.0 0.001
- Animate UberBox139 alpha "0" Linear 0.0 0.001
- Animate UberBox140 alpha "0" Linear 0.0 0.001
- Animate UberBox141 alpha "0" Linear 0.0 0.001
- Animate UberBox142 alpha "0" Linear 0.0 0.001
- Animate UberBox143 alpha "0" Linear 0.0 0.001
- Animate UberBox144 alpha "0" Linear 0.0 0.001
- Animate UberBox145 alpha "0" Linear 0.0 0.001
- Animate UberBox146 alpha "0" Linear 0.0 0.001
- Animate UberBox147 alpha "0" Linear 0.0 0.001
- Animate UberBox148 alpha "0" Linear 0.0 0.001
- }
- // Replace existing events MenuOpen and MenuClose in HudAnimations_tf.txt with these
- event MenuOpen
- {
- StopEvent MenuClose 0.0
- // fade in
- Animate HudMenu Alpha "255" Linear 0.0 0.1
- Animate HudMenu SelectionAlpha "255" Linear 0.0 0.1
- Animate HudMenu FgColor "FgColor" Linear 0.0 0.1
- Animate HudMenu MenuColor "MenuColor" Linear 0.0 0.1
- Animate HudMenu ItemColor "ItemColor" Linear 0.0 0.1
- Animate HudMenu TextScan "1" Linear 0.0 0.1
- // Undo any blur
- Animate HudMenu Blur "1" Linear 0.0 0.01
- StopEvent FillUberBar 0.0
- RunEvent ClearUberBar 0.01
- }
- 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
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement