Advertisement
Guest User

Untitled

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