ingame_orders.menu 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. {
  2. \\ SETUP MENU \\
  3. {
  4. menuDef
  5. {
  6. name "ingame_orders"
  7. visible 0
  8. fullscreen 0
  9. rect 45 30 200 240
  10. outOfBoundsClick // this closes the window if it gets a click out of the rectangle
  11. focusColor 1 .75 0 1
  12. style 1
  13. border 1
  14. disableColor .5 .5 .5 1
  15. onopen
  16. {
  17. hide grpicon ;
  18. show attack
  19. }
  20. itemDef
  21. {
  22. name window
  23. rect 10 15 180 225
  24. style 1
  25. backcolor 0 .1 0 1
  26. visible 1
  27. decoration
  28. }
  29. itemDef
  30. {
  31. name orders
  32. group grporders
  33. text @MENUS_NAME
  34. style 0
  35. ownerdraw UI_SELECTEDPLAYER
  36. // As cycle through playerlist selected player in HUD cycles //
  37. rect 10 20 200 20
  38. textalign 0
  39. textalignx 10
  40. textaligny 2
  41. textscale .25
  42. forecolor 1 1 1 1
  43. visible 1
  44. }
  45. // GIVE ORDERS TO OTHERS //
  46. itemDef
  47. {
  48. name orders
  49. group grporders
  50. text @MENUS_YOU_DECIDE
  51. rect 0 80 200 20
  52. type 1
  53. textalign 1
  54. textalignx 100
  55. textaligny 2
  56. textscale .25
  57. forecolor 1 1 1 1
  58. visible 1
  59. mouseenter
  60. {
  61. hide grpicon
  62. }
  63. action
  64. {
  65. uiScript voiceOrders "cmd bot_order %d 0"
  66. }
  67. ownerdrawflag UI_SHOW_LEADER
  68. }
  69. itemDef
  70. {
  71. name orders
  72. group grporders
  73. type 1
  74. text @MENUS_ATTACK_THE_ENEMY_S_BASE
  75. rect 0 100 200 20
  76. textalign 1
  77. textalignx 100
  78. textaligny 2
  79. textscale .25
  80. forecolor 1 1 1 1
  81. visible 1
  82. cvarTest "g_gametype"
  83. hideCvar
  84. {
  85. "5" ;
  86. "6"
  87. }
  88. mouseenter
  89. {
  90. hide grpicon
  91. }
  92. action
  93. {
  94. uiScript voiceOrders "cmd bot_order %d 1"
  95. }
  96. ownerdrawflag UI_SHOW_LEADER
  97. }
  98. itemDef
  99. {
  100. name orders
  101. group grporders
  102. type 1
  103. text @MENUS_DEFEND_OUR_BASE
  104. rect 0 120 200 20
  105. textalign 1
  106. textalignx 100
  107. textaligny 2
  108. textscale .25
  109. forecolor 1 1 1 1
  110. visible 1
  111. cvarTest "g_gametype"
  112. hideCvar
  113. {
  114. "5" ;
  115. "6"
  116. }
  117. mouseenter
  118. {
  119. hide grpicon
  120. }
  121. action
  122. {
  123. uiScript voiceOrders "cmd bot_order %d 2"
  124. }
  125. ownerdrawflag UI_SHOW_LEADER
  126. }
  127. itemDef
  128. {
  129. name orders
  130. group grporders
  131. type 1
  132. text @MENUS_GET_OUR_FLAG_BACK
  133. rect 0 140 200 20
  134. textalign 1
  135. textalignx 100
  136. textaligny 2
  137. textscale .25
  138. forecolor 1 1 1 1
  139. visible 1
  140. cvarTest "g_gametype"
  141. hideCvar
  142. {
  143. "5" ;
  144. "6"
  145. }
  146. mouseenter
  147. {
  148. hide grpicon
  149. }
  150. action
  151. {
  152. uiScript voiceOrders "cmd bot_order %d 3"
  153. }
  154. ownerdrawflag UI_SHOW_LEADER
  155. }
  156. itemDef
  157. {
  158. name orders
  159. group grporders
  160. text @MENUS_GUARD_OUR_FLAG_CARRIER
  161. type 1
  162. rect 0 160 200 20
  163. textalign 1
  164. textalignx 100
  165. textaligny 2
  166. textscale .25
  167. forecolor 1 1 1 1
  168. visible 1
  169. cvarTest "g_gametype"
  170. hideCvar
  171. {
  172. "5" ;
  173. "6"
  174. }
  175. mouseenter
  176. {
  177. hide grpicon
  178. }
  179. action
  180. {
  181. uiScript voiceOrders "cmd bot_order %d 4"
  182. }
  183. ownerdrawflag UI_SHOW_LEADER
  184. }
  185. itemDef
  186. {
  187. name orders
  188. group grporders
  189. type 1
  190. text @MENUS_GET_ENEMY_FLAG_BACK_TO
  191. rect 0 180 200 20
  192. textalign 1
  193. textalignx 100
  194. textaligny 2
  195. textscale .25
  196. forecolor 1 1 1 1
  197. visible 1
  198. cvarTest "g_gametype"
  199. hideCvar
  200. {
  201. "5" ;
  202. "6"
  203. }
  204. mouseenter
  205. {
  206. hide grpicon
  207. }
  208. action
  209. {
  210. uiScript voiceOrders "cmd bot_order %d 5"
  211. }
  212. ownerdrawflag UI_SHOW_LEADER
  213. }
  214. itemDef
  215. {
  216. name orders
  217. group grporders
  218. type 1
  219. text @MENUS_COMPLETE_THE_CURRENT
  220. rect 0 100 200 20
  221. textalign 1
  222. textalignx 100
  223. textaligny 2
  224. textscale .25
  225. forecolor 1 1 1 1
  226. visible 1
  227. cvarTest "g_gametype"
  228. hideCvar
  229. {
  230. "5" ;
  231. "7"
  232. }
  233. mouseenter
  234. {
  235. hide grpicon
  236. }
  237. action
  238. {
  239. uiScript voiceOrders "cmd bot_order %d 1"
  240. }
  241. ownerdrawflag UI_SHOW_LEADER
  242. }
  243. itemDef
  244. {
  245. name orders
  246. group grporders
  247. type 1
  248. text @MENUS_PREVENT_THE_ENEMY_FROM
  249. rect 0 120 200 20
  250. textalign 1
  251. textalignx 100
  252. textaligny 2
  253. textscale .25
  254. forecolor 1 1 1 1
  255. visible 1
  256. cvarTest "g_gametype"
  257. hideCvar
  258. {
  259. "5" ;
  260. "7"
  261. }
  262. mouseenter
  263. {
  264. hide grpicon
  265. }
  266. action
  267. {
  268. uiScript voiceOrders "cmd bot_order %d 2"
  269. }
  270. ownerdrawflag UI_SHOW_LEADER
  271. }
  272. itemDef
  273. {
  274. name orders
  275. group grporders
  276. type 1
  277. text @MENUS_FOLLOW_ME
  278. rect 0 100 200 20
  279. textalign 1
  280. textalignx 100
  281. textaligny 2
  282. textscale .25
  283. forecolor 1 1 1 1
  284. visible 1
  285. cvarTest "g_gametype"
  286. hideCvar
  287. {
  288. "6" ;
  289. "7"
  290. }
  291. mouseenter
  292. {
  293. hide grpicon
  294. }
  295. action
  296. {
  297. uiScript voiceOrders "cmd bot_order %d 1"
  298. }
  299. ownerdrawflag UI_SHOW_LEADER
  300. }
  301. itemDef
  302. {
  303. name orders
  304. group grporders
  305. type 1
  306. text @MENUS_ASSIST_ME
  307. rect 0 120 200 20
  308. textalign 1
  309. textalignx 100
  310. textaligny 2
  311. textscale .25
  312. forecolor 1 1 1 1
  313. visible 1
  314. cvarTest "g_gametype"
  315. hideCvar
  316. {
  317. "6" ;
  318. "7"
  319. }
  320. mouseenter
  321. {
  322. hide grpicon
  323. }
  324. action
  325. {
  326. uiScript voiceOrders "cmd bot_order %d 2"
  327. }
  328. ownerdrawflag UI_SHOW_LEADER
  329. }
  330. itemDef
  331. {
  332. name orders
  333. group grporders
  334. type 1
  335. text @MENUS_REGROUP
  336. rect 0 140 200 20
  337. textalign 1
  338. textalignx 100
  339. textaligny 2
  340. textscale .25
  341. forecolor 1 1 1 1
  342. visible 1
  343. cvarTest "g_gametype"
  344. hideCvar
  345. {
  346. "6" ;
  347. "7"
  348. }
  349. mouseenter
  350. {
  351. hide grpicon
  352. }
  353. action
  354. {
  355. uiScript voiceOrders "cmd bot_order %d 3"
  356. }
  357. ownerdrawflag UI_SHOW_LEADER
  358. }
  359. }
  360. }