ingame_about.menu 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. //----------------------------------------------------------------------------------------------
  2. // INGAME ABOUT BOX
  3. //----------------------------------------------------------------------------------------------
  4. {
  5. menuDef
  6. {
  7. name "ingame_about"
  8. visible 0
  9. fullscreen 0
  10. outOfBoundsClick // this closes the window if it gets a click out of the rectangle
  11. rect 10 40 380 280
  12. focusColor 1 .75 0 1
  13. style 1
  14. border 1
  15. // Overall window backdrop
  16. itemDef
  17. {
  18. name background_pic
  19. group none
  20. style WINDOW_STYLE_SHADER
  21. rect 0 0 500 240
  22. background "gfx/menus/menu_box_ingame"
  23. forecolor 1 1 1 1
  24. visible 1
  25. decoration
  26. }
  27. itemDef
  28. {
  29. name about
  30. rect 10 5 360 20
  31. style WINDOW_STYLE_SHADER
  32. background "gfx/menus/menu_blendbox"
  33. type 4
  34. text @MENUS_HOST_NAME
  35. cvar "ui_about_hostname"
  36. maxPaintChars 40
  37. textalign ITEM_ALIGN_RIGHT
  38. textalignx 150
  39. textaligny -2
  40. font 2
  41. textscale 1
  42. forecolor 1 1 1 1
  43. visible 1
  44. decoration
  45. }
  46. itemDef
  47. {
  48. name about
  49. rect 10 40 360 20
  50. style 0
  51. type 4
  52. text @MENUS_ADDRESS
  53. cvar "cl_currentServerAddress"
  54. maxPaintChars 24
  55. textalign ITEM_ALIGN_RIGHT
  56. textalignx 150
  57. textaligny -3
  58. forecolor 1 .682 0 1
  59. font 2
  60. textscale 1
  61. visible 1
  62. decoration
  63. }
  64. itemDef
  65. {
  66. name about
  67. rect 10 60 360 20
  68. type 4
  69. style 0
  70. text @MENUS_MAP_NAME
  71. cvar "ui_about_mapname"
  72. maxPaintChars 20
  73. textalign ITEM_ALIGN_RIGHT
  74. textalignx 150
  75. textaligny -3
  76. font 2
  77. textscale 1
  78. forecolor 1 .682 0 1
  79. visible 1
  80. decoration
  81. }
  82. itemDef
  83. {
  84. name about
  85. rect 10 80 360 20
  86. style 0
  87. //type 4
  88. textalign ITEM_ALIGN_RIGHT
  89. text @MENUS_TYPE
  90. type ITEM_TYPE_MULTI
  91. cvar "ui_about_gametype"
  92. cvarFloatList
  93. {
  94. @MENUS_FREE_FOR_ALL 0
  95. @MENUS_HOLOCRON_FFA 1
  96. @MENUS_JEDI_MASTER 2
  97. @MENUS_DUEL 3
  98. @MENUS_POWERDUEL 4
  99. @MENUS_TEAM_FFA 6
  100. @MENUS_SIEGE 7
  101. @MENUS_CAPTURE_THE_FLAG 8
  102. @MENUS_CAPTURE_THE_YSALIMARI 9
  103. }
  104. textalignx 150
  105. textaligny -3
  106. font 2
  107. textscale 1
  108. forecolor 1 .682 0 1
  109. backcolor 0 0 .75 .25
  110. visible 1
  111. decoration
  112. }
  113. itemDef
  114. {
  115. name about
  116. rect 10 100 360 20
  117. type 4
  118. style 0
  119. text @MENUS_MAXIMUM_PLAYERS
  120. cvar "ui_about_maxclients"
  121. maxPaintChars 12
  122. textalign ITEM_ALIGN_RIGHT
  123. textalignx 150
  124. textaligny -3
  125. font 2
  126. textscale 1
  127. forecolor 1 .682 0 1
  128. visible 1
  129. decoration
  130. }
  131. itemDef
  132. {
  133. name about
  134. rect 10 120 360 20
  135. type 4
  136. style 0
  137. text @MENUS_TIME_LIMIT
  138. maxPaintChars 12
  139. cvar "ui_about_timelimit"
  140. textalign ITEM_ALIGN_RIGHT
  141. textalignx 150
  142. textaligny -3
  143. font 2
  144. textscale 1
  145. forecolor 1 .682 0 1
  146. visible 1
  147. decoration
  148. }
  149. itemDef
  150. {
  151. name about
  152. rect 10 140 360 20
  153. type 4
  154. style 0
  155. text @MENUS_FRAG_LIMIT
  156. cvarTest "ui_about_gametype"
  157. hideCvar
  158. {
  159. "1" ;
  160. "2" ;
  161. "3" ;
  162. "4" ;
  163. "7" ;
  164. "8" ;
  165. "9" ;
  166. }
  167. maxPaintChars 12
  168. cvar "ui_about_fraglimit"
  169. textalign ITEM_ALIGN_RIGHT
  170. textalignx 150
  171. textaligny -3
  172. font 2
  173. textscale 1
  174. forecolor 1 .682 0 1
  175. visible 1
  176. decoration
  177. }
  178. itemDef
  179. {
  180. name about
  181. rect 10 140 360 20
  182. type 4
  183. style 0
  184. text @MENUS_CAPTURE_LIMIT
  185. cvarTest "ui_about_gametype"
  186. showCvar
  187. {
  188. "8" ;
  189. "9" ;
  190. }
  191. maxPaintChars 12
  192. cvar "ui_about_capturelimit"
  193. textalign ITEM_ALIGN_RIGHT
  194. textalignx 150
  195. textaligny -3
  196. font 2
  197. textscale 1
  198. forecolor 1 .682 0 1
  199. visible 1
  200. decoration
  201. }
  202. itemDef
  203. {
  204. name about
  205. rect 10 160 360 20
  206. type 4
  207. style 0
  208. text @MENUS_DUEL_LIMIT
  209. cvarTest "ui_about_gametype"
  210. showCvar
  211. {
  212. "3" ;
  213. "4" ;
  214. }
  215. maxPaintChars 12
  216. cvar "ui_about_duellimit"
  217. textalign ITEM_ALIGN_RIGHT
  218. textalignx 150
  219. textaligny -3
  220. font 2
  221. textscale 1
  222. forecolor 1 .682 0 1
  223. visible 1
  224. decoration
  225. }
  226. itemDef
  227. {
  228. name about
  229. rect 10 180 360 20
  230. type 4
  231. maxPaintChars 4
  232. style 0
  233. text @MENUS_MINIMUM_PLAYERS
  234. cvar "ui_about_botminplayers"
  235. textalign ITEM_ALIGN_RIGHT
  236. textalignx 150
  237. textaligny -3
  238. font 2
  239. textscale 1
  240. forecolor 1 .682 0 1
  241. visible 1
  242. decoration
  243. }
  244. itemDef
  245. {
  246. name about
  247. rect 10 210 360 20
  248. type 4
  249. style 0
  250. text @MENUS_VERSION
  251. cvar version
  252. maxPaintChars 40
  253. textalign ITEM_ALIGN_CENTER
  254. textalignx 180
  255. textaligny 14
  256. font 4
  257. textscale 1
  258. forecolor 1 .682 0 1
  259. visible 1
  260. decoration
  261. }
  262. }
  263. }