Guest User

HP/Ammo flashing for hud

a guest
Mar 17th, 2014
352
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. //yacrosshair
  4.  
  5. event DamagedPlayer
  6. {
  7. Animate Crosshair FgColor "CrosshairDamage" Linear 0.0 0.00001
  8. Animate Crosshair FgColor "Crosshair" Linear 0.10 0.10001
  9. }
  10.  
  11. //===========================================
  12.  
  13. //Fog's Crosshair
  14.  
  15. event DamagedPlayer
  16. {
  17. Animate fogCrosshair FgColor "CrosshairDamage" Linear 0.0 0.00001
  18. Animate fogCrosshair FgColor "Crosshair" Linear 0.10 0.10001
  19.  
  20. // Set the second line ("255 255 255 255") to whatever color you have changed
  21. // your crosshair to be. So if you crosshair is green, the second line should
  22. // also have that same value.
  23. // "255 255 255 255" = White
  24. // "255 255 0 255" = Yellow
  25. // "145 225 25 255" = Green
  26. //
  27. //You can also look into the clientscheme.res file in /resource/,
  28. //there you can find various colors that are already defined for the HUD
  29. //such as "Green", "Red", "Gray" and so on
  30. //
  31. //
  32. }
  33.  
  34. //===========================================
  35. //Health Bonus Pulse
  36. event HudHealthBonusPulse
  37. {
  38. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
  39. Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4
  40.  
  41. Animate PlayerStatusHealthValue FgColor "255 255 255 255" Linear 0.0 0.2
  42. Animate PlayerStatusHealthValue FgColor "255 255 255 255" Linear 0.2 0.4
  43.  
  44. Animate PlayerStatusHealthValue2 FgColor "255 255 255 255" Linear 0.0 0.2
  45. Animate PlayerStatusHealthValue2 FgColor "255 255 255 255" Linear 0.2 0.4
  46.  
  47.  
  48.  
  49. RunEvent HudHealthBonusPulseLoop 0.4
  50. }
  51.  
  52. // call to loop HudHealthBonusPulse
  53. event HudHealthBonusPulseLoop
  54. {
  55. RunEvent HudHealthBonusPulse 0.0
  56. }
  57.  
  58. event HudHealthBonusPulseStop
  59. {
  60. StopEvent HudHealthBonusPulse 0.0
  61. StopEvent HudHealthBonusPulseLoop 0.0
  62.  
  63. Animate PlayerStatusHealthValue FgColor "TanLight" Linear 0.0 0.0
  64.  
  65. Animate PlayerStatusHealthValue2 FgColor "TanLight" Linear 0.0 0.0
  66.  
  67.  
  68. }
  69.  
  70. //===========================================
  71.  
  72. //Health Dying Pulse
  73. event HudHealthDyingPulse
  74. {
  75. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.075
  76. Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.125 0.075
  77.  
  78. Animate PlayerStatusHealthValue FgColor "255 255 255 255" Linear 0.0 0.075
  79. Animate PlayerStatusHealthValue FgColor "255 255 255 255" Linear 0.125 0.075
  80.  
  81. Animate PlayerStatusHealthValue2 FgColor "255 255 255 255" Linear 0.0 0.075
  82. Animate PlayerStatusHealthValue2 FgColor "255 255 255 255" Linear 0.125 0.075
  83.  
  84.  
  85. RunEvent HudHealthDyingPulseLoop 0.25
  86. }
  87.  
  88. // call to loop HudHealthDyingPulse
  89. event HudHealthDyingPulseLoop
  90. {
  91. RunEvent HudHealthDyingPulse 0.0
  92. }
  93.  
  94. event HudHealthDyingPulseStop
  95. {
  96. StopEvent HudHealthDyingPulse 0.0
  97. StopEvent HudHealthDyingPulseLoop 0.0
  98.  
  99.  
  100. Animate PlayerStatusHealthValue FgColor "TanLight" Linear 0.0 0.0
  101.  
  102. Animate PlayerStatusHealthValue2 FgColor "TanLight" Linear 0.0 0.0
  103.  
  104.  
  105. }
  106. //===========================================
  107.  
  108. event HudLowAmmoPulse
  109. {
  110. Animate AmmoInClipShadow Fgcolor "Black" Linear 0.0 0.075
  111. Animate AmmoInClipShadow Fgcolor "255 0 0 255" Linear 0.125 0.075
  112.  
  113. Animate AmmoInReserveShadow Fgcolor "Black" Linear 0.0 0.075
  114. Animate AmmoInReserveShadow Fgcolor "255 0 0 255" Linear 0.125 0.075
  115.  
  116. Animate AmmoNoClipShadow Fgcolor "Black" Linear 0.0 0.075
  117. Animate AmmoNoClipShadow Fgcolor "255 0 0 255" Linear 0.125 0.075
  118.  
  119. RunEvent HudLowAmmoPulseLoop 0.25
  120. }
  121.  
  122. // call to loop HudLowAmmoPulse
  123. event HudLowAmmoPulseLoop
  124. {
  125. RunEvent HudLowAmmoPulse 0.0
  126. }
  127.  
  128. event HudLowAmmoPulseStop
  129. {
  130. Animate AmmoInClipShadow Fgcolor "Black" Linear 0.0 0.001
  131. Animate AmmoInReserveShadow Fgcolor "Black" Linear 0.0 0.001
  132. Animate AmmoNoClipShadow Fgcolor "Black" Linear 0.0 0.001
  133. StopEvent HudLowAmmoPulse 0.0
  134. StopEvent HudLowAmmoPulseLoop 0.0
  135. }
  136.  
  137. //===========================================
  138.  
  139. //====================================
  140.  
  141. // Flash the medic charge hud when we have full charge
  142.  
  143. event HudMedicCharged
  144. {
  145. Animate MedicBG BgColor "Blank" linear 0.0 0.0
  146. Animate ChargeMeter FgColor "UberMeter" linear 0.0 0.0
  147. Animate ChargeLabel FgColor "Uber" linear 0.0 0.0
  148.  
  149. RunEvent HudMedicChargedLoop 0.6
  150. }
  151.  
  152. // call to loop HudHealthBonusPulse
  153. event HudMedicChargedLoop
  154. {
  155. RunEvent HudMedicCharged 0.0
  156. RunEvent ChargeLabel 0.0
  157. RunEvent ChargeMeter 0.0
  158. }
  159.  
  160. event HudMedicChargedStop
  161. {
  162. StopEvent HudMedicCharged 0.0
  163. StopEvent HudMedicChargedLoop 0.0
  164. StopEvent ChargeLabel 0.0
  165. StopEvent ChargeMeter 0.0
  166.  
  167. Animate MedicBG BgColor "Blank" linear 0.0 0.0
  168. Animate ChargeLabel FgColor "White" linear 0.0 0.0001
  169. Animate ChargeMeter FgColor "White" linear 0.0 0.0001
  170. }
  171.  
  172. //====================================
  173.  
  174. //
  175. //
  176. //
  177. // commands:
  178. // Animate <panel name> <variable> <target value> <interpolator> <start time> <duration>
  179. // variables:
  180. // FgColor
  181. // BgColor
  182. // Position
  183. // Size
  184. // Blur (hud panels only)
  185. // TextColor (hud panels only)
  186. // Ammo2Color (hud panels only)
  187. // Alpha (hud weapon selection only)
  188. // SelectionAlpha (hud weapon selection only)
  189. // TextScan (hud weapon selection only)
  190. //
  191. // interpolator:
  192. // Linear
  193. // Accel - starts moving slow, ends fast
  194. // Deaccel - starts moving fast, ends slow
  195. // Spline - simple ease in/out curve
  196. // Pulse - < freq > over the duration, the value is pulsed (cosine) freq times ending at the dest value (assuming freq is integral)
  197. // 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
  198. //
  199. // RunEvent <event name> <start time>
  200. // starts another even running at the specified time
  201. //
  202. // StopEvent <event name> <start time>
  203. // stops another event that is current running at the specified time
  204. //
  205. // StopAnimation <panel name> <variable> <start time>
  206. // stops all animations refering to the specified variable in the specified panel
  207. //
  208. // StopPanelAnimations <panel name> <start time>
  209. // stops all active animations operating on the specified panel
  210. //
  211. // SetFont <panel name> <fontparameter> <fontname from scheme> <set time>
  212. //
  213. // SetTexture <panel name> <textureidname> <texturefilename> <set time>
  214. //
  215. // SetString <panel name> <string varname> <stringvalue> <set time>
  216.  
  217.  
  218.  
  219.  
  220.  
  221. event LevelInit
  222. {
  223. }
  224.  
  225. event OpenWeaponSelectionMenu
  226. {
  227. StopEvent CloseWeaponSelectionMenu 0.0
  228. StopEvent WeaponPickup 0.0
  229.  
  230. // make the display visible
  231. Animate HudWeaponSelection Alpha "128" Linear 0.0 0.1
  232. Animate HudWeaponSelection SelectionAlpha "255" Linear 0.0 0.1
  233. Animate HudWeaponSelection FgColor "FgColor" Linear 0.0 0.1
  234. //Animate HudWeaponSelection TextColor "BrightFg" Linear 0.0 0.1
  235. Animate HudWeaponSelection TextScan "1" Linear 0.0 0.1
  236. }
  237.  
  238. event CloseWeaponSelectionMenu
  239. {
  240. StopEvent CloseWeaponSelectionMenu 0.0
  241. StopEvent WeaponPickup 0.0
  242.  
  243. // make the display visible
  244. Animate HudWeaponSelection Alpha "128" Linear 0.0 0.1
  245. Animate HudWeaponSelection SelectionAlpha "255" Linear 0.0 0.1
  246. Animate HudWeaponSelection FgColor "FgColor" Linear 0.0 0.1
  247. //Animate HudWeaponSelection TextColor "BrightFg" Linear 0.0 0.1
  248. Animate HudWeaponSelection TextScan "1" Linear 0.0 0.1
  249. }
  250.  
  251.  
  252. event MenuOpen
  253. {
  254. StopEvent MenuClose 0.0
  255.  
  256. // fade in
  257. Animate HudMenu Alpha "255" Linear 0.0 0.1
  258. Animate HudMenu SelectionAlpha "255" Linear 0.0 0.1
  259. Animate HudMenu FgColor "FgColor" Linear 0.0 0.1
  260. Animate HudMenu MenuColor "MenuColor" Linear 0.0 0.1
  261. Animate HudMenu ItemColor "ItemColor" Linear 0.0 0.1
  262. Animate HudMenu TextScan "1" Linear 0.0 0.1
  263.  
  264. // Undo any blur
  265. Animate HudMenu Blur "1" Linear 0.0 0.01
  266. }
  267.  
  268. event MenuClose
  269. {
  270. // Hide it
  271. Animate HudMenu Alpha "0" Linear 0.0 1
  272. Animate HudMenu SelectionAlpha "0" Linear 0.0 1
  273. Animate HudMenu FgColor "0 0 0 0" Linear 0.0 1
  274. Animate HudMenu MenuColor "0 0 0 0" Linear 0.0 1
  275. Animate HudMenu ItemColor "0 0 0 0" Linear 0.0 1
  276. }
  277.  
  278. event MenuPulse
  279. {
  280. Animate HudMenu Blur "7" Linear 0.0 0.1
  281. Animate HudMenu Blur "2" Deaccel 0.1 0.1
  282. Animate HudMenu Blur "7" Linear 0.2 0.1
  283. Animate HudMenu Blur "2" Deaccel 0.3 0.1
  284. Animate HudMenu Blur "7" Linear 0.4 0.1
  285. Animate HudMenu Blur "2" Deaccel 0.5 0.1
  286. Animate HudMenu Blur "1" Deaccel 0.6 0.4
  287. }
  288.  
  289. event TimerIncrement
  290. {
  291. Animate HudTimer Blur "7" Linear 0.0 0.1
  292. Animate HudTimer Blur "2" Deaccel 0.1 0.8
  293. Animate HudTimer Blur "0" Deaccel 1.1 1.5
  294. }
  295.  
  296. event TimerDecrement
  297. {
  298. Animate HudTimer Blur "7" Linear 0.0 0.1
  299. Animate HudTimer Blur "2" Deaccel 0.1 0.8
  300. Animate HudTimer Blur "0" Deaccel 1.1 1.5
  301. }
  302.  
  303.  
  304. event ResourceIncrement
  305. {
  306. Animate HudResources Blur "3" Linear 0.0 0.0
  307. Animate HudResources PulseAmount "0" Linear 0.0 0.01
  308. Animate HudResources Blur "1" Deaccel 0.1 1.5
  309. Animate HudResources PulseAmount "1" Linear 0.1 2
  310.  
  311. Animate HudResources PulseAmount "0" Linear 2 2
  312. }
  313.  
  314. event ResourceDecrement
  315. {
  316. Animate HudResources Blur "7" Linear 0.0 0.0
  317. Animate HudResources PulseAmount "0" Linear 0.0 0.01
  318. Animate HudResources Blur "1" Deaccel 0.1 1.5
  319. Animate HudResources PulseAmount "1" Linear 0.1 2
  320.  
  321. Animate HudResources PulseAmount "0" Linear 2 2
  322. }
  323.  
  324. event ResourcePickup
  325. {
  326. Animate HudResourcesPickup Alpha "255" Linear 0 0
  327. Animate HudResourcesPickup Position "80 r40" Linear 0 0
  328. Animate HudResourcesPickup Position "80 r120" Deaccel 0 1
  329. Animate HudResourcesPickup Blur "7" Deaccel 0 0.2
  330. Animate HudResourcesPickup Alpha "0" Deaccel .8 0.2
  331. Animate HudResourcesPickup Blur "1" Deaccel 0.2 0.3
  332. }
  333.  
  334. event HintMessageShow
  335. {
  336. Animate HudHintDisplay HintSize "1" Deaccel 0.0 0.3
  337. Animate HudHintDisplay FgColor "FgColor" Linear 0.4 0.4
  338.  
  339. // flash text
  340. Animate HudHintDisplay FgColor "FgColor" Linear 1.5 0.01
  341. Animate HudHintDisplay FgColor "255 220 0 255" Linear 2.0 0.2
  342. Animate HudHintDisplay FgColor "FgColor" Linear 2.2 0.2
  343. Animate HudHintDisplay FgColor "255 220 0 255" Linear 3.0 0.2
  344. Animate HudHintDisplay FgColor "FgColor" Linear 3.2 0.2
  345.  
  346. // hide the panel after a while
  347. Animate HudHintDisplay FgColor "255 220 0 0" Linear 10.0 0.2
  348. Animate HudHintDisplay HintSize "0" Deaccel 10.2 0.3
  349. }
  350.  
  351.  
  352. event HintMessageHide
  353. {
  354. Animate HudHintDisplay FgColor "255 220 0 0" Linear 0.0 0.2
  355. Animate HudHintDisplay HintSize "0" Deaccel 0.2 0.3
  356. }
  357.  
  358. event KeyHintMessageShow
  359. {
  360. // show the hints
  361. Animate HudHintKeyDisplay Alpha 255 Linear 0.0 0.5
  362.  
  363. // flash text
  364. Animate HudHintKeyDisplay FgColor "FgColor" Linear 0.0 0.01
  365. Animate HudHintKeyDisplay FgColor "255 220 0 255" Linear 0.5 0.2
  366. Animate HudHintKeyDisplay FgColor "FgColor" Linear 0.7 0.2
  367. Animate HudHintKeyDisplay FgColor "255 220 0 255" Linear 1.5 0.2
  368. Animate HudHintKeyDisplay FgColor "FgColor" Linear 1.7 0.2
  369.  
  370. // hide the panel after a while
  371. Animate HudHintKeyDisplay Alpha 0 Linear 12.0 1.0
  372. }
  373.  
  374. event KeyHintMessageHide
  375. {
  376. Animate HudHintKeyDisplay Alpha 0 Linear 0.0 0.5
  377. }
  378.  
  379.  
  380.  
  381. event ControlPointIconShrink
  382. {
  383. Animate HudControlPointIcons icon_expand "0" Linear 0.0 0.2
  384. }
  385.  
  386. event ControlPointIconGrow
  387. {
  388. Animate HudControlPointIcons icon_expand "4" Linear 0.0 0.2
  389. }
  390.  
  391. // Metal Account
  392.  
  393. //activecolor - instantly turn red, fade back to yellow
  394. event AccountMoneyRemoved
  395. {
  396. Animate HudAccount FgColor "HudIcon_Red" Linear 0.0 0.0001
  397. Animate HudAccount FgColor "OrangeDim" Accel 0.0 3.0
  398.  
  399. Animate HudAccount Ammo2Color "HudIcon_Red" Linear 0.0 0.0001
  400. Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 3.0
  401. }
  402.  
  403. //activecolor - instantly turn green, fade back to yellow
  404. event AccountMoneyAdded
  405. {
  406. Animate HudAccount FgColor "HudIcon_Green" Linear 0.0 0.0001
  407. Animate HudAccount FgColor "OrangeDim" Accel 0.0 3.0
  408.  
  409. Animate HudAccount Ammo2Color "HudIcon_Green" Accel 0.0 0.0001
  410. Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 3.0
  411. }
  412.  
  413. event AccountMoneyInvisible
  414. {
  415. Animate HudAccount FgColor "OrangeDim" Accel 0.0 0.0001
  416. Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 0.0001
  417. }
  418.  
  419. //===========================================
  420.  
  421. event FlagOutlineHide
  422. {
  423. Animate OutlineImage Alpha "0" Linear 0.0 0.1
  424. }
  425.  
  426. // Local player flag pickup/drop
  427. event FlagOutline
  428. {
  429. RunEvent FlagOutlineHide 0.0
  430. Animate OutlineImage Alpha "150" Linear 0.1 0.2
  431.  
  432. Animate OutlineImage Position "c-80 300" Linear 0.1 0.2
  433. Animate OutlineImage Size "160 100" Linear 0.1 0.2
  434.  
  435. Animate OutlineImage Position "c-40 388" Linear 0.7 0.2
  436. Animate OutlineImage Size "80 50" Linear 0.7 0.2
  437.  
  438. Animate OutlineImage Alpha "0" Linear 0.9 0.1
  439. }
  440.  
  441. //===========================================
  442.  
  443. // Spy Disguise
  444. event HudSpyDisguiseChanged
  445. {
  446. Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2
  447.  
  448. Animate PlayerStatusSpyOutlineImage Position "c-200 c-200" Linear 0.0 0.2
  449. Animate PlayerStatusSpyOutlineImage Size "400 400" Linear 0.0 0.2
  450.  
  451. RunEvent HudSpyDisguiseHide 0.7
  452. }
  453.  
  454. event HudSpyDisguiseHide
  455. {
  456. Animate PlayerStatusSpyOutlineImage Position "3 413" Linear 0.0 0.2
  457. Animate PlayerStatusSpyOutlineImage Size "55 55" Linear 0.0 0.2
  458.  
  459. Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.2 0.1
  460. }
  461.  
  462. event HudSpyDisguiseFadeIn
  463. {
  464. Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
  465. Animate PlayerStatusClassImage Alpha "255" Linear 0.0 0.0
  466. }
  467.  
  468. event HudSpyDisguiseFadeOut
  469. {
  470. Animate PlayerStatusSpyImage Alpha "0" Linear 0.9 0.1
  471. Animate PlayerStatusClassImage Alpha "0" Linear 0.0 0.0
  472. }
  473.  
  474. //===========================================
  475.  
  476. // Show the Overtime panel
  477. event OvertimeShow
  478. {
  479. Animate OvertimeLabel Alpha "255" Linear 0.0 0.1
  480. Animate OvertimeBG Alpha "255" Linear 0.0 0.1
  481. }
  482.  
  483.  
  484. event HudSnapShotReminderIn
  485. {
  486. Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001
  487. Animate ScreenshotPanel Position "c-83 13" Spline 0.001 0.2
  488. }
  489.  
  490. event HudReplayReminderIn // Places the replay reminder in the same place as the snapshot reminder
  491. {
  492. Animate ReplayReminder Position "c-83 -50" Linear 0.0 0.001
  493. Animate ReplayReminder Position "c-83 13" Spline 0.001 0.2
  494. }
  495.  
  496. event HudReplayReminderIn2 // Puts the panel below the snapshot panel
  497. {
  498. Animate ReplayReminder Position "c-83 -50" Linear 0.0 0.001
  499. Animate ReplayReminder Position "c-83 53" Spline 0.001 0.2
  500. }
  501.  
  502. event HudReplayTipIn
  503. {
  504. Animate ReplayTip Position "10 -100" Linear 0.0 0.001
  505. Animate ReplayTip Position "10 6" Spline 0.001 0.1
  506. }
  507.  
  508. event HudReplayTipOut
  509. {
  510. Animate ReplayTip Position "10 6" Linear 0.0 0.001
  511. Animate ReplayTip Position "10 -100" Spline 0.001 0.1
  512. }
  513.  
  514. event HudTournamentSetupPanelOpen
  515. {
  516. Animate HudTournamentSetup Position "c-90 -70" Linear 0.0 0.001
  517. Animate HudTournamentSetup Position "c-90 47" Spline 0.001 0.2
  518. }
  519.  
  520. event HudTournamentSetupPanelClose
  521. {
  522. Animate HudTournamentSetup Position "c-90 47" Linear 0.0 0.001
  523. Animate HudTournamentSetup Position "c-90 -70" Spline 0.001 0.2
  524. }
  525.  
  526. event VideoCaptionFadeIn
  527. {
  528. Animate VideoCaption Alpha "255" Linear 0.0 0.1
  529. }
  530.  
  531. event VideoCaptionFadeOut
  532. {
  533. Animate VideoCaption Alpha "0" Linear 0.0 0.1
  534. }
  535.  
  536. //====================================
  537.  
  538. // arena
  539.  
  540. event ArenaVsPanelOnShow
  541. {
  542. Animate bluepanel Position "-200 50" Linear 0.0 0.001
  543. Animate redpanel Position "r-200 140" Linear 0.0 0.001
  544. Animate vslabel Alpha "0" Linear 0.0 0.001
  545.  
  546. RunEvent ArenaVsPanelSlideIn 1.0
  547. RunEvent ArenaVsPanelSlideOut 4.8
  548. }
  549.  
  550. event ArenaVsPanelSlideIn
  551. {
  552. Animate bluepanel Position "c-100 50" Spline 0.0 0.2
  553. Animate redpanel Position "c-100 140" Spline 0.0 0.2
  554. Animate vslabel Alpha "255" Linear 0.15 0.2
  555. }
  556.  
  557. event ArenaVsPanelSlideOut
  558. {
  559. Animate bluepanel Position "-200 50" Spline 0.0 0.2
  560. Animate redpanel Position "r-200 140" Spline 0.0 0.2
  561. Animate vslabel Alpha "0" Linear 0.0 0.05
  562. }
  563.  
  564. //===========================================
  565.  
  566. //Cart Alarm Pulse
  567. event HudCartAlarmPulse
  568. {
  569. Animate EscortItemImageAlert Alpha "160" Linear 0.0 0.3
  570. Animate EscortItemImageAlert Alpha "0" Linear 0.6 0.3
  571.  
  572. RunEvent HudCartAlarmPulseLoop 1.2
  573. }
  574.  
  575. event HudCartAlarmPulseLoop
  576. {
  577. RunEvent HudCartAlarmPulse 0.0
  578. }
  579.  
  580. event HudCartAlarmPulseStop
  581. {
  582. StopEvent HudCartAlarmPulse 0.0
  583. StopEvent HudCartAlarmPulseLoop 0.0
  584. }
  585.  
  586. //===========================================
  587.  
  588. // Active Timer BG Pulse
  589. event ActiveTimerBGPulse
  590. {
  591. Animate ActiveTimerBG Alpha "0" Linear 0.1 0.1
  592. Animate ActiveTimerBG Alpha "255" Linear 0.3 0.1
  593.  
  594. Animate ActiveTimerBG Alpha "0" Linear 0.5 0.1
  595. Animate ActiveTimerBG Alpha "255" Linear 0.7 0.1
  596.  
  597. Animate ActiveTimerBG Alpha "0" Linear 0.9 0.1
  598. Animate ActiveTimerBG Alpha "255" Linear 1.1 0.1
  599. }
  600.  
  601. //===========================================
  602.  
  603. event TeamsFullArrowAnimate
  604. {
  605. Animate TeamsFullArrow Position "c-118 165" Linear 0 0
  606. Animate TeamsFullArrow Position "c-118 180" Linear 0 0.4
  607. Animate TeamsFullArrow Position "c-118 165" Linear 0.4 0.4
  608.  
  609. RunEvent TeamsFullArrowAnimateLoop 0.8
  610. }
  611.  
  612. event TeamsFullArrowAnimateLoop
  613. {
  614. RunEvent TeamsFullArrowAnimate 0.0
  615. }
  616.  
  617. event TeamsFullArrowAnimateEnd
  618. {
  619. StopEvent TeamsFullArrowAnimate 0.0
  620. StopEvent TeamsFullArrowAnimateLoop 0.0
  621. }
  622.  
  623. //===========================================
  624.  
  625. event TrainingHudBounce
  626. {
  627. Animate ObjectiveStatusTraining Position "c-160 r187" Linear 0 0
  628. Animate ObjectiveStatusTraining Position "c-160 r127" Bounce 0.0 2.0
  629. }
  630.  
  631. event TrainingPressSpacebarBlink
  632. {
  633. Animate PressSpacebarToContinue Alpha "255" Linear 0.0 0.1
  634. Animate PressSpacebarToContinue Alpha "0" Linear 0.2 0.1
  635.  
  636. Animate PressSpacebarToContinue Alpha "255" Linear 0.4 0.1
  637. Animate PressSpacebarToContinue Alpha "0" Linear 0.6 0.1
  638.  
  639. Animate PressSpacebarToContinue Alpha "255" Linear 0.8 0.1
  640. Animate PressSpacebarToContinue Alpha "0" Linear 1.0 0.1
  641.  
  642. Animate PressSpacebarToContinue Alpha "255" Linear 1.2 0.1
  643.  
  644. RunEvent TrainingPressSpacebarBlinkLoop 3.0
  645. }
  646.  
  647. event TrainingPressSpacebarBlinkLoop
  648. {
  649. RunEvent TrainingPressSpacebarBlink 0.0
  650. }
  651.  
  652. event TrainingPressSpacebarBlinkStop
  653. {
  654. StopEvent TrainingPressSpacebarBlink 0.0
  655. StopEvent TrainingPressSpacebarBlinkLoop 0.0
  656. }
  657.  
  658. //===========================================
  659.  
  660. event IntroMovieContinueBlink
  661. {
  662. Animate continue Alpha "255" Linear 0.0 0.1
  663. Animate continue Alpha "0" Linear 0.2 0.1
  664.  
  665. Animate continue Alpha "255" Linear 0.4 0.1
  666. Animate continue Alpha "0" Linear 0.6 0.1
  667.  
  668. Animate continue Alpha "255" Linear 0.8 0.1
  669. Animate continue Alpha "0" Linear 1.0 0.1
  670.  
  671. Animate continue Alpha "255" Linear 1.2 0.1
  672.  
  673. RunEvent IntroMovieContinueBlinkLoop 2.0
  674. }
  675.  
  676. event IntroMovieContinueBlinkLoop
  677. {
  678. RunEvent IntroMovieContinueBlink 0.0
  679. }
  680.  
  681. event IntroMovieContinueBlinkStop
  682. {
  683. StopEvent IntroMovieContinueBlink 0.0
  684. StopEvent IntroMovieContinueBlinkLoop 0.0
  685. }
  686.  
  687. //===========================================
  688.  
  689. event HasMOTDBlink
  690. {
  691. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  692. Animate MOTD_ShowButtonPanel_SB Alpha "0" Linear 0.2 0.1
  693.  
  694. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.4 0.1
  695. Animate MOTD_ShowButtonPanel_SB Alpha "0" Linear 0.6 0.1
  696.  
  697. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.8 0.1
  698. Animate MOTD_ShowButtonPanel_SB Alpha "0" Linear 1.0 0.1
  699.  
  700. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 1.2 0.1
  701.  
  702. RunEvent HasMOTDBlinkLoop 2.0
  703. }
  704.  
  705. event HasMOTDBlinkLoop
  706. {
  707. RunEvent HasMOTDBlink 0.0
  708. }
  709.  
  710. event HasMOTDBlinkStop
  711. {
  712. StopEvent HasMOTDBlink 0.0
  713. StopEvent HasMOTDBlinkLoop 0.0
  714. Animate MOTD_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  715. }
  716.  
  717. //===========================================
  718.  
  719. event HasNotificationsBlink
  720. {
  721. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  722. Animate Notifications_ShowButtonPanel_SB Alpha "0" Linear 0.2 0.1
  723.  
  724. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.4 0.1
  725. Animate Notifications_ShowButtonPanel_SB Alpha "0" Linear 0.6 0.1
  726.  
  727. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.8 0.1
  728. Animate Notifications_ShowButtonPanel_SB Alpha "0" Linear 1.0 0.1
  729.  
  730. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 1.2 0.1
  731.  
  732. RunEvent HasNotificationsBlinkLoop 2.0
  733. }
  734.  
  735. event HasNotificationsBlinkLoop
  736. {
  737. RunEvent HasNotificationsBlink 0.0
  738. }
  739.  
  740. event HasNotificationsBlinkStop
  741. {
  742. StopEvent HasNotificationsBlink 0.0
  743. StopEvent HasNotificationsBlinkLoop 0.0
  744. Animate Notifications_ShowButtonPanel_SB Alpha "255" Linear 0.0 0.1
  745. }
  746.  
  747. //===========================================
  748.  
  749. event AddToCartBlink
  750. {
  751. Animate CartButton BgColor "TanDark" Linear 0.0 0.01
  752. Animate CartButton BgColor "255 150 0 255" Linear 0.1 0.01
  753.  
  754. Animate CartButton BgColor "TanDark" Linear 0.2 0.01
  755. Animate CartButton BgColor "255 150 0 255" Linear 0.3 0.01
  756.  
  757. Animate CartButton BgColor "TanDark" Linear 0.4 0.01
  758. Animate CartButton BgColor "255 150 0 255" Linear 0.5 0.01
  759.  
  760. Animate CartButton BgColor "TanDark" Linear 0.6 0.01
  761. Animate CartButton BgColor "255 150 0 255" Linear 0.7 0.01
  762.  
  763. Animate CartButton BgColor "TanDark" Linear 0.8 0.01
  764. Animate CartButton BgColor "255 150 0 255" Linear 0.9 0.01
  765.  
  766. Animate CartButton BgColor "TanDark" Linear 1.0 0.01
  767. }
  768.  
  769. //===========================================
  770.  
  771. event NotificationsPresentBlink
  772. {
  773. Animate NotificationsPresentPanel Alpha "255" Linear 0.0 0.1
  774. Animate NotificationsPresentPanel Alpha "0" Linear 0.2 0.1
  775.  
  776. Animate NotificationsPresentPanel Alpha "255" Linear 0.4 0.1
  777. Animate NotificationsPresentPanel Alpha "0" Linear 0.6 0.1
  778.  
  779. Animate NotificationsPresentPanel Alpha "255" Linear 0.8 0.1
  780. Animate NotificationsPresentPanel Alpha "0" Linear 1.0 0.1
  781.  
  782. Animate NotificationsPresentPanel Alpha "255" Linear 1.2 0.1
  783.  
  784. RunEvent NotificationsPresentBlinkLoop 2.0
  785. }
  786.  
  787. event NotificationsPresentBlinkLoop
  788. {
  789. RunEvent NotificationsPresentBlink 0.0
  790. }
  791.  
  792. event NotificationsPresentBlinkStop
  793. {
  794. StopEvent NotificationsPresentBlink 0.0
  795. StopEvent NotificationsPresentBlinkLoop 0.0
  796. Animate NotificationsPresentPanel Alpha "255" Linear 0.0 0.1
  797. }
  798.  
  799. //===========================================
  800.  
  801. event DamagedPlayer
  802. {
  803. // empty
  804. }
  805.  
  806. //===========================================
  807.  
  808. event SpyWarningFlash
  809. {
  810. Animate EnemyCountImageBG BgColor "RedSolid" Linear 0.0 0.01
  811. Animate EnemyCountImageBG BgColor "TanLight" Linear 0.21 0.01
  812.  
  813. RunEvent SpyWarningFlashLoop 0.42
  814. }
  815.  
  816. event SpyWarningFlashLoop
  817. {
  818. RunEvent SpyWarningFlash 0.0
  819. }
  820.  
  821. event SpyWarningFlashEnd
  822. {
  823. StopEvent SpyWarningFlash 0.0
  824. StopEvent SpyWarningFlashLoop 0.0
  825. }
  826.  
  827. event HudReadyPulse
  828. {
  829. Animate TournamentInstructionsLabel FgColor "TanLight" Linear 0.0 0.1
  830. Animate TournamentInstructionsLabel FgColor "RedSolid" Linear 0.3 0.4
  831.  
  832. RunEvent HudReadyPulseLoop 0.5
  833. }
  834.  
  835. event HudReadyPulseLoop
  836. {
  837. RunEvent HudReadyPulse 0.0
  838. }
  839.  
  840. event HudReadyPulseEnd
  841. {
  842. Animate TournamentInstructionsLabel FgColor "TanLight" Linear 0.0 0.1
  843.  
  844. StopEvent HudReadyPulse 0.0
  845. StopEvent HudReadyPulseLoop 0.0
  846. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×