123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335 |
- //------------------------------------------------------------------------------------------------
- // Mission Select 2 Menu
- //
- // Select missions from the 2nd tier.
- //
- //------------------------------------------------------------------------------------------------
- {
- menuDef
- {
- name "ingameMissionSelect2"
- fullScreen 1
- rect 0 0 640 480
- visible 1
- focusColor 1 1 1 1
- descX 200
- descY 444
- descScale 1
- descColor 1 .682 0 .8
- descAlignment ITEM_ALIGN_CENTER
- disablecolor .5 .5 .5 1
- fadeClamp 1.0 // sets the fadeup alpha
- fadeCycle 25 // how often fade happens in milliseconds
- fadeAmount 0.05 // amount to adjust alpha per cycle
- onOpen
- {
- show mission_button
- stopVoice
- }
- onESC
- {
- }
- //----------------------------------------------------------------------------------------------
- // MENU BACKGROUND
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name background
- group none
- style WINDOW_STYLE_SHADER
- rect 0 0 640 480
- background "gfx/menus/mission_back"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name eyecandy1
- group none
- style WINDOW_STYLE_SHADER
- rect 17 309 357 153
- background "gfx/menus/mission_bottomleft_grid"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name botlf
- group none
- style WINDOW_STYLE_SHADER
- rect 0 300 80 180
- background "gfx/menus/mission_bottom_left"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name starfield
- group none
- style WINDOW_STYLE_FILLED
- rect 20 20 600 256
- background "gfx/menus/star_field"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name stars_close
- group none
- style WINDOW_STYLE_FILLED
- //rect 320 148 0 0
- rect 20 20 600 256
- background "gfx/menus/star_field_zoom"
- backcolor 1 1 1 0
- visible 1
- decoration
- }
- //----------------------------------------------------------------------------------------------
- // BIG PLANET GRAPHICS
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name krildor
- group none
- style WINDOW_STYLE_FILLED
- rect 320 148 0 0
- background "gfx/menus/planets/krildor"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name narkreeta
- group none
- style WINDOW_STYLE_FILLED
- rect 320 148 0 0
- background "gfx/menus/planets/narkreeta"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name dosuun
- group none
- style WINDOW_STYLE_FILLED
- rect 320 148 0 0
- background "gfx/menus/planets/dosuun"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name zonju
- group none
- style WINDOW_STYLE_FILLED
- rect 320 148 0 0
- background "gfx/menus/planets/zonju"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name coruscant
- group none
- style WINDOW_STYLE_FILLED
- rect 320 148 0 0
- background "gfx/menus/planets/coruscant"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------------------------------------------------------------------
- // GALAXY MAP
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name galaxy
- group none
- style WINDOW_STYLE_FILLED
- rect 64 20 512 256
- background "gfx/menus/mission_galaxy"
- backcolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name map_title
- type ITEM_TYPE_TEXT
- rect 40 14 600 18
- text @MENUS_GALACTIC_MAP
- font 2
- forecolor .549 .854 1 1
- textscale 1
- textalign ITEM_ALIGN_CENTER
- textalignx 300
- textaligny -1
- visible 1
- }
-
- //----------------------------------------------------------------------------------------------
- // TIER 2 LOCATION MARKERS ON GALAXY MAP
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name loc_but01_off
- group none
- style WINDOW_STYLE_SHADER
- rect 324 158 32 32
- background "gfx/menus/mission_loc_but_off"
- forecolor 1 1 1 1
- visible 1
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_rancor"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but01_on
- group none
- style WINDOW_STYLE_SHADER
- rect 324 158 32 32
- background "gfx/menus/mission_loc_but_on"
- forecolor 1 1 1 1
- visible 0
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_rancor"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but02_off
- group none
- style WINDOW_STYLE_SHADER
- rect 154 208 32 32
- background "gfx/menus/mission_loc_but_off"
- forecolor 1 1 1 1
- visible 1
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_trip"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but02_on
- group none
- style WINDOW_STYLE_SHADER
- rect 154 208 32 32
- background "gfx/menus/mission_loc_but_on"
- forecolor 1 1 1 1
- visible 0
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_trip"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but03_off
- group none
- style WINDOW_STYLE_SHADER
- rect 260 104 20 20
- background "gfx/menus/mission_loc_but_off"
- forecolor 1 1 1 1
- visible 1
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_wedge"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but03_on
- group none
- style WINDOW_STYLE_SHADER
- rect 260 104 20 20
- background "gfx/menus/mission_loc_but_on"
- forecolor 1 1 1 1
- visible 0
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_wedge"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but04_off
- group none
- style WINDOW_STYLE_SHADER
- rect 335 91 26 26
- background "gfx/menus/mission_loc_but_off"
- forecolor 1 1 1 1
- visible 1
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_rogue"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but04_on
- group none
- style WINDOW_STYLE_SHADER
- rect 335 91 26 26
- background "gfx/menus/mission_loc_but_on"
- forecolor 1 1 1 1
- visible 0
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_rogue"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but05_off
- group none
- style WINDOW_STYLE_SHADER
- rect 150 150 28 28
- background "gfx/menus/mission_loc_but_off"
- forecolor 1 1 1 1
- visible 1
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_dpred"
- }
- cvarSubString
- }
- itemDef
- {
- name loc_but05_on
- group none
- style WINDOW_STYLE_SHADER
- rect 150 150 28 28
- background "gfx/menus/mission_loc_but_on"
- forecolor 1 1 1 1
- visible 0
- decoration
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_dpred"
- }
- cvarSubString
- }
- itemDef
- {
- name planet_name
- type ITEM_TYPE_TEXT
- rect 52 316 288 24
- font 2
- forecolor .549 .854 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- autowrapped
- decoration
- }
-
- //----------------------------------------------------------------------------------------------
- // MODELS FOR V-O
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name luke
- group models
- type ITEM_TYPE_MODEL
- rect 415 285 149 149
- model_g2anim "BOTH_STAND1_TALK2"
- model_g2skin "models/players/luke/model_menu.skin"
- asset_model "models/players/luke/model.glm"
- model_angle 180
- //mins maxs format is apparently z x y (hmmm... y x z?)
- model_g2mins 15 -20 18
- model_g2maxs 60 20 55
- model_rotation 0
- model_fovx 10
- model_fovy 10
- isCharacter 1
- visible 0
- decoration
- }
- itemDef
- {
- name kyle
- group models
- type ITEM_TYPE_MODEL
- rect 415 288 145 145
- model_g2anim "BOTH_STAND1_TALK2"
- model_g2skin "models/players/kyle/model_menu.skin"
- asset_model "models/players/kyle/model.glm"
- model_angle 180
- //mins maxs format is apparently z x y (hmmm... y x z?)
- model_g2mins 15 -20 18
- model_g2maxs 60 20 55
- model_rotation 0
- model_fovx 10
- model_fovy 10
- isCharacter 1
- visible 0
- decoration
- }
- itemDef
- {
- name prot
- group models
- type ITEM_TYPE_MODEL
- rect 426 317 116 116
- model_g2anim "BOTH_STAND1_TALK2"
- model_g2skin "models/players/protocol/model_menu.skin"
- asset_model "models/players/protocol/model.glm"
- model_angle 180
- //mins maxs format is apparently z x y (hmmm... y x z?)
- model_g2mins 15 -20 17
- model_g2maxs 60 20 50
- model_rotation 0
- model_fovx 10
- model_fovy 10
- isCharacter 1
- visible 0
- decoration
- }
- itemDef
- {
- name wedge
- group models
- type ITEM_TYPE_MODEL
- rect 426 317 116 116
- model_g2anim "BOTH_STAND1_TALK2"
- model_g2skin "models/players/rebel_pilot/model_default.skin"
- asset_model "models/players/rebel_pilot/model.glm"
- model_angle 180
- //mins maxs format is apparently z x y (hmmm... y x z?)
- model_g2mins 15 -20 18
- model_g2maxs 60 20 50
- model_rotation 0
- model_fovx 10
- model_fovy 10
- isCharacter 1
- visible 0
- decoration
- }
- //----------------------------------------------------------------------------------------------
- // BUTTONS
- //----------------------------------------------------------------------------------------------
- // GENERAL BACK BUTTON - if you don't want mission
- itemDef
- {
- name backbut
- type ITEM_TYPE_BUTTON
- rect 52 430 172 24
- text @MENUS_BACK_CAPS
- desctext @MENUS_DIFF_MISSION
- font 2
- forecolor 1 .682 0 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- show button_glow
- setitemrect button_glow 15 430 200 20
- }
- mouseExit
- {
- hide button_glow
- }
- action
- {
- play "sound/interface/esc.wav"
- fadein starfield
- fadein galaxy
- fadeout stars_close
- transition2 loc_but01_off 324 158 32 32 20 25
- transition2 loc_but02_off 154 208 32 32 20 25
- transition2 loc_but03_off 260 104 20 20 20 25
- transition2 loc_but04_off 335 91 26 26 20 25
- transition2 loc_but05_off 150 150 28 28 20 25
- hide backbut
- show mission_button
- hide accbut1
- hide accbut2
- hide accbut3
- hide accbut4
- hide accbut5
-
- hide krildor
- hide narkreeta
- hide dosuun
- hide zonju
- hide coruscant
-
- hide planet_name
- show map_title
-
- hide briefing_background
- hide briefing_text
- hide button_glow
- }
- }
- //----------------------------------------------------------------------------------------------
- // TIER 1 MISSION BUTTONS
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name map_title
- type ITEM_TYPE_TEXT
- rect 10 305 400 20
- text @MENUS_MISSIONS
- font 2
- forecolor .549 .854 1 1
- textscale 1
- textalign ITEM_ALIGN_CENTER
- textalignx 200
- textaligny -1
- visible 1
- }
-
- itemDef
- {
- name miss1
- group mission_button
- type ITEM_TYPE_BUTTON
- rect 52 330 224 20
- text @MENUS_T2_RANCOR_TITLE
- desctext @MENUS_CLICK_BRIEFING
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_rancor"
- }
- cvarSubString
- mouseEnter
- {
- hide loc_but01_off
- show loc_but01_on
-
- show planet_name
- setitemtext planet_name @MENUS_NAR_KREETA
- setitemrect planet_name 300 190 120 26
-
- show button_glow
- setitemrect button_glow 20 328 380 22
- }
- mouseExit
- {
- hide loc_but01_on
- show loc_but01_off
-
- hide planet_name
- hide button_glow
- }
- action
- {
- play "sound/weapons/force/protect.wav"
- fadeout starfield
- fadeout galaxy
- fadein stars_close
- transition2 loc_but01_off 340 174 0 0 20 25
- transition2 loc_but02_off 170 224 0 0 20 25
- transition2 loc_but03_off 270 114 0 0 20 25
- transition2 loc_but04_off 348 104 0 0 20 25
- transition2 loc_but05_off 164 164 0 0 20 25
- transition2 narkreeta 192 20 256 256 10 15
- hide mission_button
- hide loc_but01_on
- hide loc_but02_on
- hide loc_but03_on
- hide loc_but04_on
- hide loc_but05_on
- show backbut
- show accbut1
-
- show briefing_background
- show briefing_text
- setitemtext briefing_text @BRIEFINGS_T2_RANCOR
-
- transition2 planet_name 270 250 256 20 20 15
- hide map_title
- hide button_glow
- }
- }
- itemDef
- {
- name miss2
- group mission_button
- type ITEM_TYPE_BUTTON
- rect 52 353 224 20
- text @MENUS_T2_TRIP_TITLE
- desctext @MENUS_CLICK_BRIEFING
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_trip"
- }
- cvarSubString
-
- mouseEnter
- {
- hide loc_but02_off
- show loc_but02_on
-
- show planet_name
- setitemtext planet_name @MENUS_ZONJU_V
- setitemrect planet_name 70 210 120 26
-
- show button_glow
- setitemrect button_glow 20 351 380 22
- }
- mouseExit
- {
- hide loc_but02_on
- show loc_but02_off
-
- hide planet_name
- hide button_glow
- }
- action
- {
- play "sound/weapons/force/protect.wav"
- fadeout starfield
- fadeout galaxy
- fadein stars_close
- transition2 loc_but01_off 340 174 0 0 20 25
- transition2 loc_but02_off 170 224 0 0 20 25
- transition2 loc_but03_off 270 114 0 0 20 25
- transition2 loc_but04_off 348 104 0 0 20 25
- transition2 loc_but05_off 164 164 0 0 20 25
- transition2 zonju 192 20 256 256 10 15
- hide mission_button
- hide loc_but01_on
- hide loc_but02_on
- hide loc_but03_on
- hide loc_but04_on
- hide loc_but05_on
- show backbut
- show accbut2
-
- show briefing_background
- show briefing_text
- setitemtext briefing_text @BRIEFINGS_T2_TRIP
-
- transition2 planet_name 270 250 256 20 20 15
- hide map_title
- hide button_glow
- }
- }
- itemDef
- {
- name miss3
- group mission_button
- type ITEM_TYPE_BUTTON
- rect 52 376 224 20
- text @MENUS_T2_WEDGE_TITLE
- desctext @MENUS_CLICK_BRIEFING
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_wedge"
- }
- cvarSubString
-
- mouseEnter
- {
- hide loc_but03_off
- show loc_but03_on
-
- show planet_name
- setitemtext planet_name @MENUS_KRIL_DOR
- setitemrect planet_name 190 80 120 26
-
- show button_glow
- setitemrect button_glow 20 374 380 22
- }
- mouseExit
- {
- hide loc_but03_on
- show loc_but03_off
-
- hide planet_name
- hide button_glow
- }
- action
- {
- play "sound/weapons/force/protect.wav"
- fadeout starfield
- fadeout galaxy
- fadein stars_close
- transition2 loc_but01_off 340 174 0 0 20 25
- transition2 loc_but02_off 170 224 0 0 20 25
- transition2 loc_but03_off 270 114 0 0 20 25
- transition2 loc_but04_off 348 104 0 0 20 25
- transition2 loc_but05_off 164 164 0 0 20 25
- transition2 krildor 192 20 256 256 10 15
- hide mission_button
- hide loc_but01_on
- hide loc_but02_on
- hide loc_but03_on
- hide loc_but04_on
- hide loc_but05_on
- show backbut
- show accbut3
-
- show briefing_background
- show briefing_text
- setitemtext briefing_text @BRIEFINGS_T2_WEDGE
-
- transition2 planet_name 270 250 256 20 20 15
- hide map_title
- hide button_glow
- }
- }
- itemDef
- {
- name miss4
- group mission_button
- type ITEM_TYPE_BUTTON
- rect 52 399 224 20
- text @MENUS_T2_ROGUE_TITLE
- desctext @MENUS_CLICK_BRIEFING
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_rogue"
- }
- cvarSubString
-
- mouseEnter
- {
- hide loc_but04_off
- show loc_but04_on
-
- show planet_name
- setitemtext planet_name @MENUS_CORUSCANT
- setitemrect planet_name 380 90 120 26
-
- show button_glow
- setitemrect button_glow 20 397 380 22
- }
- mouseExit
- {
- hide loc_but04_on
- show loc_but04_off
-
- hide planet_name
- hide button_glow
- }
- action
- {
- play "sound/weapons/force/protect.wav"
- fadeout starfield
- fadeout galaxy
- fadein stars_close
- transition2 loc_but01_off 340 174 0 0 20 25
- transition2 loc_but02_off 170 224 0 0 20 25
- transition2 loc_but03_off 270 114 0 0 20 25
- transition2 loc_but04_off 348 104 0 0 20 25
- transition2 loc_but05_off 164 164 0 0 20 25
- transition2 coruscant 192 20 256 256 10 15
- hide mission_button
- hide loc_but01_on
- hide loc_but02_on
- hide loc_but03_on
- hide loc_but04_on
- hide loc_but05_on
- show backbut
- show accbut4
-
- show briefing_background
- show briefing_text
- setitemtext briefing_text @BRIEFINGS_T2_ROGUE
-
- transition2 planet_name 270 250 256 20 20 15
- hide map_title
- hide button_glow
- }
- }
- itemDef
- {
- name miss5
- group mission_button
- type ITEM_TYPE_BUTTON
- rect 52 422 224 20
- text @MENUS_T2_DPRED_TITLE
- desctext @MENUS_CLICK_BRIEFING
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- cvartest "tiers_complete"
- disablecvar
- {
- "t2_dpred"
- }
- cvarSubString
-
- mouseEnter
- {
- hide loc_but05_off
- show loc_but05_on
-
- show planet_name
- setitemtext planet_name @MENUS_DOSUUN
- setitemrect planet_name 60 150 120 26
-
- show button_glow
- setitemrect button_glow 20 420 380 22
- }
- mouseExit
- {
- hide loc_but05_on
- show loc_but05_off
-
- hide planet_name
- hide button_glow
- }
- action
- {
- play "sound/weapons/force/protect.wav"
- fadeout starfield
- fadeout galaxy
- fadein stars_close
- transition2 loc_but01_off 340 174 0 0 20 25
- transition2 loc_but02_off 170 224 0 0 20 25
- transition2 loc_but03_off 270 114 0 0 20 25
- transition2 loc_but04_off 348 104 0 0 20 25
- transition2 loc_but05_off 164 164 0 0 20 25
- transition2 dosuun 192 20 256 256 10 15
- hide mission_button
- hide loc_but01_on
- hide loc_but02_on
- hide loc_but03_on
- hide loc_but04_on
- hide loc_but05_on
- show backbut
- show accbut5
-
- show briefing_background
- show briefing_text
- setitemtext briefing_text @BRIEFINGS_T2_DPRED
-
- transition2 planet_name 270 250 256 20 20 15
- hide map_title
- hide button_glow
- }
- }
- //----------------------------------------------------------------------------------------------
- // MISSION BRIEF TEXT
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name briefing_background
- group none
- style WINDOW_STYLE_FILLED
- rect 42 314 320 114
- backcolor 0 0 .35 .7
- forecolor 1 1 1 1
- border 1
- bordercolor 0 0 .8 1
- visible 0
- decoration
- }
-
- itemDef
- {
- name briefing_text
- type ITEM_TYPE_TEXTSCROLL
- rect 42 314 320 114
- text @BRIEFINGS_T1_SOUR
- font 4
- forecolor 1 1 1 1
- textscale 1
- textalign ITEM_ALIGN_LEFT
- textalignx 0
- textaligny -1
- lineHeight 18
- visible 0
- autowrapped
- }
- //----------------------------------------------------------------------------------------------
- // ACCEPT BUTTONS - IF YOU CHOOSE A PARTICULAR MISSION
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name accbut1
- group accbuttons
- type ITEM_TYPE_BUTTON
- rect 268 430 172 24
- text @MENUS_ACCEPT
- desctext @MENUS_ACCEPT_MISSION
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- show button_glow
- setitemrect button_glow 200 430 200 20
- }
- mouseExit
- {
- hide button_glow
- }
- action
- {
- hide backbut
- show prot
- show nextscreen_button
- show accept1text
- playVoice "sound/chars/protocol/12pro001.mp3"
- hide accbuttons
- setfocus nextscreen_button
- setcvar tier_mapname "maptransition t2_rancor"
- hide briefing_background
- hide briefing_text
- hide button_glow
- }
- }
- itemDef
- {
- name accbut2
- group accbuttons
- type ITEM_TYPE_BUTTON
- rect 268 430 172 24
- text @MENUS_ACCEPT
- desctext @MENUS_ACCEPT_MISSION
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- show button_glow
- setitemrect button_glow 200 430 200 20
- }
- mouseExit
- {
- hide button_glow
- }
- action
- {
- hide backbut
- show prot
- show nextscreen_button
- show accept2text
- playVoice "sound/chars/protocol/15pro001.mp3"
- hide accbuttons
- setfocus nextscreen_button
- setcvar tier_mapname "maptransition t2_trip"
- hide briefing_background
- hide briefing_text
- hide button_glow
- }
- }
- itemDef
- {
- name accbut3
- group accbuttons
- type ITEM_TYPE_BUTTON
- rect 268 430 172 24
- text @MENUS_ACCEPT
- desctext @MENUS_ACCEPT_MISSION
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- show button_glow
- setitemrect button_glow 200 430 200 20
- }
- mouseExit
- {
- hide button_glow
- }
- action
- {
- hide backbut
- show wedge
- show nextscreen_button
- show accept3text
- playVoice "sound/chars/wedge/13wea001.mp3"
- hide accbuttons
- setfocus nextscreen_button
- setcvar tier_mapname "maptransition t2_wedge"
- hide briefing_background
- hide briefing_text
- hide button_glow
- }
- }
- itemDef
- {
- name accbut4
- group accbuttons
- type ITEM_TYPE_BUTTON
- rect 268 430 172 24
- text @MENUS_ACCEPT
- desctext @MENUS_ACCEPT_MISSION
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- show button_glow
- setitemrect button_glow 200 430 200 20
- }
- mouseExit
- {
- hide button_glow
- }
- action
- {
- hide backbut
-
- show nextscreen_button
- show accept4text
- show kyle
- playVoice "sound/chars/kyle/14kyk001.mp3"
-
- hide accbuttons
- setfocus nextscreen_button
- setcvar tier_mapname "maptransition t2_rogue"
- hide briefing_background
- hide briefing_text
- hide button_glow
- }
- }
- itemDef
- {
- name accbut5
- group accbuttons
- type ITEM_TYPE_BUTTON
- rect 268 430 172 24
- text @MENUS_ACCEPT
- desctext @MENUS_ACCEPT_MISSION
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- show button_glow
- setitemrect button_glow 200 430 200 20
- }
- mouseExit
- {
- hide button_glow
- }
- action
- {
- hide backbut
- show prot
- show nextscreen_button
- show accept5text
- playVoice "sound/chars/protocol/16pro001.mp3"
- hide accbuttons
- setfocus nextscreen_button
- setcvar tier_mapname "maptransition t2_dpred"
- hide briefing_background
- hide briefing_text
- hide button_glow
- }
- }
- //----------------------------------------------------------------------------------------------
- // BRIEFING SUBTITLES
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name accept1text
- type ITEM_TYPE_TEXTSCROLL
- rect 30 316 320 130
- text @T2_RANCOR_12PRO001
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- lineHeight 18
- visible 0
- autowrapped
- }
- itemDef
- {
- name accept2text
- type ITEM_TYPE_TEXTSCROLL
- rect 30 316 320 130
- text @T2_TRIP_15PRO001
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- lineHeight 18
- visible 0
- autowrapped
- }
- itemDef
- {
- name accept3text
- type ITEM_TYPE_TEXTSCROLL
- rect 30 316 320 130
- text @T2_WEDGE_13WEA001
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- lineHeight 18
- visible 0
- autowrapped
- }
- itemDef
- {
- name accept4text
- type ITEM_TYPE_TEXTSCROLL
- rect 30 316 320 130
- text @T2_ROGUE_14KYK001
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- lineHeight 18
- visible 0
- autowrapped
- }
- itemDef
- {
- name accept5text
- type ITEM_TYPE_TEXTSCROLL
- rect 30 316 320 130
- text @T2_DPRED_16PRO001
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- lineHeight 18
- visible 0
- autowrapped
- }
- //----------------------------------------------------------------------------------------------
- // NEXT BUTTONS - to go to next screen
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name nextscreen_button
- type ITEM_TYPE_BUTTON
- rect 530 440 172 24
- text @MENUS_NEXT
- desctext @MENUS_ADVANCE_NEXT
- font 2
- forecolor 1 .682 0 1
- textscale .7
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 0
- mouseEnter
- {
- }
- mouseExit
- {
- }
- action
- {
- play "sound/interface/menuroam.wav"
- close all
- open ingameForceSelect
- }
- }
-
- //----------------------------------------------------------------------------------------------
- // SCANLINES OVER WHOLE MENU
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name button_glow
- group none
- style WINDOW_STYLE_SHADER
- rect 0 0 0 0
- background "gfx/menus/menu_buttonback"
- forecolor 1 1 1 1
- visible 0
- decoration
- }
- itemDef
- {
- name static
- group none
- style WINDOW_STYLE_SHADER
- rect 396 314 175 120
- background "gfx/menus/static"
- backcolor 1 0 0 .2
- forecolor 1 0 0 .2
- visible 0
- decoration
- }
- itemDef
- {
- name scan
- group none
- style WINDOW_STYLE_SHADER
- rect 0 0 640 640
- background "gfx/menus/scanlines"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- }
- }
|