character.menu 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. //----------------------------------------------------------------------------------------------
  2. // CHARACTER CREATION MENU
  3. //
  4. //
  5. //
  6. //----------------------------------------------------------------------------------------------
  7. {
  8. menuDef
  9. {
  10. name "characterMenu"
  11. fullScreen 1
  12. rect 0 0 640 480
  13. visible 1
  14. focusColor 1 1 1 1
  15. descX 320
  16. descY 426
  17. descScale 1
  18. descColor 1 .682 0 .8
  19. descAlignment ITEM_ALIGN_CENTER
  20. onOpen
  21. {
  22. uiScript "getcharcvars"
  23. uiScript "character"
  24. hide heads
  25. show torso
  26. hide lower
  27. }
  28. onESC
  29. {
  30. play "sound/interface/esc.wav"
  31. close characterMenu
  32. open newgameMenu
  33. }
  34. //----------------------------------------------------------------------------------------------
  35. // MENU BACKGROUND
  36. //----------------------------------------------------------------------------------------------
  37. itemDef
  38. {
  39. name really_background
  40. group none
  41. style WINDOW_STYLE_SHADER
  42. rect 156 154 320 240
  43. background "gfx/menus/main_centerblue"
  44. forecolor 1 1 1 1
  45. visible 1
  46. decoration
  47. }
  48. itemDef
  49. {
  50. name background_text
  51. group none
  52. style WINDOW_STYLE_SHADER
  53. rect 0 0 160 480
  54. background "gfx/menus/menu_side_text"
  55. forecolor 1 1 1 1
  56. visible 1
  57. decoration
  58. }
  59. itemDef
  60. {
  61. name background_text_b
  62. group none
  63. style WINDOW_STYLE_SHADER
  64. rect 480 0 160 480
  65. background "gfx/menus/menu_side_text_right"
  66. forecolor 1 1 1 1
  67. visible 1
  68. decoration
  69. }
  70. itemDef
  71. {
  72. name background
  73. group none
  74. style WINDOW_STYLE_SHADER
  75. rect 0 0 640 480
  76. // background "gfx/menus/main_background"
  77. background "gfx/menus/charmenu"
  78. forecolor 1 1 1 1
  79. visible 1
  80. decoration
  81. }
  82. // The starwars logo on the top
  83. /*itemDef
  84. {
  85. name starwars
  86. group none
  87. style WINDOW_STYLE_SHADER
  88. rect 107 8 428 112
  89. background "gfx/menus/jediacademy"
  90. forecolor 1 1 1 1
  91. visible 1
  92. decoration
  93. }*/
  94. itemDef
  95. {
  96. name left_frame
  97. group lf_fr
  98. style WINDOW_STYLE_SHADER
  99. rect 0 -60 320 160
  100. background "gfx/menus/menu_boxes_left"
  101. forecolor 1 1 1 1
  102. visible 1
  103. decoration
  104. }
  105. itemDef
  106. {
  107. name right_frame
  108. group rt_fr
  109. style WINDOW_STYLE_SHADER
  110. rect 320 -60 320 160
  111. background "gfx/menus/menu_boxes_right"
  112. forecolor 1 1 1 1
  113. visible 1
  114. decoration
  115. }
  116. //----------------------------------------------------------------------------------------------
  117. // CHARACTER MENU specific stuff
  118. //----------------------------------------------------------------------------------------------
  119. // CREATION title
  120. itemDef
  121. {
  122. name creation_title
  123. group title
  124. style WINDOW_STYLE_SHADER
  125. background "gfx/menus/menu_blendbox"
  126. text @MENUS_CHARACTER_CREATION
  127. rect 100 54 440 16
  128. font 3
  129. textscale 0.7
  130. textalign ITEM_ALIGN_CENTER
  131. textalignx 225
  132. textaligny -1
  133. forecolor .549 .854 1 1
  134. visible 1
  135. decoration
  136. }
  137. itemDef
  138. {
  139. name character
  140. group models
  141. type ITEM_TYPE_MODEL
  142. // rect 52 84 900 1000
  143. rect 355 84 300 340
  144. model_g2anim "BOTH_WALK1"
  145. asset_model "ui_char_model"
  146. model_angle 180
  147. model_g2mins -10 -15 -10
  148. model_g2maxs 20 15 30
  149. model_rotation 50
  150. model_fovx 50
  151. model_fovy 50
  152. isCharacter 1
  153. visible 1
  154. decoration
  155. }
  156. itemDef
  157. {
  158. name background2
  159. group none
  160. style WINDOW_STYLE_SHADER
  161. rect 320 360 320 120
  162. background "gfx/menus/charmenu_bottom"
  163. forecolor 1 1 1 1
  164. visible 1
  165. decoration
  166. }
  167. //----------------------------------------------------------------------------------------------
  168. // SPECIES BUTTON
  169. //----------------------------------------------------------------------------------------------
  170. itemDef
  171. {
  172. name species
  173. group none
  174. type ITEM_TYPE_BUTTON
  175. style WINDOW_STYLE_EMPTY
  176. rect 30 88 140 24
  177. forecolor .549 .854 1 1
  178. text @MENUS_SPECIES
  179. textalign ITEM_ALIGN_LEFT
  180. textalignx 0
  181. textaligny -1
  182. font 3
  183. textscale 1
  184. visible 1
  185. decoration
  186. }
  187. itemDef
  188. {
  189. name speciesbut_glow
  190. group none
  191. style WINDOW_STYLE_SHADER
  192. rect 176 92 150 16
  193. background "gfx/menus/menu_buttonback"
  194. forecolor 1 1 1 1
  195. visible 0
  196. decoration
  197. }
  198. itemDef
  199. {
  200. name speciesbut
  201. group none
  202. text " "
  203. descText @MENUS_CHOOSE_SPECIES
  204. type ITEM_TYPE_MULTI
  205. style WINDOW_STYLE_EMPTY
  206. rect 176 92 150 16
  207. font 2
  208. textscale .9
  209. textaligny -5
  210. textalign ITEM_ALIGN_LEFT
  211. textstyle 1
  212. textalignx 0
  213. backcolor 0 0 0 0
  214. forecolor .615 .615 .956 1
  215. feeder 16 //FEEDER_PLAYER_SPECIES
  216. cvar "ui_char_model"
  217. cvarStrList feeder
  218. visible 1
  219. mouseEnter
  220. {
  221. show speciesbut_glow
  222. }
  223. mouseExit
  224. {
  225. hide speciesbut_glow
  226. }
  227. action
  228. {
  229. play "sound/interface/button1.wav"
  230. uiScript "characterchanged"
  231. uiScript "resetcharacterlistboxes"
  232. }
  233. }
  234. //----------------------------------------------------------------------------------------------
  235. // COLOR TINT AREA
  236. //----------------------------------------------------------------------------------------------
  237. itemDef
  238. {
  239. name color
  240. group none
  241. type ITEM_TYPE_BUTTON
  242. style WINDOW_STYLE_EMPTY
  243. rect 30 144 160 24
  244. forecolor .549 .854 1 1
  245. text @MENUS_COLOR
  246. textalign ITEM_ALIGN_LEFT
  247. textalignx 0
  248. textaligny -1
  249. font 3
  250. textscale 1
  251. visible 1
  252. decoration
  253. }
  254. itemDef
  255. {
  256. name colorbox
  257. group tints
  258. type ITEM_TYPE_LISTBOX
  259. style WINDOW_STYLE_FILLED
  260. desctext @MENUS_CHANGE_PLAYER_TINT
  261. elementwidth 32
  262. elementheight 32
  263. elementtype 1 //LISTBOX_IMAGE
  264. feeder 20 //FEEDER_COLORCHOICES
  265. horizontalscroll
  266. border 1
  267. bordersize 1
  268. backcolor .66 .66 1 .25
  269. bordercolor .66 .66 1 1
  270. rect 30 168 292 48
  271. visible 1
  272. action
  273. {
  274. play "sound/interface/choose_color.wav"
  275. }
  276. }
  277. //----------------------------------------------------------------------------------------------
  278. // APPEARANCE TABS
  279. //----------------------------------------------------------------------------------------------
  280. itemDef
  281. {
  282. name appear
  283. group none
  284. type ITEM_TYPE_BUTTON
  285. style WINDOW_STYLE_EMPTY
  286. rect 30 252 180 24
  287. forecolor .549 .854 1 1
  288. text @MENUS_APPEARANCE
  289. textalign ITEM_ALIGN_LEFT
  290. textalignx 0
  291. textaligny -1
  292. font 3
  293. textscale 1
  294. visible 1
  295. decoration
  296. }
  297. // HEAD BUTTON
  298. itemDef
  299. {
  300. name headbut_glow
  301. group none
  302. style WINDOW_STYLE_SHADER
  303. rect 30 280 90 16
  304. background "gfx/menus/menu_buttonback"
  305. forecolor 1 1 1 1
  306. visible 0
  307. decoration
  308. }
  309. itemDef
  310. {
  311. name headbut
  312. group none
  313. text @MENUS_HEAD
  314. descText @MENUS_SELECT_HEAD
  315. type ITEM_TYPE_BUTTON
  316. style WINDOW_STYLE_EMPTY
  317. rect 30 280 90 16
  318. font 2
  319. textscale .9
  320. textaligny -5
  321. textalign ITEM_ALIGN_LEFT
  322. textstyle 1
  323. textalignx 0
  324. backcolor 0 0 0 0
  325. forecolor 1 .682 0 1
  326. visible 1
  327. mouseEnter
  328. {
  329. show headbut_glow
  330. }
  331. mouseExit
  332. {
  333. hide headbut_glow
  334. }
  335. action
  336. {
  337. play "sound/interface/button1.wav"
  338. show heads
  339. hide torso
  340. hide lower
  341. transition2 character 52 84 900 1000 20 25
  342. setitemcolor legsbut forecolor 1 .682 0 1
  343. setitemcolor torsobut forecolor 1 .682 0 1
  344. setitemcolor headbut forecolor 1 1 1 1
  345. }
  346. }
  347. // TORSO BUTTON
  348. itemDef
  349. {
  350. name torsobut_glow
  351. group none
  352. style WINDOW_STYLE_SHADER
  353. rect 126 280 90 16
  354. background "gfx/menus/menu_buttonback"
  355. forecolor 1 1 1 1
  356. visible 0
  357. decoration
  358. }
  359. itemDef
  360. {
  361. name torsobut
  362. group none
  363. text @MENUS_TORSO
  364. descText @MENUS_SELECT_TORSO
  365. type ITEM_TYPE_BUTTON
  366. style WINDOW_STYLE_EMPTY
  367. rect 126 280 90 16
  368. font 2
  369. textscale .9
  370. textaligny -5
  371. textalign ITEM_ALIGN_LEFT
  372. textstyle 1
  373. textalignx 0
  374. backcolor 0 0 0 0
  375. forecolor 1 1 1 1
  376. visible 1
  377. mouseEnter
  378. {
  379. show torsobut_glow
  380. }
  381. mouseExit
  382. {
  383. hide torsobut_glow
  384. }
  385. action
  386. {
  387. play "sound/interface/button1.wav"
  388. show torso
  389. hide heads
  390. hide lower
  391. transition2 character 355 84 300 340 20 25
  392. setitemcolor legsbut forecolor 1 .682 0 1
  393. setitemcolor torsobut forecolor 1 1 1 1
  394. setitemcolor headbut forecolor 1 .682 0 1
  395. }
  396. }
  397. // LEGS BUTTON
  398. itemDef
  399. {
  400. name legsbut_glow
  401. group none
  402. style WINDOW_STYLE_SHADER
  403. rect 224 280 90 16
  404. background "gfx/menus/menu_buttonback"
  405. forecolor 1 1 1 1
  406. visible 0
  407. decoration
  408. }
  409. itemDef
  410. {
  411. name legsbut
  412. group none
  413. text @MENUS_LEGS
  414. descText @MENUS_SELECT_LEGS
  415. type ITEM_TYPE_BUTTON
  416. style WINDOW_STYLE_EMPTY
  417. rect 224 280 90 16
  418. font 2
  419. textscale .9
  420. textaligny -5
  421. textalign ITEM_ALIGN_LEFT
  422. textstyle 1
  423. textalignx 0
  424. backcolor 0 0 0 0
  425. forecolor 1 .682 0 1
  426. visible 1
  427. mouseEnter
  428. {
  429. show legsbut_glow
  430. }
  431. mouseExit
  432. {
  433. hide legsbut_glow
  434. }
  435. action
  436. {
  437. play "sound/interface/button1.wav"
  438. show lower
  439. hide heads
  440. hide torso
  441. transition2 character 355 84 300 340 20 25
  442. setitemcolor legsbut forecolor 1 1 1 1
  443. setitemcolor torsobut forecolor 1 .682 0 1
  444. setitemcolor headbut forecolor 1 .682 0 1
  445. }
  446. }
  447. //----------------------------------------------------------------------------------------------
  448. // APPEARANCE LISTBOXES
  449. //----------------------------------------------------------------------------------------------
  450. itemDef
  451. {
  452. name headlistbox
  453. group heads
  454. type ITEM_TYPE_LISTBOX
  455. style WINDOW_STYLE_FILLED
  456. descText @MENUS_SELECT_HEAD
  457. elementwidth 72
  458. elementheight 72
  459. elementtype 1 //LISTBOX_IMAGE
  460. feeder 17 //FEEDER_PLAYER_SKIN_HEAD
  461. horizontalscroll
  462. border 1
  463. bordersize 1
  464. backcolor .66 .66 1 .25
  465. bordercolor .66 .66 1 1
  466. forecolor -1 //use playercolor
  467. rect 30 306 292 93
  468. visible 0
  469. action
  470. {
  471. play "sound/interface/choose_head.wav"
  472. uiScript "char_skin"
  473. }
  474. }
  475. itemDef
  476. {
  477. name torsolistbox
  478. group torso
  479. type ITEM_TYPE_LISTBOX
  480. style WINDOW_STYLE_FILLED
  481. descText @MENUS_SELECT_TORSO
  482. elementwidth 72
  483. elementheight 72
  484. elementtype 1 //LISTBOX_IMAGE
  485. feeder 18 //FEEDER_PLAYER_SKIN_TORSO
  486. horizontalscroll
  487. border 1
  488. bordersize 1
  489. backcolor .66 .66 1 .25
  490. bordercolor .66 .66 1 1
  491. forecolor -1 //use playercolor
  492. rect 30 306 292 93
  493. visible 1
  494. action
  495. {
  496. play "sound/interface/choose_torso.wav"
  497. uiScript "char_skin"
  498. }
  499. }
  500. itemDef
  501. {
  502. name lowerlistbox
  503. group lower
  504. type ITEM_TYPE_LISTBOX
  505. style WINDOW_STYLE_FILLED
  506. descText @MENUS_SELECT_LEGS
  507. elementwidth 72
  508. elementheight 72
  509. elementtype 1 //LISTBOX_IMAGE
  510. feeder 19 //FEEDER_PLAYER_SKIN_LEGS
  511. horizontalscroll
  512. border 1
  513. bordersize 1
  514. backcolor .66 .66 1 .25
  515. bordercolor .66 .66 1 1
  516. forecolor -1 //use playercolor
  517. rect 30 306 292 93
  518. visible 0
  519. action
  520. {
  521. play "sound/interface/choose_head.wav"
  522. uiScript "char_skin"
  523. }
  524. }
  525. //----------------------------------------------------------------------------------------------
  526. // TOP MAIN MENU BUTTONS
  527. //----------------------------------------------------------------------------------------------
  528. // Big button "NEW"
  529. itemDef
  530. {
  531. name newbutton_glow
  532. group none
  533. style WINDOW_STYLE_SHADER
  534. rect 7 16 130 24
  535. background "gfx/menus/menu_buttonback"
  536. forecolor 1 1 1 1
  537. visible 0
  538. decoration
  539. }
  540. itemDef
  541. {
  542. name newgamebutton
  543. group nbut
  544. style WINDOW_STYLE_EMPTY
  545. type ITEM_TYPE_BUTTON
  546. rect 7 16 130 24
  547. text @MENUS_NEW
  548. descText @MENUS_START_A_NEW_GAME
  549. font 3
  550. textscale 1.1
  551. textaligny 0
  552. textalign ITEM_ALIGN_CENTER
  553. textstyle 1
  554. textalignx 65
  555. forecolor 1 1 1 1
  556. visible 1
  557. mouseEnter
  558. {
  559. show newbutton_glow
  560. }
  561. mouseExit
  562. {
  563. hide newbutton_glow
  564. }
  565. }
  566. // Big button "LOAD"
  567. itemDef
  568. {
  569. name loadgamebutton_glow
  570. group none
  571. style WINDOW_STYLE_SHADER
  572. rect 170 16 130 24
  573. background "gfx/menus/menu_buttonback" // Frame around button
  574. forecolor 1 1 1 1
  575. visible 0
  576. decoration
  577. }
  578. itemDef
  579. {
  580. name loadgamebutton
  581. group lbut
  582. text @MENUS_LOAD
  583. descText @MENUS_LOAD_A_SAVED_GAME
  584. style WINDOW_STYLE_EMPTY
  585. type ITEM_TYPE_BUTTON
  586. rect 170 16 130 24
  587. textaligny 0
  588. font 3
  589. textscale 1.1
  590. textalign ITEM_ALIGN_CENTER
  591. textstyle 1
  592. textalignx 65
  593. forecolor 1 .682 0 1
  594. visible 1
  595. mouseEnter
  596. {
  597. show loadgamebutton_glow
  598. }
  599. mouseExit
  600. {
  601. hide loadgamebutton_glow
  602. }
  603. action
  604. {
  605. play "sound/interface/button1.wav"
  606. close all
  607. open loadgameMenu
  608. }
  609. }
  610. // Big button "CONTROLS"
  611. itemDef
  612. {
  613. name controlsbutton_glow
  614. group none
  615. style WINDOW_STYLE_SHADER
  616. rect 340 16 130 24
  617. background "gfx/menus/menu_buttonback" // Frame around button
  618. forecolor 1 1 1 1
  619. visible 0
  620. decoration
  621. }
  622. itemDef {
  623. name controlsbutton
  624. group cbut
  625. text @MENUS_CONTROLS
  626. descText @MENUS_CONFIGURE_GAME_CONTROLS
  627. type ITEM_TYPE_BUTTON
  628. style WINDOW_STYLE_EMPTY
  629. rect 340 16 130 24
  630. font 3
  631. textscale 1.1
  632. textaligny 0
  633. textalign ITEM_ALIGN_CENTER
  634. textstyle 1
  635. textalignx 65
  636. backcolor 0 0 0 0
  637. forecolor 1 .682 0 1
  638. visible 1
  639. mouseEnter
  640. {
  641. show controlsbutton_glow
  642. }
  643. mouseExit
  644. {
  645. hide controlsbutton_glow
  646. }
  647. action
  648. {
  649. play "sound/interface/button1.wav"
  650. close all
  651. open controlsMenu
  652. }
  653. }
  654. // Big button "SETUP"
  655. itemDef
  656. {
  657. name setupbutton_glow
  658. group none
  659. style WINDOW_STYLE_SHADER
  660. rect 502 16 130 24
  661. background "gfx/menus/menu_buttonback" // Frame around button
  662. forecolor 1 1 1 1
  663. visible 0
  664. decoration
  665. }
  666. itemDef
  667. {
  668. name setupbutton
  669. group sbut
  670. text @MENUS_SETUP
  671. descText @MENUS_CONFIGURE_GAME_SETTINGS
  672. type ITEM_TYPE_BUTTON
  673. style WINDOW_STYLE_EMPTY
  674. rect 502 16 130 24
  675. font 3
  676. textscale 1.1
  677. textaligny 0
  678. textalign ITEM_ALIGN_CENTER
  679. textstyle 1
  680. textalignx 65
  681. backcolor 0 0 0 0
  682. forecolor 1 .682 0 1
  683. visible 1
  684. mouseEnter
  685. {
  686. show setupbutton_glow
  687. }
  688. mouseExit
  689. {
  690. hide setupbutton_glow
  691. }
  692. action
  693. {
  694. play "sound/interface/button1.wav"
  695. close all
  696. open setupMenu
  697. }
  698. }
  699. //----------------------------------------------------------------------------------------------
  700. // LOWER MAIN MENU BUTTONS
  701. //----------------------------------------------------------------------------------------------
  702. // BACK button in lower left corner
  703. itemDef
  704. {
  705. name backbutton_glow
  706. group mods
  707. style WINDOW_STYLE_SHADER
  708. rect 59 444 130 24
  709. background "gfx/menus/menu_buttonback" // Frame around button
  710. forecolor 1 1 1 1
  711. visible 0
  712. decoration
  713. }
  714. itemDef
  715. {
  716. name backbutton
  717. group exit
  718. text @MENUS_BACK
  719. descText @MENUS_BACKUP_ONE_MENU
  720. type ITEM_TYPE_BUTTON
  721. style WINDOW_STYLE_EMPTY
  722. rect 59 444 130 24
  723. font 3
  724. textscale 1.1
  725. textalign ITEM_ALIGN_CENTER
  726. textstyle 3
  727. textalignx 65
  728. textaligny -1
  729. forecolor 1 .682 0 1
  730. visible 1
  731. mouseEnter
  732. {
  733. show backbutton_glow
  734. }
  735. mouseExit
  736. {
  737. hide backbutton_glow
  738. }
  739. action
  740. {
  741. play "sound/interface/esc.wav"
  742. close all ;
  743. open newgameMenu
  744. }
  745. }
  746. // EXIT button in lower left corner
  747. itemDef
  748. {
  749. name exitgamebutton_glow
  750. group mods
  751. style WINDOW_STYLE_SHADER
  752. rect 255 444 130 24
  753. background "gfx/menus/menu_buttonback" // Frame around button
  754. forecolor 1 1 1 1
  755. visible 0
  756. decoration
  757. }
  758. itemDef
  759. {
  760. name exitgamebutton
  761. group exit
  762. text @MENUS_EXIT
  763. descText @MENUS_JEDI_KNIGHT_II
  764. type ITEM_TYPE_BUTTON
  765. style WINDOW_STYLE_EMPTY
  766. rect 255 444 130 24
  767. font 3
  768. textscale 1.1
  769. textalign ITEM_ALIGN_CENTER
  770. textstyle 3
  771. textalignx 65
  772. textaligny -1
  773. forecolor 1 .682 0 1
  774. visible 1
  775. mouseEnter
  776. {
  777. show exitgamebutton_glow
  778. }
  779. mouseExit
  780. {
  781. hide exitgamebutton_glow
  782. }
  783. action
  784. {
  785. play "sound/weapons/saber/saberoff.mp3"
  786. close all
  787. open quitMenu
  788. }
  789. }
  790. itemDef
  791. {
  792. name next_glow
  793. group mods
  794. style WINDOW_STYLE_SHADER
  795. rect 455 444 130 24
  796. background "gfx/menus/menu_buttonback"
  797. forecolor 1 1 1 1
  798. visible 0
  799. decoration
  800. }
  801. itemDef
  802. {
  803. name next
  804. group none
  805. text @MENUS_NEXT
  806. descText @MENUS_NEXT_DESC
  807. type ITEM_TYPE_BUTTON
  808. style WINDOW_STYLE_EMPTY
  809. rect 455 444 130 24
  810. font 3
  811. textscale 1
  812. textalignx 65
  813. textaligny -1
  814. textalign ITEM_ALIGN_CENTER
  815. textstyle 3
  816. forecolor 1 .682 0 1
  817. visible 1
  818. action
  819. {
  820. play "sound/interface/button1.wav"
  821. close all
  822. uiScript "updatecharcvars"
  823. setcvar saber_menu 0
  824. setcvar ui_saber_type single
  825. open saberMenu
  826. }
  827. mouseEnter
  828. {
  829. show next_glow
  830. }
  831. mouseExit
  832. {
  833. hide next_glow
  834. }
  835. }
  836. }
  837. }