ingameWpnSelect.menu 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639
  1. //----------------------------------------------------------------------------------------------
  2. //
  3. // Weapon Select Menu
  4. //
  5. // The player is allowed to choose from a list of weapons. The weapons in the list are
  6. // based on the value in tier_storyinfo
  7. //
  8. // Weapon index values
  9. // SABER - 1
  10. // BLASTER PISTOL - 2
  11. // BLASTER - 3
  12. // DISRUPTOR - 4
  13. // BOWCASTER - 5
  14. // REPEATER - 6
  15. // DEMP - 7
  16. // FLECHETTE - 8
  17. // ROCKET LAUNCHER - 9
  18. // THERMAL DET. - 10
  19. // TRIP MINE - 11
  20. // DET PACK - 12
  21. // CONCUSSION - 13
  22. //
  23. // Ammo index values amounts to give
  24. // SABER - FORCE - 1 - 100
  25. // BLASTER PISTOL - BLASTER - 2 - 300
  26. // BLASTER - BLASTER - 2 - 300
  27. // DISRUPTOR - POWER CELL - 3 - 300
  28. // BOWCASTER - POWER CELL - 3 - 300
  29. // REPEATER - METAL BOLTS - 4 - 400
  30. // DEMP - POWER CELL - 3 - 300
  31. // FLECHETTE - METAL BOLTS - 4 - 400
  32. // ROCKET LAUNCHER - ROCKETS - 5 - 10
  33. // THERMAL DET. - THERMAL - 7 - 10
  34. // TRIP MINE - TRIP MINE - 8 - 5
  35. // DET. PACK - DETPACK - 9 - 5
  36. // CONCUSSION - METAL BOLTS - 4 - 400
  37. //
  38. //----------------------------------------------------------------------------------------------
  39. {
  40. menuDef
  41. {
  42. name "ingameWpnSelect"
  43. fullScreen 1
  44. rect 0 0 640 480
  45. visible 1
  46. focusColor 1 1 1 1
  47. descX 320
  48. descY 424
  49. descScale 1
  50. descColor 1 .682 0 .8
  51. descAlignment ITEM_ALIGN_CENTER
  52. fadeClamp 1.0 // sets the fadeup alpha
  53. fadeCycle 25 // how often fade happens in milliseconds
  54. fadeAmount 0.05 // amount to adjust alpha per cycle
  55. onOpen
  56. {
  57. uiScript "initweaponselect" // Perform screen init
  58. uiScript "clearweapons" // Get rid of any weapons
  59. uiScript "clearinventory" // Get rid of any inventory
  60. uiScript "giveweapon" "1" // Give saber
  61. uiScript "giveweapon" "2" // Give blaster
  62. uiScript "equipweapon" "1" // start with saber
  63. }
  64. onESC
  65. {
  66. play "sound/interface/menuroam.wav"
  67. }
  68. //----------------------------------------------------------------------------------------------
  69. // MENU BACKGROUND
  70. //----------------------------------------------------------------------------------------------
  71. itemDef
  72. {
  73. name background
  74. group none
  75. style WINDOW_STYLE_SHADER
  76. rect 0 0 640 480
  77. background "gfx/menus/weaponmenu_back"
  78. forecolor 1 1 1 1
  79. visible 1
  80. decoration
  81. }
  82. //----------------------------------------------------------------------------------------------
  83. // TEXT - Choose weapons/Weapons chosen.
  84. //----------------------------------------------------------------------------------------------
  85. itemDef
  86. {
  87. name choose_weapons_text
  88. type ITEM_TYPE_TEXT
  89. rect 0 15 640 18
  90. text @MENUS_CHOOSEWEAPONS
  91. font 2
  92. forecolor 1 1 1 1
  93. textscale .80
  94. textalign ITEM_ALIGN_CENTER
  95. textalignx 320
  96. visible 1
  97. decoration
  98. }
  99. itemDef
  100. {
  101. name weapons_chosen_text
  102. type ITEM_TYPE_TEXT
  103. rect 0 20 640 18
  104. text @MENUS_WEAPONSCHOSEN
  105. font 2
  106. forecolor .308 .980 .277 1
  107. textscale .80
  108. textalign ITEM_ALIGN_CENTER
  109. textalignx 320
  110. visible 0
  111. decoration
  112. }
  113. //----------------------------------------------------------------------------------------------
  114. // INSTRUCTIONS
  115. //----------------------------------------------------------------------------------------------
  116. itemDef
  117. {
  118. name setup_background
  119. group inst_stuff
  120. style WINDOW_STYLE_FILLED
  121. rect 40 195 455 145
  122. backcolor 0 0 .35 .9
  123. forecolor 1 1 1 1
  124. border 1
  125. bordercolor 0 0 .8 1
  126. visible 0
  127. decoration
  128. }
  129. itemDef
  130. {
  131. name instruction_title
  132. group inst_stuff
  133. type ITEM_TYPE_TEXT
  134. rect 50 195 470 18
  135. text @MENUS_INSTRUCTIONS
  136. font 2
  137. forecolor .549 .854 1 1
  138. textscale .8
  139. textalign ITEM_ALIGN_CENTER
  140. textalignx 230
  141. visible 0
  142. decoration
  143. }
  144. itemDef
  145. {
  146. name instruction_text
  147. group inst_stuff
  148. type ITEM_TYPE_TEXTSCROLL
  149. rect 45 220 475 130
  150. text @MENUS_WEAPON_SELECTION_HELP
  151. font 4
  152. forecolor 1 1 1 1
  153. textscale 1.0
  154. textalign ITEM_ALIGN_LEFT
  155. visible 0
  156. decoration autowrapped
  157. textaligny 0
  158. lineHeight 13
  159. }
  160. itemDef
  161. {
  162. name inst_done_button
  163. group inst_stuff
  164. style WINDOW_STYLE_EMPTY
  165. type ITEM_TYPE_BUTTON
  166. rect 495 255 130 64
  167. text @MENUS_DONE_CAPS
  168. descText @MENUS_HELP_DESC
  169. font 3
  170. textscale 1
  171. textaligny 0
  172. textalign ITEM_ALIGN_CENTER
  173. textstyle 1
  174. textalignx 65
  175. forecolor .79 .64 .22 1
  176. visible 0
  177. mouseEnter
  178. {
  179. show button_glow
  180. setitemrect button_glow 490 255 140 25
  181. }
  182. mouseExit
  183. {
  184. hide button_glow
  185. }
  186. action
  187. {
  188. play "sound/interface/button1.wav" ;
  189. hide button_glow
  190. hide inst_stuff
  191. show weapon_button
  192. }
  193. }
  194. itemDef
  195. {
  196. name button_glow
  197. group none
  198. style WINDOW_STYLE_SHADER
  199. rect 0 0 0 0
  200. background "gfx/menus/menu_buttonback"
  201. forecolor 1 1 1 1
  202. visible 0
  203. decoration
  204. }
  205. //----------------------------------------------------------------------------------------------
  206. // SABER BUTTONS AND BUTTON GRAPHICS
  207. //----------------------------------------------------------------------------------------------
  208. itemDef
  209. {
  210. name saber_hex_background
  211. group normal_icon
  212. style WINDOW_STYLE_SHADER
  213. rect 28 40 88 120
  214. background "gfx/menus/hex_pattern_gray"
  215. forecolor 0 1 1 1
  216. visible 1
  217. decoration
  218. }
  219. itemDef
  220. {
  221. name saber_icon
  222. group normal_icon
  223. style WINDOW_STYLE_SHADER
  224. rect 24 30 80 80
  225. background "gfx/hud/w_icon_lightsaber_na"
  226. forecolor 1 1 1 1
  227. visible 1
  228. decoration
  229. }
  230. itemDef
  231. {
  232. name saber_icon_lit
  233. group normal_icon
  234. style WINDOW_STYLE_SHADER
  235. rect 24 30 80 80
  236. background "gfx/hud/w_icon_lightsaber"
  237. forecolor 1 1 1 1
  238. visible 0
  239. decoration
  240. }
  241. itemDef
  242. {
  243. name saber_button
  244. group weapon_button
  245. type ITEM_TYPE_BUTTON
  246. rect 28 40 79 64
  247. forecolor 1 1 1 1
  248. visible 1
  249. mouseEnter
  250. {
  251. hide saber_icon
  252. show saber_icon_lit
  253. // Show big icon
  254. show weapon_icon
  255. setitembackground weapon_icon "gfx/hud/w_icon_lightsaber_na"
  256. // Show weapon description
  257. show weapon_desc
  258. setitemtext weapon_desc @SP_INGAME_SABER_DESC
  259. }
  260. mouseExit
  261. {
  262. show saber_icon
  263. hide saber_icon_lit
  264. }
  265. action
  266. {
  267. }
  268. }
  269. //----------------------------------------------------------------------------------------------
  270. // BLASTER PISTOL BUTTONS AND BUTTON GRAPHICS
  271. //----------------------------------------------------------------------------------------------
  272. itemDef
  273. {
  274. name bpistol_hex_background
  275. group normal_icon
  276. style WINDOW_STYLE_SHADER
  277. rect 28 109 88 120
  278. background "gfx/menus/hex_pattern_gray"
  279. forecolor 0 1 1 1
  280. visible 1
  281. decoration
  282. }
  283. itemDef
  284. {
  285. name bpistol_icon
  286. group normal_icon
  287. style WINDOW_STYLE_SHADER
  288. rect 24 96 80 80
  289. background "gfx/hud/w_icon_blaster_pistol_na"
  290. forecolor 1 1 1 1
  291. visible 1
  292. decoration
  293. }
  294. itemDef
  295. {
  296. name bpistol_icon_lit
  297. group normal_icon
  298. style WINDOW_STYLE_SHADER
  299. rect 24 96 80 80
  300. background "gfx/hud/w_icon_blaster_pistol"
  301. forecolor 1 1 1 1
  302. visible 0
  303. decoration
  304. }
  305. itemDef
  306. {
  307. name bpistol_button
  308. group weapon_button
  309. type ITEM_TYPE_BUTTON
  310. rect 28 109 79 64
  311. forecolor 1 1 1 1
  312. // desctext @MENU_CLICKDESCRIPTION
  313. visible 1
  314. mouseEnter
  315. {
  316. hide bpistol_icon
  317. show bpistol_icon_lit
  318. // Show big icon
  319. show weapon_icon
  320. setitembackground weapon_icon "gfx/hud/w_icon_blaster_pistol_na"
  321. // Show weapon description
  322. show weapon_desc
  323. setitemtext weapon_desc @SP_INGAME_NEW_BLASTER_PISTOL_DESC
  324. }
  325. mouseExit
  326. {
  327. show bpistol_icon
  328. hide bpistol_icon_lit
  329. }
  330. action
  331. {
  332. }
  333. }
  334. //----------------------------------------------------------------------------------------------
  335. // BLASTER RIFLE BUTTONS AND BUTTON GRAPHICS
  336. //----------------------------------------------------------------------------------------------
  337. itemDef
  338. {
  339. name brifle_hex_background
  340. group normal_icon
  341. style WINDOW_STYLE_SHADER
  342. rect 136 40 88 120
  343. background "gfx/menus/hex_pattern_gray"
  344. forecolor 0 .5 0 1
  345. visible 1
  346. decoration
  347. }
  348. itemDef
  349. {
  350. name brifle_icon
  351. group normal_icon
  352. style WINDOW_STYLE_SHADER
  353. rect 134 31 80 80
  354. background "gfx/hud/w_icon_blaster_na"
  355. forecolor 1 1 1 1
  356. visible 1
  357. decoration
  358. }
  359. itemDef
  360. {
  361. name brifle_icon_lit
  362. group normal_icon
  363. style WINDOW_STYLE_SHADER
  364. rect 134 31 80 80
  365. background "gfx/hud/w_icon_blaster"
  366. forecolor 1 1 1 1
  367. visible 0
  368. decoration
  369. }
  370. itemDef
  371. {
  372. name brifle_button
  373. group weapon_button
  374. type ITEM_TYPE_BUTTON
  375. rect 137 40 79 64
  376. forecolor 1 1 1 1
  377. desctext @MENUS_CLICKSELECT
  378. visible 1
  379. mouseEnter
  380. {
  381. hide brifle_icon
  382. show brifle_icon_lit
  383. // Show big icon
  384. show weapon_icon
  385. setitembackground weapon_icon "gfx/hud/w_icon_blaster_na"
  386. // Show weapon description
  387. show weapon_desc
  388. setitemtext weapon_desc @SP_INGAME_BLASTER_RIFLE_DESC
  389. }
  390. mouseExit
  391. {
  392. show brifle_icon
  393. hide brifle_icon_lit
  394. }
  395. action
  396. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  397. uiScript "addweaponselection" "3" "2" "300" "brifle_icon" "brifle_icon_lit" "brifle_hex_background" "sound/weapons/blaster/select.wav"
  398. }
  399. }
  400. //----------------------------------------------------------------------------------------------
  401. // DISRUPTOR RIFLE BUTTONS AND BUTTON GRAPHICS
  402. //----------------------------------------------------------------------------------------------
  403. itemDef
  404. {
  405. name disruptor_hex_background
  406. group normal_icon
  407. style WINDOW_STYLE_SHADER
  408. rect 136 109 88 120
  409. background "gfx/menus/hex_pattern_gray"
  410. forecolor 0 .5 0 1
  411. visible 1
  412. decoration
  413. }
  414. itemDef
  415. {
  416. name disruptor_icon
  417. group normal_icon
  418. style WINDOW_STYLE_SHADER
  419. rect 134 99 80 80
  420. background "gfx/hud/w_icon_disruptor_na"
  421. forecolor 1 1 1 1
  422. visible 1
  423. decoration
  424. }
  425. itemDef
  426. {
  427. name disruptor_icon_lit
  428. group normal_icon
  429. style WINDOW_STYLE_SHADER
  430. rect 134 99 80 80
  431. background "gfx/hud/w_icon_disruptor"
  432. forecolor 1 1 1 1
  433. visible 0
  434. decoration
  435. }
  436. itemDef
  437. {
  438. name disruptor_button
  439. group weapon_button
  440. type ITEM_TYPE_BUTTON
  441. rect 137 109 79 64
  442. forecolor 1 1 1 1
  443. desctext @MENUS_CLICKSELECT
  444. visible 1
  445. mouseEnter
  446. {
  447. hide disruptor_icon
  448. show disruptor_icon_lit
  449. // Show big icon
  450. show weapon_icon
  451. setitembackground weapon_icon "gfx/hud/w_icon_disruptor_na"
  452. // Show weapon description
  453. show weapon_desc
  454. setitemtext weapon_desc @SP_INGAME_DISRUPTOR_RIFLE_DESC
  455. }
  456. mouseExit
  457. {
  458. show disruptor_icon
  459. hide disruptor_icon_lit
  460. }
  461. action
  462. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  463. uiScript "addweaponselection" "4" "3" "300" "disruptor_icon" "disruptor_icon_lit" "disruptor_hex_background" "sound/weapons/disruptor/select.wav"
  464. }
  465. }
  466. //----------------------------------------------------------------------------------------------
  467. // BOWCASTER BUTTONS AND BUTTON GRAPHICS
  468. //----------------------------------------------------------------------------------------------
  469. itemDef
  470. {
  471. name bowcaster_hex_background
  472. group normal_icon
  473. style WINDOW_STYLE_SHADER
  474. rect 222 40 88 120
  475. background "gfx/menus/hex_pattern_gray"
  476. forecolor 0 .5 0 1
  477. visible 1
  478. decoration
  479. }
  480. itemDef
  481. {
  482. name bowcaster_icon
  483. group normal_icon
  484. style WINDOW_STYLE_SHADER
  485. rect 222 31 80 80
  486. background "gfx/hud/w_icon_bowcaster_na"
  487. forecolor 1 1 1 1
  488. visible 1
  489. decoration
  490. }
  491. itemDef
  492. {
  493. name bowcaster_icon_lit
  494. group normal_icon
  495. style WINDOW_STYLE_SHADER
  496. rect 222 31 80 80
  497. background "gfx/hud/w_icon_bowcaster"
  498. forecolor 1 1 1 1
  499. visible 0
  500. decoration
  501. }
  502. itemDef
  503. {
  504. name bowcaster_button
  505. group weapon_button
  506. type ITEM_TYPE_BUTTON
  507. rect 224 40 79 64
  508. forecolor 1 1 1 1
  509. desctext @MENUS_CLICKSELECT
  510. visible 1
  511. mouseEnter
  512. {
  513. hide bowcaster_icon
  514. show bowcaster_icon_lit
  515. // Show big icon
  516. show weapon_icon
  517. setitembackground weapon_icon "gfx/hud/w_icon_bowcaster_na"
  518. // Show weapon description
  519. show weapon_desc
  520. setitemtext weapon_desc @SP_INGAME_BOWCASTER_DESC
  521. }
  522. mouseExit
  523. {
  524. show bowcaster_icon
  525. hide bowcaster_icon_lit
  526. }
  527. action
  528. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  529. uiScript "addweaponselection" "5" "3" "300" "bowcaster_icon" "bowcaster_icon_lit" "bowcaster_hex_background" "sound/weapons/bowcaster/select.wav"
  530. }
  531. }
  532. //----------------------------------------------------------------------------------------------
  533. // DEMP BUTTONS AND BUTTON GRAPHICS
  534. //----------------------------------------------------------------------------------------------
  535. itemDef
  536. {
  537. name demp_hex_background
  538. group normal_icon
  539. style WINDOW_STYLE_SHADER
  540. rect 222 109 88 120
  541. background "gfx/menus/hex_pattern_gray"
  542. forecolor 0 .5 0 1
  543. visible 1
  544. decoration
  545. }
  546. itemDef
  547. {
  548. name demp_icon
  549. group normal_icon
  550. style WINDOW_STYLE_SHADER
  551. rect 222 99 80 80
  552. background "gfx/hud/w_icon_demp2_na"
  553. forecolor 1 1 1 1
  554. visible 1
  555. decoration
  556. }
  557. itemDef
  558. {
  559. name demp_icon_lit
  560. group normal_icon
  561. style WINDOW_STYLE_SHADER
  562. rect 222 99 80 80
  563. background "gfx/hud/w_icon_demp2"
  564. forecolor 1 1 1 1
  565. visible 0
  566. decoration
  567. }
  568. itemDef
  569. {
  570. name demp_button
  571. group weapon_button
  572. type ITEM_TYPE_BUTTON
  573. rect 225 109 79 64
  574. forecolor 1 1 1 1
  575. desctext @MENUS_CLICKSELECT
  576. visible 1
  577. mouseEnter
  578. {
  579. hide demp_icon
  580. show demp_icon_lit
  581. // Show big icon
  582. show weapon_icon
  583. setitembackground weapon_icon "gfx/hud/w_icon_demp2_na"
  584. // Show weapon description
  585. show weapon_desc
  586. setitemtext weapon_desc @SP_INGAME_DEMP2_DESC
  587. }
  588. mouseExit
  589. {
  590. show demp_icon
  591. hide demp_icon_lit
  592. }
  593. action
  594. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  595. uiScript "addweaponselection" "7" "3" "300" "demp_icon" "demp_icon_lit" "demp_hex_background" "sound/weapons/demp2/select.wav"
  596. }
  597. }
  598. //----------------------------------------------------------------------------------------------
  599. // REPEATER BUTTONS AND BUTTON GRAPHICS
  600. //----------------------------------------------------------------------------------------------
  601. itemDef
  602. {
  603. name repeater_hex_background
  604. group normal_icon
  605. style WINDOW_STYLE_SHADER
  606. rect 311 40 88 120
  607. background "gfx/menus/hex_pattern_gray"
  608. forecolor 0 .5 0 1
  609. visible 1
  610. decoration
  611. cvartest "tier_storyinfo"
  612. showcvar
  613. {
  614. "7"; "8"; "9"; "10"; "11"; "12"; "13"; "14"; "15"; "16"; "17"; "18"; "19";
  615. }
  616. }
  617. itemDef
  618. {
  619. name repeater_icon
  620. group normal_icon
  621. style WINDOW_STYLE_SHADER
  622. rect 309 35 80 80
  623. background "gfx/hud/w_icon_repeater_na"
  624. forecolor 1 1 1 1
  625. visible 1
  626. decoration
  627. cvartest "tier_storyinfo"
  628. showcvar
  629. {
  630. "7"; "8"; "9"; "10"; "11"; "12"; "13"; "14"; "15"; "16"; "17"; "18"; "19";
  631. }
  632. }
  633. itemDef
  634. {
  635. name repeater_icon_lit
  636. group normal_icon
  637. style WINDOW_STYLE_SHADER
  638. rect 309 35 80 80
  639. background "gfx/hud/w_icon_repeater"
  640. forecolor 1 1 1 1
  641. visible 0
  642. decoration
  643. }
  644. itemDef
  645. {
  646. name repeater_button
  647. group weapon_button
  648. type ITEM_TYPE_BUTTON
  649. rect 312 40 79 64
  650. forecolor 1 1 1 1
  651. desctext @MENUS_CLICKSELECT
  652. visible 1
  653. cvartest "tier_storyinfo"
  654. showcvar
  655. {
  656. "7"; "8"; "9"; "10"; "11"; "12"; "13"; "14"; "15"; "16"; "17"; "18"; "19";
  657. }
  658. mouseEnter
  659. {
  660. hide repeater_icon
  661. show repeater_icon_lit
  662. // Show big icon
  663. show weapon_icon
  664. setitembackground weapon_icon "gfx/hud/w_icon_repeater_na"
  665. // Show weapon description
  666. show weapon_desc
  667. setitemtext weapon_desc @SP_INGAME_HEAVYREPEATER_DESC
  668. }
  669. mouseExit
  670. {
  671. show repeater_icon
  672. hide repeater_icon_lit
  673. }
  674. action
  675. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  676. uiScript "addweaponselection" "6" "4" "400" "repeater_icon" "repeater_icon_lit" "repeater_hex_background" "sound/weapons/repeater/select.wav"
  677. }
  678. }
  679. //----------------------------------------------------------------------------------------------
  680. // FLECHETTE BUTTONS AND BUTTON GRAPHICS
  681. //----------------------------------------------------------------------------------------------
  682. itemDef
  683. {
  684. name flechette_hex_background
  685. group normal_icon
  686. style WINDOW_STYLE_SHADER
  687. rect 311 109 88 120
  688. background "gfx/menus/hex_pattern_gray"
  689. forecolor 0 .5 0 1
  690. visible 1
  691. decoration
  692. cvartest "tier_storyinfo"
  693. showcvar
  694. {
  695. "7"; "8"; "9"; "10"; "11"; "12"; "13"; "14"; "15"; "16"; "17"; "18"; "19";
  696. }
  697. }
  698. itemDef
  699. {
  700. name flechette_icon
  701. group normal_icon
  702. style WINDOW_STYLE_SHADER
  703. rect 309 100 80 80
  704. background "gfx/hud/w_icon_flechette_na"
  705. forecolor 1 1 1 1
  706. visible 1
  707. decoration
  708. cvartest "tier_storyinfo"
  709. showcvar
  710. {
  711. "7"; "8"; "9"; "10"; "11"; "12"; "13"; "14"; "15"; "16"; "17"; "18"; "19";
  712. }
  713. }
  714. itemDef
  715. {
  716. name flechette_icon_lit
  717. group normal_icon
  718. style WINDOW_STYLE_SHADER
  719. rect 309 100 80 80
  720. background "gfx/hud/w_icon_flechette"
  721. forecolor 1 1 1 1
  722. visible 0
  723. decoration
  724. }
  725. itemDef
  726. {
  727. name flechette_button
  728. group weapon_button
  729. type ITEM_TYPE_BUTTON
  730. rect 312 109 79 64
  731. forecolor 1 1 1 1
  732. desctext @MENUS_CLICKSELECT
  733. visible 1
  734. cvartest "tier_storyinfo"
  735. showcvar
  736. {
  737. "7"; "8"; "9"; "10"; "11"; "12"; "13"; "14"; "15"; "16"; "17"; "18"; "19";
  738. }
  739. mouseEnter
  740. {
  741. hide flechette_icon
  742. show flechette_icon_lit
  743. // Show big icon
  744. show weapon_icon
  745. setitembackground weapon_icon "gfx/hud/w_icon_flechette_na"
  746. // Show weapon description
  747. show weapon_desc
  748. setitemtext weapon_desc @SP_INGAME_FLECHETTE_DESC
  749. }
  750. mouseExit
  751. {
  752. show flechette_icon
  753. hide flechette_icon_lit
  754. }
  755. action
  756. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  757. uiScript "addweaponselection" "8" "4" "400" "flechette_icon" "flechette_icon_lit" "flechette_hex_background" "sound/weapons/flechette/select.wav"
  758. }
  759. }
  760. //----------------------------------------------------------------------------------------------
  761. // CONCUSSION BUTTONS AND BUTTON GRAPHICS
  762. //----------------------------------------------------------------------------------------------
  763. itemDef
  764. {
  765. name concussion_hex_background
  766. group normal_icon
  767. style WINDOW_STYLE_SHADER
  768. rect 399 40 88 120
  769. background "gfx/menus/hex_pattern_gray"
  770. forecolor 0 .5 0 1
  771. visible 1
  772. decoration
  773. cvartest "tier_storyinfo"
  774. showcvar
  775. {
  776. "13"; "14"; "15"; "16"; "17"; "18"; "19"
  777. }
  778. }
  779. itemDef
  780. {
  781. name concussion_icon
  782. group normal_icon
  783. style WINDOW_STYLE_SHADER
  784. rect 395 30 80 80
  785. background "gfx/hud/w_icon_c_rifle_na"
  786. forecolor 1 1 1 1
  787. visible 1
  788. decoration
  789. cvartest "tier_storyinfo"
  790. showcvar
  791. {
  792. "13"; "14"; "15"; "16"; "17"; "18"; "19"
  793. }
  794. }
  795. itemDef
  796. {
  797. name concussion_icon_lit
  798. group normal_icon
  799. style WINDOW_STYLE_SHADER
  800. rect 395 30 80 80
  801. background "gfx/hud/w_icon_c_rifle"
  802. forecolor 1 1 1 1
  803. visible 0
  804. decoration
  805. }
  806. itemDef
  807. {
  808. name concussion_button
  809. group weapon_button
  810. type ITEM_TYPE_BUTTON
  811. rect 400 40 79 64
  812. forecolor 1 1 1 1
  813. desctext @MENUS_CLICKSELECT
  814. visible 1
  815. cvartest "tier_storyinfo"
  816. showcvar
  817. {
  818. "13"; "14"; "15"; "16"; "17"; "18"; "19"
  819. }
  820. mouseEnter
  821. {
  822. hide concussion_icon
  823. show concussion_icon_lit
  824. // Show big icon
  825. show weapon_icon
  826. setitembackground weapon_icon "gfx/hud/w_icon_c_rifle_na"
  827. // Show weapon description
  828. show weapon_desc
  829. setitemtext weapon_desc @SP_INGAME_CONCUSSION_DESC
  830. }
  831. mouseExit
  832. {
  833. show concussion_icon
  834. hide concussion_icon_lit
  835. }
  836. action
  837. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  838. uiScript "addweaponselection" "13" "4" "400" "concussion_icon" "concussion_icon_lit" "concussion_hex_background" "sound/weapons/concussion/select.wav"
  839. }
  840. }
  841. //----------------------------------------------------------------------------------------------
  842. // ROCKET BUTTONS AND BUTTON GRAPHICS
  843. //----------------------------------------------------------------------------------------------
  844. itemDef
  845. {
  846. name rocket_hex_background
  847. group normal_icon
  848. style WINDOW_STYLE_SHADER
  849. rect 399 109 88 120
  850. background "gfx/menus/hex_pattern_gray"
  851. forecolor 0 .5 0 1
  852. visible 1
  853. decoration
  854. cvartest "tier_storyinfo"
  855. showcvar
  856. {
  857. "13"; "14"; "15"; "16"; "17"; "18"; "19"
  858. }
  859. }
  860. itemDef
  861. {
  862. name rocket_icon
  863. group normal_icon
  864. style WINDOW_STYLE_SHADER
  865. rect 395 99 80 80
  866. background "gfx/hud/w_icon_merrsonn_na"
  867. forecolor 1 1 1 1
  868. visible 1
  869. decoration
  870. cvartest "tier_storyinfo"
  871. showcvar
  872. {
  873. "13"; "14"; "15"; "16"; "17"; "18"; "19"
  874. }
  875. }
  876. itemDef
  877. {
  878. name rocket_icon_lit
  879. group normal_icon
  880. style WINDOW_STYLE_SHADER
  881. rect 395 99 80 80
  882. background "gfx/hud/w_icon_merrsonn"
  883. forecolor 1 1 1 1
  884. visible 0
  885. decoration
  886. }
  887. itemDef
  888. {
  889. name rocket_button
  890. group weapon_button
  891. type ITEM_TYPE_BUTTON
  892. rect 400 109 79 64
  893. forecolor 1 1 1 1
  894. desctext @MENUS_CLICKSELECT
  895. visible 1
  896. cvartest "tier_storyinfo"
  897. showcvar
  898. {
  899. "13"; "14"; "15"; "16"; "17"; "18"; "19"
  900. }
  901. mouseEnter
  902. {
  903. hide rocket_icon
  904. show rocket_icon_lit
  905. // Show big icon
  906. show weapon_icon
  907. setitembackground weapon_icon "gfx/hud/w_icon_merrsonn_na"
  908. // Show weapon description
  909. show weapon_desc
  910. setitemtext weapon_desc @SP_INGAME_MERR_SONN_DESC
  911. }
  912. mouseExit
  913. {
  914. show rocket_icon
  915. hide rocket_icon_lit
  916. }
  917. action
  918. { // Add this weapon from player selection (weapon index, ammo index, ammo amount, menu item with graphic)
  919. uiScript "addweaponselection" "9" "5" "10" "rocket_icon" "rocket_icon_lit" "rocket_hex_background" "sound/weapons/rocket/select.wav"
  920. }
  921. }
  922. //----------------------------------------------------------------------------------------------
  923. // THERMAL DETONATOR BUTTONS AND BUTTON GRAPHICS
  924. //----------------------------------------------------------------------------------------------
  925. itemDef
  926. {
  927. name thermal_hex_background
  928. group normal_icon
  929. style WINDOW_STYLE_SHADER
  930. rect 506 40 60 120
  931. background "gfx/menus/hex_pattern_gray"
  932. forecolor 0 0 .5 1
  933. visible 1
  934. decoration
  935. }
  936. itemDef
  937. {
  938. name thermal_icon
  939. group normal_icon
  940. style WINDOW_STYLE_SHADER
  941. rect 494 32 80 80
  942. background "gfx/hud/w_icon_thermal_na"
  943. forecolor 1 1 1 1
  944. visible 1
  945. decoration
  946. }
  947. itemDef
  948. {
  949. name thermal_icon_lit
  950. group normal_icon
  951. style WINDOW_STYLE_SHADER
  952. rect 494 32 80 80
  953. background "gfx/hud/w_icon_thermal"
  954. forecolor 1 1 1 1
  955. visible 0
  956. decoration
  957. }
  958. itemDef
  959. {
  960. name thermal_button
  961. group weapon_button
  962. type ITEM_TYPE_BUTTON
  963. rect 507 40 52 64
  964. forecolor 1 1 1 1
  965. desctext @MENUS_CLICKSELECT
  966. visible 1
  967. mouseEnter
  968. {
  969. hide thermal_icon
  970. show thermal_icon_lit
  971. // Show big icon
  972. show weapon_icon
  973. setitembackground weapon_icon "gfx/hud/w_icon_thermal_na"
  974. // Show weapon description
  975. show weapon_desc
  976. setitemtext weapon_desc @SP_INGAME_THERMAL_DETONATOR_DESC
  977. }
  978. mouseExit
  979. {
  980. show thermal_icon
  981. hide thermal_icon_lit
  982. }
  983. action
  984. { // Add/remove this weapon from player selection (weapon #, menu item with graphic)
  985. uiScript "addthrowweaponselection" "10" "7" "10" "thermal_icon" "thermal_icon_lit" "thermal_hex_background" "sound/weapons/thermal/select.wav"
  986. }
  987. }
  988. //----------------------------------------------------------------------------------------------
  989. // DETPACK BUTTONS AND BUTTON GRAPHICS
  990. //----------------------------------------------------------------------------------------------
  991. itemDef
  992. {
  993. name detpack_hex_background
  994. group normal_icon
  995. style WINDOW_STYLE_SHADER
  996. rect 564 40 60 120
  997. background "gfx/menus/hex_pattern_gray"
  998. forecolor 0 0 .5 1
  999. visible 1
  1000. decoration
  1001. }
  1002. itemDef
  1003. {
  1004. name detpack_icon
  1005. group normal_icon
  1006. style WINDOW_STYLE_SHADER
  1007. rect 553 36 80 80
  1008. background "gfx/hud/w_icon_detpack_na"
  1009. forecolor 1 1 1 1
  1010. visible 1
  1011. decoration
  1012. }
  1013. itemDef
  1014. {
  1015. name detpack_icon_lit
  1016. group normal_icon
  1017. style WINDOW_STYLE_SHADER
  1018. rect 553 36 80 80
  1019. background "gfx/hud/w_icon_detpack"
  1020. forecolor 1 1 1 1
  1021. visible 0
  1022. decoration
  1023. }
  1024. itemDef
  1025. {
  1026. name detpack_button
  1027. group weapon_button
  1028. type ITEM_TYPE_BUTTON
  1029. rect 565 40 52 64
  1030. forecolor 1 1 1 1
  1031. desctext @MENUS_CLICKSELECT
  1032. visible 1
  1033. mouseEnter
  1034. {
  1035. hide detpack_icon
  1036. show detpack_icon_lit
  1037. // Show big icon
  1038. show weapon_icon
  1039. setitembackground weapon_icon "gfx/hud/w_icon_detpack_na"
  1040. // Show weapon description
  1041. show weapon_desc
  1042. setitemtext weapon_desc @SP_INGAME_DET_PACK_DESC
  1043. }
  1044. mouseExit
  1045. {
  1046. show detpack_icon
  1047. hide detpack_icon_lit
  1048. }
  1049. action
  1050. { // Add/remove this weapon from player selection (weapon #, menu item with graphic)
  1051. uiScript "addthrowweaponselection" "12" "9" "5" "detpack_icon" "detpack_icon_lit" "detpack_hex_background" "sound/weapons/detpack/select.wav"
  1052. }
  1053. }
  1054. //----------------------------------------------------------------------------------------------
  1055. // TRIP MINE BUTTONS AND BUTTON GRAPHICS
  1056. //----------------------------------------------------------------------------------------------
  1057. itemDef
  1058. {
  1059. name tripmine_hex_background
  1060. group normal_icon
  1061. style WINDOW_STYLE_SHADER
  1062. rect 538 109 60 120
  1063. background "gfx/menus/hex_pattern_gray"
  1064. forecolor 0 0 .5 1
  1065. visible 1
  1066. decoration
  1067. }
  1068. itemDef
  1069. {
  1070. name tripmine_icon
  1071. group normal_icon
  1072. style WINDOW_STYLE_SHADER
  1073. rect 526 100 80 80
  1074. background "gfx/hud/w_icon_tripmine_na"
  1075. forecolor 1 1 1 1
  1076. visible 1
  1077. decoration
  1078. }
  1079. itemDef
  1080. {
  1081. name tripmine_icon_lit
  1082. group normal_icon
  1083. style WINDOW_STYLE_SHADER
  1084. rect 526 100 80 80
  1085. background "gfx/hud/w_icon_tripmine"
  1086. forecolor 1 1 1 1
  1087. visible 0
  1088. decoration
  1089. }
  1090. itemDef
  1091. {
  1092. name tripmine_button
  1093. group weapon_button
  1094. type ITEM_TYPE_BUTTON
  1095. rect 539 109 52 64
  1096. forecolor 1 1 1 1
  1097. desctext @MENUS_CLICKSELECT
  1098. visible 1
  1099. mouseEnter
  1100. {
  1101. hide tripmine_icon
  1102. show tripmine_icon_lit
  1103. // Show big icon
  1104. show weapon_icon
  1105. setitembackground weapon_icon "gfx/hud/w_icon_tripmine_na"
  1106. // Show weapon description
  1107. show weapon_desc
  1108. setitemtext weapon_desc @SP_INGAME_TRIP_MINE_DESC
  1109. }
  1110. mouseExit
  1111. {
  1112. show tripmine_icon
  1113. hide tripmine_icon_lit
  1114. }
  1115. action
  1116. { // Add/remove this weapon from player selection (weapon #, menu item with graphic)
  1117. uiScript "addthrowweaponselection" "11" "8" "5" "tripmine_icon" "tripmine_icon_lit" "tripmine_hex_background" "sound/weapons/detpack/select.wav"
  1118. }
  1119. }
  1120. //----------------------------------------------------------------------------------------------
  1121. // CHOSEN WEAPONS
  1122. //----------------------------------------------------------------------------------------------
  1123. itemDef
  1124. {
  1125. name chosensaber_hex_background
  1126. style WINDOW_STYLE_SHADER
  1127. rect 65 358 70 107
  1128. background "gfx/menus/hex_pattern_gray"
  1129. forecolor 0 1 1 1
  1130. visible 1
  1131. decoration
  1132. }
  1133. itemDef
  1134. {
  1135. name chosen_sabericon
  1136. group chosenicons
  1137. style WINDOW_STYLE_SHADER
  1138. rect 67 358 60 60
  1139. background "gfx/hud/w_icon_lightsaber_na"
  1140. forecolor 1 1 1 1
  1141. visible 1
  1142. decoration
  1143. }
  1144. itemDef
  1145. {
  1146. name chosenblaster_hex_background
  1147. style WINDOW_STYLE_SHADER
  1148. rect 152 358 70 107
  1149. background "gfx/menus/hex_pattern_gray"
  1150. forecolor 0 1 1 1
  1151. visible 1
  1152. decoration
  1153. }
  1154. itemDef
  1155. {
  1156. name chosen_blastericon
  1157. group chosenicons
  1158. style WINDOW_STYLE_SHADER
  1159. rect 154 358 60 60
  1160. background "gfx/hud/w_icon_blaster_pistol_na"
  1161. forecolor 1 1 1 1
  1162. visible 1
  1163. decoration
  1164. }
  1165. itemDef
  1166. {
  1167. name chosenweapon1_hex_background
  1168. style WINDOW_STYLE_SHADER
  1169. rect 280 358 70 107
  1170. background "gfx/menus/hex_pattern_gray"
  1171. forecolor 0 1 0 1
  1172. visible 1
  1173. decoration
  1174. }
  1175. itemDef
  1176. {
  1177. name chosenweapon1_icon
  1178. group chosenicons
  1179. style WINDOW_STYLE_SHADER
  1180. rect 282 358 60 60
  1181. background "gfx/hud/w_icon_blaster_pistol_na"
  1182. forecolor 1 1 1 1
  1183. visible 0
  1184. decoration
  1185. }
  1186. itemDef
  1187. {
  1188. name chosenweapon1_button
  1189. type ITEM_TYPE_BUTTON
  1190. rect 282 358 52 64
  1191. forecolor 0 1 0 1
  1192. visible 0
  1193. desctext @MENUS_CLICKREMOVE
  1194. mouseEnter
  1195. {
  1196. uiScript highlightweaponselection "1"
  1197. }
  1198. mouseExit
  1199. {
  1200. uiScript normalweaponselection "1"
  1201. }
  1202. action
  1203. {
  1204. uiScript "removeweaponselection" "1"
  1205. }
  1206. }
  1207. itemDef
  1208. {
  1209. name chosenweapon2_hex_background
  1210. style WINDOW_STYLE_SHADER
  1211. rect 367 358 70 107
  1212. background "gfx/menus/hex_pattern_gray"
  1213. forecolor 0 1 0 1
  1214. visible 1
  1215. decoration
  1216. }
  1217. itemDef
  1218. {
  1219. name chosenweapon2_icon
  1220. group chosenicons
  1221. style WINDOW_STYLE_SHADER
  1222. rect 369 358 60 60
  1223. background "gfx/hud/w_icon_blaster_pistol_na"
  1224. forecolor 1 1 1 1
  1225. visible 0
  1226. decoration
  1227. }
  1228. itemDef
  1229. {
  1230. name chosenweapon2_button
  1231. type ITEM_TYPE_BUTTON
  1232. rect 369 358 52 64
  1233. forecolor 1 1 1 1
  1234. visible 0
  1235. desctext @MENUS_CLICKREMOVE
  1236. mouseEnter
  1237. {
  1238. uiScript highlightweaponselection "2"
  1239. }
  1240. mouseExit
  1241. {
  1242. uiScript normalweaponselection "2"
  1243. }
  1244. action
  1245. {
  1246. uiScript "removeweaponselection" "2"
  1247. }
  1248. }
  1249. itemDef
  1250. {
  1251. name chosenthrowweapon_hex_background
  1252. style WINDOW_STYLE_SHADER
  1253. rect 500 358 70 107
  1254. background "gfx/menus/hex_pattern_gray"
  1255. forecolor 0 0 1 1
  1256. visible 1
  1257. decoration
  1258. }
  1259. itemDef
  1260. {
  1261. name chosenthrowweapon_icon
  1262. group chosenicons
  1263. style WINDOW_STYLE_SHADER
  1264. rect 500 358 60 60
  1265. background "gfx/hud/w_icon_blaster_pistol_na"
  1266. forecolor 1 1 1 1
  1267. visible 0
  1268. decoration
  1269. }
  1270. itemDef
  1271. {
  1272. name chosenthrowweapon_button
  1273. type ITEM_TYPE_BUTTON
  1274. rect 500 358 52 64
  1275. forecolor 1 1 1 1
  1276. visible 0
  1277. desctext @MENUS_CLICKREMOVE
  1278. mouseEnter
  1279. {
  1280. uiScript highlightthrowselection
  1281. }
  1282. mouseExit
  1283. {
  1284. uiScript normalthrowselection
  1285. }
  1286. action
  1287. {
  1288. uiScript "removethrowweaponselection"
  1289. }
  1290. }
  1291. //----------------------------------------------------------------------------------------------
  1292. // BIG WEAPON ICON
  1293. //----------------------------------------------------------------------------------------------
  1294. itemDef
  1295. {
  1296. name weapon_icon
  1297. group bigicons
  1298. style WINDOW_STYLE_SHADER
  1299. rect 20 200 128 128
  1300. forecolor 1 1 1 1
  1301. visible 0
  1302. decoration
  1303. }
  1304. //----------------------------------------------------------------------------------------------
  1305. // WEAPON DESCRIPTION TEXT
  1306. //----------------------------------------------------------------------------------------------
  1307. itemDef
  1308. {
  1309. name weapon_desc
  1310. group none
  1311. type ITEM_TYPE_TEXTSCROLL
  1312. rect 130 187 490 175
  1313. font 4
  1314. forecolor 1 1 1 1
  1315. textscale 1
  1316. textalign ITEM_ALIGN_LEFT
  1317. textalignx 8
  1318. textaligny -1
  1319. lineHeight 16
  1320. visible 0
  1321. autowrapped
  1322. decoration
  1323. }
  1324. //----------------------------------------------------------------------------------------------
  1325. // BOTTOM ROW OF BUTTONS
  1326. //----------------------------------------------------------------------------------------------
  1327. itemDef
  1328. {
  1329. name backbut
  1330. type ITEM_TYPE_BUTTON
  1331. rect 30 447 140 24
  1332. text @MENUS_HELP
  1333. font 2
  1334. forecolor 1 .682 0 1
  1335. textscale 1
  1336. textalign ITEM_ALIGN_LEFT
  1337. textalignx 0
  1338. textaligny -1
  1339. desctext @MENUS_HELP_DESC1
  1340. visible 1
  1341. mouseEnter
  1342. {
  1343. }
  1344. mouseExit
  1345. {
  1346. }
  1347. // If we're backing up then we have to reset levels to what they were
  1348. action
  1349. {
  1350. play "sound/interface/menuroam.wav"
  1351. open ingameWpnSelectHelp
  1352. }
  1353. }
  1354. // Don't change the name of this, code looks for this name to turn it on and off
  1355. itemDef
  1356. {
  1357. name beginmission
  1358. type ITEM_TYPE_BUTTON
  1359. rect 400 447 220 24
  1360. text @MENUS_BEGIN_MISSION
  1361. font 2
  1362. forecolor 1 .682 0 1
  1363. textscale 1
  1364. textalign ITEM_ALIGN_LEFT
  1365. textalignx 0
  1366. textaligny -1
  1367. desctext @MENUS_BEGIN_MISSION_DESC
  1368. visible 1
  1369. cvartest "weapon_menu"
  1370. hidecvar
  1371. {
  1372. "1" ; "2" ; "3"
  1373. }
  1374. mouseEnter
  1375. {
  1376. }
  1377. mouseExit
  1378. {
  1379. }
  1380. action
  1381. {
  1382. play "sound/interface/menuroam.wav"
  1383. exec "vstr tier_mapname"
  1384. }
  1385. }
  1386. // Don't change the name of this, code looks for this name to turn it on and off
  1387. // This is a big hack so that from Academy2 it will only bring up the weapon select menu
  1388. // and then go right to HOTH2.
  1389. itemDef
  1390. {
  1391. name beginmission
  1392. type ITEM_TYPE_BUTTON
  1393. rect 400 447 220 24
  1394. text @MENUS_BEGIN_MISSION
  1395. font 2
  1396. forecolor 1 .682 0 1
  1397. textscale 1
  1398. textalign ITEM_ALIGN_LEFT
  1399. textalignx 0
  1400. textaligny -1
  1401. desctext @MENUS_BEGIN_MISSION_DESC
  1402. visible 1
  1403. cvartest "weapon_menu"
  1404. showcvar
  1405. {
  1406. "1"
  1407. }
  1408. mouseEnter
  1409. {
  1410. }
  1411. mouseExit
  1412. {
  1413. }
  1414. action
  1415. {
  1416. play "sound/interface/menuroam.wav"
  1417. exec "maptransition hoth2"
  1418. }
  1419. }
  1420. // Don't change the name of this, code looks for this name to turn it on and off
  1421. // This is a big hack so that from Academy4 it will only bring up the weapon select menu
  1422. // and then go right to VJUN1.
  1423. itemDef
  1424. {
  1425. name beginmission
  1426. type ITEM_TYPE_BUTTON
  1427. rect 400 447 220 24
  1428. text @MENUS_BEGIN_MISSION
  1429. font 2
  1430. forecolor 1 .682 0 1
  1431. textscale 1
  1432. textalign ITEM_ALIGN_LEFT
  1433. textalignx 0
  1434. textaligny -1
  1435. desctext @MENUS_BEGIN_MISSION_DESC
  1436. visible 1
  1437. cvartest "weapon_menu"
  1438. showcvar
  1439. {
  1440. "2"
  1441. }
  1442. mouseEnter
  1443. {
  1444. }
  1445. mouseExit
  1446. {
  1447. }
  1448. action
  1449. {
  1450. play "sound/interface/menuroam.wav"
  1451. exec "maptransition vjun1"
  1452. }
  1453. }
  1454. // Don't change the name of this, code looks for this name to turn it on and off
  1455. // This is a big hack so that from Academy6 it will only bring up the weapon select menu
  1456. // and then go right to TASPIN1.
  1457. itemDef
  1458. {
  1459. name beginmission
  1460. type ITEM_TYPE_BUTTON
  1461. rect 400 447 220 24
  1462. text @MENUS_BEGIN_MISSION
  1463. font 2
  1464. forecolor 1 .682 0 1
  1465. textscale 1
  1466. textalign ITEM_ALIGN_LEFT
  1467. textalignx 0
  1468. textaligny -1
  1469. desctext @MENUS_BEGIN_MISSION_DESC
  1470. visible 1
  1471. cvartest "weapon_menu"
  1472. showcvar
  1473. {
  1474. "3"
  1475. }
  1476. mouseEnter
  1477. {
  1478. }
  1479. mouseExit
  1480. {
  1481. }
  1482. action
  1483. {
  1484. play "sound/interface/menuroam.wav"
  1485. exec "maptransition taspir1"
  1486. }
  1487. }
  1488. //----------------------------------------------------------------------------------------------
  1489. //
  1490. // SCANLINES
  1491. //
  1492. //----------------------------------------------------------------------------------------------
  1493. itemDef
  1494. {
  1495. name scan
  1496. group none
  1497. style WINDOW_STYLE_SHADER
  1498. rect 0 0 640 640
  1499. background "gfx/menus/scanlines"
  1500. forecolor 1 1 1 1
  1501. visible 1
  1502. decoration
  1503. }
  1504. }
  1505. }