ingameMissionSelect3.menu 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312
  1. //------------------------------------------------------------------------------------------------
  2. // Mission Select 3 Menu
  3. //
  4. // Select missions from the 3rd tier.
  5. //
  6. //------------------------------------------------------------------------------------------------
  7. {
  8. menuDef
  9. {
  10. name "ingameMissionSelect3"
  11. fullScreen 1
  12. rect 0 0 640 480
  13. visible 1
  14. focusColor 1 1 1 1
  15. descX 200
  16. descY 444
  17. descScale 1
  18. descColor 1 .682 0 .8
  19. descAlignment ITEM_ALIGN_CENTER
  20. disablecolor .5 .5 .5 1
  21. fadeClamp 1.0 // sets the fadeup alpha
  22. fadeCycle 25 // how often fade happens in milliseconds
  23. fadeAmount 0.05 // amount to adjust alpha per cycle
  24. onOpen
  25. {
  26. show mission_button
  27. stopVoice
  28. }
  29. onESC
  30. {
  31. }
  32. //----------------------------------------------------------------------------------------------
  33. // MENU BACKGROUND
  34. //----------------------------------------------------------------------------------------------
  35. itemDef
  36. {
  37. name background
  38. group none
  39. style WINDOW_STYLE_SHADER
  40. rect 0 0 640 480
  41. background "gfx/menus/mission_back"
  42. forecolor 1 1 1 1
  43. visible 1
  44. decoration
  45. }
  46. itemDef
  47. {
  48. name eyecandy1
  49. group none
  50. style WINDOW_STYLE_SHADER
  51. rect 17 309 357 153
  52. background "gfx/menus/mission_bottomleft_grid"
  53. forecolor 1 1 1 1
  54. visible 1
  55. decoration
  56. }
  57. itemDef
  58. {
  59. name botlf
  60. group none
  61. style WINDOW_STYLE_SHADER
  62. rect 0 300 80 180
  63. background "gfx/menus/mission_bottom_left"
  64. forecolor 1 1 1 1
  65. visible 1
  66. decoration
  67. }
  68. itemDef
  69. {
  70. name starfield
  71. group none
  72. style WINDOW_STYLE_FILLED
  73. rect 20 20 600 256
  74. background "gfx/menus/star_field"
  75. backcolor 1 1 1 1
  76. visible 1
  77. decoration
  78. }
  79. itemDef
  80. {
  81. name stars_close
  82. group none
  83. style WINDOW_STYLE_FILLED
  84. rect 20 20 600 256
  85. background "gfx/menus/star_field_zoom"
  86. backcolor 1 1 1 0
  87. visible 1
  88. decoration
  89. }
  90. //----------------------------------------------------------------------------------------------
  91. // BIG PLANET GRAPHICS
  92. //----------------------------------------------------------------------------------------------
  93. itemDef
  94. {
  95. name big_planet
  96. group none
  97. style WINDOW_STYLE_FILLED
  98. rect 320 148 0 0
  99. background "gfx/menus/planets/yalara"
  100. backcolor 1 1 1 1
  101. visible 1
  102. decoration
  103. }
  104. itemDef
  105. {
  106. name yalara
  107. group none
  108. style WINDOW_STYLE_FILLED
  109. rect 320 148 0 0
  110. background "gfx/menus/planets/yalara"
  111. backcolor 1 1 1 1
  112. visible 1
  113. decoration
  114. }
  115. itemDef
  116. {
  117. name chandrila
  118. group none
  119. style WINDOW_STYLE_FILLED
  120. rect 320 148 0 0
  121. background "gfx/menus/planets/chandrila"
  122. backcolor 1 1 1 1
  123. visible 1
  124. decoration
  125. }
  126. itemDef
  127. {
  128. name ordmantell
  129. group none
  130. style WINDOW_STYLE_FILLED
  131. rect 320 148 0 0
  132. background "gfx/menus/planets/ordman"
  133. backcolor 1 1 1 1
  134. visible 1
  135. decoration
  136. }
  137. itemDef
  138. {
  139. name tanaab
  140. group none
  141. style WINDOW_STYLE_FILLED
  142. rect 320 148 0 0
  143. background "gfx/menus/planets/tanaab"
  144. backcolor 1 1 1 1
  145. visible 1
  146. decoration
  147. }
  148. itemDef
  149. {
  150. name byss
  151. group none
  152. style WINDOW_STYLE_FILLED
  153. rect 320 148 0 0
  154. background "gfx/menus/planets/byss"
  155. backcolor 1 1 1 1
  156. visible 1
  157. decoration
  158. }
  159. //----------------------------------------------------------------------------------------------
  160. // GALAXY MAP
  161. //----------------------------------------------------------------------------------------------
  162. itemDef
  163. {
  164. name galaxy
  165. group none
  166. style WINDOW_STYLE_FILLED
  167. rect 64 20 512 256
  168. background "gfx/menus/mission_galaxy"
  169. backcolor 1 1 1 1
  170. visible 1
  171. decoration
  172. }
  173. itemDef
  174. {
  175. name map_title
  176. type ITEM_TYPE_TEXT
  177. rect 40 14 600 18
  178. text @MENUS_GALACTIC_MAP
  179. font 2
  180. forecolor .549 .854 1 1
  181. textscale 1
  182. textalign ITEM_ALIGN_CENTER
  183. textalignx 300
  184. textaligny -1
  185. visible 1
  186. }
  187. //----------------------------------------------------------------------------------------------
  188. // TIER 3 LOCATION MARKERS ON GALAXY MAP
  189. //----------------------------------------------------------------------------------------------
  190. itemDef
  191. {
  192. name loc_but01_off
  193. group location_marker
  194. style WINDOW_STYLE_SHADER
  195. rect 270 109 20 20
  196. background "gfx/menus/mission_loc_but_off"
  197. forecolor 1 1 1 1
  198. visible 1
  199. decoration
  200. cvartest "tiers_complete"
  201. disablecvar
  202. {
  203. "t3_rift"
  204. }
  205. cvarSubString
  206. }
  207. itemDef
  208. {
  209. name loc_but01_on
  210. group location_marker
  211. style WINDOW_STYLE_SHADER
  212. rect 270 109 20 20
  213. background "gfx/menus/mission_loc_but_on"
  214. forecolor 1 1 1 1
  215. visible 0
  216. decoration
  217. cvartest "tiers_complete"
  218. disablecvar
  219. {
  220. "t3_rift"
  221. }
  222. cvarSubString
  223. }
  224. itemDef
  225. {
  226. name loc_but02_off
  227. group location_marker
  228. style WINDOW_STYLE_SHADER
  229. rect 380 122 30 30
  230. background "gfx/menus/mission_loc_but_off"
  231. forecolor 1 1 1 1
  232. visible 1
  233. decoration
  234. cvartest "tiers_complete"
  235. disablecvar
  236. {
  237. "t3_stamp"
  238. }
  239. cvarSubString
  240. }
  241. itemDef
  242. {
  243. name loc_but02_on
  244. group location_marker
  245. style WINDOW_STYLE_SHADER
  246. rect 380 122 30 30
  247. background "gfx/menus/mission_loc_but_on"
  248. forecolor 1 1 1 1
  249. visible 0
  250. decoration
  251. cvartest "tiers_complete"
  252. disablecvar
  253. {
  254. "t3_stamp"
  255. }
  256. cvarSubString
  257. }
  258. itemDef
  259. {
  260. name loc_but03_off
  261. group location_marker
  262. style WINDOW_STYLE_SHADER
  263. rect 170 152 23 23
  264. background "gfx/menus/mission_loc_but_off"
  265. forecolor 1 1 1 1
  266. visible 1
  267. decoration
  268. cvartest "tiers_complete"
  269. disablecvar
  270. {
  271. "t3_hevil"
  272. }
  273. cvarSubString
  274. }
  275. itemDef
  276. {
  277. name loc_but03_on
  278. group location_marker
  279. style WINDOW_STYLE_SHADER
  280. rect 170 152 23 23
  281. background "gfx/menus/mission_loc_but_on"
  282. forecolor 1 1 1 1
  283. visible 0
  284. decoration
  285. cvartest "tiers_complete"
  286. disablecvar
  287. {
  288. "t3_hevil"
  289. }
  290. cvarSubString
  291. }
  292. itemDef
  293. {
  294. name loc_but04_off
  295. group location_marker
  296. style WINDOW_STYLE_SHADER
  297. rect 295 104 20 20
  298. background "gfx/menus/mission_loc_but_off"
  299. forecolor 1 1 1 1
  300. visible 1
  301. decoration
  302. cvartest "tiers_complete"
  303. disablecvar
  304. {
  305. "t3_byss"
  306. }
  307. cvarSubString
  308. }
  309. itemDef
  310. {
  311. name loc_but04_on
  312. group location_marker
  313. style WINDOW_STYLE_SHADER
  314. rect 295 104 20 20
  315. background "gfx/menus/mission_loc_but_on"
  316. forecolor 1 1 1 1
  317. visible 0
  318. decoration
  319. cvartest "tiers_complete"
  320. disablecvar
  321. {
  322. "t3_byss"
  323. }
  324. cvarSubString
  325. }
  326. itemDef
  327. {
  328. name loc_but05_off
  329. group location_marker
  330. style WINDOW_STYLE_SHADER
  331. rect 380 70 18 18
  332. background "gfx/menus/mission_loc_but_off"
  333. forecolor 1 1 1 1
  334. visible 1
  335. decoration
  336. cvartest "tiers_complete"
  337. disablecvar
  338. {
  339. "t3_bounty"
  340. }
  341. cvarSubString
  342. }
  343. itemDef
  344. {
  345. name loc_but05_on
  346. group location_marker
  347. style WINDOW_STYLE_SHADER
  348. rect 380 70 18 18
  349. background "gfx/menus/mission_loc_but_on"
  350. forecolor 1 1 1 1
  351. visible 0
  352. decoration
  353. cvartest "tiers_complete"
  354. disablecvar
  355. {
  356. "t3_bounty"
  357. }
  358. cvarSubString
  359. }
  360. itemDef
  361. {
  362. name planet_name
  363. type ITEM_TYPE_TEXT
  364. rect 52 316 288 24
  365. font 2
  366. forecolor .549 .854 1 1
  367. textscale .8
  368. textalign ITEM_ALIGN_LEFT
  369. textalignx 8
  370. textaligny -1
  371. visible 0
  372. autowrapped
  373. decoration
  374. }
  375. //----------------------------------------------------------------------------------------------
  376. // MODELS FOR V-O
  377. //----------------------------------------------------------------------------------------------
  378. itemDef
  379. {
  380. name luke
  381. group models
  382. type ITEM_TYPE_MODEL
  383. rect 415 285 149 149
  384. model_g2anim "BOTH_STAND1_TALK2"
  385. model_g2skin "models/players/luke/model_menu.skin"
  386. asset_model "models/players/luke/model.glm"
  387. model_angle 180
  388. //mins maxs format is apparently z x y (hmmm... y x z?)
  389. model_g2mins 15 -20 18
  390. model_g2maxs 60 20 55
  391. model_rotation 0
  392. model_fovx 10
  393. model_fovy 10
  394. isCharacter 1
  395. visible 0
  396. decoration
  397. }
  398. itemDef
  399. {
  400. name kyle
  401. group models
  402. type ITEM_TYPE_MODEL
  403. rect 415 288 145 145
  404. model_g2anim "BOTH_STAND1_TALK2"
  405. model_g2skin "models/players/kyle/model_menu.skin"
  406. asset_model "models/players/kyle/model.glm"
  407. model_angle 180
  408. model_g2mins 15 -20 18
  409. model_g2maxs 60 20 55
  410. model_rotation 0
  411. model_fovx 10
  412. model_fovy 10
  413. isCharacter 1
  414. visible 0
  415. decoration
  416. }
  417. itemDef
  418. {
  419. name prot
  420. group models
  421. type ITEM_TYPE_MODEL
  422. rect 426 317 116 116
  423. model_g2anim "BOTH_STAND1_TALK2"
  424. model_g2skin "models/players/protocol/model_menu.skin"
  425. asset_model "models/players/protocol/model.glm"
  426. model_angle 180
  427. model_g2mins 15 -20 17
  428. model_g2maxs 60 20 50
  429. model_rotation 0
  430. model_fovx 10
  431. model_fovy 10
  432. isCharacter 1
  433. visible 0
  434. decoration
  435. }
  436. //----------------------------------------------------------------------------------------------
  437. // BUTTONS
  438. //----------------------------------------------------------------------------------------------
  439. //GENERAL BACK BUTTON - if you don't want mission
  440. itemDef
  441. {
  442. name backbut
  443. type ITEM_TYPE_BUTTON
  444. rect 52 430 172 24
  445. text @MENUS_BACK_CAPS
  446. desctext @MENUS_DIFF_MISSION
  447. font 2
  448. forecolor 1 .682 0 1
  449. textscale .8
  450. textalign ITEM_ALIGN_LEFT
  451. textalignx 8
  452. textaligny -1
  453. visible 0
  454. mouseEnter
  455. {
  456. show button_glow
  457. setitemrect button_glow 15 430 200 20
  458. }
  459. mouseExit
  460. {
  461. hide button_glow
  462. }
  463. action
  464. {
  465. play "sound/interface/esc.wav"
  466. fadein starfield
  467. fadein galaxy
  468. fadeout stars_close
  469. transition2 loc_but01_off 270 109 20 20 20 25
  470. transition2 loc_but02_off 380 122 30 30 20 25
  471. transition2 loc_but03_off 170 152 23 23 20 25
  472. transition2 loc_but04_off 295 104 20 20 20 25
  473. transition2 loc_but05_off 380 70 18 18 20 25
  474. hide backbut
  475. hide planet_name
  476. show mission_button
  477. hide accbuttons
  478. hide briefing_text
  479. hide big_planet
  480. hide planet_name
  481. show map_title
  482. hide briefing_background
  483. hide briefing_text
  484. hide button_glow
  485. }
  486. }
  487. //----------------------------------------------------------------------------------------------
  488. // TIER 3 MISSION BUTTONS
  489. //----------------------------------------------------------------------------------------------
  490. itemDef
  491. {
  492. name map_title
  493. type ITEM_TYPE_TEXT
  494. rect 10 305 400 20
  495. text @MENUS_MISSIONS
  496. font 2
  497. forecolor .549 .854 1 1
  498. textscale 1
  499. textalign ITEM_ALIGN_CENTER
  500. textalignx 200
  501. textaligny -1
  502. visible 1
  503. }
  504. itemDef
  505. {
  506. name miss1
  507. group mission_button
  508. type ITEM_TYPE_BUTTON
  509. rect 52 330 224 20
  510. text @MENUS_T3_RIFT_TITLE
  511. desctext @MENUS_CLICK_BRIEFING
  512. font 2
  513. forecolor 1 .682 0 1
  514. textscale .7
  515. textalign ITEM_ALIGN_LEFT
  516. textalignx 8
  517. textaligny -1
  518. visible 1
  519. cvartest "tiers_complete"
  520. disablecvar
  521. {
  522. "t3_rift"
  523. }
  524. cvarSubString
  525. mouseEnter
  526. {
  527. hide loc_but01_off
  528. show loc_but01_on
  529. show planet_name
  530. setitemtext planet_name @MENUS_CHANDRILA
  531. setitemrect planet_name 150 90 120 26
  532. show button_glow
  533. setitemrect button_glow 20 328 380 22
  534. }
  535. mouseExit
  536. {
  537. hide loc_but01_on
  538. show loc_but01_off
  539. hide planet_name
  540. hide button_glow
  541. }
  542. action
  543. {
  544. play "sound/weapons/force/protect.wav"
  545. fadeout starfield
  546. fadeout galaxy
  547. fadein stars_close
  548. transition2 loc_but01_off 280 119 0 0 20 25
  549. transition2 loc_but02_off 395 137 0 0 20 25
  550. transition2 loc_but03_off 181 163 0 0 20 25
  551. transition2 loc_but04_off 305 114 0 0 20 25
  552. transition2 loc_but05_off 389 79 0 0 20 25
  553. hide loc_but01_on
  554. hide loc_but02_on
  555. hide loc_but03_on
  556. hide loc_but04_on
  557. hide loc_but05_on
  558. setitembackground big_planet "gfx/menus/planets/chandrila"
  559. transition2 big_planet 192 20 256 256 10 15
  560. transition2 planet_name 270 250 256 256 20 15
  561. hide mission_button
  562. show backbut
  563. show accbut1
  564. show briefing_background
  565. show briefing_text
  566. setitemtext briefing_text @BRIEFINGS_T3_RIFT
  567. hide map_title
  568. hide button_glow
  569. }
  570. }
  571. itemDef
  572. {
  573. name miss2
  574. group mission_button
  575. type ITEM_TYPE_BUTTON
  576. rect 52 353 224 20
  577. text @MENUS_T3_STAMPEDE_TITLE
  578. desctext @MENUS_CLICK_BRIEFING
  579. font 2
  580. forecolor 1 .682 0 1
  581. textscale .7
  582. textalign ITEM_ALIGN_LEFT
  583. textalignx 8
  584. textaligny -1
  585. visible 1
  586. cvartest "tiers_complete"
  587. disablecvar
  588. {
  589. "t3_stamp"
  590. }
  591. cvarSubString
  592. mouseEnter
  593. {
  594. hide loc_but02_off
  595. show loc_but02_on
  596. show planet_name
  597. setitemtext planet_name @MENUS_TANAAB
  598. setitemrect planet_name 420 180 120 26
  599. show button_glow
  600. setitemrect button_glow 20 351 380 22
  601. }
  602. mouseExit
  603. {
  604. hide loc_but02_on
  605. show loc_but02_off
  606. hide planet_name
  607. hide button_glow
  608. }
  609. action
  610. {
  611. play "sound/weapons/force/protect.wav"
  612. fadeout starfield
  613. fadeout galaxy
  614. fadein stars_close
  615. transition2 loc_but01_off 280 119 0 0 20 25
  616. transition2 loc_but02_off 395 137 0 0 20 25
  617. transition2 loc_but03_off 181 163 0 0 20 25
  618. transition2 loc_but04_off 305 114 0 0 20 25
  619. transition2 loc_but05_off 389 79 0 0 20 25
  620. hide loc_but01_on
  621. hide loc_but02_on
  622. hide loc_but03_on
  623. hide loc_but04_on
  624. hide loc_but05_on
  625. setitembackground big_planet "gfx/menus/planets/tanaab"
  626. transition2 big_planet 192 20 256 256 10 15
  627. transition2 planet_name 270 250 256 256 20 15
  628. hide mission_button
  629. show backbut
  630. show accbut2
  631. show briefing_background
  632. show briefing_text
  633. setitemtext briefing_text @BRIEFINGS_T3_STAMP
  634. hide map_title
  635. hide button_glow
  636. }
  637. }
  638. itemDef
  639. {
  640. name miss3
  641. group mission_button
  642. type ITEM_TYPE_BUTTON
  643. rect 52 376 224 20
  644. text @MENUS_T3_HEVIL_TITLE
  645. desctext @MENUS_CLICK_BRIEFING
  646. font 2
  647. forecolor 1 .682 0 1
  648. textscale .7
  649. textalign ITEM_ALIGN_LEFT
  650. textalignx 8
  651. textaligny -1
  652. visible 1
  653. cvartest "tiers_complete"
  654. disablecvar
  655. {
  656. "t3_hevil"
  657. }
  658. cvarSubString
  659. mouseEnter
  660. {
  661. hide loc_but03_off
  662. show loc_but03_on
  663. show planet_name
  664. setitemtext planet_name @MENUS_YALARA
  665. setitemrect planet_name 60 180 120 26
  666. show button_glow
  667. setitemrect button_glow 20 374 380 22
  668. }
  669. mouseExit
  670. {
  671. hide loc_but03_on
  672. show loc_but03_off
  673. hide planet_name
  674. hide button_glow
  675. }
  676. action
  677. {
  678. play "sound/weapons/force/protect.wav"
  679. fadeout starfield
  680. fadeout galaxy
  681. fadein stars_close
  682. transition2 loc_but01_off 280 119 0 0 20 25
  683. transition2 loc_but02_off 395 137 0 0 20 25
  684. transition2 loc_but03_off 181 163 0 0 20 25
  685. transition2 loc_but04_off 305 114 0 0 20 25
  686. transition2 loc_but05_off 389 79 0 0 20 25
  687. hide loc_but01_on
  688. hide loc_but02_on
  689. hide loc_but03_on
  690. hide loc_but04_on
  691. hide loc_but05_on
  692. setitembackground big_planet "gfx/menus/planets/yalara"
  693. transition2 big_planet 192 20 256 256 10 15
  694. transition2 planet_name 270 250 256 256 20 15
  695. hide mission_button
  696. show backbut
  697. show accbut3
  698. show briefing_background
  699. show briefing_text
  700. setitemtext briefing_text @BRIEFINGS_T3_HEVIL
  701. hide map_title
  702. hide button_glow
  703. }
  704. }
  705. itemDef
  706. {
  707. name miss4
  708. group mission_button
  709. type ITEM_TYPE_BUTTON
  710. rect 52 399 224 20
  711. text @MENUS_T3_BYSS_TITLE
  712. desctext @MENUS_CLICK_BRIEFING
  713. font 2
  714. forecolor 1 .682 0 1
  715. textscale .7
  716. textalign ITEM_ALIGN_LEFT
  717. textalignx 8
  718. textaligny -1
  719. visible 1
  720. cvartest "tiers_complete"
  721. disablecvar
  722. {
  723. "t3_byss"
  724. }
  725. cvarSubString
  726. mouseEnter
  727. {
  728. hide loc_but04_off
  729. show loc_but04_on
  730. show planet_name
  731. setitemtext planet_name @MENUS_BYSS
  732. setitemrect planet_name 240 40 120 26
  733. show button_glow
  734. setitemrect button_glow 20 397 380 22
  735. }
  736. mouseExit
  737. {
  738. hide loc_but04_on
  739. show loc_but04_off
  740. hide planet_name
  741. hide button_glow
  742. }
  743. action
  744. {
  745. play "sound/weapons/force/protect.wav"
  746. fadeout starfield
  747. fadeout galaxy
  748. fadein stars_close
  749. transition2 loc_but01_off 280 119 0 0 20 25
  750. transition2 loc_but02_off 395 137 0 0 20 25
  751. transition2 loc_but03_off 181 163 0 0 20 25
  752. transition2 loc_but04_off 305 114 0 0 20 25
  753. transition2 loc_but05_off 389 79 0 0 20 25
  754. hide loc_but01_on
  755. hide loc_but02_on
  756. hide loc_but03_on
  757. hide loc_but04_on
  758. hide loc_but05_on
  759. setitembackground big_planet "gfx/menus/planets/byss"
  760. transition2 big_planet 192 20 256 256 10 15
  761. transition2 planet_name 270 250 256 256 20 15
  762. hide mission_button
  763. show backbut
  764. show accbut4
  765. show briefing_background
  766. show briefing_text
  767. setitemtext briefing_text @BRIEFINGS_T3_BYSS
  768. hide map_title
  769. hide button_glow
  770. }
  771. }
  772. itemDef
  773. {
  774. name miss5
  775. group mission_button
  776. type ITEM_TYPE_BUTTON
  777. rect 52 422 224 20
  778. text @MENUS_T3_BOUNTY_TITLE
  779. desctext @MENUS_CLICK_BRIEFING
  780. font 2
  781. forecolor 1 .682 0 1
  782. textscale .7
  783. textalign ITEM_ALIGN_LEFT
  784. textalignx 8
  785. textaligny -1
  786. visible 1
  787. cvartest "tiers_complete"
  788. disablecvar
  789. {
  790. "t3_bounty"
  791. }
  792. cvarSubString
  793. mouseEnter
  794. {
  795. hide loc_but05_off
  796. show loc_but05_on
  797. show planet_name
  798. setitemtext planet_name @MENUS_ORD_MANTELL
  799. setitemrect planet_name 410 40 120 26
  800. show button_glow
  801. setitemrect button_glow 20 420 380 22
  802. }
  803. mouseExit
  804. {
  805. hide loc_but05_on
  806. show loc_but05_off
  807. hide planet_name
  808. hide button_glow
  809. }
  810. action
  811. {
  812. play "sound/weapons/force/protect.wav"
  813. fadeout starfield
  814. fadeout galaxy
  815. fadein stars_close
  816. transition2 loc_but01_off 280 119 0 0 20 25
  817. transition2 loc_but02_off 395 137 0 0 20 25
  818. transition2 loc_but03_off 181 163 0 0 20 25
  819. transition2 loc_but04_off 305 114 0 0 20 25
  820. transition2 loc_but05_off 389 79 0 0 20 25
  821. hide loc_but01_on
  822. hide loc_but02_on
  823. hide loc_but03_on
  824. hide loc_but04_on
  825. hide loc_but05_on
  826. setitembackground big_planet "gfx/menus/planets/ordman"
  827. transition2 big_planet 192 20 256 256 10 15
  828. transition2 planet_name 270 250 256 256 20 15
  829. hide mission_button
  830. hide location_marker
  831. show backbut
  832. show accbut5
  833. show briefing_background
  834. show briefing_text
  835. setitemtext briefing_text @BRIEFINGS_T3_BOUNTY
  836. hide map_title
  837. hide button_glow
  838. }
  839. }
  840. //----------------------------------------------------------------------------------------------
  841. // MISSION BRIEFING TEXT
  842. //----------------------------------------------------------------------------------------------
  843. itemDef
  844. {
  845. name briefing_background
  846. group none
  847. style WINDOW_STYLE_FILLED
  848. rect 42 314 320 114
  849. backcolor 0 0 .35 .7
  850. forecolor 1 1 1 1
  851. border 1
  852. bordercolor 0 0 .8 1
  853. visible 0
  854. decoration
  855. }
  856. itemDef
  857. {
  858. name briefing_text
  859. type ITEM_TYPE_TEXTSCROLL
  860. rect 42 314 320 114
  861. text @BRIEFINGS_T3_RIFT
  862. font 4
  863. forecolor 1 1 1 1
  864. textscale 1
  865. textalign ITEM_ALIGN_LEFT
  866. textalignx 8
  867. textaligny -1
  868. lineHeight 18
  869. visible 0
  870. autowrapped
  871. }
  872. //----------------------------------------------------------------------------------------------
  873. // ACCEPT BUTTONS - IF YOU CHOOSE A PARTICULAR MISSION
  874. //----------------------------------------------------------------------------------------------
  875. itemDef
  876. {
  877. name accbut1
  878. group accbuttons
  879. type ITEM_TYPE_BUTTON
  880. rect 268 430 172 24
  881. text @MENUS_ACCEPT
  882. desctext @MENUS_ACCEPT_MISSION
  883. font 2
  884. forecolor 1 .682 0 1
  885. textscale .7
  886. textalign ITEM_ALIGN_LEFT
  887. textalignx 8
  888. textaligny -1
  889. visible 0
  890. mouseEnter
  891. {
  892. show button_glow
  893. setitemrect button_glow 200 430 200 20
  894. }
  895. mouseExit
  896. {
  897. hide button_glow
  898. }
  899. action
  900. {
  901. hide accbuttons
  902. setcvar tier_mapname "maptransition t3_rift"
  903. hide backbut
  904. show nextscreen_button
  905. setfocus nextscreen_button
  906. show accept_text
  907. setitemtext accept_text @T3_RIFT_23LUK001
  908. show luke
  909. playVoice "sound/chars/luke/23luk001.mp3"
  910. hide briefing_background
  911. hide briefing_text
  912. hide button_glow
  913. }
  914. }
  915. itemDef
  916. {
  917. name accbut2
  918. group accbuttons
  919. type ITEM_TYPE_BUTTON
  920. rect 268 430 172 24
  921. text @MENUS_ACCEPT
  922. desctext @MENUS_ACCEPT_MISSION
  923. font 2
  924. forecolor 1 .682 0 1
  925. textscale .7
  926. textalign ITEM_ALIGN_LEFT
  927. textalignx 8
  928. textaligny -1
  929. visible 0
  930. mouseEnter
  931. {
  932. show button_glow
  933. setitemrect button_glow 200 430 200 20
  934. }
  935. mouseExit
  936. {
  937. hide button_glow
  938. }
  939. action
  940. {
  941. hide accbuttons
  942. setcvar tier_mapname "maptransition t3_stamp"
  943. hide backbut
  944. hide briefing_text
  945. show nextscreen_button
  946. setfocus nextscreen_button
  947. show accept_text
  948. setitemtext accept_text @T3_STAMP_25KYK001
  949. hide briefing_background
  950. hide briefing_text
  951. hide button_glow
  952. show kyle
  953. playVoice "sound/chars/kyle/25kyk001.mp3"
  954. }
  955. }
  956. itemDef
  957. {
  958. name accbut3
  959. group accbuttons
  960. type ITEM_TYPE_BUTTON
  961. rect 268 430 172 24
  962. text @MENUS_ACCEPT
  963. desctext @MENUS_ACCEPT_MISSION
  964. font 2
  965. forecolor 1 .682 0 1
  966. textscale .7
  967. textalign ITEM_ALIGN_LEFT
  968. textalignx 8
  969. textaligny -1
  970. visible 0
  971. mouseEnter
  972. {
  973. show button_glow
  974. setitemrect button_glow 200 430 200 20
  975. }
  976. mouseExit
  977. {
  978. hide button_glow
  979. }
  980. action
  981. {
  982. hide accbuttons
  983. setcvar tier_mapname "maptransition t3_hevil"
  984. hide backbut
  985. hide briefing_text
  986. show nextscreen_button
  987. setfocus nextscreen_button
  988. show accept_text
  989. setitemtext accept_text @T3_HEVIL_22LUK001
  990. show luke
  991. playVoice "sound/chars/luke/22luk001.mp3"
  992. hide briefing_background
  993. hide briefing_text
  994. hide button_glow
  995. }
  996. }
  997. itemDef
  998. {
  999. name accbut4
  1000. group accbuttons
  1001. type ITEM_TYPE_BUTTON
  1002. rect 268 430 172 24
  1003. text @MENUS_ACCEPT
  1004. desctext @MENUS_ACCEPT_MISSION
  1005. font 2
  1006. forecolor 1 .682 0 1
  1007. textscale .7
  1008. textalign ITEM_ALIGN_LEFT
  1009. textalignx 8
  1010. textaligny -1
  1011. visible 0
  1012. mouseEnter
  1013. {
  1014. show button_glow
  1015. setitemrect button_glow 200 430 200 20
  1016. }
  1017. mouseExit
  1018. {
  1019. hide button_glow
  1020. }
  1021. action
  1022. {
  1023. hide accbuttons
  1024. setcvar tier_mapname "maptransition t3_byss"
  1025. hide backbut
  1026. hide briefing_text
  1027. show nextscreen_button
  1028. setfocus nextscreen_button
  1029. show accept_text
  1030. setitemtext accept_text @T3_BYSS_21KYK001
  1031. show kyle
  1032. playVoice "sound/chars/kyle/21kyk001.mp3"
  1033. hide briefing_background
  1034. hide briefing_text
  1035. hide button_glow
  1036. }
  1037. }
  1038. itemDef
  1039. {
  1040. name accbut5
  1041. group accbuttons
  1042. type ITEM_TYPE_BUTTON
  1043. rect 268 430 172 24
  1044. text @MENUS_ACCEPT
  1045. desctext @MENUS_ACCEPT_MISSION
  1046. font 2
  1047. forecolor 1 .682 0 1
  1048. textscale .7
  1049. textalign ITEM_ALIGN_LEFT
  1050. textalignx 8
  1051. textaligny -1
  1052. visible 0
  1053. mouseEnter
  1054. {
  1055. show button_glow
  1056. setitemrect button_glow 200 430 200 20
  1057. }
  1058. mouseExit
  1059. {
  1060. hide button_glow
  1061. }
  1062. action
  1063. {
  1064. hide accbuttons
  1065. setcvar tier_mapname "maptransition t3_bounty"
  1066. hide backbut
  1067. hide briefing_text
  1068. show nextscreen_button
  1069. setfocus nextscreen_button
  1070. show accept_text
  1071. setitemtext accept_text @T3_BOUNTY_24KYK001
  1072. show kyle
  1073. playVoice "sound/chars/kyle/24kyk001.mp3"
  1074. hide briefing_background
  1075. hide briefing_text
  1076. hide button_glow
  1077. }
  1078. }
  1079. //----------------------------------------------------------------------------------------------
  1080. // ACCEPT TEXT
  1081. //----------------------------------------------------------------------------------------------
  1082. itemDef
  1083. {
  1084. name accept_text
  1085. type ITEM_TYPE_TEXT
  1086. rect 52 316 288 124
  1087. text @T3_RIFT_23LUK001
  1088. font 2
  1089. forecolor 1 1 1 1
  1090. textscale .8
  1091. textalign ITEM_ALIGN_LEFT
  1092. textalignx 8
  1093. textaligny -1
  1094. visible 0
  1095. autowrapped
  1096. decoration
  1097. }
  1098. //----------------------------------------------------------------------------------------------
  1099. // NEXT BUTTONS - to go to next screen
  1100. //----------------------------------------------------------------------------------------------
  1101. itemDef
  1102. {
  1103. name nextscreen_button
  1104. type ITEM_TYPE_BUTTON
  1105. rect 530 440 172 24
  1106. text @MENUS_NEXT
  1107. desctext @MENUS_ADVANCE_NEXT
  1108. font 2
  1109. forecolor 1 .682 0 1
  1110. textscale .7
  1111. textalign ITEM_ALIGN_LEFT
  1112. textalignx 8
  1113. textaligny -1
  1114. visible 0
  1115. mouseEnter
  1116. {
  1117. }
  1118. mouseExit
  1119. {
  1120. }
  1121. action
  1122. {
  1123. play "sound/interface/menuroam.wav"
  1124. close all
  1125. open ingameForceSelect
  1126. }
  1127. }
  1128. //----------------------------------------------------------------------------------------------
  1129. // SCANLINES OVER WHOLE MENU
  1130. //----------------------------------------------------------------------------------------------
  1131. itemDef
  1132. {
  1133. name button_glow
  1134. group none
  1135. style WINDOW_STYLE_SHADER
  1136. rect 0 0 0 0
  1137. background "gfx/menus/menu_buttonback"
  1138. forecolor 1 1 1 1
  1139. visible 0
  1140. decoration
  1141. }
  1142. itemDef
  1143. {
  1144. name static
  1145. group none
  1146. style WINDOW_STYLE_SHADER
  1147. rect 396 314 175 120
  1148. background "gfx/menus/static"
  1149. backcolor 1 0 0 .2
  1150. forecolor 1 0 0 .2
  1151. visible 0
  1152. decoration
  1153. }
  1154. itemDef
  1155. {
  1156. name scan
  1157. group none
  1158. style WINDOW_STYLE_SHADER
  1159. rect 0 0 640 640
  1160. background "gfx/menus/scanlines"
  1161. forecolor 1 1 1 1
  1162. visible 1
  1163. decoration
  1164. }
  1165. }
  1166. }