ingameMissionSelect2.menu 29 KB

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