Advertisement
Guest User

Untitled

a guest
Sep 17th, 2015
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.84 KB | None | 0 0
  1. // sample animation script
  2. //
  3. //
  4. // commands:
  5. // Animate <panel name> <variable> <target value> <interpolator> <start time> <duration>
  6. // variables:
  7. // FgColor
  8. // BgColor
  9. // Position
  10. // Size
  11. // Blur (hud panels only)
  12. // TextColor (hud panels only)
  13. // Ammo2Color (hud panels only)
  14. // Alpha (hud weapon selection only)
  15. // SelectionAlpha (hud weapon selection only)
  16. // TextScan (hud weapon selection only)
  17. //
  18. // interpolator:
  19. // Linear
  20. // Accel - starts moving slow, ends fast
  21. // Deaccel - starts moving fast, ends slow
  22. // Spline - simple ease in/out curve
  23. // Pulse - < freq > over the duration, the value is pulsed (cosine) freq times ending at the dest value (assuming freq is integral)
  24. // 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
  25. //
  26. // RunEvent <event name> <start time>
  27. // starts another even running at the specified time
  28. //
  29. // StopEvent <event name> <start time>
  30. // stops another event that is current running at the specified time
  31. //
  32. // StopAnimation <panel name> <variable> <start time>
  33. // stops all animations refering to the specified variable in the specified panel
  34. //
  35. // StopPanelAnimations <panel name> <start time>
  36. // stops all active animations operating on the specified panel
  37. //
  38. // SetFont <panel name> <fontparameter> <fontname from scheme> <set time>
  39. //
  40. // SetTexture <panel name> <textureidname> <texturefilename> <set time>
  41. //
  42. // SetString <panel name> <string varname> <stringvalue> <set time>
  43.  
  44. event LevelInit
  45. {
  46. }
  47.  
  48. event OpenWeaponSelectionMenu
  49. {
  50. StopEvent CloseWeaponSelectionMenu 0.0
  51. StopEvent WeaponPickup 0.0
  52.  
  53. // make the display visible
  54. Animate HudWeaponSelection Alpha "128" Linear 0.0 0.1
  55. Animate HudWeaponSelection SelectionAlpha "255" Linear 0.0 0.1
  56. Animate HudWeaponSelection FgColor "FgColor" Linear 0.0 0.1
  57. //Animate HudWeaponSelection TextColor "BrightFg" Linear 0.0 0.1
  58. Animate HudWeaponSelection TextScan "1" Linear 0.0 0.1
  59. }
  60.  
  61. event CloseWeaponSelectionMenu
  62. {
  63. StopEvent CloseWeaponSelectionMenu 0.0
  64. StopEvent WeaponPickup 0.0
  65.  
  66. // make the display visible
  67. Animate HudWeaponSelection Alpha "128" Linear 0.0 0.1
  68. Animate HudWeaponSelection SelectionAlpha "255" Linear 0.0 0.1
  69. Animate HudWeaponSelection FgColor "FgColor" Linear 0.0 0.1
  70. //Animate HudWeaponSelection TextColor "BrightFg" Linear 0.0 0.1
  71. Animate HudWeaponSelection TextScan "1" Linear 0.0 0.1
  72. }
  73.  
  74.  
  75. event MenuOpen
  76. {
  77. StopEvent MenuClose 0.0
  78.  
  79. // fade in
  80. Animate HudMenu Alpha "255" Linear 0.0 0.1
  81. Animate HudMenu SelectionAlpha "255" Linear 0.0 0.1
  82. Animate HudMenu FgColor "FgColor" Linear 0.0 0.1
  83. Animate HudMenu MenuColor "MenuColor" Linear 0.0 0.1
  84. Animate HudMenu ItemColor "ItemColor" Linear 0.0 0.1
  85. Animate HudMenu TextScan "1" Linear 0.0 0.1
  86.  
  87. // Undo any blur
  88. Animate HudMenu Blur "1" Linear 0.0 0.01
  89. }
  90.  
  91. event MenuClose
  92. {
  93. // Hide it
  94. Animate HudMenu Alpha "0" Linear 0.0 1
  95. Animate HudMenu SelectionAlpha "0" Linear 0.0 1
  96. Animate HudMenu FgColor "0 0 0 0" Linear 0.0 1
  97. Animate HudMenu MenuColor "0 0 0 0" Linear 0.0 1
  98. Animate HudMenu ItemColor "0 0 0 0" Linear 0.0 1
  99. }
  100.  
  101. event MenuPulse
  102. {
  103. Animate HudMenu Blur "7" Linear 0.0 0.1
  104. Animate HudMenu Blur "2" Deaccel 0.1 0.1
  105. Animate HudMenu Blur "7" Linear 0.2 0.1
  106. Animate HudMenu Blur "2" Deaccel 0.3 0.1
  107. Animate HudMenu Blur "7" Linear 0.4 0.1
  108. Animate HudMenu Blur "2" Deaccel 0.5 0.1
  109. Animate HudMenu Blur "1" Deaccel 0.6 0.4
  110. }
  111.  
  112. event TimerIncrement
  113. {
  114. Animate HudTimer Blur "7" Linear 0.0 0.1
  115. Animate HudTimer Blur "2" Deaccel 0.1 0.8
  116. Animate HudTimer Blur "0" Deaccel 1.1 1.5
  117. }
  118.  
  119. event TimerDecrement
  120. {
  121. Animate HudTimer Blur "7" Linear 0.0 0.1
  122. Animate HudTimer Blur "2" Deaccel 0.1 0.8
  123. Animate HudTimer Blur "0" Deaccel 1.1 1.5
  124. }
  125.  
  126.  
  127. event ResourceIncrement
  128. {
  129. Animate HudResources Blur "3" Linear 0.0 0.0
  130. Animate HudResources PulseAmount "0" Linear 0.0 0.01
  131. Animate HudResources Blur "1" Deaccel 0.1 1.5
  132. Animate HudResources PulseAmount "1" Linear 0.1 2
  133.  
  134. Animate HudResources PulseAmount "0" Linear 2 2
  135. }
  136.  
  137. event ResourceDecrement
  138. {
  139. Animate HudResources Blur "7" Linear 0.0 0.0
  140. Animate HudResources PulseAmount "0" Linear 0.0 0.01
  141. Animate HudResources Blur "1" Deaccel 0.1 1.5
  142. Animate HudResources PulseAmount "1" Linear 0.1 2
  143.  
  144. Animate HudResources PulseAmount "0" Linear 2 2
  145. }
  146.  
  147. event ResourcePickup
  148. {
  149. Animate HudResourcesPickup Alpha "255" Linear 0 0
  150. Animate HudResourcesPickup Position "80 r40" Linear 0 0
  151. Animate HudResourcesPickup Position "80 r120" Deaccel 0 1
  152. Animate HudResourcesPickup Blur "7" Deaccel 0 0.2
  153. Animate HudResourcesPickup Alpha "0" Deaccel .8 0.2
  154. Animate HudResourcesPickup Blur "1" Deaccel 0.2 0.3
  155. }
  156.  
  157. event HintMessageShow
  158. {
  159. Animate HudHintDisplay HintSize "1" Deaccel 0.0 0.3
  160. Animate HudHintDisplay FgColor "FgColor" Linear 0.4 0.4
  161.  
  162. // flash text
  163. Animate HudHintDisplay FgColor "FgColor" Linear 1.5 0.01
  164. Animate HudHintDisplay FgColor "255 220 0 255" Linear 2.0 0.2
  165. Animate HudHintDisplay FgColor "FgColor" Linear 2.2 0.2
  166. Animate HudHintDisplay FgColor "255 220 0 255" Linear 3.0 0.2
  167. Animate HudHintDisplay FgColor "FgColor" Linear 3.2 0.2
  168.  
  169. // hide the panel after a while
  170. Animate HudHintDisplay FgColor "255 220 0 0" Linear 10.0 0.2
  171. Animate HudHintDisplay HintSize "0" Deaccel 10.2 0.3
  172. }
  173.  
  174.  
  175. event HintMessageHide
  176. {
  177. Animate HudHintDisplay FgColor "255 220 0 0" Linear 0.0 0.2
  178. Animate HudHintDisplay HintSize "0" Deaccel 0.2 0.3
  179. }
  180.  
  181. event KeyHintMessageShow
  182. {
  183. // show the hints
  184. Animate HudHintKeyDisplay Alpha 255 Linear 0.0 0.5
  185.  
  186. // flash text
  187. Animate HudHintKeyDisplay FgColor "FgColor" Linear 0.0 0.01
  188. Animate HudHintKeyDisplay FgColor "255 220 0 255" Linear 0.5 0.2
  189. Animate HudHintKeyDisplay FgColor "FgColor" Linear 0.7 0.2
  190. Animate HudHintKeyDisplay FgColor "255 220 0 255" Linear 1.5 0.2
  191. Animate HudHintKeyDisplay FgColor "FgColor" Linear 1.7 0.2
  192.  
  193. // hide the panel after a while
  194. Animate HudHintKeyDisplay Alpha 0 Linear 12.0 1.0
  195. }
  196.  
  197. event KeyHintMessageHide
  198. {
  199. Animate HudHintKeyDisplay Alpha 0 Linear 0.0 0.5
  200. }
  201.  
  202. //===========================================
  203.  
  204. //Health Bonus Pulse
  205. event HudHealthBonusPulse
  206. {
  207. //normal
  208. //Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
  209. //Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4
  210.  
  211. //Animate PlayerStatusHealthValue FgColor "HP Buff" Linear 0.0 0.0
  212. //Animate PlayerStatusHealthValueSpec FgColor "HP Buff" Linear 0.0 0.0
  213. //Animate PlayerStatusHealthValueSpecgui FgColor "HP Buff" Linear 0.0 0.0
  214.  
  215. //box
  216. Animate PlayerStatusHealthValue FgColor "HP" Linear 0.0 0.0
  217. Animate PlayerStatusHealthValueSpec FgColor "HP" Linear 0.0 0.0
  218. Animate PlayerStatusHealthValueSpecgui FgColor "HP" Linear 0.0 0.0
  219.  
  220. Animate HealthBG BgColor "HP Buff" Accel 0.0 0.0
  221. Animate HealthBG Alpha "200" Accel 0.0 0.2
  222. Animate HealthBG Alpha "0" Accel 0.2 0.4
  223. Animate TargetHealthBG BgColor "HP Buff" Accel 0.0 0.0
  224. Animate TargetHealthBG Alpha "200" Accel 0.0 0.2
  225. Animate TargetHealthBG Alpha "0" Accel 0.2 0.4
  226. Animate SpecHealthBG BgColor "HP Buff" Accel 0.0 0.0
  227. Animate SpecHealthBG Alpha "200" Accel 0.0 0.2
  228. Animate SpecHealthBG Alpha "0" Accel 0.2 0.4
  229.  
  230. RunEvent HudHealthBonusPulseLoop 0.4
  231. }
  232.  
  233. // call to loop HudHealthBonusPulse
  234. event HudHealthBonusPulseLoop
  235. {
  236. RunEvent HudHealthBonusPulse 0.0
  237. }
  238.  
  239. event HudHealthBonusPulseStop
  240. {
  241. StopEvent HudHealthBonusPulse 0.0
  242. StopEvent HudHealthBonusPulseLoop 0.0
  243. Animate PlayerStatusHealthValue FgColor "HP" Accel 0.0 0.0
  244. Animate PlayerStatusHealthValueSpec FgColor "HP" Accel 0.0 0.0
  245. Animate PlayerStatusHealthValueSpecgui FgColor "HP" Accel 0.0 0.0
  246.  
  247. //box
  248. Animate HealthBG BgColor "Blank" Accel 0.0 0.0
  249. Animate HealthBG Alpha "255" Accel 0.0 0.0
  250. Animate TargetHealthBG BgColor "Blank" Accel 0.0 0.0
  251. Animate TargetHealthBG Alpha "255" Accel 0.0 0.0
  252. Animate SpecHealthBG BgColor "Blank" Accel 0.0 0.0
  253. Animate SpecHealthBG Alpha "255" Accel 0.0 0.0
  254. }
  255.  
  256. //===========================================
  257.  
  258. //Health Dying Pulse
  259. event HudHealthDyingPulse
  260. {
  261. //normal
  262. //Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.075
  263. //Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.125 0.075
  264.  
  265. //Animate PlayerStatusHealthValue FgColor "HP Low" Linear 0.0 0.0
  266. //Animate PlayerStatusHealthValueSpec FgColor "HP Low" Linear 0.0 0.0
  267. //Animate PlayerStatusHealthValueSpecgui FgColor "HP Low" Linear 0.0 0.0
  268.  
  269. //box
  270. Animate PlayerStatusHealthValue FgColor "HP" Linear 0.0 0.0
  271. Animate PlayerStatusHealthValueSpec FgColor "HP" Linear 0.0 0.0
  272. Animate PlayerStatusHealthValueSpecgui FgColor "HP" Linear 0.0 0.0
  273. Animate PlayerStatusHealthValueFreezePanel FgColor "HP" Linear 0.0 0.0
  274.  
  275. Animate HealthBG BgColor "HP Low" Accel 0.0 0.0
  276. Animate HealthBG Alpha "200" Accel 0.0 0.2
  277. Animate HealthBG Alpha "0" Accel 0.2 0.4
  278. Animate TargetHealthBG BgColor "HP Low" Accel 0.0 0.0
  279. Animate TargetHealthBG Alpha "200" Accel 0.0 0.2
  280. Animate TargetHealthBG Alpha "0" Accel 0.2 0.4
  281. Animate SpecHealthBG BgColor "HP Low" Accel 0.0 0.0
  282. Animate SpecHealthBG Alpha "200" Accel 0.0 0.2
  283. Animate SpecHealthBG Alpha "0" Accel 0.2 0.4
  284. Animate FreezeHealthBG Alpha "200" Accel 0.0 0.2
  285. Animate FreezeHealthBG Alpha "0" Accel 0.2 0.4
  286.  
  287. RunEvent HudHealthDyingPulseLoop 0.4
  288. }
  289.  
  290. // call to loop HudHealthDyingPulse
  291. event HudHealthDyingPulseLoop
  292. {
  293. RunEvent HudHealthDyingPulse 0.0
  294. }
  295.  
  296. event HudHealthDyingPulseStop
  297. {
  298. StopEvent HudHealthDyingPulse 0.0
  299. StopEvent HudHealthDyingPulseLoop 0.0
  300. Animate PlayerStatusHealthValue FgColor "HP" Accel 0.0 0.0
  301. Animate PlayerStatusHealthValueSpec FgColor "HP" Accel 0.0 0.0
  302. Animate PlayerStatusHealthValueSpecgui FgColor "HP" Accel 0.0 0.0
  303. Animate PlayerStatusHealthValueFreezePanel FgColor "HP" Accel 0.0 0.0
  304.  
  305. //box
  306. Animate HealthBG BgColor "Blank" Accel 0.0 0.0
  307. Animate HealthBG Alpha "255" Accel 0.0 0.0
  308. Animate TargetHealthBG BgColor "Blank" Accel 0.0 0.0
  309. Animate TargetHealthBG Alpha "255" Accel 0.0 0.0
  310. Animate SpecHealthBG BgColor "Blank" Accel 0.0 0.0
  311. Animate SpecHealthBG Alpha "255" Accel 0.0 0.0
  312. Animate FreezeHealthBG BgColor "Blank" Accel 0.0 0.0
  313. Animate FreezeHealthBG Alpha "255" Accel 0.0 0.0
  314. }
  315.  
  316. //===========================================
  317.  
  318. event HudLowAmmoPulse
  319. {
  320. //Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
  321. //Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
  322.  
  323. //box
  324. Animate LowAmmoBG BgColor "LowAmmo1" Accel 0.0 0.0
  325. Animate LowAmmoBG Alpha "200" Accel 0.0 0.2
  326. Animate LowAmmoBG Alpha "0" Accel 0.2 0.4
  327.  
  328. //Animate AmmoInClip FgColor "LowAmmo1" Linear 0.0 0.075
  329. //Animate AmmoInClip FgColor "LowAmmo2" Linear 0.125 0.075
  330.  
  331. //Animate AmmoInReserve FgColor "LowAmmo1" Linear 0.0 0.075
  332. //Animate AmmoInReserve FgColor "LowAmmo2" Linear 0.125 0.075
  333.  
  334. //Animate AmmoNoClip FgColor "LowAmmo1" Linear 0.0 0.075
  335. //Animate AmmoNoClip FgColor "LowAmmo2" Linear 0.125 0.075
  336.  
  337. RunEvent HudLowAmmoPulseLoop 0.4 //0.25 for normal
  338. }
  339.  
  340. // call to loop HudLowAmmoPulse
  341. event HudLowAmmoPulseLoop
  342. {
  343. RunEvent HudLowAmmoPulse 0.0
  344. }
  345.  
  346. event HudLowAmmoPulseStop
  347. {
  348. StopEvent HudLowAmmoPulse 0.0
  349. StopEvent HudLowAmmoPulseLoop 0.0
  350.  
  351. //box
  352. Animate LowAmmoBG BgColor "Blank" Linear 0.0 0.0
  353. Animate LowAmmoBG Alpha "255" Linear 0.0 0.4
  354.  
  355. Animate AmmoInClip FgColor "Ammo In Clip" Linear 0.0 0.0
  356. Animate AmmoInReserve FgColor "Ammo In Reserve" Linear 0.0 0.0
  357. Animate AmmoNoClip FgColor "Ammo No Clip" Linear 0.0 0.0
  358. }
  359.  
  360. //===========================================
  361.  
  362. event ControlPointIconShrink
  363. {
  364. Animate HudControlPointIcons icon_expand "0" Linear 0.0 0.2
  365. }
  366.  
  367. event ControlPointIconGrow
  368. {
  369. Animate HudControlPointIcons icon_expand "4" Linear 0.0 0.2
  370. }
  371.  
  372. // Metal Account
  373.  
  374. //activecolor - instantly turn red, fade back to yellow
  375. event AccountMoneyRemoved
  376. {
  377. Animate HudAccount FgColor "HudIcon_Red" Linear 0.0 0.0001
  378. Animate HudAccount FgColor "OrangeDim" Accel 0.0 3.0
  379.  
  380. Animate HudAccount Ammo2Color "HudIcon_Red" Linear 0.0 0.0001
  381. Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 3.0
  382. }
  383.  
  384. //activecolor - instantly turn green, fade back to yellow
  385. event AccountMoneyAdded
  386. {
  387. Animate HudAccount FgColor "HudIcon_Green" Linear 0.0 0.0001
  388. Animate HudAccount FgColor "OrangeDim" Accel 0.0 3.0
  389.  
  390. Animate HudAccount Ammo2Color "HudIcon_Green" Accel 0.0 0.0001
  391. Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 3.0
  392. }
  393.  
  394. event AccountMoneyInvisible
  395. {
  396. Animate HudAccount FgColor "OrangeDim" Accel 0.0 0.0001
  397. Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 0.0001
  398. }
  399.  
  400. //===========================================
  401.  
  402. event FlagOutlineHide
  403. {
  404. Animate OutlineImage Alpha "0" Linear 0.0 0.1
  405. }
  406.  
  407. // Local player flag pickup/drop
  408. event FlagOutline
  409. {
  410. RunEvent FlagOutlineHide 0.0
  411. Animate OutlineImage Alpha "255" Linear 0.1 0.2
  412.  
  413. Animate OutlineImage Position "c-200 140" Linear 0.1 0.2
  414. Animate OutlineImage Size "400 200" Linear 0.1 0.2
  415.  
  416. Animate OutlineImage Position "c-50 r137" Linear 0.7 0.2 [$WIN32]
  417. Animate OutlineImage Position "c-50 r158" Linear 0.7 0.2 [$X360]
  418. Animate OutlineImage Size "100 50" Linear 0.7 0.2
  419.  
  420. Animate OutlineImage Alpha "0" Linear 0.9 0.1
  421. }
  422.  
  423. //===========================================
  424.  
  425. // Spy Disguise
  426. event HudSpyDisguiseChanged
  427. {
  428. Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2
  429.  
  430. Animate PlayerStatusSpyOutlineImage Position "c-100 c50" Linear 0.0 0.2
  431. Animate PlayerStatusSpyOutlineImage Size "150 150" Linear 0.0 0.2
  432.  
  433. RunEvent HudSpyDisguiseHide 0.7
  434. }
  435.  
  436. event HudSpyDisguiseHide
  437. {
  438. Animate PlayerStatusSpyOutlineImage Position "c-50 c105" Linear 0.0 0.2
  439. Animate PlayerStatusSpyOutlineImage Size "55 55" Linear 0.0 0.2
  440.  
  441. Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.2 0.1
  442. }
  443.  
  444. event HudSpyDisguiseFadeIn
  445. {
  446. RunEvent HudSpyDisguiseChanged 0
  447. Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
  448. }
  449.  
  450. event HudSpyDisguiseFadeOut
  451. {
  452. RunEvent HudSpyDisguiseChanged 0
  453. Animate PlayerStatusSpyImage Alpha "0" Linear 0.9 0.1
  454. }
  455.  
  456. //===========================================
  457.  
  458. // Show the Overtime panel
  459. event OvertimeShow
  460. {
  461. Animate OvertimeLabel Alpha "255" Linear 0.0 0.1
  462. Animate OvertimeBG Alpha "255" Linear 0.0 0.1
  463. }
  464.  
  465.  
  466. event HudSnapShotReminderIn
  467. {
  468. Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001
  469. Animate ScreenshotPanel Position "c-83 13" Spline 0.001 0.2
  470. }
  471.  
  472. event HudReplayReminderIn // Places the replay reminder in the same place as the snapshot reminder
  473. {
  474. Animate ReplayReminder Position "c-83 -50" Linear 0.0 0.001
  475. Animate ReplayReminder Position "c-83 13" Spline 0.001 0.2
  476. }
  477.  
  478. event HudReplayReminderIn2 // Puts the panel below the snapshot panel
  479. {
  480. Animate ReplayReminder Position "c-83 -50" Linear 0.0 0.001
  481. Animate ReplayReminder Position "c-83 53" Spline 0.001 0.2
  482. }
  483.  
  484. event HudReplayTipIn
  485. {
  486. Animate ReplayTip Position "10 -100" Linear 0.0 0.001
  487. Animate ReplayTip Position "10 6" Spline 0.001 0.1
  488. }
  489.  
  490. event HudReplayTipOut
  491. {
  492. Animate ReplayTip Position "10 6" Linear 0.0 0.001
  493. Animate ReplayTip Position "10 -100" Spline 0.001 0.1
  494. }
  495.  
  496. event HudTournamentSetupPanelOpen
  497. {
  498. Animate HudTournamentSetup Position "c-90 -70" Linear 0.0 0.001
  499. Animate HudTournamentSetup Position "c-90 70" Spline 0.001 0.2
  500. }
  501.  
  502. event HudTournamentSetupPanelClose
  503. {
  504. Animate HudTournamentSetup Position "c-90 70" Linear 0.0 0.001
  505. Animate HudTournamentSetup Position "c-90 -70" Spline 0.001 0.2
  506. }
  507.  
  508.  
  509. //====================================
  510.  
  511. // Flash the medic charge hud when we have full charge
  512.  
  513. event HudMedicCharged
  514. {
  515. Animate ChargeLabel FgColor "ChargePercent" Linear 0.0 0.0
  516. Animate ChargeLabel FgColor "ChargePercent" Linear 0.0 0.0
  517.  
  518. Animate ChargeMeter FgColor "Ubercharge1" Linear 0.0 0.1
  519. Animate ChargeMeter FgColor "Ubercharge2" Linear 0.3 0.4
  520.  
  521. RunEvent HudMedicChargedLoop 0.6
  522. }
  523.  
  524. // call to loop HudHealthBonusPulse
  525. event HudMedicChargedLoop
  526. {
  527. RunEvent HudMedicCharged 0.0
  528. }
  529.  
  530. event HudMedicChargedStop
  531. {
  532. StopEvent HudMedicCharged 0.0
  533. StopEvent HudMedicChargedLoop 0.0
  534.  
  535. Animate ChargeMeter FgColor "Ubercharge Meter" Linear 0.0 0.0001
  536. Animate ChargeLabel FgColor "ChargePercent" Linear 0.0 0.0001
  537. }
  538.  
  539. //====================================
  540.  
  541. event VideoCaptionFadeIn
  542. {
  543. Animate VideoCaption Alpha "255" Linear 0.0 0.1
  544. }
  545.  
  546. event VideoCaptionFadeOut
  547. {
  548. Animate VideoCaption Alpha "0" Linear 0.0 0.1
  549. }
  550.  
  551. //====================================
  552.  
  553. // arena
  554.  
  555. event ArenaVsPanelOnShow
  556. {
  557. Animate bluepanel Position "-200 50" Linear 0.0 0.001
  558. Animate redpanel Position "r-200 140" Linear 0.0 0.001
  559. Animate vslabel Alpha "0" Linear 0.0 0.001
  560.  
  561. RunEvent ArenaVsPanelSlideIn 1.0
  562. RunEvent ArenaVsPanelSlideOut 4.8
  563. }
  564.  
  565. event ArenaVsPanelSlideIn
  566. {
  567. Animate bluepanel Position "c-100 50" Spline 0.0 0.2
  568. Animate redpanel Position "c-100 140" Spline 0.0 0.2
  569. Animate vslabel Alpha "255" Linear 0.15 0.2
  570. }
  571.  
  572. event ArenaVsPanelSlideOut
  573. {
  574. Animate bluepanel Position "-200 50" Spline 0.0 0.2
  575. Animate redpanel Position "r-200 140" Spline 0.0 0.2
  576. Animate vslabel Alpha "0" Linear 0.0 0.05
  577. }
  578.  
  579. //===========================================
  580.  
  581. //Cart Alarm Pulse
  582. event HudCartAlarmPulse
  583. {
  584. Animate EscortItemImageAlert Alpha "160" Linear 0.0 0.3
  585. Animate EscortItemImageAlert Alpha "0" Linear 0.6 0.3
  586.  
  587. RunEvent HudCartAlarmPulseLoop 1.2
  588. }
  589.  
  590. event HudCartAlarmPulseLoop
  591. {
  592. RunEvent HudCartAlarmPulse 0.0
  593. }
  594.  
  595. event HudCartAlarmPulseStop
  596. {
  597. StopEvent HudCartAlarmPulse 0.0
  598. StopEvent HudCartAlarmPulseLoop 0.0
  599. }
  600.  
  601. //===========================================
  602.  
  603. // Active Timer BG Pulse
  604. event ActiveTimerBGPulse
  605. {
  606. Animate ActiveTimerBG Alpha "0" Linear 0.1 0.1
  607. Animate ActiveTimerBG Alpha "255" Linear 0.3 0.1
  608.  
  609. Animate ActiveTimerBG Alpha "0" Linear 0.5 0.1
  610. Animate ActiveTimerBG Alpha "255" Linear 0.7 0.1
  611.  
  612. Animate ActiveTimerBG Alpha "0" Linear 0.9 0.1
  613. Animate ActiveTimerBG Alpha "255" Linear 1.1 0.1
  614. }
  615.  
  616. //===========================================
  617.  
  618. event TeamsFullArrowAnimate
  619. {
  620. Animate TeamsFullArrow Position "c-118 165" Linear 0 0
  621. Animate TeamsFullArrow Position "c-118 180" Linear 0 0.4
  622. Animate TeamsFullArrow Position "c-118 165" Linear 0.4 0.4
  623.  
  624. RunEvent TeamsFullArrowAnimateLoop 0.8
  625. }
  626.  
  627. event TeamsFullArrowAnimateLoop
  628. {
  629. RunEvent TeamsFullArrowAnimate 0.0
  630. }
  631.  
  632. event TeamsFullArrowAnimateEnd
  633. {
  634. StopEvent TeamsFullArrowAnimate 0.0
  635. StopEvent TeamsFullArrowAnimateLoop 0.0
  636. }
  637.  
  638. //===========================================
  639.  
  640. event TrainingHudBounce
  641. {
  642. Animate ObjectiveStatusTraining Position "c-160 r187" Linear 0 0
  643. Animate ObjectiveStatusTraining Position "c-160 r127" Bounce 0.0 2.0
  644. }
  645.  
  646. event TrainingPressSpacebarBlink
  647. {
  648. Animate PressSpacebarToContinue Alpha "255" Linear 0.0 0.1
  649. Animate PressSpacebarToContinue Alpha "0" Linear 0.2 0.1
  650.  
  651. Animate PressSpacebarToContinue Alpha "255" Linear 0.4 0.1
  652. Animate PressSpacebarToContinue Alpha "0" Linear 0.6 0.1
  653.  
  654. Animate PressSpacebarToContinue Alpha "255" Linear 0.8 0.1
  655. Animate PressSpacebarToContinue Alpha "0" Linear 1.0 0.1
  656.  
  657. Animate PressSpacebarToContinue Alpha "255" Linear 1.2 0.1
  658.  
  659. RunEvent TrainingPressSpacebarBlinkLoop 3.0
  660. }
  661.  
  662. event TrainingPressSpacebarBlinkLoop
  663. {
  664. RunEvent TrainingPressSpacebarBlink 0.0
  665. }
  666.  
  667. event TrainingPressSpacebarBlinkStop
  668. {
  669. StopEvent TrainingPressSpacebarBlink 0.0
  670. StopEvent TrainingPressSpacebarBlinkLoop 0.0
  671. }
  672.  
  673. //===========================================
  674.  
  675. event IntroMovieContinueBlink
  676. {
  677. Animate continue Alpha "255" Linear 0.0 0.1
  678. Animate continue Alpha "0" Linear 0.2 0.1
  679.  
  680. Animate continue Alpha "255" Linear 0.4 0.1
  681. Animate continue Alpha "0" Linear 0.6 0.1
  682.  
  683. Animate continue Alpha "255" Linear 0.8 0.1
  684. Animate continue Alpha "0" Linear 1.0 0.1
  685.  
  686. Animate continue Alpha "255" Linear 1.2 0.1
  687.  
  688. RunEvent IntroMovieContinueBlinkLoop 2.0
  689. }
  690.  
  691. event IntroMovieContinueBlinkLoop
  692. {
  693. RunEvent IntroMovieContinueBlink 0.0
  694. }
  695.  
  696. event IntroMovieContinueBlinkStop
  697. {
  698. StopEvent IntroMovieContinueBlink 0.0
  699. StopEvent IntroMovieContinueBlinkLoop 0.0
  700. }
  701.  
  702. //===========================================
  703.  
  704. event HasMOTDBlink
  705. {
  706. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  707. Animate MOTD_ShowButtonPanel_SB Alpha "0" Linear 0.2 0.1
  708.  
  709. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.4 0.1
  710. Animate MOTD_ShowButtonPanel_SB Alpha "0" Linear 0.6 0.1
  711.  
  712. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.8 0.1
  713. Animate MOTD_ShowButtonPanel_SB Alpha "0" Linear 1.0 0.1
  714.  
  715. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 1.2 0.1
  716.  
  717. RunEvent HasMOTDBlinkLoop 2.0
  718. }
  719.  
  720. event HasMOTDBlinkLoop
  721. {
  722. RunEvent HasMOTDBlink 0.0
  723. }
  724.  
  725. event HasMOTDBlinkStop
  726. {
  727. StopEvent HasMOTDBlink 0.0
  728. StopEvent HasMOTDBlinkLoop 0.0
  729. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  730. }
  731.  
  732. //===========================================
  733.  
  734. event HasNotificationsBlink
  735. {
  736. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  737. Animate Notifications_ShowButtonPanel_SB Alpha "0" Linear 0.2 0.1
  738.  
  739. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.4 0.1
  740. Animate Notifications_ShowButtonPanel_SB Alpha "0" Linear 0.6 0.1
  741.  
  742. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.8 0.1
  743. Animate Notifications_ShowButtonPanel_SB Alpha "0" Linear 1.0 0.1
  744.  
  745. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 1.2 0.1
  746.  
  747. RunEvent HasNotificationsBlinkLoop 2.0
  748. }
  749.  
  750. event HasNotificationsBlinkLoop
  751. {
  752. RunEvent HasNotificationsBlink 0.0
  753. }
  754.  
  755. event HasNotificationsBlinkStop
  756. {
  757. StopEvent HasNotificationsBlink 0.0
  758. StopEvent HasNotificationsBlinkLoop 0.0
  759. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  760. }
  761.  
  762. //===========================================
  763.  
  764. event AddToCartBlink
  765. {
  766. Animate CartButton BgColor "TanDark" Linear 0.0 0.01
  767. Animate CartButton BgColor "255 150 0 255" Linear 0.1 0.01
  768.  
  769. Animate CartButton BgColor "TanDark" Linear 0.2 0.01
  770. Animate CartButton BgColor "255 150 0 255" Linear 0.3 0.01
  771.  
  772. Animate CartButton BgColor "TanDark" Linear 0.4 0.01
  773. Animate CartButton BgColor "255 150 0 255" Linear 0.5 0.01
  774.  
  775. Animate CartButton BgColor "TanDark" Linear 0.6 0.01
  776. Animate CartButton BgColor "255 150 0 255" Linear 0.7 0.01
  777.  
  778. Animate CartButton BgColor "TanDark" Linear 0.8 0.01
  779. Animate CartButton BgColor "255 150 0 255" Linear 0.9 0.01
  780.  
  781. Animate CartButton BgColor "TanDark" Linear 1.0 0.01
  782. }
  783.  
  784. //===========================================
  785.  
  786. event NotificationsPresentBlink
  787. {
  788. Animate NotificationsPresentPanel Alpha "255" Linear 0.0 0.1
  789. Animate NotificationsPresentPanel Alpha "0" Linear 0.2 0.1
  790.  
  791. Animate NotificationsPresentPanel Alpha "255" Linear 0.4 0.1
  792. Animate NotificationsPresentPanel Alpha "0" Linear 0.6 0.1
  793.  
  794. Animate NotificationsPresentPanel Alpha "255" Linear 0.8 0.1
  795. Animate NotificationsPresentPanel Alpha "0" Linear 1.0 0.1
  796.  
  797. Animate NotificationsPresentPanel Alpha "255" Linear 1.2 0.1
  798.  
  799. RunEvent NotificationsPresentBlinkLoop 2.0
  800. }
  801.  
  802. event NotificationsPresentBlinkLoop
  803. {
  804. RunEvent NotificationsPresentBlink 0.0
  805. }
  806.  
  807. event NotificationsPresentBlinkStop
  808. {
  809. StopEvent NotificationsPresentBlink 0.0
  810. StopEvent NotificationsPresentBlinkLoop 0.0
  811. Animate NotificationsPresentPanel Alpha "255" Linear 0.0 0.1
  812. }
  813.  
  814. //===========================================
  815.  
  816. event DamagedPlayer
  817. {
  818. Animate Circle FgColor "CrosshairDamage" Linear 0.0 0.0
  819. Animate Circle FgColor "Crosshair" Linear 0.15 0.0
  820.  
  821. // Change the name of the crosshair above to the one you are using (found
  822. // in hudlayout.res). The colors for CrosshairDamage and Crosshair can be
  823. // changed under custom colors in clientscheme.res in the resource folder.
  824. }
  825.  
  826. //===========================================
  827.  
  828. event SpyWarningFlash
  829. {
  830. Animate EnemyCountImageBG BgColor "RedSolid" Linear 0.0 0.01
  831. Animate EnemyCountImageBG BgColor "TanLight" Linear 0.21 0.01
  832.  
  833. RunEvent SpyWarningFlashLoop 0.42
  834. }
  835.  
  836. event SpyWarningFlashLoop
  837. {
  838. RunEvent SpyWarningFlash 0.0
  839. }
  840.  
  841. event SpyWarningFlashEnd
  842. {
  843. StopEvent SpyWarningFlash 0.0
  844. StopEvent SpyWarningFlashLoop 0.0
  845. }
  846.  
  847. event HudReadyPulse
  848. {
  849. Animate TournamentInstructionsLabel FgColor "TanLight" Linear 0.0 0.1
  850. Animate TournamentInstructionsLabel FgColor "RedSolid" Linear 0.3 0.4
  851.  
  852. RunEvent HudReadyPulseLoop 0.5
  853. }
  854.  
  855. event HudReadyPulseLoop
  856. {
  857. RunEvent HudReadyPulse 0.0
  858. }
  859.  
  860. event HudReadyPulseEnd
  861. {
  862. Animate TournamentInstructionsLabel FgColor "TanLight" Linear 0.0 0.1
  863.  
  864. StopEvent HudReadyPulse 0.0
  865. StopEvent HudReadyPulseLoop 0.0
  866. }
  867.  
  868. // Respec in Win
  869. event RespecEarnedPulse
  870. {
  871. Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1
  872. Animate RespecTextLabelWin FgColor "RedSolid" Linear 0.3 0.4
  873.  
  874. RunEvent RespecEarnedPulseLoop 0.5
  875. }
  876.  
  877. event RespecEarnedPulseLoop
  878. {
  879. RunEvent RespecEarnedPulse 0.0
  880. }
  881.  
  882. event RespecEarnedPulseEnd
  883. {
  884. Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1
  885.  
  886. StopEvent RespecEarnedPulse 0.0
  887. StopEvent RespecEarnedPulseLoop 0.0
  888. }
  889.  
  890. // Respec on Loss
  891. event RespecEarnedPulseLoss
  892. {
  893. Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1
  894. Animate RespecTextLabelLoss FgColor "RedSolid" Linear 0.3 0.4
  895.  
  896. RunEvent RespecEarnedPulseLoopLoss 0.5
  897. }
  898.  
  899. event RespecEarnedPulseLoopLoss
  900. {
  901. RunEvent RespecEarnedPulseLoss 0.0
  902. }
  903.  
  904. event RespecEarnedPulseEndLoss
  905. {
  906. Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1
  907. Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1
  908.  
  909. StopEvent RespecEarnedPulseLoss 0.0
  910. StopEvent RespecEarnedPulseLoopLoss 0.0
  911. }
  912.  
  913. event RDPositiveScorePulse
  914. {
  915. Animate Score FgColor "25 255 25 255" Linear 0.0 0.0
  916. Animate Score FgColor "TanLight" Linear 0.1 0.2
  917.  
  918. Animate Score Position "3 5" Deaccel 0.0 0.05
  919. Animate Score Position "3 10" Accel 0.05 0.2
  920.  
  921. Animate ScoreShadow FgColor "0 0 0 200" Deaccel 0.0 0.05
  922. Animate ScoreShadow FgColor "0 0 0 255" Accel 0.1 0.2
  923. }
  924.  
  925. event RDNegativeScorePulse
  926. {
  927. Animate Score FgColor "255 75 75 255" Linear 0.0 0.0
  928. Animate Score FgColor "TanLight" Linear 0.1 0.2
  929.  
  930. Animate Score Position "3 5" Deaccel 0.0 0.05
  931. Animate Score Position "3 10" Accel 0.05 0.2
  932.  
  933. Animate ScoreShadow FgColor "0 0 0 200" Deaccel 0.0 0.05
  934. Animate ScoreShadow FgColor "0 0 0 255" Accel 0.1 0.2
  935. }
  936.  
  937. event QuestNotification_Present
  938. {
  939. Animate MainContainer Position "r0 94" Deaccel 0 0
  940. Animate MainContainer Position "r115 94" Deaccel 0.01 0.4
  941. }
  942.  
  943. event QuestNotification_Hide
  944. {
  945. Animate MainContainer Position "r115 94" Deaccel 0 0
  946. Animate MainContainer Position "r0 94" Deaccel 0.01 0.4
  947. }
  948.  
  949. event ItemCard_ShowPinHint
  950. {
  951. Animate PinLabel Position "0 -20" Deaccel 0 0
  952.  
  953. Animate PinLabel FgColor "TanLight" Linear 0.2 0
  954. Animate PinLabel Position "0 0" Deaccel 0.2 0.2
  955. }
  956.  
  957. event ItemCard_HidePinHint
  958. {
  959. Animate PinLabel Position "0 5" Deaccel 0 0.3
  960.  
  961. Animate PinLabel Position "0 -20" Accel 0.3 0.1
  962. }
  963.  
  964. event ItemCard_ShowCloseButton
  965. {
  966. Animate CloseButton Position "-8 -68" Deaccel 0 0.3
  967.  
  968. Animate CloseButton Position "-8 -68" Accel 0.3 0.1
  969. }
  970.  
  971. event ItemCard_HideCloseButton
  972. {
  973. Animate CloseButton Position "-30 -90" Deaccel 0 0.0
  974. }
  975.  
  976. event QuestItem_StaticPhoto_Reveal
  977. {
  978. Animate StaticPhoto Alpha "0" Accel 0 2
  979. }
  980.  
  981. event HideStamp
  982. {
  983. SetVisible ApplyStampButton 0 0
  984. }
  985.  
  986. event CollectionCrafting_Intro
  987. {
  988. // Reset
  989. SetVisible ApplyStampButton 0 0
  990. SetVisible Stamp 0 0
  991. Animate Stamp xpos c140 Accel 0 0
  992. Animate DrawingPanel xpos c0 Accel 0 0
  993. Animate DrawingPanel wide 0 Accel 0 0
  994. Animate LetterFront xpos c0 Accel 0 0
  995. Animate LetterFront wide 0 Accel 0 0
  996. Animate LetterBack_Top xpos c-250 Accel 0 0
  997. Animate LetterBack_Top ypos 400 Accel 0 0
  998. Animate LetterBack_Top wide 500 Accel 0 0
  999. Animate LetterBack_Bottom xpos c-250 Accel 0 0
  1000. Animate LetterBack_Bottom ypos 400 Accel 0 0
  1001. Animate LetterBack_Bottom wide 500 Accel 0 0
  1002. Animate LetterBack_Flap xpos c-250 Accel 0 0
  1003. Animate LetterBack_Flap ypos 400 Accel 0 0
  1004. Animate LetterBack_Flap wide 500 Accel 0 0
  1005. Animate LetterBack_Flap tall 0 Deaccel 0.6 0.4
  1006. Animate LetterBack_Top ypos 400 Accel 0 0
  1007. SetVisible ReturnModel 0 0
  1008. Animate SendEvelopeButton ypos 280 Accel 0 0
  1009. SetVisible SendEvelopeButton 0 0
  1010. SetVisible ResponseTimeout 0 0
  1011. SetVisible WaitingForResponse 0 0
  1012.  
  1013. SetVisible ShowExplanationsButton1 1 0
  1014. SetVisible ShowExplanationsButton2 0 0
  1015. Animate TradeUpContainer wide 800 Accel 0 0
  1016.  
  1017. // Slide paper down
  1018. Animate TradeUpContainer Position "0 60" Deaccel 0 0.3
  1019.  
  1020. // Slider BG up
  1021. Animate BG Position "0 34" Deaccel 0 0.3
  1022.  
  1023. // Fade dimmer down
  1024. Animate Dimmer Alpha "255" Linear 0 0.4
  1025. }
  1026.  
  1027. event CollectionCrafting_LetterStart
  1028. {
  1029. // Slide envelope up
  1030. FireCommand 0.0 "playsound ui/trade_up_envelope_slide_in.wav"
  1031. Animate LetterBack_Bottom ypos 60 Deaccel 0 0.3
  1032. Animate LetterBack_Flap ypos 60 Deaccel 0 0.3
  1033. Animate LetterBack_Top ypos 60 Deaccel 0 0.3
  1034. SetVisible ShowExplanationsButton1 0 0
  1035.  
  1036. // Close flap
  1037. FireCommand 0.3 "playsound ui/trade_up_envelope_fold.wav"
  1038. Animate LetterBack_Flap tall 250 Deaccel 0.4 0.2
  1039.  
  1040. // Start Flip
  1041. FireCommand 0.8 "playsound ui/trade_up_envelope_spin.wav"
  1042. Animate TradeUpContainer wide 0 Accel 0.8 0
  1043. Animate LetterBack_Bottom wide 0 Accel 0.8 0.2
  1044. Animate LetterBack_Bottom xpos c0 Accel 0.8 0.2
  1045. Animate LetterBack_Flap wide 0 Accel 0.8 0.2
  1046. Animate LetterBack_Flap xpos c0 Accel 0.8 0.2
  1047. Animate LetterBack_Top wide 0 Accel 0.8 0.2
  1048. Animate LetterBack_Top xpos c0 Accel 0.8 0.2
  1049.  
  1050. // End Flips
  1051. Animate LetterFront xpos c-250 Deaccel 1.0 0.2
  1052. Animate LetterFront wide 500 Deaccel 1.0 0.2
  1053. Animate DrawingPanel xpos c-250 Deaccel 1.0 0.2
  1054. Animate DrawingPanel wide 500 Deaccel 1.0 0.2
  1055. SetVisible ApplyStampButton 1 1.3
  1056. SetVisible ShowExplanationsButton2 1 1.3
  1057. }
  1058.  
  1059. event CollectionCrafting_PlaceStamp
  1060. {
  1061. SetVisible Stamp 1 0
  1062. SetVisible ApplyStampButton 0 0
  1063. FireCommand 0 "playsound ui/trade_up_apply_stamp.wav"
  1064. }
  1065.  
  1066. event CollectionCrafting_LetterSend
  1067. {
  1068. SetVisible ShowExplanationsButton2 0 0
  1069. SetVisible SendEvelopeButton 0 0
  1070. Animate Stamp xpos c70 Deaccel 0 0.3
  1071. Animate LetterFront xpos c-320 Deaccel 0 0.3
  1072. Animate DrawingPanel xpos c-320 Deaccel 0 0.3
  1073.  
  1074. RunEventChild BehindItemParticlePanel PlayEnvelopSendParticles 0.3
  1075. Animate Stamp xpos 1120 Accel 0.3 0.2
  1076. Animate LetterFront xpos 1000 Accel 0.3 0.2
  1077. Animate DrawingPanel xpos 1000 Accel 0.3 0.2
  1078. SetVisible CloseButton 0 0
  1079. FireCommand 0.2 "playsound ui/trade_up_envelope_slide_out.wav"
  1080. }
  1081.  
  1082. event PlayNewItemParticles
  1083. {
  1084. FireCommand 0 "start0"
  1085. }
  1086.  
  1087. event PlayCrateSmashParticles
  1088. {
  1089. FireCommand 0 "start1"
  1090. }
  1091.  
  1092. event PlayEnvelopSendParticles
  1093. {
  1094. FireCommand 0 "start2"
  1095. }
  1096.  
  1097. event ShowFoundLabels
  1098. {
  1099. Animate YouTradedForLabel alpha 0 Linear 0 0
  1100. Animate ItemName alpha 0 Linear 0 0
  1101.  
  1102. Animate YouTradedForLabel alpha 255 Linear 3 1
  1103. Animate ItemName alpha 255 Linear 3 1
  1104. }
  1105.  
  1106. event CollectionCrafting_ItemRecieved
  1107. {
  1108. RunEventChild NewItemPanel ShowFoundLabels 0
  1109. FireCommand 0 "playcratesequence1"
  1110. SetVisible NewItemPanel 0 0
  1111. SetVisible ReturnModel 1 0.05
  1112. RunEventChild BehindItemParticlePanel PlayCrateSmashParticles 0.2
  1113.  
  1114. FireCommand 0 "playsound ui/trade_up_crate_smash.wav"
  1115.  
  1116. SetVisible NewItemPanel 1 1.5
  1117. SetVisible CloseButton 1 1.5
  1118.  
  1119. FireCommand 2.1 "playcratesequence2"
  1120. RunEventChild BehindItemParticlePanel PlayNewItemParticles 1.5
  1121.  
  1122. FireCommand 1.0 "playsound ../player/taunt_medic_heroic.wav"
  1123. }
  1124.  
  1125. event CollectionCrafting_OKBlink_Repeatable
  1126. {
  1127. Animate OkButton FgColor Red Linear 0 0.1
  1128. Animate OkButton FgColor TanLight Linear 0.1 0.1
  1129. }
  1130.  
  1131. event CollectionCrafting_OKBlink
  1132. {
  1133. RunEvent CollectionCrafting_OKBlink_Repeatable 0
  1134. RunEvent CollectionCrafting_OKBlink_Repeatable 0.2
  1135. RunEvent CollectionCrafting_OKBlink_Repeatable 0.4
  1136. RunEvent CollectionCrafting_OKBlink_Repeatable 0.6
  1137. }
  1138.  
  1139.  
  1140. event CollectionCrafting_ShowSendButton
  1141. {
  1142. SetVisible SendEvelopeButton 1 0
  1143. Animate SendEvelopeButton ypos 320 Deaccel 0 0.5
  1144. }
  1145.  
  1146. event CollectionCrafting_ShowWaiting
  1147. {
  1148. SetVisible WaitingForResponse 1 0
  1149. }
  1150.  
  1151. event CollectionCrafting_HideWaiting
  1152. {
  1153. SetVisible WaitingForResponse 0 0
  1154. }
  1155.  
  1156. event CollectionCrafting_ShowFailure
  1157. {
  1158. SetVisible ResponseTimeout 1 0
  1159. SetVisible CloseButton 1 0
  1160. }
  1161.  
  1162. //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement