Advertisement
Guest User

Untitled

a guest
Jan 4th, 2014
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.11 KB | None
  1.  
  2. #include "ui/menudef.h"
  3.  
  4. // comp menu
  5. //
  6. // defines from ui_shared.h
  7.  
  8. {
  9. //=================================================================================
  10. assetGlobalDef {
  11. cursor "ui/assets/3_cursor2" // cursor
  12. gradientBar "ui/assets/gradientbar2.tga" // gradient bar
  13. fadeClamp 1.0 // sets the fadeup alpha
  14. fadeCycle 1 // how often fade happens in milliseconds
  15. fadeAmount 0.1 // amount to adjust alpha per cycle
  16. shadowX 5 // x amount for shadow offset
  17. shadowY 5 // y amount for shadow offset
  18. shadowColor 0.1 0.1 0.1 0.25 // shadow color
  19. font "fonts/font" 24 // font
  20. smallFont "fonts/smallfont" 16 // font
  21. bigFont "fonts/bigfont" 48 // font
  22. }
  23. //=================================================================================
  24. menuDef {
  25. name "TeamScoreboxes"
  26. rect 0 18 640 480
  27. fullScreen MENU_FALSE
  28. visible MENU_TRUE
  29. ownerdrawflag CG_SHOW_ANYTEAMGAME
  30.  
  31. itemDef {
  32. rect 610 418 28 16
  33. visible 1
  34. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  35. backcolor 1 0 0 0.5
  36. style 1
  37. }
  38.  
  39. itemDef {
  40. rect 610 438 28 16
  41. visible 1
  42. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  43. backcolor 0.2 0.35 1 0.5
  44. style 1
  45. }
  46. }
  47.  
  48.  
  49. menuDef {
  50. name "TeamScoreboxes"
  51. rect 20 38 640 480
  52. fullScreen MENU_FALSE
  53. visible MENU_TRUE
  54. ownerdrawflag CG_SHOW_ANYTEAMGAME
  55. itemDef {
  56. ownerdraw CG_RED_SCORE
  57. rect 602 411 32 20
  58. visible 1
  59. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  60. textscale 0.25
  61. textalign 2
  62. decoration
  63. }
  64.  
  65. itemDef {
  66. ownerdraw CG_BLUE_SCORE
  67. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  68. rect 602 431 32 20
  69. visible 1
  70. textscale 0.25
  71. textalign 2
  72. decoration
  73. }
  74.  
  75. }
  76. //=================================================================================
  77. menuDef {
  78. name "TeamScoreboxes2"
  79. rect 0 18 640 480
  80. fullScreen MENU_FALSE
  81. visible MENU_TRUE
  82. ownerdrawflag CG_SHOW_ANYTEAMGAME
  83.  
  84. itemDef {
  85. rect 610 418 28 16
  86. visible 1
  87. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  88. backcolor 0.2 0.35 1 0.5
  89. style 1
  90. }
  91.  
  92. itemDef {
  93. rect 610 438 28 16
  94. visible 1
  95. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  96. backcolor 1 0 0 0.5
  97. style 1
  98. }
  99.  
  100. itemDef {
  101. rect 602 431 32 20
  102. ownerdraw CG_RED_SCORE
  103. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  104. visible 1
  105. textscale 0.25
  106. textalign 2
  107. decoration
  108. }
  109.  
  110. itemDef {
  111. rect 602 411 32 20
  112. ownerdraw CG_BLUE_SCORE
  113. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  114. visible 1
  115. textscale 0.25
  116. textalign 2
  117. decoration
  118. }
  119.  
  120. }
  121. //=================================================================================
  122. menuDef {
  123. name "NonTeamScoreboxes"
  124. rect 0 18 640 480
  125. fullScreen MENU_FALSE
  126. visible MENU_TRUE
  127. ownerdrawflag CG_SHOW_ANYNONTEAMGAME
  128.  
  129. itemDef {
  130. rect 610 418 28 16
  131. visible 1
  132. ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
  133. backcolor 0.2 0.35 1 0.5
  134. style 1
  135. }
  136.  
  137. itemDef {
  138. rect 610 438 28 16
  139. visible 1
  140. ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
  141. backcolor 1 0 0 0.5
  142. style 1
  143. }
  144.  
  145. itemDef {
  146. rect 610 418 28 16
  147. visible 1
  148. ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
  149. backcolor 1 0 0 0.5
  150. style 1
  151. }
  152.  
  153. itemDef {
  154. rect 610 438 28 16
  155. visible 1
  156. ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
  157. backcolor 0.2 0.35 1 0.5
  158. style 1
  159. }
  160.  
  161. itemDef {
  162. name "OpponentInFirst"
  163. ownerdraw CG_1STPLACE
  164. ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
  165. rect 617 431 30 20
  166. visible 1
  167. textscale .25
  168. decoration
  169. }
  170.  
  171. itemDef {
  172. name "OpponentTrailingMe"
  173. ownerdraw CG_2NDPLACE
  174. ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
  175. rect 617 451 30 20
  176. visible 1
  177. textscale .25
  178. decoration
  179. }
  180.  
  181. itemDef {
  182. name "MyScoreWhenTrailing"
  183. ownerdraw CG_PLAYER_SCORE
  184. ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
  185. rect 611 431 30 20
  186. visible 1
  187. textscale .25
  188. decoration
  189. }
  190.  
  191. itemDef {
  192. name "MyScoreWhenInFirst"
  193. ownerdraw CG_PLAYER_SCORE
  194. ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
  195. rect 611 411 30 20
  196. visible 1
  197. textscale .25
  198. decoration
  199. }
  200. }
  201. //=================================================================================
  202. menuDef {
  203. name "AmmoMenu"
  204. fullScreen MENU_FALSE
  205. visible MENU_TRUE
  206. rect 106 488 99 36
  207.  
  208. itemDef {
  209. name "AmmoIcon"
  210. rect 8 -41 16 16
  211. visible 1
  212. decoration
  213. ownerdraw CG_PLAYER_AMMO_ICON2D
  214. }
  215.  
  216. itemDef {
  217. name "AmmoValueShadow"
  218. rect 27 -34 63 12
  219. visible 1
  220. textstyle 3
  221. decoration
  222. textscale .65
  223. forecolor 0 0 0 1
  224. ownerdraw CG_PLAYER_AMMO_VALUE
  225. }
  226.  
  227. itemDef {
  228. name "AmmoValue"
  229. rect 26 -35 63 12
  230. visible 1
  231. textstyle 3
  232. decoration
  233. textscale .65
  234. forecolor 1 1 1 1
  235. ownerdraw CG_PLAYER_AMMO_VALUE
  236. addColorRange -999 5 1 0 0 1
  237. }
  238. }
  239. //=================================================================================
  240. menuDef {
  241. name "HealthMenu"
  242. fullScreen MENU_FALSE
  243. visible MENU_TRUE
  244. rect 222 439 95 36
  245.  
  246. itemDef {
  247. name "HealthIconShadow"
  248. backcolor 0 0 0 0.8
  249. rect 23 7 18 18
  250. visible 1
  251. decoration
  252. style 1
  253. background "ui/assets/hud/health.tga"
  254. }
  255.  
  256. itemDef {
  257. name "HealthIcon"
  258. rect 22 6 18 18
  259. ownerdraw CG_TEAM_COLORIZED
  260. visible 1
  261. decoration
  262. style 1
  263. background "ui/assets/hud/health.tga"
  264. }
  265.  
  266. itemDef {
  267. name "HealthValueShadow"
  268. rect 67 12 63 22
  269. visible 1
  270. textalign 2
  271. decoration
  272. textstyle 3
  273. forecolor 0 0 0 1
  274. textscale 1
  275. ownerdraw CG_PLAYER_HEALTH
  276. }
  277.  
  278. itemDef {
  279. name "HealthValue"
  280. rect 65 10 63 22
  281. visible 1
  282. textalign 2
  283. decoration
  284. textstyle 3
  285. forecolor 1 1 1 1
  286. textscale 1
  287. ownerdraw CG_PLAYER_HEALTH
  288. addColorRange -999 25 1 0 0 1
  289. addColorRange 26 100 1 0.8 0.2 1
  290. addColorRange 101 999 1 1 1 1
  291. }
  292. }
  293. //=================================================================================
  294. menuDef {
  295. name "ArmorMenu"
  296. fullScreen MENU_FALSE
  297. visible MENU_TRUE
  298. rect 400 435 142 32
  299.  
  300. itemDef {
  301. name "ArmorIconShadow"
  302. backcolor 0 0 0 0.8
  303. rect 2 11 18 18
  304. visible 1
  305. decoration
  306. style 1
  307. background "ui/assets/hud/armor.tga"
  308. }
  309.  
  310. itemDef {
  311. name "ArmorIcon"
  312. ownerdraw CG_TEAM_COLORIZED
  313. rect 1 10 18 18
  314. visible 1
  315. decoration
  316. style 1
  317. background "ui/assets/hud/armor.tga"
  318. }
  319.  
  320. itemDef {
  321. name "ArmorValueShadow"
  322. rect 45 16 63 22
  323. visible 1
  324. textalign 2
  325. decoration
  326. textstyle 3
  327. forecolor 0 0 0 1
  328. textscale 1
  329. ownerdraw CG_PLAYER_ARMOR_VALUE
  330. }
  331.  
  332. itemDef {
  333. name "ArmorValue"
  334. rect 43 14 63 22
  335. visible 1
  336. textalign 2
  337. decoration
  338. textstyle 3
  339. forecolor 1 1 1 1
  340. textscale 1
  341. ownerdraw CG_PLAYER_ARMOR_VALUE
  342. addColorRange -999 100 1 0.8 0.2 1
  343. addColorRange 101 999 1 1 1 1
  344. }
  345. }
  346. //=================================================================================
  347. menuDef {
  348. name "TimerMenu"
  349. fullScreen MENU_FALSE
  350. visible MENU_TRUE
  351.  
  352. itemDef {
  353. name "timerfg"
  354. decoration
  355. rect 255 355 140 35
  356. visible 1
  357. backcolor 0 0.2 1 0.4
  358. style 1
  359. }
  360.  
  361. itemDef {
  362. name "TeamTimer"
  363. textalign 2
  364. style 0
  365. rect 275 385 150 80
  366. visible 1
  367. textstyle 6
  368. decoration
  369. forecolor 1 0 0 1
  370. textscale 0.8
  371. ownerdraw CG_LEVELTIMER
  372. }
  373.  
  374. itemDef {
  375. name "CARoundTimer"
  376. textalign 2
  377. style 0
  378. rect 278 45 50 12
  379. visible 1
  380. textstyle 3
  381. decoration
  382. forecolor 1 0 0 1
  383. textscale .30
  384. ownerdraw CG_ROUNDTIMER
  385. ownerdrawflag CG_SHOW_CLAN_ARENA
  386. }
  387. }
  388. //=================================================================================
  389. menuDef {
  390. name "BlueCAFrame"
  391. fullScreen MENU_FALSE
  392. visible MENU_TRUE
  393. rect 551 436 32 256
  394. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  395.  
  396. itemDef {
  397. name "BlueCAPlayerIcon"
  398. rect 33 2 21 12
  399. visible 1
  400. backcolor 1 1 1 1
  401. decoration
  402. style 1
  403. ownerdrawflag CG_SHOW_CLAN_ARENA
  404. background "ui/assets/score/ca_score_blu.tga"
  405. }
  406.  
  407. itemdef {
  408. name "BlueCAPlayers"
  409. ownerdrawflag CG_SHOW_CLAN_ARENA
  410. ownerdraw CG_BLUE_CLAN_PLYRS
  411. rect 45 11 136 40
  412. visible 1
  413. textscale .18
  414. forecolor 1 1 1 0.65
  415. decoration
  416. }
  417. }
  418. //=================================================================================
  419. menuDef {
  420. name "RedCAFrame"
  421. fullScreen MENU_FALSE
  422. visible MENU_TRUE
  423. rect 551 456 32 256
  424. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  425.  
  426.  
  427. itemDef {
  428. name "RedCAPlayerIcon"
  429. rect 33 2 21 12
  430. visible 1
  431. backcolor 1 1 1 1
  432. decoration
  433. style 1
  434. ownerdrawflag CG_SHOW_CLAN_ARENA
  435. background "ui/assets/score/ca_score_red.tga"
  436. }
  437.  
  438. itemdef {
  439. name "RedCAPlayers"
  440. ownerdrawflag CG_SHOW_CLAN_ARENA
  441. ownerdraw CG_RED_CLAN_PLYRS
  442. rect 45 11 136 40
  443. visible 1
  444. textscale .18
  445. forecolor 1 1 1 0.65
  446. decoration
  447. }
  448. }
  449. //=================================================================================
  450. menuDef {
  451. name "BlueCAFrame"
  452. fullScreen MENU_FALSE
  453. visible MENU_TRUE
  454. rect 551 456 32 256
  455. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  456.  
  457. itemDef {
  458. name "BlueCAPlayerIcon"
  459. rect 33 2 21 12
  460. visible 1
  461. backcolor 1 1 1 1
  462. decoration
  463. style 1
  464. ownerdrawflag CG_SHOW_CLAN_ARENA
  465. background "ui/assets/score/ca_score_blu.tga"
  466. }
  467.  
  468. itemdef {
  469. name "BlueCAPlayers"
  470. ownerdrawflag CG_SHOW_CLAN_ARENA
  471. ownerdraw CG_BLUE_CLAN_PLYRS
  472. rect 45 11 136 40
  473. visible 1
  474. textscale .18
  475. forecolor 1 1 1 0.65
  476. decoration
  477. }
  478. }
  479. //=================================================================================
  480. menuDef {
  481. name "RedCAFrame"
  482. fullScreen MENU_FALSE
  483. visible MENU_TRUE
  484. rect 551 436 32 256
  485. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  486.  
  487.  
  488. itemDef {
  489. name "RedCAPlayerIcon"
  490. rect 33 2 21 12
  491. visible 1
  492. backcolor 1 1 1 1
  493. decoration
  494. style 1
  495. ownerdrawflag CG_SHOW_CLAN_ARENA
  496. background "ui/assets/score/ca_score_red.tga"
  497. }
  498.  
  499. itemdef {
  500. name "RedCAPlayers"
  501. ownerdrawflag CG_SHOW_CLAN_ARENA
  502. ownerdraw CG_RED_CLAN_PLYRS
  503. rect 45 11 136 40
  504. visible 1
  505. textscale .18
  506. forecolor 1 1 1 0.65
  507. decoration
  508. }
  509. }
  510. //=================================================================================
  511. menuDef {
  512. name "FlagStatusMenu"
  513. rect 580 434 60 60
  514. fullScreen MENU_FALSE
  515. visible MENU_TRUE
  516. ownerdrawflag CG_SHOW_CTF
  517.  
  518. itemDef {
  519. name "RedFlag"
  520. rect 7 2 20 16
  521. visible 1
  522. decoration
  523. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  524. ownerdraw CG_RED_FLAGSTATUS
  525. }
  526.  
  527. itemDef {
  528. name "BlueFlag"
  529. rect 7 22 20 16
  530. visible 1
  531. decoration
  532. ownerdrawflag CG_SHOW_IF_RED_IS_FIRST_PLACE
  533. ownerdraw CG_BLUE_FLAGSTATUS
  534. }
  535. }
  536. //=================================================================================
  537. menuDef {
  538. name "FlagStatusMenu2"
  539. rect 580 434 60 60
  540. fullScreen MENU_FALSE
  541. visible MENU_TRUE
  542. ownerdrawflag CG_SHOW_CTF
  543.  
  544. itemDef {
  545. name "RedFlag2"
  546. rect 7 22 20 16
  547. visible 1
  548. decoration
  549. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  550. ownerdraw CG_RED_FLAGSTATUS
  551. }
  552.  
  553. itemDef {
  554. name "BlueFlag2"
  555. rect 7 2 20 16
  556. visible 1
  557. decoration
  558. ownerdrawflag CG_SHOW_IF_BLUE_IS_FIRST_PLACE
  559. ownerdraw CG_BLUE_FLAGSTATUS
  560. }
  561. }
  562. //=================================================================================
  563. menuDef {
  564. name "ScoresFrame"
  565. rect 580 434 60 60
  566. fullScreen MENU_FALSE
  567. visible MENU_TRUE
  568.  
  569. itemDef {
  570. name "oneflagstatus"
  571. rect 0 10 28 20
  572. visible 1
  573. decoration
  574. ownerdraw CG_ONEFLAG_STATUS
  575. }
  576.  
  577. itemDef {
  578. name "harvesterRed"
  579. rect 8 0 20 20
  580. visible 1
  581. bordercolor 1 1 1 1
  582. decoration
  583. style 3
  584. ownerdrawflag CG_SHOW_HARVESTER
  585. background "icons/skull_red.png"
  586. }
  587.  
  588. itemDef {
  589. name "harvesterBlue"
  590. rect 8 20 20 20
  591. visible 1
  592. bordercolor 1 1 1 .75
  593. decoration
  594. style 3
  595. ownerdrawflag CG_SHOW_HARVESTER
  596. background "icons/skull_blue.png"
  597. }
  598. }
  599. //=================================================================================
  600. menuDef {
  601. name "PowerupMenu"
  602. fullScreen MENU_FALSE
  603. visible MENU_TRUE
  604. rect 570 220 50 80
  605.  
  606. itemDef {
  607. name "powerupArea"
  608. rect 0 0 35 25
  609. visible 1
  610. decoration
  611. ownerdraw CG_AREA_POWERUP
  612. special 4
  613. align HUD_VERTICAL
  614. }
  615. }
  616. //=================================================================================
  617. menuDef {
  618. name "PickupsMenu"
  619. fullScreen MENU_FALSE
  620. visible MENU_TRUE
  621. rect 5 435 385 32
  622.  
  623. itemDef {
  624. name "playeritem"
  625. rect 0 0 16 16
  626. visible 1
  627. decoration
  628. ownerdraw CG_PLAYER_ITEM
  629. }
  630.  
  631. itemDef {
  632. name "CTFPOWERUP"
  633. rect 0 20 16 16
  634. visible 1
  635. decoration
  636. ownerdraw CG_CTF_POWERUP
  637. }
  638. }
  639. //=================================================================================
  640. menuDef {
  641. name "PlayerHasFlagMenu"
  642. fullScreen MENU_FALSE
  643. visible MENU_TRUE
  644. rect 48 426 385 42
  645.  
  646. itemDef {
  647. name "PlayerHasFlagBackgroundLeft"
  648. rect 0 0 6 74
  649. visible 1
  650. decoration
  651. forecolor 1 1 1 0.6
  652. style 1
  653. background "ui/assets/hud/scoreboxl2a.tga"
  654. ownerdraw CG_TEAM_COLORIZED
  655. ownerdrawflag CG_SHOW_IF_PLAYER_HAS_FLAG
  656. }
  657.  
  658. itemDef {
  659. name "PlayerHasFlagBackgroundMiddle"
  660. rect 6 0 32 74
  661. visible 1
  662. decoration
  663. forecolor 1 1 1 0.6
  664. style 1
  665. background "ui/assets/hud/scoreboxm2.tga"
  666. ownerdraw CG_TEAM_COLORIZED
  667. ownerdrawflag CG_SHOW_IF_PLAYER_HAS_FLAG
  668. }
  669.  
  670. itemDef {
  671. name "PlayerHasFlagBackgroundRight"
  672. rect 38 0 6 74
  673. visible 1
  674. decoration
  675. forecolor 1 1 1 0.6
  676. style 1
  677. background "ui/assets/hud/scoreboxr2.tga"
  678. ownerdraw CG_TEAM_COLORIZED
  679. ownerdrawflag CG_SHOW_IF_PLAYER_HAS_FLAG
  680. }
  681.  
  682. itemDef {
  683. name "Flag"
  684. rect 1 6 40 40
  685. visible 1
  686. decoration
  687. style 1
  688. ownerdraw CG_PLAYER_HASFLAG
  689. }
  690.  
  691. itemDef {
  692. name "Skulls"
  693. rect 3 11 34 34
  694. visible 1
  695. decoration
  696. textaligny 12
  697. textalignx 0
  698. textscale 0.333
  699. textstyle 3
  700. ownerdraw CG_HARVESTER_SKULLS
  701. }
  702. }
  703. //=================================================================================
  704. menuDef {
  705. name "Obituaries"
  706. fullScreen MENU_FALSE
  707. visible MENU_TRUE
  708. rect 3 16 65 12
  709.  
  710. itemdef {
  711. name hudObit
  712. ownerdraw CG_PLAYER_OBIT
  713. rect 0 0 65 12
  714. visible 1
  715. decoration
  716. textscale .3
  717. }
  718. }
  719. //=================================================================================
  720. menuDef {
  721. name "NonTeamScoreBoardBorders"
  722. rect -2 16 0 0
  723. fullScreen MENU_FALSE
  724. visible MENU_TRUE
  725. ownerdrawflag CG_SHOW_ANYNONTEAMGAME
  726.  
  727. itemDef {
  728. name "Border1"
  729. visible 1
  730. rect 608 416 32 20
  731. border WINDOW_BORDER_FULL
  732. bordersize 2
  733. bordercolor 0.8 0.8 0.3 1
  734. ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
  735. }
  736.  
  737. itemDef {
  738. name "Border2"
  739. visible 1
  740. rect 608 436 32 20
  741. border WINDOW_BORDER_FULL
  742. bordersize 2
  743. bordercolor 0.8 0.8 0.3 1
  744. ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
  745. }
  746. }
  747. //=================================================================================
  748. menuDef {
  749. name "TeamScoreBoardBorders"
  750. rect -2 16 0 0
  751. fullScreen MENU_FALSE
  752. visible MENU_TRUE
  753. ownerdrawflag CG_SHOW_ANYTEAMGAME
  754.  
  755. itemDef {
  756. name "Border1"
  757. visible 1
  758. rect 608 416 32 20
  759. border WINDOW_BORDER_FULL
  760. bordersize 2
  761. bordercolor 0.8 0.8 0.3 1
  762. ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
  763. }
  764.  
  765. itemDef {
  766. name "Border2"
  767. visible 1
  768. rect 608 436 32 20
  769. border WINDOW_BORDER_FULL
  770. bordersize 2
  771. bordercolor 0.8 0.8 0.3 1
  772. ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
  773. }
  774. }
  775. //=================================================================================
  776. menuDef {
  777. name "ChatAreaMenu"
  778. fullScreen MENU_FALSE
  779. visible MENU_TRUE
  780. rect 0 0 32 256
  781.  
  782. itemDef {
  783. name "ChatBackgroundLeft"
  784. rect 3 345 16 64
  785. visible 1
  786. ownerdrawflag CG_SHOW_IF_CHAT_VISIBLE
  787. decoration
  788. backcolor 0 0 0 0.5
  789. style 1
  790. background "ui/assets/hud/chatl.tga"
  791. }
  792.  
  793. itemDef {
  794. name "ChatBackgroundMiddle"
  795. rect 19 345 561 64
  796. visible 1
  797. ownerdrawflag CG_SHOW_IF_CHAT_VISIBLE
  798. decoration
  799. backcolor 0 0 0 0.5
  800. style 1
  801. background "ui/assets/hud/chatm.tga"
  802. }
  803.  
  804. itemDef {
  805. name "ChatBackgroundRight"
  806. rect 580 345 16 64
  807. visible 1
  808. ownerdrawflag CG_SHOW_IF_CHAT_VISIBLE
  809. decoration
  810. backcolor 0 0 0 0.5
  811. style 1
  812. background "ui/assets/hud/chatr.tga"
  813. }
  814.  
  815. itemdef {
  816. name chatWindow
  817. ownerdraw CG_AREA_NEW_CHAT
  818. rect 5 287 634 120
  819. visible 1
  820. decoration
  821. }
  822. }
  823. //=================================================================================
  824. }
Advertisement
RAW Paste Data Copied
Advertisement