Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.44 KB | None | 0 0
  1. ////////////////////////////////////////////
  2. //-------UBER TRACKING HUD DISPLAY--------//
  3. ////////////////////////////////////////////
  4.  
  5. event FillUber
  6. {
  7. RunEvent ClearUber 0.0
  8. Animate UberLabel alpha "255" Linear 0.1 0.001
  9. RunEvent UberDigitLoop 0.1
  10. Animate Uber10 alpha "255" Linear 4.1 0.001
  11. Animate Uber10 alpha "0" Linear 8.1 0.001
  12. Animate Uber20 alpha "255" Linear 8.1 0.001
  13. Animate Uber20 alpha "0" Linear 12.1 0.001
  14. Animate Uber30 alpha "255" Linear 12.1 0.001
  15. Animate Uber30 alpha "0" Linear 16.1 0.001
  16. Animate Uber40 alpha "255" Linear 16.1 0.001
  17. Animate Uber40 alpha "0" Linear 20.1 0.001
  18. Animate Uber50 alpha "255" Linear 20.1 0.001
  19. Animate Uber50 alpha "0" Linear 24.1 0.001
  20. Animate Uber60 alpha "255" Linear 24.1 0.001
  21. Animate Uber60 alpha "0" Linear 28.1 0.001
  22. Animate Uber70 alpha "255" Linear 28.1 0.001
  23. Animate Uber70 alpha "0" Linear 32.1 0.001
  24. Animate Uber80 alpha "255" Linear 32.1 0.001
  25. Animate Uber80 alpha "0" Linear 36.1 0.001
  26. Animate Uber90 alpha "255" Linear 36.1 0.001
  27. Animate Uber90 alpha "0" Linear 40.1 0.001
  28. Animate Uber100 alpha "255" Linear 40.1 0.001
  29. RunEvent ClearUber 41.1
  30. }
  31.  
  32. event FillKritz
  33. {
  34. RunEvent ClearKritz 0.0
  35. Animate KritzLabel alpha "255" Linear 0.1 0.001
  36. RunEvent KritzDigitLoop 0.1
  37. Animate Kritz10 alpha "255" Linear 3.1 0.001
  38. Animate Kritz10 alpha "0" Linear 6.1 0.001
  39. Animate Kritz20 alpha "255" Linear 6.1 0.001
  40. Animate Kritz20 alpha "0" Linear 9.1 0.001
  41. Animate Kritz30 alpha "255" Linear 9.1 0.001
  42. Animate Kritz30 alpha "0" Linear 12.1 0.001
  43. Animate Kritz40 alpha "255" Linear 12.1 0.001
  44. Animate Kritz40 alpha "0" Linear 15.1 0.001
  45. Animate Kritz50 alpha "255" Linear 15.1 0.001
  46. Animate Kritz50 alpha "0" Linear 18.1 0.001
  47. Animate Kritz60 alpha "255" Linear 18.1 0.001
  48. Animate Kritz60 alpha "0" Linear 21.1 0.001
  49. Animate Kritz70 alpha "255" Linear 21.1 0.001
  50. Animate Kritz70 alpha "0" Linear 24.1 0.001
  51. Animate Kritz80 alpha "255" Linear 24.1 0.001
  52. Animate Kritz80 alpha "0" Linear 27.1 0.001
  53. Animate Kritz90 alpha "255" Linear 27.1 0.001
  54. Animate Kritz90 alpha "0" Linear 30.1 0.001
  55. Animate Kritz100 alpha "255" Linear 30.1 0.001
  56. RunEvent ClearKritz 41.1
  57. }
  58.  
  59. event UberDigitLoop
  60. {
  61. RunEvent UberDigit 0.0
  62. Animate Uber9 alpha "0" Linear 4.0 0.001
  63. RunEvent uberDigit 4.0
  64. Animate Uber9 alpha "0" Linear 8.0 0.001
  65. RunEvent uberDigit 8.0
  66. Animate Uber9 alpha "0" Linear 12.0 0.001
  67. RunEvent uberDigit 12.0
  68. Animate Uber9 alpha "0" Linear 16.0 0.001
  69. RunEvent uberDigit 16.0
  70. Animate Uber9 alpha "0" Linear 20.0 0.001
  71. RunEvent uberDigit 20.0
  72. Animate Uber9 alpha "0" Linear 24.0 0.001
  73. RunEvent uberDigit 24.0
  74. Animate Uber9 alpha "0" Linear 28.0 0.001
  75. RunEvent uberDigit 28.0
  76. Animate Uber9 alpha "0" Linear 32.0 0.001
  77. RunEvent uberDigit 32.0
  78. Animate Uber9 alpha "0" Linear 36.0 0.001
  79. RunEvent uberDigit 36.0
  80. Animate Uber9 alpha "0" Linear 40.0 0.001
  81. }
  82.  
  83. event KritzDigitLoop
  84. {
  85. RunEvent KritzDigit 0.0
  86. Animate Kritz9 alpha "0" Linear 3.0 0.001
  87. RunEvent KritzDigit 3.0
  88. Animate Kritz9 alpha "0" Linear 6.0 0.001
  89. RunEvent KritzDigit 6.0
  90. Animate Kritz9 alpha "0" Linear 9.0 0.001
  91. RunEvent KritzDigit 9.0
  92. Animate Kritz9 alpha "0" Linear 12.0 0.001
  93. RunEvent KritzDigit 12.0
  94. Animate Kritz9 alpha "0" Linear 15.0 0.001
  95. RunEvent KritzDigit 15.0
  96. Animate Kritz9 alpha "0" Linear 18.0 0.001
  97. RunEvent KritzDigit 18.0
  98. Animate Kritz9 alpha "0" Linear 21.0 0.001
  99. RunEvent KritzDigit 21.0
  100. Animate Kritz9 alpha "0" Linear 24.0 0.001
  101. RunEvent KritzDigit 24.0
  102. Animate Kritz9 alpha "0" Linear 27.0 0.001
  103. RunEvent KritzDigit 27.0
  104. Animate Kritz9 alpha "0" Linear 30.0 0.001
  105. }
  106.  
  107. event UberDigit
  108. {
  109. Animate Uber0 alpha "255" Linear 0.0 0.001
  110. Animate Uber0 alpha "0" Linear 0.4 0.001
  111. Animate Uber1 alpha "255" Linear 0.4 0.001
  112. Animate Uber1 alpha "0" Linear 0.8 0.001
  113. Animate Uber2 alpha "255" Linear 0.8 0.001
  114. Animate Uber2 alpha "0" Linear 1.2 0.001
  115. Animate Uber3 alpha "255" Linear 1.2 0.001
  116. Animate Uber3 alpha "0" Linear 1.6 0.001
  117. Animate Uber4 alpha "255" Linear 1.6 0.001
  118. Animate Uber4 alpha "0" Linear 2.0 0.001
  119. Animate Uber5 alpha "255" Linear 2.0 0.001
  120. Animate Uber5 alpha "0" Linear 2.4 0.001
  121. Animate Uber6 alpha "255" Linear 2.4 0.001
  122. Animate Uber6 alpha "0" Linear 2.8 0.001
  123. Animate Uber7 alpha "255" Linear 2.8 0.001
  124. Animate Uber7 alpha "0" Linear 3.2 0.001
  125. Animate Uber8 alpha "255" Linear 3.2 0.001
  126. Animate Uber8 alpha "0" Linear 3.6 0.001
  127. Animate Uber9 alpha "255" Linear 3.6 0.001
  128. }
  129.  
  130. event KritzDigit
  131. {
  132. Animate Kritz0 alpha "255" Linear 0.0 0.001
  133. Animate Kritz0 alpha "0" Linear 0.3 0.001
  134. Animate Kritz1 alpha "255" Linear 0.3 0.001
  135. Animate Kritz1 alpha "0" Linear 0.6 0.001
  136. Animate Kritz2 alpha "255" Linear 0.6 0.001
  137. Animate Kritz2 alpha "0" Linear 0.9 0.001
  138. Animate Kritz3 alpha "255" Linear 0.9 0.001
  139. Animate Kritz3 alpha "0" Linear 1.2 0.001
  140. Animate Kritz4 alpha "255" Linear 1.2 0.001
  141. Animate Kritz4 alpha "0" Linear 1.5 0.001
  142. Animate Kritz5 alpha "255" Linear 1.5 0.001
  143. Animate Kritz5 alpha "0" Linear 1.8 0.001
  144. Animate Kritz6 alpha "255" Linear 1.8 0.001
  145. Animate Kritz6 alpha "0" Linear 2.1 0.001
  146. Animate Kritz7 alpha "255" Linear 2.1 0.001
  147. Animate Kritz7 alpha "0" Linear 2.4 0.001
  148. Animate Kritz8 alpha "255" Linear 2.4 0.001
  149. Animate Kritz8 alpha "0" Linear 2.7 0.001
  150. Animate Kritz9 alpha "255" Linear 2.7 0.001
  151. }
  152.  
  153.  
  154. event ClearUber
  155. {
  156. Animate UberLabel alpha "0" Linear 0.0 0.001
  157. Animate Uber10 alpha "0" Linear 0.0 0.001
  158. Animate Uber20 alpha "0" Linear 0.0 0.001
  159. Animate Uber30 alpha "0" Linear 0.0 0.001
  160. Animate Uber40 alpha "0" Linear 0.0 0.001
  161. Animate Uber50 alpha "0" Linear 0.0 0.001
  162. Animate Uber60 alpha "0" Linear 0.0 0.001
  163. Animate Uber70 alpha "0" Linear 0.0 0.001
  164. Animate Uber80 alpha "0" Linear 0.0 0.001
  165. Animate Uber90 alpha "0" Linear 0.0 0.001
  166. Animate Uber100 alpha "0" Linear 0.0 0.001
  167. Animate Uber0 alpha "0" Linear 0.0 0.001
  168. Animate Uber1 alpha "0" Linear 0.0 0.001
  169. Animate Uber2 alpha "0" Linear 0.0 0.001
  170. Animate Uber3 alpha "0" Linear 0.0 0.001
  171. Animate Uber4 alpha "0" Linear 0.0 0.001
  172. Animate Uber5 alpha "0" Linear 0.0 0.001
  173. Animate Uber6 alpha "0" Linear 0.0 0.001
  174. Animate Uber7 alpha "0" Linear 0.0 0.001
  175. Animate Uber8 alpha "0" Linear 0.0 0.001
  176. Animate Uber9 alpha "0" Linear 0.0 0.001
  177. }
  178.  
  179. event ClearKritz
  180. {
  181. Animate KritzLabel alpha "0" Linear 0.0 0.001
  182. Animate Kritz10 alpha "0" Linear 0.0 0.001
  183. Animate Kritz20 alpha "0" Linear 0.0 0.001
  184. Animate Kritz30 alpha "0" Linear 0.0 0.001
  185. Animate Kritz40 alpha "0" Linear 0.0 0.001
  186. Animate Kritz50 alpha "0" Linear 0.0 0.001
  187. Animate Kritz60 alpha "0" Linear 0.0 0.001
  188. Animate Kritz70 alpha "0" Linear 0.0 0.001
  189. Animate Kritz80 alpha "0" Linear 0.0 0.001
  190. Animate Kritz90 alpha "0" Linear 0.0 0.001
  191. Animate Kritz100 alpha "0" Linear 0.0 0.001
  192. Animate Kritz0 alpha "0" Linear 0.0 0.001
  193. Animate Kritz1 alpha "0" Linear 0.0 0.001
  194. Animate Kritz2 alpha "0" Linear 0.0 0.001
  195. Animate Kritz3 alpha "0" Linear 0.0 0.001
  196. Animate Kritz4 alpha "0" Linear 0.0 0.001
  197. Animate Kritz5 alpha "0" Linear 0.0 0.001
  198. Animate Kritz6 alpha "0" Linear 0.0 0.001
  199. Animate Kritz7 alpha "0" Linear 0.0 0.001
  200. Animate Kritz8 alpha "0" Linear 0.0 0.001
  201. Animate Kritz9 alpha "0" Linear 0.0 0.001
  202. }
  203.  
  204. event MenuOpen
  205. {
  206. StopEvent MenuClose 0.0
  207.  
  208. // fade in
  209. Animate HudMenu Alpha "255" Linear 0.0 0.1
  210. Animate HudMenu SelectionAlpha "255" Linear 0.0 0.1
  211. Animate HudMenu FgColor "FgColor" Linear 0.0 0.1
  212. Animate HudMenu MenuColor "MenuColor" Linear 0.0 0.1
  213. Animate HudMenu ItemColor "ItemColor" Linear 0.0 0.1
  214. Animate HudMenu TextScan "1" Linear 0.0 0.1
  215.  
  216. // Undo any blur
  217. Animate HudMenu Blur "1" Linear 0.0 0.01
  218.  
  219. }
  220.  
  221. event MenuClose
  222. {
  223. //////////////////////////
  224. //UBER HUD TRACKING MOD
  225. //////////////////////////
  226. RunEvent FillUber 0.0
  227. RunEvent FillKritz 0.0
  228.  
  229. // Hide it
  230. Animate HudMenu Alpha "0" Linear 0.0 1
  231. Animate HudMenu SelectionAlpha "0" Linear 0.0 1
  232. Animate HudMenu FgColor "0 0 0 0" Linear 0.0 1
  233. Animate HudMenu MenuColor "0 0 0 0" Linear 0.0 1
  234. Animate HudMenu ItemColor "0 0 0 0" Linear 0.0 1
  235.  
  236. }
  237.  
  238.  
  239. event HudSnapShotReminderIn
  240. {
  241. Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001
  242. Animate ScreenshotPanel Position "c-83 13" Spline 0.001 0.2
  243. RunEvent HudHealthDyingPulseStop 10.0
  244. RunEvent HudHealthBonusPulseStop 10.0
  245. RunEvent HudLowAmmoPulseStop 10.0
  246. RunEvent HudMedicChargedStop 10.0
  247. }
  248.  
  249.  
  250. //===========================================
  251. //===========================================
  252. //===========================================
  253.  
  254. //Health Bonus Pulse
  255. event HudHealthBonusPulse
  256. {
  257. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
  258. Animate PlayerStatusHealthBonusImage Alpha "128" Linear 0.2 0.4
  259. Animate PlayerStatusHealthValueBG FgColor "48 64 96 255" Linear 0.0 0.2
  260. Animate PlayerStatusHealthValueBG FgColor "SuperBlack" Linear 0.2 0.4
  261.  
  262. RunEvent HudHealthBonusPulseLoop 0.4
  263. }
  264.  
  265. // call to loop HudHealthBonusPulse
  266. event HudHealthBonusPulseLoop
  267. {
  268. RunEvent HudHealthBonusPulse 0.0
  269. }
  270.  
  271. event HudHealthBonusPulseStop
  272. {
  273. StopEvent HudHealthBonusPulse 0.0
  274. StopEvent HudHealthBonusPulseLoop 0.0
  275. Animate PlayerStatusHealthValueBG FgColor "SuperBlack" Linear 0.0 0.0001
  276. }
  277.  
  278. //===========================================
  279.  
  280. //Health Dying Pulse
  281. event HudHealthDyingPulse
  282. {
  283. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.075
  284. Animate PlayerStatusHealthBonusImage Alpha "96" Linear 0.125 0.075
  285. Animate PlayerStatusHealthValueBG FgColor "208 0 0 255" Linear 0.0 0.0001
  286.  
  287.  
  288. RunEvent HudHealthDyingPulseLoop 0.25
  289. }
  290.  
  291. // call to loop HudHealthDyingPulse
  292. event HudHealthDyingPulseLoop
  293. {
  294. RunEvent HudHealthDyingPulse 0.0
  295. }
  296.  
  297. event HudHealthDyingPulseStop
  298. {
  299. Animate PlayerStatusHealthValueBG FgColor "SuperBlack" Linear 0.0 0.0001
  300.  
  301. StopEvent HudHealthDyingPulse 0.0
  302. StopEvent HudHealthDyingPulseLoop 0.0
  303. }
  304.  
  305. //===========================================
  306.  
  307. event HudLowAmmoPulse
  308. {
  309. Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
  310. Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
  311. Animate AmmoInClipShadow FgColor "RedSolid" Linear 0.0 0.0001 // pvhud
  312. Animate AmmoInReserveShadow FgColor "RedSolid" Linear 0.0 0.0001 // pvhud
  313. Animate AmmoNoClipShadow FgColor "RedSolid" Linear 0.0 0.0001 // pvhud
  314.  
  315. RunEvent HudLowAmmoPulseLoop 0.25
  316. }
  317.  
  318. // call to loop HudLowAmmoPulse
  319. event HudLowAmmoPulseLoop
  320. {
  321. RunEvent HudLowAmmoPulse 0.0
  322. }
  323.  
  324. event HudLowAmmoPulseStop
  325. {
  326. Animate AmmoInClipShadow FgColor "SuperBlack" Linear 0.0 0.0001 // pvhud
  327. Animate AmmoInReserveShadow FgColor "SuperBlack" Linear 0.0 0.0001 // pvhud
  328. Animate AmmoNoClipShadow FgColor "SuperBlack" Linear 0.0 0.0001 // pvhud
  329.  
  330. StopEvent HudLowAmmoPulse 0.0
  331. StopEvent HudLowAmmoPulseLoop 0.0
  332. }
  333.  
  334. //===========================================
  335.  
  336. // Flash the medic charge hud when we have full charge
  337.  
  338. event HudMedicCharged
  339. {
  340. Animate ChargeLabelSmall FgColor "255 0 255 255" Linear 0.0 0.1
  341. Animate ChargeLabelSmall FgColor "64 0 64 255" Linear 0.3 0.4
  342.  
  343. Animate ChargeLabel FgColor "TanLight" Linear 0.0 0.1
  344. Animate ChargeLabel FgColor "TanDarker" Linear 0.3 0.4
  345. //Animate ChargeLabel2 FgColor "255 0 255 255" Linear 0.0 0.0001
  346.  
  347. Animate ChargeMeter FgColor "255 0 255 255" Linear 0.0 0.1
  348. Animate ChargeMeter FgColor "64 0 64 255" Linear 0.3 0.4
  349.  
  350. RunEvent HudMedicChargedLoop 0.6
  351. }
  352.  
  353. // call to loop HudHealthBonusPulse
  354. event HudMedicChargedLoop
  355. {
  356. RunEvent HudMedicCharged 0.0
  357. }
  358.  
  359. event HudMedicChargedStop
  360. {
  361. StopEvent HudMedicCharged 0.0
  362. StopEvent HudMedicChargedLoop 0.0
  363. Animate ChargeLabelSmall FgColor "TanLight" Linear 0.0 0.1
  364. Animate ChargeLabelSmall FgColor "TanLight" Linear 0.3 0.4
  365.  
  366. Animate ChargeLabel FgColor "TanLight" Linear 0.0 0.0001
  367. //Animate ChargeLabel2 FgColor "TanLight" Linear 0.0 0.0001
  368.  
  369. Animate ChargeMeter FgColor "TanLight" Linear 0.0 0.0001
  370. }
  371.  
  372. //===========================================
  373.  
  374. event FlagOutline
  375. {
  376. RunEvent FlagOutlineHide 0.0
  377. Animate OutlineImage Alpha "0" Linear 0.1 0.2
  378.  
  379. Animate OutlineImage Position "c-200 140" Linear 0.1 0.2
  380. Animate OutlineImage Size "400 200" Linear 0.1 0.2
  381.  
  382. Animate OutlineImage Position "c-50 r137" Linear 0.7 0.2 [$WIN32]
  383. Animate OutlineImage Position "c-50 r158" Linear 0.7 0.2 [$X360]
  384. Animate OutlineImage Size "100 50" Linear 0.7 0.2
  385.  
  386. Animate OutlineImage Alpha "0" Linear 0.9 0.1
  387. }
  388.  
  389. //===========================================
  390.  
  391. // Spy Disguise
  392. event HudSpyDisguiseChanged
  393. {
  394. Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.0 0.2 //pvhud.SpyOutline
  395.  
  396. Animate PlayerStatusSpyOutlineImage Position "c-200 c-200" Linear 0.0 0.2
  397. Animate PlayerStatusSpyOutlineImage Size "400 400" Linear 0.0 0.2
  398.  
  399. RunEvent HudSpyDisguiseHide 0.7
  400. }
  401. event HudSpyDisguiseHide
  402. {
  403. Animate PlayerStatusSpyOutlineImage Position "c-310 r52" Linear 0.0 0.2
  404. Animate PlayerStatusSpyOutlineImage Size "27 27" Linear 0.0 0.2
  405.  
  406. Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.2 0.1
  407. }
  408.  
  409. //===========================================
  410.  
  411. event HudTournamentSetupPanelOpen
  412. {
  413. Animate HudTournamentSetup Position "c-66 -70" Linear 0.0 0.001
  414. Animate HudTournamentSetup Position "c-66 200" Spline 0.001 0.2
  415. }
  416.  
  417. event HudTournamentSetupPanelClose
  418. {
  419. Animate HudTournamentSetup Position "c-66 200" Linear 0.0 0.001
  420. Animate HudTournamentSetup Position "c-66 -70" Spline 0.001 0.2
  421. }
  422.  
  423. //===========================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement