Advertisement
Guest User

Untitled

a guest
Sep 18th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. //// STEP 1: Place this in HudAnimations_tf.txt, replacing any other thing that says "event DamagedPlayer"
  2.  
  3. event DamagedPlayer
  4. {
  5. Animate HUDxhair FgColor "255 0 0 255" Linear 0.0 0.00001
  6. Animate HUDxhair FgColor "0 255 0 255" Linear 0.15 0.15001
  7. }
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. //// Step 2: Find Omp's crosshair in HUDLayout.res, because for some reason his broke ass nigga crosshair
  15. //// name doesn't seem to like the script.
  16.  
  17. "OmpCrosshair2" // See this right here? Change it to "HUDxhair"
  18. {
  19. "controlName" "CExLabel"
  20. "fieldName" "OmpCrosshair2" // This one too, change it to "HUDxhair"
  21. "font" "CrosshairsSharp15"
  22. "fgcolor" "0 255 0 255"
  23. "labelText" "2"
  24. "xpos" "c-101"
  25. "ypos" "c-100"
  26. "wide" "200"
  27. "tall" "202"
  28. "visible" "1"
  29. "enabled" "1"
  30. "textAlignment" "center"
  31. }
  32.  
  33. //// So your end result should look like this:
  34.  
  35. "HUDxhair"
  36. {
  37. "controlName" "CExLabel"
  38. "fieldName" "HUDxhair"
  39. "font" "CrosshairsSharp15"
  40. "fgcolor" "0 255 0 255"
  41. "labelText" "2"
  42. "xpos" "c-101"
  43. "ypos" "c-100"
  44. "wide" "200"
  45. "tall" "202"
  46. "visible" "1"
  47. "enabled" "1"
  48. "textAlignment" "center"
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement