ingamecontrols.menu 65 KB

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