Advertisement
Guest User

Untitled

a guest
Feb 17th, 2012
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.69 KB | None | 0 0
  1. #include "ui/menudef.h"
  2.  
  3.  
  4. //------------------------------------------------------------------------------------
  5. // Custom Crosshairs
  6. //------------------------------------------------------------------------------------
  7.  
  8. menuDef {
  9. name "Crosshair"
  10. rect 320 240 32 32
  11. fullScreen MENU_FALSE
  12. visible MENU_TRUE
  13.  
  14.  
  15. itemDef {
  16. name "Vertical-Top"
  17. rect -2.3 -9.3 4.8 4
  18. visible 1
  19. style 1
  20. cvarTest "ch_crosshairColor"
  21. showCvar { 2 }
  22. decoration
  23. backcolor 0 .9 1 .1
  24. }
  25.  
  26. itemDef {
  27. name "Vertical-Bottom"
  28. rect -2.3 4.9 4.8 4
  29. visible 1
  30. style 1
  31. cvarTest "ch_crosshairColor"
  32. showCvar { 2 }
  33. decoration
  34. backcolor 0 .9 1 .1
  35. }
  36.  
  37. itemDef {
  38. name "Horizontal-Left"
  39. rect -9.3 -2.3 4 4.8
  40. visible 1
  41. style 1
  42. cvarTest "ch_crosshairColor"
  43. showCvar { 2 }
  44. decoration
  45. backcolor 0 .9 1 .1
  46. }
  47.  
  48. itemDef {
  49. name "Horizontal-Right"
  50. rect 4.9 -2.3 4 4.8
  51. visible 1
  52. style 1
  53. cvarTest "ch_crosshairColor"
  54. showCvar { 2 }
  55. decoration
  56. backcolor 0 .9 1 .1
  57. }
  58.  
  59.  
  60. //------------------------------------------------------------------------------------
  61. // Custom Crosshair "-¦-"
  62. //------------------------------------------------------------------------------------
  63.  
  64. itemDef {
  65. name "Vertical-Top"
  66. rect -1.9 -9.9 3.6 5.7
  67. visible 1
  68. style 1
  69. cvarTest "ch_crosshairColor"
  70. showCvar { 2 }
  71. decoration
  72. backcolor 0 .9 1 0.2
  73. }
  74.  
  75. itemDef {
  76. name "Vertical-Bottom"
  77. rect -1.9 3.9 3.6 6.2
  78. visible 1
  79. style 1
  80. cvarTest "ch_crosshairColor"
  81. showCvar { 2 }
  82. decoration
  83. backcolor 0 .9 1 0.2
  84. }
  85.  
  86. itemDef {
  87. name "Horizontal-Left"
  88. rect -9.8 -1.9 5.7 3.6
  89. visible 1
  90. style 1
  91. cvarTest "ch_crosshairColor"
  92. showCvar { 2 }
  93. decoration
  94. backcolor 0 .9 1 0.2
  95. }
  96.  
  97. itemDef {
  98. name "Horizontal-Right"
  99. rect 3.9 -1.9 6.2 3.6
  100. visible 1
  101. style 1
  102. cvarTest "ch_crosshairColor"
  103. showCvar { 2 }
  104. decoration
  105. backcolor 0 .9 1 0.2
  106. }
  107.  
  108. //------------------------------------------------------------------------------------
  109. // Custom Crosshair "-¦-"
  110. //------------------------------------------------------------------------------------
  111.  
  112. itemDef {
  113. name "Vertical-Top"
  114. rect -1.9 -9.5 3.8 5.2
  115. visible 1
  116. style 1
  117. cvarTest "ch_crosshairColor"
  118. showCvar { 2 }
  119. decoration
  120. backcolor 0 .9 1 .4
  121. }
  122.  
  123. itemDef {
  124. name "Vertical-Bottom"
  125. rect -1.9 4.5 3.8 5.2
  126. visible 1
  127. style 1
  128. cvarTest "ch_crosshairColor"
  129. showCvar { 2 }
  130. decoration
  131. backcolor 0 .9 1 .4
  132. }
  133.  
  134. itemDef {
  135. name "Horizontal-Left"
  136. rect -9.5 -1.9 5.2 3.8
  137. visible 1
  138. style 1
  139. cvarTest "ch_crosshairColor"
  140. showCvar { 2 }
  141. decoration
  142. backcolor 0 .9 1 .4
  143. }
  144.  
  145. itemDef {
  146. name "Horizontal-Right"
  147. rect 4.5 -1.9 5.2 3.8
  148. visible 1
  149. style 1
  150. cvarTest "ch_crosshairColor"
  151. showCvar { 2 }
  152. decoration
  153. backcolor 0 .9 1 .4
  154. }
  155.  
  156. //------------------------------------------------------------------------------------
  157. // Custom Crosshair "-¦-"
  158. //------------------------------------------------------------------------------------
  159.  
  160. itemDef {
  161. name "Vertical-Top"
  162. rect -1.5 -9.3 3.2 4.6
  163. visible 1
  164. style 1
  165. cvarTest "ch_crosshairColor"
  166. showCvar { 2 }
  167. decoration
  168. backcolor 0 .9 1 .7
  169. }
  170.  
  171. itemDef {
  172. name "Vertical-Bottom"
  173. rect -1.5 4.7 3.2 4.6
  174. visible 1
  175. style 1
  176. cvarTest "ch_crosshairColor"
  177. showCvar { 2 }
  178. decoration
  179. backcolor 0 .9 1 .7
  180. }
  181.  
  182. itemDef {
  183. name "Horizontal-Left"
  184. rect -9.3 -1.5 4.6 3.2
  185. visible 1
  186. style 1
  187. cvarTest "ch_crosshairColor"
  188. showCvar { 2 }
  189. decoration
  190. backcolor 0 .9 1 .7
  191. }
  192.  
  193. itemDef {
  194. name "Horizontal-Right"
  195. rect 4.7 -1.5 4.6 3.2
  196. visible 1
  197. style 1
  198. cvarTest "ch_crosshairColor"
  199. showCvar { 2 }
  200. decoration
  201. backcolor 0 .9 1 .7
  202. }
  203.  
  204. //------------------------------------------------------------------------------------
  205. // Custom Crosshair "smaller, -¦-" RESERV
  206. //------------------------------------------------------------------------------------
  207.  
  208. itemDef {
  209. name "Vertical-Top"
  210. rect -0.9 -9.2 2 3.8
  211. visible 1
  212. style 1
  213. cvarTest "ch_crosshairColor"
  214. showCvar { 2 }
  215. decoration
  216. backcolor 0 .9 1 1
  217. }
  218.  
  219. itemDef {
  220. name "Vertical-Bottom"
  221. rect -0.9 4.9 2 3.8
  222. visible 1
  223. style 1
  224. cvarTest "ch_crosshairColor"
  225. showCvar { 2 }
  226. decoration
  227. backcolor 0 .9 1 1
  228. }
  229.  
  230. itemDef {
  231. name "Horizontal-Left"
  232. rect -9.1 -1 3.8 2
  233. visible 1
  234. style 1
  235. cvarTest "ch_crosshairColor"
  236. showCvar { 2 }
  237. decoration
  238. backcolor 0 .9 1 1
  239. }
  240.  
  241. itemDef {
  242. name "Horizontal-Right"
  243. rect 4.9 -1 3.8 2
  244. visible 1
  245. style 1
  246. cvarTest "ch_crosshairColor"
  247. showCvar { 2 }
  248. decoration
  249. backcolor 0 .9 1 1
  250. }
  251.  
  252.  
  253. //------------------------------------------------------------------------------------
  254. // Custom Crosshair "smaller, -¦-" RESERV
  255. //------------------------------------------------------------------------------------
  256.  
  257. itemDef {
  258. name "Vertical-Top"
  259. rect -1.1 -10.1 2.2 6.2
  260. visible 1
  261. style 1
  262. cvarTest "ch_crosshairColor"
  263. showCvar { 2 }
  264. decoration
  265. backcolor 0 .9 1 0.3
  266. }
  267.  
  268. itemDef {
  269. name "Vertical-Bottom"
  270. rect -1.1 3.9 2.2 6.2
  271. visible 1
  272. style 1
  273. cvarTest "ch_crosshairColor"
  274. showCvar { 2 }
  275. decoration
  276. backcolor 0 .9 1 0.3
  277. }
  278.  
  279. itemDef {
  280. name "Horizontal-Left"
  281. rect -9.8 -1.1 5.7 2.2
  282. visible 1
  283. style 1
  284. cvarTest "ch_crosshairColor"
  285. showCvar { 2 }
  286. decoration
  287. backcolor 0 .9 1 0.3
  288. }
  289.  
  290. itemDef {
  291. name "Horizontal-Right"
  292. rect 3.9 -1.1 6.2 2.2
  293. visible 1
  294. style 1
  295. cvarTest "ch_crosshairColor"
  296. showCvar { 2 }
  297. decoration
  298. backcolor 0 .9 1 0.3
  299. }
  300.  
  301.  
  302.  
  303. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement