controls.menu 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122
  1. //----------------------------------------------------------------------------------------------
  2. //
  3. // CONTROLS MENU
  4. //
  5. // Player can change key bindings from main menu
  6. //
  7. //----------------------------------------------------------------------------------------------
  8. {
  9. menuDef
  10. {
  11. name "controlsMenu"
  12. fullScreen 1
  13. rect 0 0 640 480
  14. visible 1
  15. focusColor 1 1 1 1
  16. descX 320
  17. descY 426
  18. descScale 1
  19. descColor 1 .682 0 .8
  20. descAlignment ITEM_ALIGN_CENTER
  21. onOpen
  22. {
  23. uiScript loadControls
  24. setitemcolor side_buttons forecolor 1 .682 0 1
  25. // fade in movement controls
  26. show movecontrols
  27. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  28. fadein movecontrols
  29. // don't show any others
  30. hide attackcontrols
  31. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  32. hide weaponcontrols
  33. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  34. hide forcecontrols
  35. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  36. hide quickcontrols
  37. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  38. hide joycontrols
  39. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  40. hide othercontrols
  41. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  42. show setup_background
  43. setitemcolor movementcontrolbutton forecolor 1 1 1 1
  44. hide ffwarning
  45. }
  46. onClose
  47. {
  48. uiScript saveControls
  49. hide ffwarning
  50. }
  51. onESC
  52. {
  53. play "sound/interface/esc.wav"
  54. hide button_glow
  55. close controlsMenu
  56. open mainMenu
  57. hide ffwarning
  58. }
  59. //----------------------------------------------------------------------------------------------
  60. // MENU BACKGROUND
  61. //----------------------------------------------------------------------------------------------
  62. itemDef
  63. {
  64. name really_background
  65. group none
  66. style WINDOW_STYLE_SHADER
  67. rect 156 154 320 240
  68. background "gfx/menus/main_centerblue"
  69. forecolor 1 1 1 1
  70. visible 1
  71. decoration
  72. }
  73. itemDef
  74. {
  75. name background_text
  76. group none
  77. style WINDOW_STYLE_SHADER
  78. rect 0 0 160 480
  79. background "gfx/menus/menu_side_text"
  80. forecolor 1 1 1 1
  81. visible 1
  82. decoration
  83. }
  84. itemDef
  85. {
  86. name background_text_b
  87. group none
  88. style WINDOW_STYLE_SHADER
  89. rect 480 0 160 480
  90. background "gfx/menus/menu_side_text_right"
  91. forecolor 1 1 1 1
  92. visible 1
  93. decoration
  94. }
  95. itemDef
  96. {
  97. name background
  98. group none
  99. style WINDOW_STYLE_SHADER
  100. rect 0 0 640 480
  101. background "gfx/menus/main_background"
  102. forecolor 1 1 1 1
  103. visible 1
  104. decoration
  105. }
  106. itemDef
  107. {
  108. name starwars
  109. group none
  110. style WINDOW_STYLE_SHADER
  111. rect 107 8 428 112
  112. background "gfx/menus/jediacademy"
  113. forecolor 1 1 1 1
  114. visible 1
  115. decoration
  116. }
  117. itemDef
  118. {
  119. name left_frame
  120. group lf_fr
  121. style WINDOW_STYLE_SHADER
  122. rect 0 50 320 160
  123. background "gfx/menus/menu_boxes_left"
  124. forecolor 1 1 1 1
  125. visible 1
  126. decoration
  127. }
  128. itemDef
  129. {
  130. name right_frame
  131. group rt_fr
  132. style WINDOW_STYLE_SHADER
  133. rect 320 50 320 160
  134. background "gfx/menus/menu_boxes_right"
  135. forecolor 1 1 1 1
  136. visible 1
  137. decoration
  138. }
  139. //----------------------------------------------------------------------------------------------
  140. // TOP MAIN MENU BUTTONS
  141. //----------------------------------------------------------------------------------------------
  142. // Big button "NEW"
  143. itemDef
  144. {
  145. name newgamebutton
  146. group nbut
  147. style WINDOW_STYLE_EMPTY
  148. type ITEM_TYPE_BUTTON
  149. rect 7 126 130 24
  150. text @MENUS_NEW
  151. descText @MENUS_START_A_NEW_GAME
  152. font 3
  153. textscale 1.1
  154. textaligny 0
  155. textalign ITEM_ALIGN_CENTER
  156. textstyle 1
  157. textalignx 65
  158. forecolor 1 .682 0 1
  159. visible 1
  160. mouseEnter
  161. {
  162. show button_glow
  163. setitemrect button_glow 7 124 130 30
  164. }
  165. mouseExit
  166. {
  167. hide button_glow
  168. }
  169. action
  170. {
  171. play "sound/interface/button1.wav" ;
  172. close all ;
  173. open newgameMenu
  174. }
  175. }
  176. // Big button "LOAD"
  177. itemDef
  178. {
  179. name loadgamebutton
  180. group lbut
  181. text @MENUS_LOAD
  182. descText @MENUS_LOAD_A_SAVED_GAME
  183. style WINDOW_STYLE_EMPTY
  184. type ITEM_TYPE_BUTTON
  185. rect 170 126 130 24
  186. textaligny 0
  187. font 3
  188. textscale 1.1
  189. textalign ITEM_ALIGN_CENTER
  190. textstyle 1
  191. textalignx 65
  192. forecolor 1 .682 0 1
  193. visible 1
  194. mouseEnter
  195. {
  196. show button_glow
  197. setitemrect button_glow 170 124 130 30
  198. }
  199. mouseExit
  200. {
  201. hide button_glow
  202. }
  203. action
  204. {
  205. play "sound/interface/button1.wav" ;
  206. close all ;
  207. open loadgameMenu
  208. }
  209. }
  210. // Big button "CONTROLS"
  211. itemDef
  212. {
  213. name controlsbutton
  214. group cbut
  215. text @MENUS_CONTROLS
  216. descText @MENUS_CONFIGURE_GAME_CONTROLS
  217. type ITEM_TYPE_BUTTON
  218. style WINDOW_STYLE_EMPTY
  219. rect 340 126 130 24
  220. font 3
  221. textscale 1.1
  222. textaligny 0
  223. textalign ITEM_ALIGN_CENTER
  224. textstyle 1
  225. textalignx 65
  226. backcolor 0 0 0 0
  227. forecolor 1 1 1 1
  228. visible 1
  229. mouseEnter
  230. {
  231. show button_glow
  232. setitemrect button_glow 340 126 130 24
  233. }
  234. mouseExit
  235. {
  236. hide button_glow
  237. }
  238. }
  239. // Big button "SETUP"
  240. itemDef
  241. {
  242. name setupbutton
  243. group sbut
  244. text @MENUS_SETUP
  245. descText @MENUS_CONFIGURE_GAME_SETTINGS
  246. type ITEM_TYPE_BUTTON
  247. style WINDOW_STYLE_EMPTY
  248. rect 502 126 130 24
  249. font 3
  250. textscale 1.1
  251. textaligny 0
  252. textalign ITEM_ALIGN_CENTER
  253. textstyle 1
  254. textalignx 65
  255. backcolor 0 0 0 0
  256. forecolor 1 .682 0 1
  257. visible 1
  258. mouseEnter
  259. {
  260. show button_glow
  261. setitemrect button_glow 502 126 130 24
  262. }
  263. mouseExit
  264. {
  265. hide button_glow
  266. }
  267. action
  268. {
  269. play "sound/interface/button1.wav" ;
  270. close all ;
  271. open setupMenu ;
  272. }
  273. }
  274. //----------------------------------------------------------------------------------------------
  275. // BOTTOM MAIN MENU BUTTONS
  276. //----------------------------------------------------------------------------------------------
  277. // BACK button in lower left corner
  278. itemDef
  279. {
  280. name backbutton
  281. group exit
  282. text @MENUS_BACK
  283. descText @MENUS_BACKTOMAIN
  284. type ITEM_TYPE_BUTTON
  285. style WINDOW_STYLE_EMPTY
  286. rect 59 444 130 24
  287. font 3
  288. textscale 1.1
  289. textalign ITEM_ALIGN_CENTER
  290. textstyle 3
  291. textalignx 65
  292. textaligny -1
  293. forecolor 1 .682 0 1
  294. visible 1
  295. mouseEnter
  296. {
  297. show button_glow
  298. setitemrect button_glow 59 444 130 24
  299. }
  300. mouseExit
  301. {
  302. hide button_glow
  303. }
  304. action
  305. {
  306. play "sound/interface/esc.wav"
  307. close all ;
  308. open mainMenu
  309. }
  310. }
  311. // EXIT button in lower center
  312. itemDef
  313. {
  314. name exitgamebutton_glow
  315. group exit_glow
  316. style WINDOW_STYLE_SHADER
  317. rect 255 444 130 24
  318. background "gfx/menus/menu_buttonback" // Frame around button
  319. forecolor 1 1 1 1
  320. visible 0
  321. decoration
  322. }
  323. itemDef
  324. {
  325. name exitgamebutton
  326. group exit
  327. text @MENUS_EXIT
  328. descText @MENUS_JEDI_KNIGHT_II
  329. type ITEM_TYPE_BUTTON
  330. style WINDOW_STYLE_EMPTY
  331. rect 255 444 130 24
  332. font 3
  333. textscale 1.1
  334. textalign ITEM_ALIGN_CENTER
  335. textstyle 3
  336. textalignx 65
  337. textaligny -1
  338. forecolor 1 .682 0 1
  339. visible 1
  340. mouseEnter
  341. {
  342. show button_glow
  343. setitemrect button_glow 255 444 130 24
  344. }
  345. mouseExit
  346. {
  347. hide button_glow
  348. }
  349. action
  350. {
  351. close all ;
  352. open quitMenu
  353. }
  354. }
  355. //----------------------------------------------------------------------------------------------
  356. // SIDE BUTTONS
  357. //----------------------------------------------------------------------------------------------
  358. // Configure Controls title
  359. itemDef
  360. {
  361. name control_title
  362. group title
  363. style WINDOW_STYLE_SHADER
  364. background "gfx/menus/menu_blendbox"
  365. text @MENUS_CONFIGURE_CONTROLS
  366. rect 100 164 440 16
  367. font 3
  368. textscale 0.7
  369. textalign ITEM_ALIGN_CENTER
  370. textalignx 225
  371. textaligny -1
  372. forecolor .549 .854 1 1
  373. visible 1
  374. decoration
  375. }
  376. //----------------------------------------------------------------------------------------------
  377. // GLOW ON SIDE BUTTONS
  378. //----------------------------------------------------------------------------------------------
  379. itemDef
  380. {
  381. name sidebutton_glow
  382. group none
  383. style WINDOW_STYLE_SHADER
  384. rect 60 185 200 24
  385. background "gfx/menus/menu_blendbox2" // Frame around button
  386. forecolor 1 1 1 1
  387. visible 0
  388. decoration
  389. }
  390. //----------------------------------------------------------------------------------------------
  391. // MOVEMENT button
  392. //----------------------------------------------------------------------------------------------
  393. itemDef
  394. {
  395. name movementcontrolbutton
  396. group side_buttons
  397. text @MENUS_MOVEMENT
  398. type ITEM_TYPE_BUTTON
  399. style WINDOW_STYLE_EMPTY
  400. rect 60 185 200 24
  401. font 3
  402. textscale 0.9
  403. textalignx 190
  404. textaligny 2
  405. textalign ITEM_ALIGN_RIGHT
  406. textstyle 1
  407. forecolor 1 .682 0 1
  408. visible 1
  409. descText @MENUS_CONFIGURE_MOVEMENT_KEYS
  410. mouseEnter
  411. {
  412. show sidebutton_glow
  413. setitemrect sidebutton_glow 40 184 220 26
  414. }
  415. mouseExit
  416. {
  417. hide sidebutton_glow
  418. }
  419. action
  420. {
  421. play sound/interface/sub_select
  422. show setup_background
  423. show movecontrols
  424. fadein movecontrols
  425. hide attackcontrols
  426. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  427. hide weaponcontrols
  428. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  429. hide forcecontrols
  430. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  431. hide quickcontrols
  432. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  433. hide joycontrols
  434. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  435. hide othercontrols
  436. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  437. setitemcolor side_buttons forecolor 1 .682 0 1
  438. setitemcolor movementcontrolbutton forecolor 1 1 1 1
  439. }
  440. }
  441. //----------------------------------------------------------------------------------------------
  442. // INTERACTION button
  443. //----------------------------------------------------------------------------------------------
  444. itemDef
  445. {
  446. name attackcontrolbutton
  447. group side_buttons
  448. text @MENUS_INTERACTION
  449. type ITEM_TYPE_BUTTON
  450. style WINDOW_STYLE_EMPTY
  451. rect 80 209 170 24
  452. font 3
  453. textscale 0.9
  454. textalignx 170
  455. textaligny 2
  456. textalign ITEM_ALIGN_RIGHT
  457. textstyle 1
  458. forecolor 1 .682 0 1
  459. visible 1
  460. descText @MENUS_INTERACTION_DESC
  461. mouseEnter
  462. {
  463. show sidebutton_glow
  464. setitemrect sidebutton_glow 40 208 220 26
  465. }
  466. mouseExit
  467. {
  468. hide sidebutton_glow
  469. }
  470. action
  471. {
  472. play sound/interface/sub_select
  473. show setup_background
  474. hide movecontrols
  475. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  476. show attackcontrols
  477. fadein attackcontrols
  478. hide weaponcontrols
  479. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  480. hide forcecontrols
  481. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  482. hide quickcontrols
  483. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  484. hide joycontrols
  485. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  486. hide othercontrols
  487. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  488. setitemcolor side_buttons forecolor 1 .682 0 1
  489. setitemcolor attackcontrolbutton forecolor 1 1 1 1
  490. }
  491. }
  492. //----------------------------------------------------------------------------------------------
  493. // WEAPONS button
  494. //----------------------------------------------------------------------------------------------
  495. itemDef
  496. {
  497. name weaponscontrolbutton
  498. group side_buttons
  499. text @MENUS_WEAPONS
  500. type ITEM_TYPE_BUTTON
  501. style WINDOW_STYLE_EMPTY
  502. rect 80 233 170 24
  503. font 3
  504. textscale 0.9
  505. textalignx 170
  506. textaligny 2
  507. textalign ITEM_ALIGN_RIGHT
  508. textstyle 1
  509. forecolor 1 .682 0 1
  510. visible 1
  511. descText @MENUS_CONFIGURE_WEAPON_CONTROLS
  512. mouseEnter
  513. {
  514. show sidebutton_glow
  515. setitemrect sidebutton_glow 40 232 220 26
  516. }
  517. mouseExit
  518. {
  519. hide sidebutton_glow
  520. }
  521. action
  522. {
  523. play sound/interface/sub_select
  524. show setup_background
  525. hide movecontrols
  526. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  527. hide attackcontrols
  528. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  529. show weaponcontrols
  530. fadein weaponcontrols
  531. hide forcecontrols
  532. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  533. hide quickcontrols
  534. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  535. hide joycontrols
  536. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  537. hide othercontrols
  538. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  539. setitemcolor side_buttons forecolor 1 .682 0 1
  540. setitemcolor weaponscontrolbutton forecolor 1 1 1 1
  541. }
  542. }
  543. //----------------------------------------------------------------------------------------------
  544. // FORCE POWERS button
  545. //----------------------------------------------------------------------------------------------
  546. itemDef
  547. {
  548. name forcecontrolbutton
  549. group side_buttons
  550. text @MENUS_FORCE_POWERS
  551. type ITEM_TYPE_BUTTON
  552. style WINDOW_STYLE_EMPTY
  553. rect 80 257 170 24
  554. font 3
  555. textscale 0.9
  556. textalignx 170
  557. textaligny 2
  558. textalign ITEM_ALIGN_RIGHT
  559. textstyle 1
  560. forecolor 1 .682 0 1
  561. visible 1
  562. descText @MENUS_CONFIGURE_FORCE_POWER
  563. mouseEnter
  564. {
  565. show sidebutton_glow
  566. setitemrect sidebutton_glow 40 256 220 26
  567. }
  568. mouseExit
  569. {
  570. hide sidebutton_glow
  571. }
  572. action
  573. {
  574. play sound/interface/sub_select
  575. show setup_background
  576. hide movecontrols
  577. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  578. hide attackcontrols
  579. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  580. hide weaponcontrols
  581. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  582. show forcecontrols
  583. fadein forcecontrols
  584. hide quickcontrols
  585. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  586. hide joycontrols
  587. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  588. hide othercontrols
  589. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  590. setitemcolor side_buttons forecolor 1 .682 0 1
  591. setitemcolor forcecontrolbutton forecolor 1 1 1 1
  592. }
  593. }
  594. //----------------------------------------------------------------------------------------------
  595. // QUICK KEYS button
  596. //----------------------------------------------------------------------------------------------
  597. itemDef
  598. {
  599. name quickcontrolbutton
  600. group side_buttons
  601. text @MENUS_QUICK_KEYS
  602. type ITEM_TYPE_BUTTON
  603. style WINDOW_STYLE_EMPTY
  604. rect 80 281 170 24
  605. font 3
  606. textscale 0.9
  607. textalignx 170
  608. textaligny 2
  609. textalign ITEM_ALIGN_RIGHT
  610. textstyle 1
  611. forecolor 1 .682 0 1
  612. visible 1
  613. descText @MENUS_CONFIGURE_QUICK_KEYS
  614. mouseEnter
  615. {
  616. show sidebutton_glow
  617. setitemrect sidebutton_glow 40 280 220 26
  618. }
  619. mouseExit
  620. {
  621. hide sidebutton_glow
  622. }
  623. action
  624. {
  625. play sound/interface/sub_select
  626. show setup_background
  627. hide movecontrols
  628. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  629. hide attackcontrols
  630. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  631. hide weaponcontrols
  632. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  633. hide forcecontrols
  634. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  635. show quickcontrols
  636. fadein quickcontrols
  637. hide joycontrols
  638. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  639. hide othercontrols
  640. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  641. setitemcolor side_buttons forecolor 1 .682 0 1
  642. setitemcolor quickcontrolbutton forecolor 1 1 1 1
  643. }
  644. }
  645. //----------------------------------------------------------------------------------------------
  646. // MOUSE/JOYSTICK button
  647. //----------------------------------------------------------------------------------------------
  648. itemDef
  649. {
  650. name mousejoystickcontrolbutton
  651. group side_buttons
  652. text @MENUS_MOUSE_JOYSTICK
  653. type ITEM_TYPE_BUTTON
  654. style WINDOW_STYLE_EMPTY
  655. rect 80 305 170 24
  656. font 3
  657. textscale 0.9
  658. textalignx 170
  659. textaligny 2
  660. textalign ITEM_ALIGN_RIGHT
  661. textstyle 1
  662. forecolor 1 .682 0 1
  663. visible 1
  664. descText @MENUS_CONFIGURE_MOUSE_AND_JOYSTICK
  665. mouseEnter
  666. {
  667. show sidebutton_glow
  668. setitemrect sidebutton_glow 40 304 220 26
  669. }
  670. mouseExit
  671. {
  672. hide sidebutton_glow
  673. }
  674. action
  675. {
  676. play sound/interface/sub_select
  677. show setup_background
  678. hide movecontrols
  679. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  680. hide attackcontrols
  681. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  682. hide weaponcontrols
  683. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  684. hide forcecontrols
  685. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  686. hide quickcontrols
  687. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  688. show joycontrols
  689. fadein joycontrols
  690. hide othercontrols
  691. setitemcolor othercontrols forecolor .615 .615 .956 0.0
  692. setitemcolor side_buttons forecolor 1 .682 0 1
  693. setitemcolor mousejoystickcontrolbutton forecolor 1 1 1 1
  694. }
  695. }
  696. //----------------------------------------------------------------------------------------------
  697. // OTHER button
  698. //----------------------------------------------------------------------------------------------
  699. itemDef
  700. {
  701. name othercontrolbutton
  702. group side_buttons
  703. text @MENUS_OTHER
  704. type ITEM_TYPE_BUTTON
  705. style WINDOW_STYLE_EMPTY
  706. rect 80 329 170 24
  707. font 3
  708. textscale 0.9
  709. textalignx 170
  710. textaligny 2
  711. textalign ITEM_ALIGN_RIGHT
  712. textstyle 1
  713. forecolor 1 .682 0 1
  714. visible 1
  715. descText @MENUS_CONFIGURE_ADDITIONAL
  716. mouseEnter
  717. {
  718. show sidebutton_glow
  719. setitemrect sidebutton_glow 40 328 220 26
  720. }
  721. mouseExit
  722. {
  723. hide sidebutton_glow
  724. }
  725. action
  726. {
  727. play sound/interface/sub_select
  728. show setup_background
  729. hide movecontrols
  730. setitemcolor movecontrols forecolor .615 .615 .956 0.0
  731. hide attackcontrols
  732. setitemcolor attackcontrols forecolor .615 .615 .956 0.0
  733. hide weaponcontrols
  734. setitemcolor weaponcontrols forecolor .615 .615 .956 0.0
  735. hide forcecontrols
  736. setitemcolor forcecontrols forecolor .615 .615 .956 0.0
  737. hide quickcontrols
  738. setitemcolor quickcontrols forecolor .615 .615 .956 0.0
  739. hide joycontrols
  740. setitemcolor joycontrols forecolor .615 .615 .956 0.0
  741. show othercontrols
  742. fadein othercontrols
  743. setitemcolor side_buttons forecolor 1 .682 0 1
  744. setitemcolor othercontrolbutton forecolor 1 1 1 1
  745. }
  746. }
  747. itemDef
  748. {
  749. name setup_background
  750. group none
  751. style WINDOW_STYLE_FILLED
  752. rect 260 185 340 225
  753. backcolor 0 0 .6 .5
  754. forecolor 1 1 1 1
  755. border 1
  756. bordercolor 0 0 .6 1
  757. visible 0
  758. decoration
  759. }
  760. //----------------------------------------------------------------------------------------------
  761. // MOVEMENT BINDING
  762. //----------------------------------------------------------------------------------------------
  763. itemDef
  764. {
  765. name movement1
  766. group movecontrols
  767. type ITEM_TYPE_BIND
  768. text @MENUS_WALK_FORWARD
  769. cvar "+forward"
  770. rect 260 188 340 14
  771. textalign ITEM_ALIGN_RIGHT
  772. textalignx 174
  773. textaligny 0
  774. font 4
  775. textscale 1
  776. forecolor .615 .615 .956 0.0
  777. visible 0
  778. descText @MENUS_MOVES_PLAYER_FORWARD
  779. action
  780. {
  781. play sound/interface/button1
  782. }
  783. mouseenter
  784. {
  785. show button_glow
  786. setitemrect button_glow 260 188 340 20
  787. }
  788. mouseexit
  789. {
  790. hide button_glow
  791. hide keybindstatus
  792. }
  793. }
  794. itemDef
  795. {
  796. name movement2
  797. group movecontrols
  798. type ITEM_TYPE_BIND
  799. text @MENUS_BACKPEDAL
  800. cvar "+back"
  801. rect 260 202 340 14
  802. textalign ITEM_ALIGN_RIGHT
  803. textalignx 174
  804. textaligny 0
  805. font 4
  806. textscale 1
  807. forecolor .615 .615 .956 0.0
  808. visible 0
  809. descText @MENUS_MOVES_PLAYER_BACKWARD
  810. action
  811. {
  812. play sound/interface/button1
  813. }
  814. mouseenter
  815. {
  816. show button_glow
  817. setitemrect button_glow 260 202 340 20
  818. }
  819. mouseexit
  820. {
  821. hide button_glow
  822. hide keybindstatus
  823. }
  824. }
  825. itemDef
  826. {
  827. name movement3
  828. group movecontrols
  829. type ITEM_TYPE_BIND
  830. text @MENUS_TURN_LEFT
  831. cvar "+left"
  832. rect 260 216 340 14
  833. textalign ITEM_ALIGN_RIGHT
  834. textalignx 174
  835. textaligny 0
  836. font 4
  837. textscale 1
  838. forecolor .615 .615 .956 0.0
  839. visible 0
  840. descText @MENUS_ROTATES_PLAYER_LEFT
  841. action
  842. {
  843. play sound/interface/button1
  844. }
  845. mouseenter
  846. {
  847. show button_glow
  848. setitemrect button_glow 260 216 340 20
  849. show keybindstatus
  850. }
  851. mouseexit
  852. {
  853. hide button_glow
  854. hide keybindstatus
  855. }
  856. }
  857. itemDef
  858. {
  859. name movement4
  860. group movecontrols
  861. type ITEM_TYPE_BIND
  862. text @MENUS_TURN_RIGHT
  863. cvar "+right"
  864. rect 260 230 340 14
  865. textalign ITEM_ALIGN_RIGHT
  866. textalignx 174
  867. textaligny 0
  868. font 4
  869. textscale 1
  870. forecolor 1 1 1 0.0
  871. visible 0
  872. descText @MENUS_ROTATES_PLAYER_RIGHT
  873. action
  874. {
  875. play sound/interface/button1
  876. }
  877. mouseenter
  878. {
  879. show button_glow
  880. setitemrect button_glow 260 230 340 20
  881. show keybindstatus
  882. }
  883. mouseexit
  884. {
  885. hide button_glow
  886. hide keybindstatus
  887. }
  888. }
  889. itemDef
  890. {
  891. name movement5
  892. group movecontrols
  893. type ITEM_TYPE_BIND
  894. text @MENUS_RUN_WALK
  895. cvar "+speed"
  896. rect 260 244 340 14
  897. textalign ITEM_ALIGN_RIGHT
  898. textalignx 174
  899. textaligny 0
  900. font 4
  901. textscale 1
  902. forecolor 1 1 1 0.0
  903. visible 0
  904. descText @MENUS_IF_HELD_TOGGLES_BETWEEN
  905. action
  906. {
  907. play sound/interface/button1
  908. }
  909. mouseenter
  910. {
  911. show button_glow
  912. setitemrect button_glow 260 244 340 20
  913. show keybindstatus
  914. }
  915. mouseexit
  916. {
  917. hide button_glow
  918. hide keybindstatus
  919. }
  920. }
  921. itemDef
  922. {
  923. name movement6
  924. group movecontrols
  925. type ITEM_TYPE_BIND
  926. text @MENUS_STEP_LEFT
  927. cvar "+moveleft"
  928. rect 260 258 340 14
  929. textalign ITEM_ALIGN_RIGHT
  930. textalignx 174
  931. textaligny 0
  932. font 4
  933. textscale 1
  934. forecolor 1 1 1 0.0
  935. visible 0
  936. descText @MENUS_STEPS_PLAYER_TO_THE_LEFT
  937. action
  938. {
  939. play sound/interface/button1
  940. }
  941. mouseenter
  942. {
  943. show button_glow
  944. setitemrect button_glow 260 258 340 20
  945. show keybindstatus
  946. }
  947. mouseexit
  948. {
  949. hide button_glow
  950. hide keybindstatus
  951. }
  952. }
  953. itemDef
  954. {
  955. name movement7
  956. group movecontrols
  957. type ITEM_TYPE_BIND
  958. text @MENUS_STEP_RIGHT
  959. cvar "+moveright"
  960. rect 260 272 340 14
  961. textalign ITEM_ALIGN_RIGHT
  962. textalignx 174
  963. textaligny 0
  964. font 4
  965. textscale 1
  966. forecolor 1 1 1 0.0
  967. visible 0
  968. descText @MENUS_STEPS_PLAYER_TO_THE_RIGHT
  969. action
  970. {
  971. play sound/interface/button1
  972. }
  973. mouseenter
  974. {
  975. show button_glow
  976. setitemrect button_glow 260 272 340 20
  977. show keybindstatus
  978. }
  979. mouseexit
  980. {
  981. hide button_glow
  982. hide keybindstatus
  983. }
  984. }
  985. itemDef
  986. {
  987. name movement8
  988. group movecontrols
  989. type ITEM_TYPE_BIND
  990. text @MENUS_SIDESTEP_TURN
  991. cvar "+strafe"
  992. rect 260 286 340 14
  993. textalign ITEM_ALIGN_RIGHT
  994. textalignx 174
  995. textaligny 0
  996. font 4
  997. textscale 1
  998. forecolor 1 1 1 0.0
  999. visible 0
  1000. descText @MENUS_HELD_ALLOWS_PLAYER_TO
  1001. action
  1002. {
  1003. play sound/interface/button1
  1004. }
  1005. mouseenter
  1006. {
  1007. show button_glow
  1008. setitemrect button_glow 260 286 340 20
  1009. show keybindstatus
  1010. }
  1011. mouseexit
  1012. {
  1013. hide button_glow
  1014. hide keybindstatus
  1015. }
  1016. }
  1017. itemDef
  1018. {
  1019. name movement12
  1020. group movecontrols
  1021. type ITEM_TYPE_BIND
  1022. text @MENUS_UP_JUMP
  1023. cvar "+moveup"
  1024. rect 260 342 340 14
  1025. textalign ITEM_ALIGN_RIGHT
  1026. textalignx 174
  1027. textaligny 0
  1028. font 4
  1029. textscale 1
  1030. forecolor 1 1 1 0.0
  1031. visible 0
  1032. descText @MENUS_MAKES_PLAYER_JUMP_IF
  1033. action
  1034. {
  1035. play sound/interface/button1
  1036. }
  1037. mouseenter
  1038. {
  1039. show button_glow
  1040. setitemrect button_glow 260 342 340 20
  1041. show keybindstatus
  1042. }
  1043. mouseexit
  1044. {
  1045. hide button_glow
  1046. hide keybindstatus
  1047. }
  1048. }
  1049. itemDef
  1050. {
  1051. name movement13
  1052. group movecontrols
  1053. type ITEM_TYPE_BIND
  1054. text @MENUS_DOWN_CROUCH
  1055. cvar "+movedown"
  1056. rect 260 356 340 14
  1057. textalign ITEM_ALIGN_RIGHT
  1058. textalignx 174
  1059. textaligny 0
  1060. font 4
  1061. textscale 1
  1062. forecolor 1 1 1 0.0
  1063. visible 0
  1064. descText @MENUS_MAKES_PLAYER_CROUCH_TO
  1065. action
  1066. {
  1067. play sound/interface/button1
  1068. }
  1069. mouseenter
  1070. {
  1071. show button_glow
  1072. setitemrect button_glow 260 356 340 20
  1073. show keybindstatus
  1074. }
  1075. mouseexit
  1076. {
  1077. hide button_glow
  1078. hide keybindstatus
  1079. }
  1080. }
  1081. itemDef
  1082. {
  1083. name movement11
  1084. group movecontrols
  1085. text @MENUS_HOLD_USE_PLUS_STRAFE
  1086. font 4
  1087. textscale 1
  1088. rect 260 384 340 14
  1089. textalign ITEM_ALIGN_CENTER
  1090. textalignx 170
  1091. textaligny 0
  1092. forecolor .79 .64 .22 .7
  1093. visible 0
  1094. decoration
  1095. }
  1096. //----------------------------------------------------------------------------------------------
  1097. //
  1098. // INTERACTION BINDING
  1099. //
  1100. //----------------------------------------------------------------------------------------------
  1101. itemDef
  1102. {
  1103. name attacklook1
  1104. group attackcontrols
  1105. type ITEM_TYPE_BIND
  1106. text @MENUS_ATTACK
  1107. cvar "+attack"
  1108. rect 260 188 340 14
  1109. textalign ITEM_ALIGN_RIGHT
  1110. textalignx 174
  1111. textaligny 0
  1112. font 4
  1113. textscale 1
  1114. forecolor .615 .615 .956 0.0
  1115. visible 0
  1116. descText @MENUS_ATTACKS_WITH_READIED
  1117. action
  1118. {
  1119. play sound/interface/button1
  1120. }
  1121. mouseenter
  1122. {
  1123. show button_glow
  1124. setitemrect button_glow 260 186 340 20
  1125. show keybindstatus
  1126. }
  1127. mouseexit
  1128. {
  1129. hide button_glow
  1130. hide keybindstatus
  1131. }
  1132. }
  1133. itemDef
  1134. {
  1135. name attacklook2
  1136. group attackcontrols
  1137. type ITEM_TYPE_BIND
  1138. text @MENUS_ALT_ATTACK
  1139. cvar "+altattack"
  1140. rect 260 202 340 14
  1141. textalign ITEM_ALIGN_RIGHT
  1142. textalignx 174
  1143. textaligny 0
  1144. font 4
  1145. textscale 1
  1146. forecolor .615 .615 .956 0.0
  1147. visible 0
  1148. descText @MENUS_ATTACKS_WITH_ALTERNATE
  1149. action
  1150. {
  1151. play sound/interface/button1
  1152. }
  1153. mouseenter
  1154. {
  1155. show button_glow
  1156. setitemrect button_glow 260 200 340 20
  1157. show keybindstatus
  1158. }
  1159. mouseexit
  1160. {
  1161. hide button_glow
  1162. hide keybindstatus
  1163. }
  1164. }
  1165. itemDef
  1166. {
  1167. name attacksaber
  1168. group attackcontrols
  1169. type ITEM_TYPE_BIND
  1170. text @MENUS_LIGHTSABER_STYLE
  1171. cvar "saberAttackCycle"
  1172. rect 260 216 340 14
  1173. textalign ITEM_ALIGN_RIGHT
  1174. textalignx 174
  1175. textaligny 0
  1176. font 4
  1177. textscale 1
  1178. forecolor .615 .615 .956 0.0
  1179. visible 0
  1180. descText @MENUS_CYCLES_BETWEEN_AVAILABLE
  1181. action
  1182. {
  1183. play sound/interface/button1
  1184. }
  1185. mouseenter
  1186. {
  1187. show button_glow
  1188. setitemrect button_glow 260 214 340 20
  1189. show keybindstatus
  1190. }
  1191. mouseexit
  1192. {
  1193. hide button_glow
  1194. hide keybindstatus
  1195. }
  1196. }
  1197. itemDef
  1198. {
  1199. name attacklook3
  1200. group attackcontrols
  1201. type ITEM_TYPE_BIND
  1202. text @MENUS_USE
  1203. cvar "+use"
  1204. rect 260 244 340 14
  1205. textalign ITEM_ALIGN_RIGHT
  1206. textalignx 174
  1207. textaligny 0
  1208. font 4
  1209. textscale 1
  1210. forecolor 1 1 1 0.0
  1211. visible 0
  1212. descText @MENUS_ACTIVATES_WORLD_DEVICES
  1213. action
  1214. {
  1215. play sound/interface/button1
  1216. }
  1217. mouseenter
  1218. {
  1219. show button_glow
  1220. setitemrect button_glow 260 242 340 20
  1221. show keybindstatus
  1222. }
  1223. mouseexit
  1224. {
  1225. hide button_glow
  1226. hide keybindstatus
  1227. }
  1228. }
  1229. itemDef
  1230. {
  1231. name attacklook4
  1232. group attackcontrols
  1233. type ITEM_TYPE_BIND
  1234. text @MENUS_LOOK_UP
  1235. cvar "+lookup"
  1236. rect 260 300 340 14
  1237. textalign ITEM_ALIGN_RIGHT
  1238. textalignx 174
  1239. textaligny 0
  1240. font 4
  1241. textscale 1
  1242. forecolor .615 .615 .956 0.0
  1243. visible 0
  1244. descText @MENUS_TILTS_VIEW_UPWARDS
  1245. action
  1246. {
  1247. play sound/interface/button1
  1248. }
  1249. mouseenter
  1250. {
  1251. show button_glow
  1252. setitemrect button_glow 260 298 340 20
  1253. show keybindstatus
  1254. }
  1255. mouseexit
  1256. {
  1257. hide button_glow
  1258. hide keybindstatus
  1259. }
  1260. }
  1261. itemDef
  1262. {
  1263. name attacklook5
  1264. group attackcontrols
  1265. type ITEM_TYPE_BIND
  1266. text @MENUS_LOOK_DOWN
  1267. cvar "+lookdown"
  1268. rect 260 314 340 14
  1269. textalign ITEM_ALIGN_RIGHT
  1270. textalignx 174
  1271. textaligny 0
  1272. font 4
  1273. textscale 1
  1274. forecolor .615 .615 .956 0.0
  1275. visible 0
  1276. descText @MENUS_TILTS_VIEW_DOWNWARDS
  1277. action
  1278. {
  1279. play sound/interface/button1
  1280. }
  1281. mouseenter
  1282. {
  1283. show button_glow
  1284. setitemrect button_glow 260 312 340 20
  1285. show keybindstatus
  1286. }
  1287. mouseexit
  1288. {
  1289. hide button_glow
  1290. hide keybindstatus
  1291. }
  1292. }
  1293. itemDef
  1294. {
  1295. name attacklook
  1296. group attackcontrols
  1297. type ITEM_TYPE_BIND
  1298. text @MENUS_MOUSE_LOOK
  1299. cvar "+mlook"
  1300. rect 260 328 340 14
  1301. textalign ITEM_ALIGN_RIGHT
  1302. textalignx 174
  1303. textaligny 0
  1304. font 4
  1305. textscale 1
  1306. forecolor 1 1 1 0.0
  1307. visible 0
  1308. descText @MENUS_IF_HELD_ALLOWS_PLAYER
  1309. action
  1310. {
  1311. play sound/interface/button1
  1312. }
  1313. mouseenter
  1314. {
  1315. show button_glow
  1316. setitemrect button_glow 260 326 340 20
  1317. show keybindstatus
  1318. }
  1319. mouseexit
  1320. {
  1321. hide button_glow
  1322. hide keybindstatus
  1323. }
  1324. }
  1325. itemDef
  1326. {
  1327. name attacklook
  1328. group attackcontrols
  1329. type ITEM_TYPE_BIND
  1330. text @MENUS_CENTERVIEW
  1331. cvar "centerview"
  1332. rect 260 342 340 14
  1333. textalign ITEM_ALIGN_RIGHT
  1334. textalignx 174
  1335. textaligny 0
  1336. font 4
  1337. textscale 1
  1338. forecolor .615 .615 .956 0.0
  1339. visible 0
  1340. descText @MENUS_RETURNS_VIEW_TO_HORIZONTAL
  1341. action
  1342. {
  1343. play sound/interface/button1
  1344. }
  1345. mouseenter
  1346. {
  1347. show button_glow
  1348. setitemrect button_glow 260 340 340 20
  1349. show keybindstatus
  1350. }
  1351. mouseexit
  1352. {
  1353. hide button_glow
  1354. hide keybindstatus
  1355. }
  1356. }
  1357. //----------------------------------------------------------------------------------------------
  1358. // WEAPON BINDING
  1359. //----------------------------------------------------------------------------------------------
  1360. itemDef
  1361. {
  1362. name weapon1
  1363. group weaponcontrols
  1364. type ITEM_TYPE_BIND
  1365. text @MENUS_MELEE_LIGHTSABER
  1366. cvar "weapon 1"
  1367. rect 260 188 340 14
  1368. textalign ITEM_ALIGN_RIGHT
  1369. textalignx 174
  1370. textaligny 0
  1371. font 4
  1372. textscale 1
  1373. forecolor .615 .615 .956 0.0
  1374. visible 0
  1375. descText @MENUS_READIES_LIGHTSABER
  1376. action
  1377. {
  1378. play sound/interface/button1
  1379. }
  1380. mouseenter
  1381. {
  1382. show button_glow
  1383. setitemrect button_glow 260 186 340 20
  1384. show keybindstatus
  1385. }
  1386. mouseexit
  1387. {
  1388. hide button_glow
  1389. hide keybindstatus
  1390. }
  1391. }
  1392. itemDef
  1393. {
  1394. name weapon3
  1395. group weaponcontrols
  1396. type ITEM_TYPE_BIND
  1397. text @MENUS_PISTOL
  1398. cvar "weapon 2"
  1399. rect 260 202 340 14
  1400. textalign ITEM_ALIGN_RIGHT
  1401. textalignx 174
  1402. textaligny 0
  1403. font 4
  1404. textscale 1
  1405. forecolor .615 .615 .956 0.0
  1406. visible 0
  1407. descText @MENUS_READIES_THE_BLASTER_PISTOL
  1408. action
  1409. {
  1410. play sound/interface/button1
  1411. }
  1412. mouseenter
  1413. {
  1414. show button_glow
  1415. setitemrect button_glow 260 200 340 20
  1416. show keybindstatus
  1417. }
  1418. mouseexit
  1419. {
  1420. hide button_glow
  1421. hide keybindstatus
  1422. }
  1423. }
  1424. itemDef
  1425. {
  1426. name none
  1427. group weaponcontrols
  1428. type ITEM_TYPE_BIND
  1429. text @MENUS_RIFLE
  1430. cvar "weapon 3"
  1431. rect 260 216 340 14
  1432. textalign ITEM_ALIGN_RIGHT
  1433. textalignx 174
  1434. textaligny 0
  1435. font 4
  1436. textscale 1
  1437. forecolor .615 .615 .956 0.0
  1438. visible 0
  1439. descText @MENUS_READIES_THE_E_11_BLASTER
  1440. action
  1441. {
  1442. play sound/interface/button1
  1443. }
  1444. mouseenter
  1445. {
  1446. show button_glow
  1447. setitemrect button_glow 260 214 340 20
  1448. show keybindstatus
  1449. }
  1450. mouseexit
  1451. {
  1452. hide button_glow
  1453. hide keybindstatus
  1454. }
  1455. }
  1456. itemDef
  1457. {
  1458. name none
  1459. group weaponcontrols
  1460. type ITEM_TYPE_BIND
  1461. text @MENUS_DISRUPTOR_RIFLE
  1462. cvar "weapon 4"
  1463. rect 260 230 340 14
  1464. textalign ITEM_ALIGN_RIGHT
  1465. textalignx 174
  1466. textaligny 0
  1467. font 4
  1468. textscale 1
  1469. forecolor .615 .615 .956 0.0
  1470. visible 0
  1471. descText @MENUS_READIES_THE_TENLOSS_DXR_6
  1472. action
  1473. {
  1474. play sound/interface/button1
  1475. }
  1476. mouseenter
  1477. {
  1478. show button_glow
  1479. setitemrect button_glow 260 228 340 20
  1480. show keybindstatus
  1481. }
  1482. mouseexit
  1483. {
  1484. hide button_glow
  1485. hide keybindstatus
  1486. }
  1487. }
  1488. itemDef
  1489. {
  1490. name none
  1491. group weaponcontrols
  1492. type ITEM_TYPE_BIND
  1493. text @MENUS_BOWCASTER
  1494. cvar "weapon 5"
  1495. rect 260 244 340 14
  1496. textalign ITEM_ALIGN_RIGHT
  1497. textalignx 174
  1498. textaligny 0
  1499. font 4
  1500. textscale 1
  1501. forecolor .615 .615 .956 0.0
  1502. visible 0
  1503. descText @MENUS_READIES_THE_WOOKIEE_BOWCASTER
  1504. action
  1505. {
  1506. play sound/interface/button1
  1507. }
  1508. mouseenter
  1509. {
  1510. show button_glow
  1511. setitemrect button_glow 260 242 340 20
  1512. show keybindstatus
  1513. }
  1514. mouseexit
  1515. {
  1516. hide button_glow
  1517. hide keybindstatus
  1518. }
  1519. }
  1520. itemDef
  1521. {
  1522. name none
  1523. group weaponcontrols
  1524. type ITEM_TYPE_BIND
  1525. text @MENUS_HEAVY_REPEATER
  1526. cvar "weapon 6"
  1527. rect 260 258 340 14
  1528. textalign ITEM_ALIGN_RIGHT
  1529. textalignx 174
  1530. textaligny 0
  1531. font 4
  1532. textscale 1
  1533. forecolor .615 .615 .956 0.0
  1534. visible 0
  1535. descText @MENUS_READIES_THE_IMPERIAL
  1536. action
  1537. {
  1538. play sound/interface/button1
  1539. }
  1540. mouseenter
  1541. {
  1542. show button_glow
  1543. setitemrect button_glow 260 256 340 20
  1544. show keybindstatus
  1545. }
  1546. mouseexit
  1547. {
  1548. hide button_glow
  1549. hide keybindstatus
  1550. }
  1551. }
  1552. itemDef
  1553. {
  1554. name none
  1555. group weaponcontrols
  1556. type ITEM_TYPE_BIND
  1557. text @MENUS_DEMP_2
  1558. cvar "weapon 7"
  1559. rect 260 272 340 14
  1560. textalign ITEM_ALIGN_RIGHT
  1561. textalignx 174
  1562. textaligny 0
  1563. font 4
  1564. textscale 1
  1565. forecolor .615 .615 .956 0.0
  1566. visible 0
  1567. descText @MENUS_READIES_THE_DEMP2_GUN
  1568. action
  1569. {
  1570. play sound/interface/button1
  1571. }
  1572. mouseenter
  1573. {
  1574. show button_glow
  1575. setitemrect button_glow 260 270 340 20
  1576. show keybindstatus
  1577. }
  1578. mouseexit
  1579. {
  1580. hide button_glow
  1581. hide keybindstatus
  1582. }
  1583. }
  1584. itemDef
  1585. {
  1586. name none
  1587. group weaponcontrols
  1588. type ITEM_TYPE_BIND
  1589. text @MENUS_FLECHETTE
  1590. cvar "weapon 8"
  1591. rect 260 286 340 14
  1592. textalign ITEM_ALIGN_RIGHT
  1593. textalignx 174
  1594. textaligny 0
  1595. font 4
  1596. textscale 1
  1597. forecolor .615 .615 .956 0.0
  1598. visible 0
  1599. descText @MENUS_READIES_THE_GOLAN_ARMS
  1600. action
  1601. {
  1602. play sound/interface/button1
  1603. }
  1604. mouseenter
  1605. {
  1606. show button_glow
  1607. setitemrect button_glow 260 284 340 20
  1608. show keybindstatus
  1609. }
  1610. mouseexit
  1611. {
  1612. hide button_glow
  1613. hide keybindstatus
  1614. }
  1615. }
  1616. itemDef
  1617. {
  1618. name none
  1619. group weaponcontrols
  1620. type ITEM_TYPE_BIND
  1621. text @MENUS_CONC_RIFLE_SETUP
  1622. cvar "weapon 13"
  1623. rect 260 300 340 14
  1624. textalign ITEM_ALIGN_RIGHT
  1625. textalignx 174
  1626. textaligny 0
  1627. font 4
  1628. textscale 1
  1629. forecolor .615 .615 .956 0.0
  1630. visible 0
  1631. descText @MENUS_READIES_THE_CONC_RIFLE
  1632. mouseenter
  1633. {
  1634. show button_glow
  1635. setitemrect button_glow 260 298 340 20
  1636. show keybindstatus
  1637. }
  1638. mouseexit
  1639. {
  1640. hide button_glow
  1641. hide keybindstatus
  1642. }
  1643. action
  1644. {
  1645. play "sound/interface/button1.wav" ;
  1646. }
  1647. }
  1648. itemDef
  1649. {
  1650. name none
  1651. group weaponcontrols
  1652. type ITEM_TYPE_BIND
  1653. text @MENUS_MERR_SONN
  1654. cvar "weapon 9"
  1655. rect 260 314 340 14
  1656. textalign ITEM_ALIGN_RIGHT
  1657. textalignx 174
  1658. textaligny 0
  1659. font 4
  1660. textscale 1
  1661. forecolor .615 .615 .956 0.0
  1662. visible 0
  1663. descText @MENUS_READIES_THE_MERR_SONN
  1664. action
  1665. {
  1666. play sound/interface/button1
  1667. }
  1668. mouseenter
  1669. {
  1670. show button_glow
  1671. setitemrect button_glow 260 312 340 20
  1672. show keybindstatus
  1673. }
  1674. mouseexit
  1675. {
  1676. hide button_glow
  1677. hide keybindstatus
  1678. }
  1679. }
  1680. itemDef
  1681. {
  1682. name none
  1683. group weaponcontrols
  1684. type ITEM_TYPE_BIND
  1685. text @MENUS_THROWABLE_WEAPONS
  1686. cvar "weapon 10"
  1687. rect 260 328 340 14
  1688. textalign ITEM_ALIGN_RIGHT
  1689. textalignx 174
  1690. textaligny 0
  1691. font 4
  1692. textscale 1
  1693. forecolor .615 .615 .956 0.0
  1694. visible 0
  1695. descText @MENUS_TOGGLES_BETWEEN_DETONATORS
  1696. action
  1697. {
  1698. play sound/interface/button1
  1699. }
  1700. mouseenter
  1701. {
  1702. show button_glow
  1703. setitemrect button_glow 260 326 340 20
  1704. show keybindstatus
  1705. }
  1706. mouseexit
  1707. {
  1708. hide button_glow
  1709. hide keybindstatus
  1710. }
  1711. }
  1712. itemDef
  1713. {
  1714. name none
  1715. group weaponcontrols
  1716. type ITEM_TYPE_BIND
  1717. text @MENUS_NEXT_WEAPON
  1718. cvar "weapnext"
  1719. rect 260 342 340 14
  1720. textalign ITEM_ALIGN_RIGHT
  1721. textalignx 174
  1722. textaligny 0
  1723. font 4
  1724. textscale 1
  1725. forecolor .615 .615 .956 0.0
  1726. visible 0
  1727. descText @MENUS_SELECTS_THE_NEXT_WEAPON
  1728. action
  1729. {
  1730. play sound/interface/button1
  1731. }
  1732. mouseenter
  1733. {
  1734. show button_glow
  1735. setitemrect button_glow 260 340 340 20
  1736. show keybindstatus
  1737. }
  1738. mouseexit
  1739. {
  1740. hide button_glow
  1741. hide keybindstatus
  1742. }
  1743. }
  1744. itemDef
  1745. {
  1746. name none
  1747. group weaponcontrols
  1748. type ITEM_TYPE_BIND
  1749. text @MENUS_PREVIOUS_WEAPON
  1750. cvar "weapprev"
  1751. rect 260 356 340 14
  1752. textalign ITEM_ALIGN_RIGHT
  1753. textalignx 174
  1754. textaligny 0
  1755. font 4
  1756. textscale 1
  1757. forecolor .615 .615 .956 0.0
  1758. visible 0
  1759. descText @MENUS_SELECTS_THE_PREVIOUS
  1760. action
  1761. {
  1762. play sound/interface/button1
  1763. }
  1764. mouseenter
  1765. {
  1766. show button_glow
  1767. setitemrect button_glow 260 354 340 20
  1768. show keybindstatus
  1769. }
  1770. mouseexit
  1771. {
  1772. hide button_glow
  1773. hide keybindstatus
  1774. }
  1775. }
  1776. //----------------------------------------------------------------------------------------------
  1777. //
  1778. // FORCE BINDING
  1779. //
  1780. //----------------------------------------------------------------------------------------------
  1781. itemDef
  1782. {
  1783. name force1
  1784. group forcecontrols
  1785. type ITEM_TYPE_BIND
  1786. text @MENUS_FORCE_PUSH
  1787. cvar "force_throw"
  1788. rect 260 188 340 14
  1789. textalign ITEM_ALIGN_RIGHT
  1790. textalignx 174
  1791. textaligny 0
  1792. font 4
  1793. textscale 1
  1794. forecolor .615 .615 .956 0.0
  1795. visible 0
  1796. descText @MENUS_USES_FORCE_PUSH_ABILITY
  1797. action
  1798. {
  1799. play sound/interface/button1
  1800. }
  1801. mouseenter
  1802. {
  1803. show button_glow
  1804. setitemrect button_glow 260 186 340 20
  1805. show keybindstatus
  1806. }
  1807. mouseexit
  1808. {
  1809. hide button_glow
  1810. hide keybindstatus
  1811. }
  1812. }
  1813. itemDef
  1814. {
  1815. name force2
  1816. group forcecontrols
  1817. type ITEM_TYPE_BIND
  1818. text @MENUS_FORCE_PULL
  1819. cvar "force_pull"
  1820. rect 260 202 340 14
  1821. textalign ITEM_ALIGN_RIGHT
  1822. textalignx 174
  1823. textaligny 0
  1824. font 4
  1825. textscale 1
  1826. forecolor .615 .615 .956 0.0
  1827. visible 0
  1828. descText @MENUS_USES_FORCE_PULL_ABILITY
  1829. action
  1830. {
  1831. play sound/interface/button1
  1832. }
  1833. mouseenter
  1834. {
  1835. show button_glow
  1836. setitemrect button_glow 260 200 340 20
  1837. show keybindstatus
  1838. }
  1839. mouseexit
  1840. {
  1841. hide button_glow
  1842. hide keybindstatus
  1843. }
  1844. }
  1845. itemDef
  1846. {
  1847. name force3
  1848. group forcecontrols
  1849. type ITEM_TYPE_BIND
  1850. text @MENUS_FORCE_SPEED
  1851. cvar "force_speed"
  1852. rect 260 216 340 14
  1853. textalign ITEM_ALIGN_RIGHT
  1854. textalignx 174
  1855. textaligny 0
  1856. font 4
  1857. textscale 1
  1858. forecolor .615 .615 .956 0.0
  1859. visible 0
  1860. descText @MENUS_USES_FORCE_SPEED_ABILITY
  1861. action
  1862. {
  1863. play sound/interface/button1
  1864. }
  1865. mouseenter
  1866. {
  1867. show button_glow
  1868. setitemrect button_glow 260 214 340 20
  1869. show keybindstatus
  1870. }
  1871. mouseexit
  1872. {
  1873. hide button_glow
  1874. hide keybindstatus
  1875. }
  1876. }
  1877. itemDef
  1878. {
  1879. name force4
  1880. group forcecontrols
  1881. type ITEM_TYPE_BIND
  1882. text @MENUS_FORCE_SENSE
  1883. cvar "force_sight"
  1884. rect 260 230 340 14
  1885. textalign ITEM_ALIGN_RIGHT
  1886. textalignx 174
  1887. textaligny 0
  1888. font 4
  1889. textscale 1
  1890. forecolor .615 .615 .956 0.0
  1891. visible 0
  1892. descText @MENUS_USES_FORCE_SENSE_ABILITY
  1893. action
  1894. {
  1895. play sound/interface/button1
  1896. }
  1897. mouseenter
  1898. {
  1899. show button_glow
  1900. setitemrect button_glow 260 228 340 20
  1901. show keybindstatus
  1902. }
  1903. mouseexit
  1904. {
  1905. hide button_glow
  1906. hide keybindstatus
  1907. }
  1908. }
  1909. itemDef
  1910. {
  1911. name force5
  1912. group forcecontrols
  1913. type ITEM_TYPE_BIND
  1914. text @MENUS_FORCE_ABSORB
  1915. cvar "force_absorb"
  1916. rect 260 244 340 14
  1917. textalign ITEM_ALIGN_RIGHT
  1918. textalignx 174
  1919. textaligny 0
  1920. font 4
  1921. textscale 1
  1922. forecolor .615 .615 .956 0.0
  1923. visible 0
  1924. descText @MENUS_USES_FORCE_ABSORB_ABILITY
  1925. action
  1926. {
  1927. play sound/interface/button1
  1928. }
  1929. mouseenter
  1930. {
  1931. show button_glow
  1932. setitemrect button_glow 260 242 340 20
  1933. show keybindstatus
  1934. }
  1935. mouseexit
  1936. {
  1937. hide button_glow
  1938. hide keybindstatus
  1939. }
  1940. }
  1941. itemDef
  1942. {
  1943. name force6
  1944. group forcecontrols
  1945. type ITEM_TYPE_BIND
  1946. text @MENUS_FORCE_HEAL
  1947. cvar "force_heal"
  1948. rect 260 258 340 14
  1949. textalign ITEM_ALIGN_RIGHT
  1950. textalignx 174
  1951. textaligny 0
  1952. font 4
  1953. textscale 1
  1954. forecolor .615 .615 .956 0.0
  1955. visible 0
  1956. descText @MENUS_USES_FORCE_HEAL_ABILITY
  1957. action
  1958. {
  1959. play sound/interface/button1
  1960. }
  1961. mouseenter
  1962. {
  1963. show button_glow
  1964. setitemrect button_glow 260 256 340 20
  1965. show keybindstatus
  1966. }
  1967. mouseexit
  1968. {
  1969. hide button_glow
  1970. hide keybindstatus
  1971. }
  1972. }
  1973. itemDef
  1974. {
  1975. name force7
  1976. group forcecontrols
  1977. type ITEM_TYPE_BIND
  1978. text @MENUS_FORCE_MINDTRICK
  1979. cvar "force_distract"
  1980. rect 260 272 340 14
  1981. textalign ITEM_ALIGN_RIGHT
  1982. textalignx 174
  1983. textaligny 0
  1984. font 4
  1985. textscale 1
  1986. forecolor .615 .615 .956 0.0
  1987. visible 0
  1988. descText @MENUS_USES_JEDI_MIND_TRICK
  1989. action
  1990. {
  1991. play sound/interface/button1
  1992. }
  1993. mouseenter
  1994. {
  1995. show button_glow
  1996. setitemrect button_glow 260 270 340 20
  1997. show keybindstatus
  1998. }
  1999. mouseexit
  2000. {
  2001. hide button_glow
  2002. hide keybindstatus
  2003. }
  2004. }
  2005. itemDef
  2006. {
  2007. name force8
  2008. group forcecontrols
  2009. type ITEM_TYPE_BIND
  2010. text @MENUS_FORCE_PROTECT
  2011. cvar "force_protect"
  2012. rect 260 286 340 14
  2013. textalign ITEM_ALIGN_RIGHT
  2014. textalignx 174
  2015. textaligny 0
  2016. font 4
  2017. textscale 1
  2018. forecolor .615 .615 .956 0.0
  2019. visible 0
  2020. descText @MENUS_USES_FORCE_PROTECT_ABILITY
  2021. action
  2022. {
  2023. play sound/interface/button1
  2024. }
  2025. mouseenter
  2026. {
  2027. show button_glow
  2028. setitemrect button_glow 260 284 340 20
  2029. show keybindstatus
  2030. }
  2031. mouseexit
  2032. {
  2033. hide button_glow
  2034. hide keybindstatus
  2035. }
  2036. }
  2037. itemDef
  2038. {
  2039. name force9
  2040. group forcecontrols
  2041. type ITEM_TYPE_BIND
  2042. text @MENUS_FORCE_DRAIN
  2043. cvar "+force_drain"
  2044. rect 260 300 340 14
  2045. textalign ITEM_ALIGN_RIGHT
  2046. textalignx 174
  2047. textaligny 0
  2048. font 4
  2049. textscale 1
  2050. forecolor .615 .615 .956 0.0
  2051. visible 0
  2052. descText @MENUS_USES_DRAIN_FORCE_ABILITY
  2053. action
  2054. {
  2055. play sound/interface/button1
  2056. }
  2057. mouseenter
  2058. {
  2059. show button_glow
  2060. setitemrect button_glow 260 298 340 20
  2061. show keybindstatus
  2062. }
  2063. mouseexit
  2064. {
  2065. hide button_glow
  2066. hide keybindstatus
  2067. }
  2068. }
  2069. itemDef
  2070. {
  2071. name force10
  2072. group forcecontrols
  2073. type ITEM_TYPE_BIND
  2074. text @MENUS_FORCE_GRIP
  2075. cvar "+force_grip"
  2076. rect 260 314 340 14
  2077. textalign ITEM_ALIGN_RIGHT
  2078. textalignx 174
  2079. textaligny 0
  2080. font 4
  2081. textscale 1
  2082. forecolor .615 .615 .956 0.0
  2083. visible 0
  2084. descText @MENUS_USES_FORCE_GRIP_ABILITY
  2085. action
  2086. {
  2087. play sound/interface/button1
  2088. }
  2089. mouseenter
  2090. {
  2091. show button_glow
  2092. setitemrect button_glow 260 312 340 20
  2093. show keybindstatus
  2094. }
  2095. mouseexit
  2096. {
  2097. hide button_glow
  2098. hide keybindstatus
  2099. }
  2100. }
  2101. itemDef
  2102. {
  2103. name force11
  2104. group forcecontrols
  2105. type ITEM_TYPE_BIND
  2106. text @MENUS_FORCE_LIGHTNING
  2107. cvar "+force_lightning"
  2108. rect 260 328 340 14
  2109. textalign ITEM_ALIGN_RIGHT
  2110. textalignx 174
  2111. textaligny 0
  2112. font 4
  2113. textscale 1
  2114. forecolor .615 .615 .956 0.0
  2115. visible 0
  2116. descText @MENUS_USES_FORCE_LIGHTNING
  2117. action
  2118. {
  2119. play sound/interface/button1
  2120. }
  2121. mouseenter
  2122. {
  2123. show button_glow
  2124. setitemrect button_glow 260 326 340 20
  2125. show keybindstatus
  2126. }
  2127. mouseexit
  2128. {
  2129. hide button_glow
  2130. hide keybindstatus
  2131. }
  2132. }
  2133. itemDef
  2134. {
  2135. name force12
  2136. group forcecontrols
  2137. type ITEM_TYPE_BIND
  2138. text @MENUS_DARK_RAGE
  2139. cvar "force_rage"
  2140. rect 260 342 340 14
  2141. textalign ITEM_ALIGN_RIGHT
  2142. textalignx 174
  2143. textaligny 0
  2144. font 4
  2145. textscale 1
  2146. forecolor .615 .615 .956 0.0
  2147. visible 0
  2148. descText @MENUS_USES_RAGE_FORCE_ABILITY
  2149. action
  2150. {
  2151. play sound/interface/button1
  2152. }
  2153. mouseenter
  2154. {
  2155. show button_glow
  2156. setitemrect button_glow 260 340 340 20
  2157. show keybindstatus
  2158. }
  2159. mouseexit
  2160. {
  2161. hide button_glow
  2162. hide keybindstatus
  2163. }
  2164. }
  2165. itemDef
  2166. {
  2167. name forcekeys
  2168. group forcecontrols
  2169. type ITEM_TYPE_BIND
  2170. text @MENUS_USE_FORCE_POWER
  2171. cvar "+useforce"
  2172. rect 260 356 340 14
  2173. textalign ITEM_ALIGN_RIGHT
  2174. textalignx 174
  2175. textaligny 0
  2176. font 4
  2177. textscale 1
  2178. forecolor .615 .615 .956 0.0
  2179. visible 0
  2180. descText @MENUS_USES_CURRENTLY_SELECTED
  2181. action
  2182. {
  2183. play sound/interface/button1
  2184. }
  2185. mouseenter
  2186. {
  2187. show button_glow
  2188. setitemrect button_glow 260 354 340 20
  2189. show keybindstatus
  2190. }
  2191. mouseexit
  2192. {
  2193. hide button_glow
  2194. hide keybindstatus
  2195. }
  2196. }
  2197. itemDef
  2198. {
  2199. name forcekeys
  2200. group forcecontrols
  2201. type ITEM_TYPE_BIND
  2202. text @MENUS_FORCE_NEXT
  2203. cvar "forcenext"
  2204. rect 260 370 340 14
  2205. textalign ITEM_ALIGN_RIGHT
  2206. textalignx 174
  2207. textaligny 0
  2208. font 4
  2209. textscale 1
  2210. forecolor .615 .615 .956 0.0
  2211. visible 0
  2212. descText @MENUS_SELECTS_NEXT_AVAILABLE
  2213. action
  2214. {
  2215. play sound/interface/button1
  2216. }
  2217. mouseenter
  2218. {
  2219. show button_glow
  2220. setitemrect button_glow 260 368 340 20
  2221. show keybindstatus
  2222. }
  2223. mouseexit
  2224. {
  2225. hide button_glow
  2226. hide keybindstatus
  2227. }
  2228. }
  2229. itemDef
  2230. {
  2231. name forcekeys
  2232. group forcecontrols
  2233. type ITEM_TYPE_BIND
  2234. text @MENUS_FORCE_PREVIOUS
  2235. cvar "forceprev"
  2236. rect 260 384 340 14
  2237. textalign ITEM_ALIGN_RIGHT
  2238. textalignx 174
  2239. textaligny 0
  2240. font 4
  2241. textscale 1
  2242. forecolor .615 .615 .956 0.0
  2243. visible 0
  2244. descText @MENUS_SELECTS_PREVIOUS_AVAILABLE
  2245. action
  2246. {
  2247. play sound/interface/button1
  2248. }
  2249. mouseenter
  2250. {
  2251. show button_glow
  2252. setitemrect button_glow 260 382 340 20
  2253. show keybindstatus
  2254. }
  2255. mouseexit
  2256. {
  2257. hide button_glow
  2258. hide keybindstatus
  2259. }
  2260. }
  2261. //----------------------------------------------------------------------------------------------
  2262. //
  2263. // QUICK KEY BINDING
  2264. //
  2265. //----------------------------------------------------------------------------------------------
  2266. itemDef
  2267. {
  2268. name quickkeys1
  2269. group quickcontrols
  2270. type ITEM_TYPE_BIND
  2271. text @MENUS_DATAPAD
  2272. cvar "datapad"
  2273. rect 260 188 340 14
  2274. textalign ITEM_ALIGN_RIGHT
  2275. textalignx 174
  2276. textaligny 0
  2277. font 4
  2278. textscale 1
  2279. forecolor .615 .615 .956 0.0
  2280. visible 0
  2281. descText @MENUS_CHECK_DATAPAD_FOR_MISSION
  2282. action
  2283. {
  2284. play sound/interface/button1
  2285. }
  2286. mouseenter
  2287. {
  2288. show button_glow
  2289. setitemrect button_glow 260 186 340 20
  2290. show keybindstatus
  2291. }
  2292. mouseexit
  2293. {
  2294. hide button_glow
  2295. hide keybindstatus
  2296. }
  2297. }
  2298. itemDef
  2299. {
  2300. name quickkeys
  2301. group quickcontrols
  2302. type ITEM_TYPE_BIND
  2303. text @MENUS_SAVE_MENU
  2304. cvar "uimenu ingamesavemenu"
  2305. rect 260 216 340 14
  2306. textalign ITEM_ALIGN_RIGHT
  2307. textalignx 174
  2308. textaligny 0
  2309. font 4
  2310. textscale 1
  2311. forecolor .615 .615 .956 0.0
  2312. visible 0
  2313. descText @MENUS_BRINGS_UP_SAVE_GAME_MENU
  2314. action
  2315. {
  2316. play sound/interface/button1
  2317. }
  2318. mouseenter
  2319. {
  2320. show button_glow
  2321. setitemrect button_glow 260 214 340 20
  2322. show keybindstatus
  2323. }
  2324. mouseexit
  2325. {
  2326. hide button_glow
  2327. hide keybindstatus
  2328. }
  2329. }
  2330. itemDef
  2331. {
  2332. name quickkeys
  2333. group quickcontrols
  2334. type ITEM_TYPE_BIND
  2335. text @MENUS_LOAD_MENU
  2336. cvar "uimenu ingameloadmenu"
  2337. rect 260 230 340 14
  2338. textalign ITEM_ALIGN_RIGHT
  2339. textalignx 174
  2340. textaligny 0
  2341. font 4
  2342. textscale 1
  2343. forecolor .615 .615 .956 0.0
  2344. visible 0
  2345. descText @MENUS_BRINGS_UP_LOAD_GAME_MENU
  2346. action
  2347. {
  2348. play sound/interface/button1
  2349. }
  2350. mouseenter
  2351. {
  2352. show button_glow
  2353. setitemrect button_glow 260 228 340 20
  2354. show keybindstatus
  2355. }
  2356. mouseexit
  2357. {
  2358. hide button_glow
  2359. hide keybindstatus
  2360. }
  2361. }
  2362. itemDef
  2363. {
  2364. name quickkeys
  2365. group quickcontrols
  2366. type ITEM_TYPE_BIND
  2367. text @MENUS_INSTANT_SAVE
  2368. cvar "save quick"
  2369. rect 260 244 340 14
  2370. textalign ITEM_ALIGN_RIGHT
  2371. textalignx 174
  2372. textaligny 0
  2373. font 4
  2374. textscale 1
  2375. forecolor .615 .615 .956 0.0
  2376. visible 0
  2377. descText @MENUS_AUTOMATICALLY_SAVES_GAME
  2378. action
  2379. {
  2380. play sound/interface/button1
  2381. }
  2382. mouseenter
  2383. {
  2384. show button_glow
  2385. setitemrect button_glow 260 242 340 20
  2386. show keybindstatus
  2387. }
  2388. mouseexit
  2389. {
  2390. hide button_glow
  2391. hide keybindstatus
  2392. }
  2393. }
  2394. itemDef
  2395. {
  2396. name quickkeys
  2397. group quickcontrols
  2398. type ITEM_TYPE_BIND
  2399. text @MENUS_INSTANT_LOAD
  2400. cvar "load quick"
  2401. rect 260 258 340 14
  2402. textalign ITEM_ALIGN_RIGHT
  2403. textalignx 174
  2404. textaligny 0
  2405. font 4
  2406. textscale 1
  2407. forecolor .615 .615 .956 0.0
  2408. visible 0
  2409. descText @MENUS_AUTOMATICALLY_LOADS_GAME
  2410. action
  2411. {
  2412. play sound/interface/button1
  2413. }
  2414. mouseenter
  2415. {
  2416. show button_glow
  2417. setitemrect button_glow 260 256 340 20
  2418. show keybindstatus
  2419. }
  2420. mouseexit
  2421. {
  2422. hide button_glow
  2423. hide keybindstatus
  2424. }
  2425. }
  2426. //----------------------------------------------------------------------------------------------
  2427. //
  2428. // MOUSE/JOYSTICK KEY BINDING
  2429. //
  2430. //----------------------------------------------------------------------------------------------
  2431. itemDef
  2432. {
  2433. name mousejoystick
  2434. group joycontrols
  2435. type ITEM_TYPE_YESNO
  2436. text @MENUS_INVERT_MOUSE
  2437. cvar "ui_mousePitch"
  2438. rect 260 202 340 14
  2439. textalign ITEM_ALIGN_RIGHT
  2440. textalignx 174
  2441. textaligny 0
  2442. font 4
  2443. textscale 1
  2444. forecolor .615 .615 .956 0.0
  2445. visible 0
  2446. descText @MENUS_TOGGLE_TO_TILT_VIEW_IN
  2447. action {
  2448. uiScript update ui_mousePitch
  2449. play sound/interface/button1
  2450. }
  2451. mouseenter
  2452. {
  2453. show button_glow
  2454. setitemrect button_glow 260 200 340 20
  2455. }
  2456. mouseexit
  2457. {
  2458. hide button_glow
  2459. }
  2460. }
  2461. itemDef
  2462. {
  2463. name mousejoystick
  2464. group joycontrols
  2465. type ITEM_TYPE_YESNO
  2466. text @MENUS_SMOOTH_MOUSE
  2467. cvar "m_filter"
  2468. rect 260 216 340 14
  2469. textalign ITEM_ALIGN_RIGHT
  2470. textalignx 174
  2471. textaligny 0
  2472. font 4
  2473. textscale 1
  2474. forecolor .615 .615 .956 0.0
  2475. visible 0
  2476. descText @MENUS_WHEN_TURNED_ON_MOUSE
  2477. action
  2478. {
  2479. play sound/interface/button1
  2480. }
  2481. mouseenter
  2482. {
  2483. show button_glow
  2484. setitemrect button_glow 260 214 340 20
  2485. }
  2486. mouseexit
  2487. {
  2488. hide button_glow
  2489. }
  2490. }
  2491. itemDef
  2492. {
  2493. name mousejoystick
  2494. group joycontrols
  2495. type ITEM_TYPE_SLIDER
  2496. text @MENUS_SENSITIVITY
  2497. cvarfloat "sensitivity" 5 2 30
  2498. rect 260 230 340 14
  2499. textalign ITEM_ALIGN_RIGHT
  2500. textalignx 174
  2501. textaligny 0
  2502. font 4
  2503. textscale 1
  2504. forecolor .615 .615 .956 0.0
  2505. visible 0
  2506. descText @MENUS_ADJUSTS_CHARACTER_REACTION
  2507. action
  2508. {
  2509. play sound/interface/button1
  2510. }
  2511. mouseenter
  2512. {
  2513. show button_glow
  2514. setitemrect button_glow 260 228 340 20
  2515. }
  2516. mouseexit
  2517. {
  2518. hide button_glow
  2519. }
  2520. }
  2521. itemDef
  2522. {
  2523. name mousejoystick
  2524. group joycontrols
  2525. type ITEM_TYPE_YESNO
  2526. text @MENUS_ENABLE_JOYSTICK
  2527. cvar "in_joystick"
  2528. rect 260 258 340 14
  2529. textalign ITEM_ALIGN_RIGHT
  2530. textalignx 174
  2531. textaligny 0
  2532. font 4
  2533. textscale 1
  2534. forecolor .615 .615 .956 0.0
  2535. visible 0
  2536. descText @MENUS_TURNED_ON_GAME_SEARCHES
  2537. action
  2538. {
  2539. play sound/interface/button1
  2540. exec in_restart
  2541. }
  2542. mouseenter
  2543. {
  2544. show button_glow
  2545. setitemrect button_glow 260 256 340 20
  2546. }
  2547. mouseexit
  2548. {
  2549. hide button_glow
  2550. }
  2551. }
  2552. itemDef
  2553. {
  2554. name mousejoystick
  2555. group joycontrols
  2556. type ITEM_TYPE_YESNO
  2557. text @MENUS_X_AXIS_AS_BUTTONS
  2558. cvar "joy_xbutton"
  2559. rect 260 272 340 14
  2560. textalign ITEM_ALIGN_RIGHT
  2561. textalignx 174
  2562. textaligny 0
  2563. font 4
  2564. textscale 1
  2565. forecolor .615 .615 .956 0.0
  2566. visible 0
  2567. descText @MENUS_WHEN_OFF_HORIZONTAL
  2568. action
  2569. {
  2570. play sound/interface/button1
  2571. }
  2572. mouseenter
  2573. {
  2574. show button_glow
  2575. setitemrect button_glow 260 270 340 20
  2576. }
  2577. mouseexit
  2578. {
  2579. hide button_glow
  2580. }
  2581. }
  2582. itemDef
  2583. {
  2584. name mousejoystick
  2585. group joycontrols
  2586. type ITEM_TYPE_YESNO
  2587. text @MENUS_Y_AXIS_AS_BUTTONS
  2588. cvar "joy_ybutton"
  2589. rect 260 286 340 14
  2590. textalign ITEM_ALIGN_RIGHT
  2591. textalignx 174
  2592. textaligny 0
  2593. font 4
  2594. textscale 1
  2595. forecolor .615 .615 .956 0.0
  2596. visible 0
  2597. descText @MENUS_WHEN_OFF_VERTICAL_STICK
  2598. action
  2599. {
  2600. play sound/interface/button1
  2601. }
  2602. mouseenter
  2603. {
  2604. show button_glow
  2605. setitemrect button_glow 260 284 340 20
  2606. }
  2607. mouseexit
  2608. {
  2609. hide button_glow
  2610. }
  2611. }
  2612. itemDef
  2613. {
  2614. name mousejoystick
  2615. group joycontrols
  2616. type ITEM_TYPE_SLIDER
  2617. text @MENUS_JOYSTICK_THRESHOLD
  2618. cvarfloat "joy_threshold" .15 .05 .75
  2619. rect 260 300 340 14
  2620. textalign ITEM_ALIGN_RIGHT
  2621. textalignx 174
  2622. textaligny 0
  2623. font 4
  2624. textscale 1
  2625. forecolor .615 .615 .956 0.0
  2626. visible 0
  2627. descText @MENUS_ADJUSTS_THE_SIZE_OF_THE
  2628. action
  2629. {
  2630. play sound/interface/button1
  2631. }
  2632. mouseenter
  2633. {
  2634. show button_glow
  2635. setitemrect button_glow 260 298 340 20
  2636. }
  2637. mouseexit
  2638. {
  2639. hide button_glow
  2640. }
  2641. }
  2642. //
  2643. // Not shown
  2644. //
  2645. itemDef
  2646. {
  2647. name mousejoystick
  2648. group joycontrols
  2649. type ITEM_TYPE_YESNO
  2650. text @MENUS_FORCE_FEEDBACK
  2651. cvar "use_ff"
  2652. rect 260 328 340 14
  2653. textalign ITEM_ALIGN_RIGHT
  2654. textalignx 174
  2655. textaligny 0
  2656. font 4
  2657. textscale 1
  2658. forecolor .615 .615 .956 0.0
  2659. visible 0
  2660. descText @MENUS_WHEN_TURNED_ON_GAME
  2661. action
  2662. {
  2663. play sound/interface/button1
  2664. uiScript update ff
  2665. }
  2666. mouseenter
  2667. {
  2668. show button_glow
  2669. setitemrect button_glow 260 326 340 20
  2670. show ffwarning
  2671. }
  2672. mouseexit
  2673. {
  2674. hide button_glow
  2675. hide ffwarning
  2676. }
  2677. }
  2678. itemDef
  2679. {
  2680. name ffwarning
  2681. type ITEM_TYPE_TEXT
  2682. text @MENUS_APPLY_FORCE_FEEDBACK
  2683. text2 @MENUS_AND_RETURN_TO_THE_MAIN
  2684. rect 260 360 340 14
  2685. textalign ITEM_ALIGN_CENTER
  2686. textalignx 170
  2687. text2aligny 18
  2688. font 4
  2689. textscale 1
  2690. // foreColor 1 .682 0 .8
  2691. forecolor 1 0 0 1
  2692. decoration
  2693. visible 0
  2694. }
  2695. //----------------------------------------------------------------------------------------------
  2696. //
  2697. // OTHER
  2698. //
  2699. //----------------------------------------------------------------------------------------------
  2700. itemDef
  2701. {
  2702. name other1
  2703. group othercontrols
  2704. type ITEM_TYPE_YESNO
  2705. text @MENUS_ALWAYS_RUN
  2706. cvar "cl_run"
  2707. rect 260 188 340 14
  2708. textalign ITEM_ALIGN_RIGHT
  2709. textalignx 174
  2710. textaligny 0
  2711. font 4
  2712. textscale 1
  2713. forecolor .615 .615 .956 0.0
  2714. visible 0
  2715. descText @MENUS_WHEN_ON_PLAYER_ALWAYS
  2716. action
  2717. {
  2718. play sound/interface/button1
  2719. }
  2720. mouseenter
  2721. {
  2722. show button_glow
  2723. setitemrect button_glow 260 186 340 20
  2724. }
  2725. mouseexit
  2726. {
  2727. hide button_glow
  2728. }
  2729. }
  2730. itemDef
  2731. {
  2732. name other2
  2733. group othercontrols
  2734. type ITEM_TYPE_MULTI
  2735. text @MENUS_AUTO_SWITCH
  2736. cvar "cg_autoswitch"
  2737. cvarFloatList
  2738. {
  2739. @MENUS_DON_T_SWITCH 0
  2740. @MENUS_BEST_SAFE_WEAPON 1
  2741. @MENUS_ALWAYS_BEST_WEAPON 2
  2742. }
  2743. rect 260 202 340 14
  2744. textalign ITEM_ALIGN_RIGHT
  2745. textalignx 174
  2746. textaligny 0
  2747. font 4
  2748. textscale 1
  2749. forecolor .615 .615 .956 0.0
  2750. visible 0
  2751. descText @MENUS_CHOOSE_WHETHER_TO_SWITCH
  2752. action
  2753. {
  2754. play sound/interface/button1
  2755. }
  2756. mouseenter
  2757. {
  2758. show button_glow
  2759. setitemrect button_glow 260 200 340 20
  2760. }
  2761. mouseexit
  2762. {
  2763. hide button_glow
  2764. }
  2765. }
  2766. itemDef
  2767. {
  2768. name other3
  2769. group othercontrols
  2770. type ITEM_TYPE_BIND
  2771. text @MENUS_3RD_PERSON
  2772. cvar "cg_thirdperson !"
  2773. rect 260 230 340 14
  2774. textalign ITEM_ALIGN_RIGHT
  2775. textalignx 174
  2776. textaligny 0
  2777. font 4
  2778. textscale 1
  2779. forecolor .615 .615 .956 0.0
  2780. visible 0
  2781. descText @MENUS_CHANGES_VIEW_BETWEEN
  2782. action
  2783. {
  2784. play sound/interface/button1
  2785. }
  2786. mouseenter
  2787. {
  2788. show button_glow
  2789. setitemrect button_glow 260 228 340 20
  2790. show keybindstatus
  2791. }
  2792. mouseexit
  2793. {
  2794. hide button_glow
  2795. hide keybindstatus
  2796. }
  2797. }
  2798. itemDef
  2799. {
  2800. name button_glow
  2801. group none
  2802. style WINDOW_STYLE_SHADER
  2803. rect 0 0 0 0
  2804. background "gfx/menus/menu_buttonback"
  2805. forecolor 1 1 1 1
  2806. visible 0
  2807. decoration
  2808. }
  2809. //----------------------------------------------------------------------------------------------
  2810. //
  2811. // Text
  2812. //
  2813. //----------------------------------------------------------------------------------------------
  2814. itemDef
  2815. {
  2816. name keyBindStatus
  2817. group none
  2818. ownerdraw 250 // UI_KEYBINDSTATUS
  2819. text @MENUS_BLANK_1
  2820. rect 375 425 0 0
  2821. textStyle 0
  2822. font 4
  2823. textscale 1
  2824. textalign ITEM_ALIGN_CENTER
  2825. forecolor 1 1 0 1
  2826. visible 0
  2827. decoration
  2828. }
  2829. itemDef
  2830. {
  2831. name slider_message
  2832. group none
  2833. text @MENUS_MOVE_THE_SLIDER_TO_INCREASE
  2834. rect 375 425 0 0
  2835. textStyle 0
  2836. font 4
  2837. textscale 1
  2838. textalign ITEM_ALIGN_CENTER
  2839. visible 0
  2840. decoration
  2841. }
  2842. itemDef
  2843. {
  2844. name yesno_message
  2845. group none
  2846. text @MENUS_CLICK_ON_FIELD_TO_TOGGLE
  2847. rect 375 425 0 0
  2848. textStyle 0
  2849. font 4
  2850. textscale 1
  2851. textalign ITEM_ALIGN_CENTER
  2852. visible 0
  2853. decoration
  2854. }
  2855. itemDef
  2856. {
  2857. name multi_message
  2858. group none
  2859. text @MENUS_CLICK_ON_FIELD_TO_CHANGE
  2860. rect 375 425 0 0
  2861. textStyle 0
  2862. font 4
  2863. textscale 1
  2864. textalign ITEM_ALIGN_CENTER
  2865. visible 0
  2866. decoration
  2867. }
  2868. }
  2869. }