ingameMissionSelect1.menu 27 KB

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