ingameGotoTier.menu 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. //----------------------------------------------------------------------------------------------
  2. // Mission Select Menu
  3. //
  4. //----------------------------------------------------------------------------------------------
  5. {
  6. menuDef
  7. {
  8. name "ingameGotoTier"
  9. fullScreen 1
  10. rect 0 0 640 480
  11. visible 1
  12. focusColor 1 1 1 1
  13. descX 320
  14. descY 426
  15. descScale 1
  16. descColor 1 .682 0 .8
  17. descAlignment ITEM_ALIGN_CENTER
  18. disablecolor .5 .5 .5 1
  19. fadeClamp 1.0 // sets the fadeup alpha
  20. fadeCycle 20 // how often fade happens in milliseconds
  21. fadeAmount 0.1 // amount to adjust alpha per cycle
  22. onOpen
  23. {
  24. uiScript loadmissionselectmenu tier_storyinfo
  25. fadein background
  26. }
  27. onESC
  28. {
  29. }
  30. //----------------------------------------------------------------------------------------------
  31. // MENU BACKGROUND
  32. //----------------------------------------------------------------------------------------------
  33. itemDef
  34. {
  35. name background
  36. group none
  37. style WINDOW_STYLE_SHADER
  38. rect 0 0 640 480
  39. background "gfx/menus/mission_back"
  40. forecolor 1 1 1 1
  41. visible 1
  42. decoration
  43. }
  44. itemDef
  45. {
  46. name eyecandy1
  47. group none
  48. style WINDOW_STYLE_SHADER
  49. rect 17 309 357 153
  50. background "gfx/menus/mission_bottomleft_grid"
  51. forecolor 1 1 1 1
  52. visible 1
  53. decoration
  54. }
  55. itemDef
  56. {
  57. name botlf
  58. group none
  59. style WINDOW_STYLE_SHADER
  60. rect 0 300 80 180
  61. background "gfx/menus/mission_bottom_left"
  62. forecolor 1 1 1 1
  63. visible 1
  64. decoration
  65. }
  66. itemDef
  67. {
  68. name complete
  69. type ITEM_TYPE_TEXT
  70. rect 170 16 300 32
  71. text @MENUS_MISSION_COMPLETE
  72. font 2
  73. forecolor .549 .854 1 1
  74. textscale 1
  75. textalign ITEM_ALIGN_CENTER
  76. textalignx 150
  77. textaligny -1
  78. visible 1
  79. decoration
  80. }
  81. //----------------------------------------------------------------------------------------------
  82. // Killed, Secrets
  83. //----------------------------------------------------------------------------------------------
  84. itemDef
  85. {
  86. name killed
  87. group stats
  88. rect 0 52 320 32
  89. type ITEM_TYPE_EDITFIELD
  90. text @SP_INGAME_ENEMIESKILLED
  91. cvar "ui_stats_enemieskilled"
  92. font 2
  93. forecolor .549 .854 1 1
  94. textscale .8
  95. textalign ITEM_ALIGN_CENTER
  96. textalignx 160
  97. textaligny -1
  98. visible 1
  99. decoration
  100. }
  101. itemDef
  102. {
  103. name secretsfound
  104. group stats
  105. rect 320 52 320 32
  106. type ITEM_TYPE_EDITFIELD
  107. text @SP_INGAME_SECRETAREAS
  108. cvar "ui_stats_secretsfound"
  109. font 2
  110. forecolor .549 .854 1 1
  111. textscale .8
  112. textalign ITEM_ALIGN_CENTER
  113. textalignx 160
  114. textaligny -1
  115. visible 1
  116. decoration
  117. cvartest "ui_stats_secretsfound"
  118. hidecvar
  119. {
  120. "0"
  121. }
  122. }
  123. // Lines above and below lightsaber info
  124. itemDef
  125. {
  126. name border
  127. group none
  128. type ITEM_TYPE_TEXT
  129. rect 70 80 500 2
  130. forecolor 1 1 1 1
  131. border 1
  132. bordercolor .403 .584 .741 1
  133. visible 1
  134. decoration
  135. }
  136. itemDef
  137. {
  138. name border
  139. group none
  140. type ITEM_TYPE_TEXT
  141. rect 70 165 500 2
  142. forecolor 1 1 1 1
  143. border 1
  144. bordercolor .403 .584 .741 1
  145. visible 1
  146. decoration
  147. }
  148. //----------------------------------------------------------------------------------------------
  149. // Saber use data
  150. //----------------------------------------------------------------------------------------------
  151. itemDef
  152. {
  153. name saberuse
  154. type ITEM_TYPE_TEXT
  155. rect 0 87 640 32
  156. text @SP_INGAME_LIGHTSABERUSE
  157. font 2
  158. forecolor .549 .854 1 1
  159. textscale 1
  160. textalign ITEM_ALIGN_CENTER
  161. textalignx 320
  162. textaligny -1
  163. visible 1
  164. decoration
  165. }
  166. itemDef
  167. {
  168. name saber_thrown
  169. rect 20 115 200 32
  170. type ITEM_TYPE_EDITFIELD
  171. text @SP_INGAME_THROWN
  172. cvar "ui_stats_thrown"
  173. font 2
  174. forecolor .549 .854 1 1
  175. textscale .8
  176. textalign ITEM_ALIGN_RIGHT
  177. textalignx 100
  178. textaligny -1
  179. visible 1
  180. decoration
  181. }
  182. itemDef
  183. {
  184. name saber_blocks
  185. rect 20 140 200 32
  186. type ITEM_TYPE_EDITFIELD
  187. text @SP_INGAME_BLOCKS
  188. cvar "ui_stats_blocks"
  189. font 2
  190. forecolor .549 .854 1 1
  191. textscale .8
  192. textalign ITEM_ALIGN_RIGHT
  193. textalignx 100
  194. textaligny -1
  195. visible 1
  196. decoration
  197. }
  198. itemDef
  199. {
  200. name leg_attacks
  201. rect 220 115 200 32
  202. type ITEM_TYPE_EDITFIELD
  203. text @SP_INGAME_LEGATTACKS
  204. cvar "ui_stats_legattacks"
  205. font 2
  206. forecolor .549 .854 1 1
  207. textscale .8
  208. textalign ITEM_ALIGN_RIGHT
  209. textalignx 100
  210. textaligny -1
  211. visible 1
  212. decoration
  213. }
  214. itemDef
  215. {
  216. name arm_attacks
  217. rect 220 140 200 32
  218. type ITEM_TYPE_EDITFIELD
  219. text @SP_INGAME_ARMATTACKS
  220. cvar "ui_stats_armattacks"
  221. font 2
  222. forecolor .549 .854 1 1
  223. textscale .8
  224. textalign ITEM_ALIGN_RIGHT
  225. textalignx 100
  226. textaligny -1
  227. visible 1
  228. decoration
  229. }
  230. itemDef
  231. {
  232. name body_attacks
  233. rect 420 115 300 32
  234. type ITEM_TYPE_EDITFIELD
  235. text @SP_INGAME_BODYATTACKS
  236. cvar "ui_stats_bodyattacks"
  237. font 2
  238. forecolor .549 .854 1 1
  239. textscale .8
  240. textalign ITEM_ALIGN_RIGHT
  241. textalignx 100
  242. textaligny -1
  243. visible 1
  244. decoration
  245. }
  246. itemDef
  247. {
  248. name forceuse
  249. type ITEM_TYPE_TEXT
  250. rect 250 173 150 32
  251. text @SP_INGAME_FORCEUSE
  252. font 2
  253. forecolor .549 .854 1 1
  254. textscale 1
  255. textalign ITEM_ALIGN_CENTER
  256. textalignx 75
  257. textaligny -1
  258. visible 1
  259. decoration
  260. }
  261. //----------------------------------------------------------------------------------------------
  262. // Lower 1st column of force stats (light side powers)
  263. //----------------------------------------------------------------------------------------------
  264. itemDef
  265. {
  266. name absorb
  267. rect -20 195 150 32
  268. type ITEM_TYPE_EDITFIELD
  269. text @SP_INGAME_ABSORB
  270. cvar "ui_stats_absorb"
  271. font 2
  272. forecolor 0 0 1 1
  273. textscale .8
  274. textalign ITEM_ALIGN_RIGHT
  275. textalignx 150
  276. textaligny 0
  277. visible 1
  278. decoration
  279. }
  280. itemDef
  281. {
  282. name heal
  283. rect -20 215 160 32
  284. type ITEM_TYPE_EDITFIELD
  285. text @SP_INGAME_HEAL
  286. cvar "ui_stats_heal"
  287. font 2
  288. forecolor 0 0 1 1
  289. textscale .8
  290. textalign ITEM_ALIGN_RIGHT
  291. textalignx 150
  292. textaligny 0
  293. visible 1
  294. decoration
  295. }
  296. itemDef
  297. {
  298. name mindtrick
  299. rect -20 235 160 32
  300. type ITEM_TYPE_EDITFIELD
  301. text @SP_INGAME_MINDTRICK
  302. cvar "ui_stats_mindtrick"
  303. font 2
  304. forecolor 0 0 1 1
  305. textscale .8
  306. textalign ITEM_ALIGN_RIGHT
  307. textalignx 150
  308. textaligny 0
  309. visible 1
  310. decoration
  311. }
  312. itemDef
  313. {
  314. name protection
  315. rect -20 255 160 32
  316. type ITEM_TYPE_EDITFIELD
  317. text @SP_INGAME_PROTECTION
  318. cvar "ui_stats_protect"
  319. font 2
  320. forecolor 0 0 1 1
  321. textscale .8
  322. textalign ITEM_ALIGN_RIGHT
  323. textalignx 150
  324. textaligny 0
  325. visible 1
  326. decoration
  327. }
  328. //----------------------------------------------------------------------------------------------
  329. // Lower 2nd column of force stats (neutral powers)
  330. //----------------------------------------------------------------------------------------------
  331. itemDef
  332. {
  333. name jump
  334. rect 130 195 160 32
  335. type ITEM_TYPE_EDITFIELD
  336. text @MENUS_FORCE_JUMP
  337. cvar "ui_stats_jump"
  338. font 2
  339. forecolor .631 .631 .815 1
  340. textscale .8
  341. textalign ITEM_ALIGN_RIGHT
  342. textalignx 150
  343. textaligny 0
  344. visible 1
  345. decoration
  346. }
  347. itemDef
  348. {
  349. name pull
  350. rect 130 215 160 32
  351. type ITEM_TYPE_EDITFIELD
  352. text @SP_INGAME_PULL
  353. cvar "ui_stats_pull"
  354. font 2
  355. forecolor .631 .631 .815 1
  356. textscale .8
  357. textalign ITEM_ALIGN_RIGHT
  358. textalignx 150
  359. textaligny 0
  360. visible 1
  361. decoration
  362. }
  363. itemDef
  364. {
  365. name push
  366. rect 130 235 160 32
  367. type ITEM_TYPE_EDITFIELD
  368. text @SP_INGAME_PUSH
  369. cvar "ui_stats_push"
  370. font 2
  371. forecolor .631 .631 .815 1
  372. textscale .8
  373. textalign ITEM_ALIGN_RIGHT
  374. textalignx 150
  375. textaligny 0
  376. visible 1
  377. decoration
  378. }
  379. itemDef
  380. {
  381. name sense
  382. rect 130 255 160 32
  383. type ITEM_TYPE_EDITFIELD
  384. text @MENUS_FORCE_SENSE
  385. cvar "ui_stats_sense"
  386. font 2
  387. forecolor .631 .631 .815 1
  388. textscale .8
  389. textalign ITEM_ALIGN_RIGHT
  390. textalignx 150
  391. textaligny 0
  392. visible 1
  393. decoration
  394. }
  395. //----------------------------------------------------------------------------------------------
  396. // Lower 3rd column of force stats (neutral powers)
  397. //----------------------------------------------------------------------------------------------
  398. itemDef
  399. {
  400. name speed
  401. rect 280 195 150 32
  402. type ITEM_TYPE_EDITFIELD
  403. text @SP_INGAME_SPEED
  404. cvar "ui_stats_speed"
  405. font 2
  406. forecolor .631 .631 .815 1
  407. textscale .8
  408. textalign ITEM_ALIGN_RIGHT
  409. textalignx 150
  410. textaligny 0
  411. visible 1
  412. decoration
  413. }
  414. itemDef
  415. {
  416. name defense
  417. rect 280 215 300 32
  418. type ITEM_TYPE_EDITFIELD
  419. text @MENUS_DEFENSE
  420. cvar "ui_stats_defense"
  421. font 2
  422. forecolor .631 .631 .815 1
  423. textscale .8
  424. textalign ITEM_ALIGN_RIGHT
  425. textalignx 150
  426. textaligny -1
  427. visible 1
  428. decoration
  429. }
  430. itemDef
  431. {
  432. name offense
  433. rect 280 235 300 32
  434. type ITEM_TYPE_EDITFIELD
  435. text @MENUS_OFFENSE
  436. cvar "ui_stats_offense"
  437. font 2
  438. forecolor .631 .631 .815 1
  439. textscale .8
  440. textalign ITEM_ALIGN_RIGHT
  441. textalignx 150
  442. textaligny -1
  443. visible 1
  444. decoration
  445. }
  446. itemDef
  447. {
  448. name throw
  449. rect 280 255 300 32
  450. type ITEM_TYPE_EDITFIELD
  451. text @MENUS_THROW
  452. cvar "ui_stats_throw"
  453. font 2
  454. forecolor .631 .631 .815 1
  455. textscale .8
  456. textalign ITEM_ALIGN_RIGHT
  457. textalignx 150
  458. textaligny -1
  459. visible 1
  460. decoration
  461. }
  462. //----------------------------------------------------------------------------------------------
  463. // Lower 4th column of force stats (dark powers)
  464. //----------------------------------------------------------------------------------------------
  465. itemDef
  466. {
  467. name grip
  468. rect 430 195 150 32
  469. type ITEM_TYPE_EDITFIELD
  470. text @MENUS_FORCE_DRAIN
  471. cvar "ui_stats_drain"
  472. font 2
  473. forecolor 1 0 0 1
  474. textscale .8
  475. textalign ITEM_ALIGN_RIGHT
  476. textalignx 150
  477. textaligny 0
  478. visible 1
  479. decoration
  480. }
  481. itemDef
  482. {
  483. name grip
  484. rect 430 215 150 32
  485. type ITEM_TYPE_EDITFIELD
  486. text @MENUS_FORCE_GRIP
  487. cvar "ui_stats_grip"
  488. font 2
  489. forecolor 1 0 0 1
  490. textscale .8
  491. textalign ITEM_ALIGN_RIGHT
  492. textalignx 150
  493. textaligny 0
  494. visible 1
  495. decoration
  496. }
  497. itemDef
  498. {
  499. name lightning
  500. rect 430 235 150 32
  501. type ITEM_TYPE_EDITFIELD
  502. text @MENUS_FORCE_LIGHTNING
  503. cvar "ui_stats_lightning"
  504. font 2
  505. forecolor 1 0 0 1
  506. textscale .8
  507. textalign ITEM_ALIGN_RIGHT
  508. textalignx 150
  509. textaligny 0
  510. visible 1
  511. decoration
  512. }
  513. itemDef
  514. {
  515. name rage
  516. rect 430 255 150 32
  517. type ITEM_TYPE_EDITFIELD
  518. text @MENUS_RAGE
  519. cvar "ui_stats_rage"
  520. font 2
  521. forecolor 1 0 0 1
  522. textscale .8
  523. textalign ITEM_ALIGN_RIGHT
  524. textalignx 150
  525. textaligny 0
  526. visible 1
  527. decoration
  528. }
  529. //----------------------------------------------------------------------------------------------
  530. // MODELS FOR V-O
  531. //----------------------------------------------------------------------------------------------
  532. itemDef
  533. {
  534. name luke
  535. group storyheads
  536. type ITEM_TYPE_MODEL
  537. rect 415 285 149 149
  538. model_g2anim "BOTH_STAND1_TALK2"
  539. model_g2skin "models/players/luke/model_menu.skin"
  540. asset_model "models/players/luke/model.glm"
  541. model_angle 180
  542. //mins maxs format is apparently z x y (hmmm... y x z?)
  543. model_g2mins 15 -20 18
  544. model_g2maxs 60 20 55
  545. model_rotation 0
  546. model_fovx 10
  547. model_fovy 10
  548. isCharacter 1
  549. visible 1
  550. decoration
  551. cvartest "storyhead"
  552. showcvar
  553. {
  554. "luke"
  555. "yavin2"
  556. }
  557. }
  558. itemDef
  559. {
  560. name kyle
  561. group storyheads
  562. type ITEM_TYPE_MODEL
  563. rect 415 288 145 145
  564. model_g2anim "BOTH_STAND1_TALK2"
  565. model_g2skin "models/players/kyle/model_menu.skin"
  566. asset_model "models/players/kyle/model.glm"
  567. model_angle 180
  568. //mins maxs format is apparently z x y (hmmm... y x z?)
  569. model_g2mins 15 -20 18
  570. model_g2maxs 60 20 55
  571. model_rotation 0
  572. model_fovx 10
  573. model_fovy 10
  574. isCharacter 1
  575. visible 1
  576. decoration
  577. cvartest "storyhead"
  578. showcvar
  579. {
  580. "kyle"
  581. }
  582. }
  583. itemDef
  584. {
  585. name protocol
  586. group storyheads
  587. type ITEM_TYPE_MODEL
  588. rect 426 317 116 116
  589. model_g2anim "BOTH_STAND1_TALK2"
  590. model_g2skin "models/players/protocol/model_menu.skin"
  591. asset_model "models/players/protocol/model.glm"
  592. model_angle 180
  593. //mins maxs format is apparently z x y (hmmm... y x z?)
  594. model_g2mins 15 -20 17
  595. model_g2maxs 60 20 50
  596. model_rotation 0
  597. model_fovx 10
  598. model_fovy 10
  599. isCharacter 1
  600. visible 1
  601. decoration
  602. cvartest "storyhead"
  603. showcvar
  604. {
  605. "protocol"
  606. "academy3"
  607. }
  608. }
  609. //----------------------------------------------------------------------------------------------
  610. //
  611. // BUTTONS
  612. //
  613. //----------------------------------------------------------------------------------------------
  614. //----------------------------------------------------------------------------------------------
  615. //Sound is automatic
  616. //----------------------------------------------------------------------------------------------
  617. //----------------------------------------------------------------------------------------------
  618. //coming from Yavin2
  619. //----------------------------------------------------------------------------------------------
  620. itemDef
  621. {
  622. name story1
  623. type ITEM_TYPE_BUTTON
  624. rect 550 440 172 24
  625. text @MENUS_OKAY
  626. font 2
  627. forecolor 1 1 1 1
  628. textscale .7
  629. textalign ITEM_ALIGN_LEFT
  630. textalignx 8
  631. textaligny -1
  632. visible 1
  633. cvartest "tier_storyinfo"
  634. showcvar
  635. {
  636. "1"
  637. }
  638. mouseEnter
  639. {
  640. }
  641. mouseExit
  642. {
  643. }
  644. action
  645. {
  646. close all
  647. open ingameMissionSelect1
  648. }
  649. }
  650. itemDef
  651. {
  652. name story1text
  653. type ITEM_TYPE_TEXTSCROLL
  654. rect 44 313 304 145
  655. text @TIER1_1
  656. font 2
  657. forecolor 1 1 1 1
  658. textscale .8
  659. textalign ITEM_ALIGN_LEFT
  660. textalignx 2
  661. textaligny -1
  662. lineHeight 18
  663. visible 1
  664. autowrapped
  665. cvartest "tier_storyinfo"
  666. showcvar
  667. {
  668. "1"
  669. }
  670. }
  671. //----------------------------------------------------------------------------------------------
  672. //coming from Hoth3
  673. //----------------------------------------------------------------------------------------------
  674. itemDef
  675. {
  676. name story6
  677. type ITEM_TYPE_BUTTON
  678. rect 550 440 172 24
  679. text @MENUS_OKAY
  680. font 2
  681. forecolor 1 1 1 1
  682. textscale .7
  683. textalign ITEM_ALIGN_LEFT
  684. textalignx 8
  685. textaligny -1
  686. visible 1
  687. cvartest "tier_storyinfo"
  688. showcvar
  689. {
  690. "7"
  691. }
  692. mouseEnter
  693. {
  694. }
  695. mouseExit
  696. {
  697. }
  698. action
  699. {
  700. close all
  701. open ingameMissionSelect2
  702. }
  703. }
  704. itemDef
  705. {
  706. name story2text
  707. type ITEM_TYPE_TEXTSCROLL
  708. rect 44 313 304 145
  709. text @TIER2_7
  710. font 2
  711. forecolor 1 1 1 1
  712. textscale .8
  713. textalign ITEM_ALIGN_LEFT
  714. textalignx 2
  715. textaligny -1
  716. lineHeight 18
  717. visible 1
  718. autowrapped
  719. cvartest "tier_storyinfo"
  720. showcvar
  721. {
  722. "7"
  723. }
  724. }
  725. //----------------------------------------------------------------------------------------------
  726. //coming from Vjun3
  727. //----------------------------------------------------------------------------------------------
  728. itemDef
  729. {
  730. name story11
  731. type ITEM_TYPE_BUTTON
  732. rect 550 440 172 24
  733. text @MENUS_OKAY
  734. font 2
  735. forecolor 1 1 1 1
  736. textscale .7
  737. textalign ITEM_ALIGN_LEFT
  738. textalignx 8
  739. textaligny -1
  740. visible 1
  741. cvartest "tier_storyinfo"
  742. showcvar
  743. {
  744. "13"
  745. }
  746. mouseEnter
  747. {
  748. }
  749. mouseExit
  750. {
  751. }
  752. action
  753. {
  754. close all
  755. open ingameMissionSelect3
  756. }
  757. }
  758. itemDef
  759. {
  760. name story3text
  761. type ITEM_TYPE_TEXTSCROLL
  762. rect 44 313 304 145
  763. text @TIER3_13
  764. font 2
  765. forecolor 1 1 1 1
  766. textscale .8
  767. textalign ITEM_ALIGN_LEFT
  768. textalignx 2
  769. textaligny -1
  770. lineHeight 18
  771. visible 1
  772. autowrapped
  773. cvartest "tier_storyinfo"
  774. showcvar
  775. {
  776. "13"
  777. }
  778. }
  779. //----------------------------------------------------------------------------------------------
  780. // SCANLINES OVER WHOLE MENU
  781. //----------------------------------------------------------------------------------------------
  782. itemDef
  783. {
  784. name scan
  785. group none
  786. style WINDOW_STYLE_SHADER
  787. rect 0 0 640 640
  788. background "gfx/menus/scanlines"
  789. forecolor 1 1 1 1
  790. visible 1
  791. decoration
  792. }
  793. }
  794. }