Advertisement
Guest User

jp_ crosshair

a guest
Nov 29th, 2012
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. Everything's been optimized for my resolution (1680x1050), you'll have to edit the x/ypos and the "wide" and "tall" values to make it close to perfect center for yours.
  2.  
  3. ADD these lines into /tf/scripts/hudlayout.res
  4. =====================================================================================
  5. =====================================================================================
  6.  
  7. xHairLeft
  8. {
  9. "controlName" "CExLabel"
  10. "fieldName" "xHairLeft"
  11. "visible" "1"
  12. "enabled" "1"
  13. "zpos" "1"
  14. "xpos" "c-18"
  15. "ypos" "c-13"
  16. "wide" "22"
  17. "tall" "24"
  18. "outline" "1"
  19. "font" "xHair"
  20. "labelText" "-"
  21. "textAlignment" "center"
  22. "fgcolor" "255 255 255 255"
  23. }
  24.  
  25. xHairRight
  26. {
  27. "controlName" "CExLabel"
  28. "fieldName" "xHairRight"
  29. "visible" "1"
  30. "enabled" "1"
  31. "zpos" "1"
  32. "xpos" "c-5"
  33. "ypos" "c-13"
  34. "wide" "22"
  35. "tall" "24"
  36. "outline" "1"
  37. "font" "xHair"
  38. "labelText" "-"
  39. "textAlignment" "center"
  40. "fgcolor" "255 255 255 255"
  41. }
  42.  
  43. xHairBottom
  44. {
  45. "controlName" "CExLabel"
  46. "fieldName" "xHairI"
  47. "visible" "1"
  48. "enabled" "1"
  49. "zpos" "1"
  50. "xpos" "c-11"
  51. "ypos" "c-3"
  52. "wide" "22"
  53. "tall" "20"
  54. "outline" "1"
  55. "font" "xHairI"
  56. "labelText" "l"
  57. "textAlignment" "center"
  58. "fgcolor" "0 255 0 255"
  59. }
  60.  
  61. xHairCenter
  62. {
  63. "controlName" "CExLabel"
  64. "fieldName" "xHairIo"
  65. "visible" "1"
  66. "enabled" "1"
  67. "zpos" "1"
  68. "xpos" "c-11"
  69. "ypos" "c-14"
  70. "wide" "22"
  71. "tall" "22"
  72. "outline" "1"
  73. "font" "xHairIo"
  74. "labelText" "."
  75. "textAlignment" "center"
  76. "fgcolor" "0 255 0 255"
  77. }
  78.  
  79. =====================================================================================
  80. =====================================================================================
  81. Copy and paste the text blow into /tf/resources/ClientScheme.res
  82. Find the ////FONTS/// section and add it there
  83. =====================================================================================
  84. =====================================================================================
  85.  
  86. "xHair"
  87. {
  88. "1"
  89. {
  90. "name" "Courier"
  91. "tall" "20"
  92. "weight" "0"
  93. "outline" "1"
  94. }
  95. }
  96. "xHairI"
  97. {
  98. "1"
  99. {
  100. "name" "Verdana"
  101. "tall" "12"
  102. "weight" "0"
  103. "range" "0x0000 0x017F"
  104. "outline" "1"
  105. }
  106. }
  107. "xHairIo"
  108. {
  109. "1"
  110. {
  111. "name" "Chicago"
  112. "tall" "12"
  113. "weight" "0"
  114. "range" "0x0000 0x017F"
  115. "outline" "1"
  116. }
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement