Advertisement
Guest User

mm update 17/3/2016 - by shounic

a guest
Mar 17th, 2016
977
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.87 KB | None | 0 0
  1. clientscheme.res
  2. }
  3. RedWithThinBorder
  4. {
  5. "bordertype" "scalable_image"
  6. "backgroundtype" "2"
  7.  
  8. "image" "../hud/panel_scalable_red"
  9. "src_corner_height" "23" // pixels inside the image
  10. "src_corner_width" "23"
  11. "draw_corner_width" "7" // screen size of the corners ( and sides ), proportional
  12. "draw_corner_height" "7"
  13. }
  14.  
  15. BlueWithThinBorder
  16. {
  17. "bordertype" "scalable_image"
  18. "backgroundtype" "2"
  19.  
  20. "image" "../hud/panel_scalable_blue"
  21. "src_corner_height" "23" // pixels inside the image
  22. "src_corner_width" "23"
  23. "draw_corner_width" "7" // screen size of the corners ( and sides ), proportional
  24. "draw_corner_height" "7"
  25. }
  26.  
  27. new file: resource/ui/hudmatchstatus.res
  28. "Resource/UI/Competitive.res"
  29. {
  30. "RoundSignModel"
  31. {
  32. "ControlName" "CModelPanel"
  33. "fieldName" "RoundSignModel"
  34. "xpos" "0"
  35. "ypos" "0"
  36. "zpos" "3"
  37. "wide" "f0"
  38. "tall" "f0"
  39. "autoResize" "0"
  40. "pinCorner" "0"
  41. "visible" "0"
  42. "enabled" "1"
  43. "fov" "70"
  44. "proportionaltoparent" "1"
  45.  
  46. "model"
  47. {
  48. "modelname" "models/props_ui/round_banner.mdl"
  49. "skin" "0"
  50. "angles_x" "30"
  51. "angles_y" "180"
  52. "angles_z" "0"
  53. "origin_x" "150"
  54. "origin_y" "0"
  55. "origin_z" "62"
  56. "spotlight" "1"
  57.  
  58. "animation"
  59. {
  60. "name" "ref"
  61. "sequence" "ref"
  62. "default" "1"
  63. }
  64.  
  65. "animation"
  66. {
  67. "name" "intro"
  68. "sequence" "intro"
  69. }
  70.  
  71. "animation"
  72. {
  73. "name" "outro"
  74. "sequence" "outro"
  75. }
  76. }
  77. }
  78.  
  79. "RoundCounter"
  80. {
  81. "fieldName" "RoundCounter"
  82. "xpos" "cs-0.5"
  83. "ypos" "-2"
  84. "zpos" "1"
  85. "wide" "300"
  86. "tall" "100"
  87. "visible" "1"
  88. "enabled" "1"
  89.  
  90. }
  91.  
  92. "ObjectiveStatusTimePanel"
  93. {
  94. "ControlName" "EditablePanel"
  95. "fieldName" "ObjectiveStatusTimePanel"
  96. "xpos" "c-55"
  97. "xpos_hidef" "c-150"
  98. "xpos_lodef" "c-150"
  99. "ypos" "0" [$WIN32]
  100. "ypos_minmode" "-14" [$WIN32]
  101. "ypos" "24" [$X360]
  102. "zpos" "2"
  103. "wide" "110"
  104. "wide_hidef" "300"
  105. "wide_lodef" "300"
  106. "tall" "150"
  107. "visible" "0"
  108. "enabled" "1"
  109. "delta_item_x" "22" [$WIN32]
  110. "delta_item_x" "115" [$X360]
  111. "delta_item_start_y" "50"
  112. "delta_item_end_y" "70"
  113. "PositiveColor" "0 255 0 255"
  114. "NegativeColor" "255 0 0 255"
  115. "delta_lifetime" "1.5"
  116. "delta_item_font" "HudFontMedium"
  117.  
  118. if_comp
  119. {
  120. "ypos_minmode" "0"
  121. "delta_item_x" "35"
  122. "delta_item_start_y" "12"
  123. "delta_item_end_y" "50"
  124. "PositiveColor" "0 255 0 255"
  125. "NegativeColor" "255 0 0 255"
  126. "delta_lifetime" "1.5"
  127. "delta_item_font" "HudFontMediumSmall"
  128. }
  129.  
  130. "TimePanelValue"
  131. {
  132. "ControlName" "CExLabel"
  133. "fieldName" "TimePanelValue"
  134. "font" "HudFontMediumSmall"
  135. "font_minmode" "HudFontSmall"
  136. "font_lodef" "HudFontMedium"
  137. "fgcolor" "TanLight"
  138. "xpos" "23"
  139. "xpos_minmode" "39"
  140. "xpos_hidef" "114"
  141. "xpos_lodef" "114"
  142. "ypos" "11"
  143. "ypos_minmode" "6"
  144. "ypos_hidef" "15"
  145. "ypos_lodef" "18"
  146. "zpos" "3"
  147. "wide" "45"
  148. "wide_minmode" "30"
  149. "wide_lodef" "50"
  150. "tall" "31"
  151. "visible" "1"
  152. "enabled" "1"
  153. "textAlignment" "center"
  154. "labelText" "0:00"
  155.  
  156. if_comp
  157. {
  158. "proportionaltoparent" "1"
  159.  
  160. "xpos" "cs-0.5"
  161. "ypos" "9"
  162. "ypos_minmode" "9"
  163. "tall" "10"
  164. "font" "HudFontSmall"
  165. "font_minmode" "HudFontSmall"
  166. "font_lodef" "HudFontSmall"
  167. }
  168. }
  169. }
  170. }
  171.  
  172. new file: resource/ui/hudroundcounter.res
  173.  
  174. "Resource/UI/HudRoundCounter.res"
  175. {
  176. "RoundCounter"
  177. {
  178. "fieldName" "RoundCounter"
  179. "xpos" "cs-0.5"
  180. "ypos" "-2"
  181. "zpos" "2"
  182. "wide" "300"
  183. "tall" "25"
  184. "visible" "1"
  185. "enabled" "1"
  186. "proportionaltoparent" "1"
  187.  
  188. "starting_width" "20"
  189. "width_per_round" "24"
  190. "indicator_start_offset" "4"
  191. "indicator_max_wide" "30"
  192.  
  193. "RoundIndicatorPanel_kv"
  194. {
  195. "ypos" "3"
  196. "wide" "6"
  197. "tall" "6"
  198. "zpos" "7"
  199. "image" "../hud/comp_round_counter_dot_bg"
  200. "scaleimage" "1"
  201. }
  202.  
  203. "RoundWinPanelRed_kv"
  204. {
  205. "ypos" "-3"
  206. "wide" "17"
  207. "tall" "17"
  208. "zpos" "8"
  209. "image" "../hud/comp_round_counter_light_red"
  210. "scaleimage" "1"
  211. }
  212.  
  213. "RoundWinPanelBlue_kv"
  214. {
  215. "ypos" "-3"
  216. "wide" "17"
  217. "tall" "17"
  218. "zpos" "8"
  219. "image" "../hud/comp_round_counter_light_blue"
  220. "scaleimage" "1"
  221. }
  222. }
  223.  
  224. "Background"
  225. {
  226. "ControlName" "ImagePanel"
  227. "fieldName" "Background"
  228. "xpos" "cs-0.5"
  229. "ypos" "0"
  230. "zpos" "5"
  231. "wide" "115"
  232. "tall" "30"
  233.  
  234. "backgroundtype" "2"
  235. "proportionaltoparent" "1"
  236.  
  237. "image" "../hud/comp_round_timer"
  238. "scaleimage" "1"
  239. }
  240. }
  241.  
  242. new file: resource/ui/hudteamstatus.res
  243. "Resource/UI/HudTeamStatus.res"
  244. {
  245. "HudTeamStatus"
  246. {
  247. "ControlName" "EditablePanel"
  248. "fieldName" "HudTeamStatus"
  249.  
  250. "team1_base_x" "c-60"
  251. "team1_base_y" "0"
  252. "team1_delta_x" "-18"
  253. "team1_delta_y" "0"
  254. "team2_base_x" "c40"
  255. "team2_base_y" "0"
  256. "team2_delta_x" "18"
  257. "team2_delta_y" "0"
  258.  
  259. "playerpanels_kv"
  260. {
  261. "visible" "0"
  262. "wide" "22"
  263. "tall" "22"
  264. "zpos" "1"
  265.  
  266. "color_portrait_bg_red" "119 62 61 255"
  267. "color_portrait_bg_blue" "62 81 101 255"
  268. "color_portrait_bg_red_dead" "49 44 42 255"
  269. "color_portrait_bg_blue_dead" "44 49 51 255"
  270. "color_bar_health_high" "84 191 58 255"
  271. "color_bar_health_med" "191 183 58 255"
  272. "percentage_health_med" "0.6"
  273. "color_bar_health_low" "191 58 58 255"
  274. "percentage_health_low" "0.3"
  275. "color_portrait_blend_dead" "96 96 96 255"
  276.  
  277. "playername"
  278. {
  279. "ControlName" "CExLabel"
  280. "fieldName" "playername"
  281. "font" "DefaultVerySmall"
  282. "xpos" "5"
  283. "ypos" "24"
  284. "zpos" "5"
  285. "wide" "50"
  286. "tall" "8"
  287. "autoResize" "0"
  288. "pinCorner" "0"
  289. "visible" "0"
  290. "labelText" "%playername%"
  291. "textAlignment" "north-west"
  292. //"fgcolor" "235 226 202 255"
  293. }
  294. "classimage"
  295. {
  296. "ControlName" "CTFClassImage"
  297. "fieldName" "classimage"
  298. "xpos" "3"
  299. "ypos" "0"
  300. "zpos" "3"
  301. "wide" "16"
  302. "tall" "16"
  303. "visible" "1"
  304. "enabled" "1"
  305. "image" "../hud/class_scoutred"
  306. "scaleImage" "1"
  307. }
  308. "classimagebg"
  309. {
  310. "ControlName" "Panel"
  311. "fieldName" "classimagebg"
  312. "xpos" "3"
  313. "ypos" "0"
  314. "zpos" "2"
  315. "wide" "16"
  316. "tall" "16"
  317. "visible" "1"
  318. "enabled" "1"
  319. "PaintBackgroundType" "0"
  320. }
  321. "healthbar"
  322. {
  323. "ControlName" "ContinuousProgressBar"
  324. "fieldName" "healthbar"
  325. "font" "Default"
  326. "xpos" "3"
  327. "ypos" "16"
  328. "zpos" "5"
  329. "wide" "16"
  330. "tall" "2"
  331. "autoResize" "0"
  332. "pinCorner" "0"
  333. "visible" "1"
  334. "enabled" "1"
  335. "textAlignment" "Left"
  336. "dulltext" "0"
  337. "brighttext" "0"
  338. "bgcolor_override" "80 80 80 255"
  339. }
  340. "overhealbar"
  341. {
  342. "ControlName" "ContinuousProgressBar"
  343. "fieldName" "overhealbar"
  344. "font" "Default"
  345. "xpos" "3"
  346. "ypos" "16"
  347. "zpos" "6"
  348. "wide" "16"
  349. "tall" "2"
  350. "autoResize" "0"
  351. "pinCorner" "0"
  352. "visible" "1"
  353. "enabled" "1"
  354. "textAlignment" "Left"
  355. "dulltext" "0"
  356. "brighttext" "0"
  357. "bgcolor_override" "0 0 0 0"
  358. "fgcolor_override" "255 255 255 160"
  359. }
  360. "HealthIcon"
  361. {
  362. "ControlName" "EditablePanel"
  363. "fieldName" "HealthIcon"
  364. "xpos" "22"
  365. "ypos" "-3"
  366. "zpos" "3"
  367. "wide" "32"
  368. "tall" "32"
  369. "visible" "0"
  370. "enabled" "1"
  371. "HealthBonusPosAdj" "10"
  372. "HealthDeathWarning" "0.49"
  373. "TFFont" "HudFontSmallest"
  374. "HealthDeathWarningColor" "HUDDeathWarning"
  375. "TextColor" "HudOffWhite"
  376. }
  377. "ReadyBG"
  378. {
  379. "ControlName" "ScalableImagePanel"
  380. "fieldName" "ReadyBG"
  381. "xpos" "30"
  382. "ypos" "6"
  383. "zpos" "-1"
  384. "wide" "16"
  385. "tall" "16"
  386. "autoResize" "0"
  387. "pinCorner" "0"
  388. "visible" "0"
  389. "enabled" "1"
  390. "image" "../HUD/tournament_panel_brown"
  391.  
  392. "src_corner_height" "22" // pixels inside the image
  393. "src_corner_width" "22"
  394.  
  395. "draw_corner_width" "3" // screen size of the corners ( and sides ), proportional
  396. "draw_corner_height" "3"
  397. }
  398. "ReadyImage"
  399. {
  400. "ControlName" "ImagePanel"
  401. "fieldName" "ReadyImage"
  402. "xpos" "32"
  403. "ypos" "8"
  404. "zpos" "0"
  405. "wide" "12"
  406. "tall" "12"
  407. "autoResize" "0"
  408. "pinCorner" "0"
  409. "visible" "0"
  410. "enabled" "1"
  411. "image" "hud/checkmark"
  412. "scaleImage" "1"
  413. }
  414. "respawntime"
  415. {
  416. "ControlName" "CExLabel"
  417. "fieldName" "respawntime"
  418. "font" "DefaultSmall"
  419. "xpos" "3"
  420. "ypos" "0"
  421. "zpos" "5"
  422. "wide" "16"
  423. "tall" "17"
  424. "autoResize" "0"
  425. "pinCorner" "0"
  426. "visible" "1"
  427. "labelText" "%respawntime%"
  428. "textAlignment" "center"
  429. //"fgcolor" "235 226 202 255"
  430. }
  431. "chargeamount"
  432. {
  433. "ControlName" "CExLabel"
  434. "fieldName" "chargeamount"
  435. "font" "DefaultSmall"
  436. "xpos" "25"
  437. "ypos" "17"
  438. "zpos" "6"
  439. "wide" "25"
  440. "tall" "15"
  441. "autoResize" "0"
  442. "pinCorner" "0"
  443. "visible" "0"
  444. "labelText" "%chargeamount%"
  445. "textAlignment" "north"
  446. "fgcolor" "0 255 0 255"
  447. }
  448. "specindex"
  449. {
  450. "ControlName" "CExLabel"
  451. "fieldName" "specindex"
  452. "font" "DefaultVerySmall"
  453. "xpos" "4"
  454. "ypos" "2"
  455. "zpos" "5"
  456. "wide" "50"
  457. "tall" "8"
  458. "autoResize" "0"
  459. "pinCorner" "0"
  460. "visible" "0"
  461. "labelText" "%specindex%"
  462. "textAlignment" "north-west"
  463. //"fgcolor" "235 226 202 255"
  464. }
  465. }
  466. }
  467. }
  468.  
  469. add to hudanimations_tf.txt
  470. event CompetitiveGame_HideDisconnectButton
  471. {
  472. Animate DisconnectButton ypos r-100 Accel 0 0
  473. }
  474.  
  475. event CompetitiveGame_ShowDisconnectButton
  476. {
  477. Animate DisconnectButton ypos r50 Accel 0 0.4
  478. }
  479.  
  480. event CompetitiveGame_ShowWinnersSign
  481. {
  482. FireCommand 0.5 "animation intro"
  483. FireCommand 12.3 "animation outro"
  484. }
  485.  
  486.  
  487. event HudTournament_ShowRoundSign
  488. {
  489. SetVisible RoundSignModel 1 0
  490. RunEventChild RoundSignModel HudTournament_PlaySignAnim 0
  491. SetVisible RoundSignModel 0 6
  492. }
  493.  
  494. event HudTournament_PlaySignAnim
  495. {
  496. FireCommand 0 "animation intro"
  497. FireCommand 5 "animation outro"
  498. }
  499.  
  500. add to hudlayout.res
  501. HudMatchStatus
  502. {
  503. "fieldName" "HudMatchStatus"
  504. "visible" "1"
  505. "enabled" "1"
  506. "xpos" "0"
  507. "ypos" "0"
  508. "zpos" "2"
  509. "wide" "f0"
  510. "tall" "f0"
  511. }
  512.  
  513. HudTeamStatus
  514. {
  515. "fieldName" "HudTeamStatus"
  516. "visible" "1"
  517. "enabled" "1"
  518. "xpos" "0"
  519. "ypos" "0"
  520. "zpos" "2"
  521. "wide" "f0"
  522. "tall" "f0"
  523. }
  524. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement