Advertisement
Guest User

Untitled

a guest
Jun 7th, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. //===========================================
  2.  
  3. //Health Bonus Pulse
  4. event HudHealthBonusPulse
  5. {
  6. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
  7. Animate PlayerStatusHealthBonusImage Alpha "128" Linear 0.2 0.4
  8. Animate PlayerStatusHealthValueBG FgColor "48 64 96 255" Linear 0.0 0.2
  9. Animate PlayerStatusHealthValueBG FgColor "SuperBlack" Linear 0.2 0.4
  10.  
  11. Animate PlayerStatusHealthValue FgColor "0 175 255 255" Linear 0.0 0.0
  12. Animate PlayerStatusHealthValue2 FgColor "0 175 255 255" Linear 0.0 0.0
  13.  
  14. RunEvent HudHealthBonusPulseLoop 0.4
  15. }
  16.  
  17. // call to loop HudHealthBonusPulse
  18. event HudHealthBonusPulseLoop
  19. {
  20. RunEvent HudHealthBonusPulse 0.0
  21. }
  22.  
  23. event HudHealthBonusPulseStop
  24. {
  25. StopEvent HudHealthBonusPulse 0.0
  26. StopEvent HudHealthBonusPulseLoop 0.0
  27. Animate PlayerStatusHealthValueBG FgColor "SuperBlack" Linear 0.0 0.0001
  28.  
  29. StopPanelAnimations PlayerStatusHealthValue 0.0
  30. StopPanelAnimations PlayerStatusHealthValue2 0.0
  31.  
  32. Animate PlayerStatusHealthValue FgColor "TanLight" Linear 0.0 0.0
  33. Animate PlayerStatusHealthValue2 FgColor "TanLight" Linear 0.0 0.0
  34. }
  35.  
  36. //===========================================
  37.  
  38. //Health Dying Pulse
  39. event HudHealthDyingPulse
  40. {
  41. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.075
  42. Animate PlayerStatusHealthBonusImage Alpha "96" Linear 0.125 0.075
  43. Animate PlayerStatusHealthValueBG FgColor "208 0 0 255" Linear 0.0 0.0001
  44.  
  45. Animate PlayerStatusHealthValue FgColor "255 0 0 255"" Linear 0.0 0.0
  46. Animate PlayerStatusHealthValue2 FgColor "255 0 0 255"" Linear 0.0 0.0
  47.  
  48. RunEvent HudHealthDyingPulseLoop 0.25
  49. }
  50.  
  51. // call to loop HudHealthDyingPulse
  52. event HudHealthDyingPulseLoop
  53. {
  54. RunEvent HudHealthDyingPulse 0.0
  55. }
  56.  
  57. event HudHealthDyingPulseStop
  58. {
  59. Animate PlayerStatusHealthValueBG FgColor "SuperBlack" Linear 0.0 0.0001
  60.  
  61. StopEvent HudHealthDyingPulse 0.0
  62. StopEvent HudHealthDyingPulseLoop 0.0
  63.  
  64. StopPanelAnimations PlayerStatusHealthValue 0.0
  65. StopPanelAnimations PlayerStatusHealthValue2 0.0
  66.  
  67. Animate PlayerStatusHealthValue FgColor "TanLight" Linear 0.0 0.0
  68. Animate PlayerStatusHealthValue2 FgColor "TanLight" Linear 0.0 0.0
  69. }
  70.  
  71. //===========================================
  72.  
  73. event HudLowAmmoPulse
  74. {
  75. Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
  76. Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
  77.  
  78. Animate AmmoInClip FgColor "255 0 0 255" Linear 0.0 0.0001 // pvhud
  79. Animate AmmoInReserve FgColor "255 0 0 255" Linear 0.0 0.0001 // pvhud
  80. Animate AmmoNoClip FgColor "255 0 0 255" Linear 0.0 0.0001 // pvhud
  81.  
  82. RunEvent HudLowAmmoPulseLoop 0.25
  83. }
  84.  
  85. // call to loop HudLowAmmoPulse
  86. event HudLowAmmoPulseLoop
  87. {
  88. RunEvent HudLowAmmoPulse 0.0
  89. }
  90.  
  91. event HudLowAmmoPulseStop
  92. {
  93. Animate AmmoInClip FgColor "TanLight" Linear 0.0 0.0001 // pvhud
  94. Animate AmmoInReserve FgColor "TanLight" Linear 0.0 0.0001 // pvhud
  95. Animate AmmoNoClip FgColor "TanLight" Linear 0.0 0.0001 // pvhud
  96.  
  97. StopEvent HudLowAmmoPulse 0.0
  98. StopEvent HudLowAmmoPulseLoop 0.0
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement