123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655 |
- //----------------------------------------------------------------------------------------------
- // Force Status Menu
- //
- // The screen where after calculating the amount of light side force powers you allocated,
- // Luke or Kyle will congratulate or warn you, depending on which way you're going.
- //
- // 90 % - 100 : very light
- // 60 % - 89 : semi-light
- // 41 % - 59 : neutral
- // 11 % - 40 : semi-dark
- // 0% - 10 : very dark
- //
- //----------------------------------------------------------------------------------------------
- {
-
- menuDef
- {
- name "ingameForceStatus"
- fullScreen 1
- rect 0 0 640 480
- visible 1
- focusColor 1 1 1 1
- descX 320
- descY 424
- 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
- {
- // Compare light/dark force powers allocated
- uiScript "calcforcestatus"
- uiScript "initallocforcepower" "absorb"
- uiScript "initallocforcepower" "heal"
- uiScript "initallocforcepower" "mindtrick"
- uiScript "initallocforcepower" "protect"
- uiScript "initallocforcepower" "drain"
- uiScript "initallocforcepower" "grip"
- uiScript "initallocforcepower" "lightning"
- uiScript "initallocforcepower" "rage"
- }
- 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
- }
- // Allocate force point
- itemDef
- {
- name allocate_text
- type ITEM_TYPE_TEXT
- rect 0 30 640 18
- text @MENUS_CUR_FORCE_ALLOC
- font 2
- forecolor .549 .854 1 1
- textscale 1
- textalign ITEM_ALIGN_CENTER
- textalignx 320
- visible 1
- decoration
- }
- //----------------------------------------------------------------------------------------------
- // Light Force Icons
- //----------------------------------------------------------------------------------------------
- //----------------------------------
- // Absorb Icon
- //----------------------------------
- // The hex powerlevel graphic (this has to print first because it's additive)
- itemDef
- {
- name absorb_hexpic
- group lighthexes
- style WINDOW_STYLE_SHADER
- rect 96 91 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name absorb_iconpic
- style WINDOW_STYLE_SHADER
- rect 53 80 64 64
- background "gfx/mp/NEW_f_icon_lt_absorb"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------
- // Heal Icon
- //----------------------------------
- itemDef
- {
- name heal_hexpic
- group lighthexes
- style WINDOW_STYLE_SHADER
- rect 236 91 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name heal_iconpic
- style WINDOW_STYLE_SHADER
- rect 193 80 64 64
- background "gfx/mp/NEW_f_icon_lt_heal"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------
- // Mindtrick Icon
- //----------------------------------
- itemDef
- {
- name mindtrick_hexpic
- group lighthexes
- style WINDOW_STYLE_SHADER
- rect 376 91 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name mindtrick_iconpic
- style WINDOW_STYLE_SHADER
- rect 333 80 64 64
- background "gfx/mp/NEW_f_icon_lt_mind_trick"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------
- // Protect Icon
- //----------------------------------
- itemDef
- {
- name protect_hexpic
- group lighthexes
- style WINDOW_STYLE_SHADER
- rect 516 91 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef
- {
- name protect_iconpic
- style WINDOW_STYLE_SHADER
- rect 473 80 64 64
- background "gfx/mp/NEW_f_icon_lt_protect"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------------------------------------------------------------------
- // Dark Force Icons
- //----------------------------------------------------------------------------------------------
- //----------------------------------
- // Drain Icon
- //----------------------------------
- // The hex powerlevel graphic (this has to print first because it's additive
- itemDef
- {
- name drain_hexpic
- group darkhexes
- style WINDOW_STYLE_SHADER
- rect 96 191 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 .7 .7 1
- visible 1
- decoration
- }
- itemDef
- {
- name drain_iconpic
- style WINDOW_STYLE_SHADER
- rect 53 182 64 64
- background "gfx/mp/NEW_f_icon_dk_drain"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------
- // Grip Icon
- //----------------------------------
- itemDef
- {
- name grip_hexpic
- group darkhexes
- style WINDOW_STYLE_SHADER
- rect 236 191 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 .7 .7 1
- visible 1
- decoration
- }
- itemDef
- {
- name grip_iconpic
- style WINDOW_STYLE_SHADER
- rect 193 182 64 64
- background "gfx/mp/NEW_f_icon_dk_grip"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------
- // Lighting Icon
- //----------------------------------
- itemDef
- {
- name lightning_hexpic
- group darkhexes
- style WINDOW_STYLE_SHADER
- rect 376 191 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 .7 .7 1
- visible 1
- decoration
- }
- itemDef
- {
- name lightning_iconpic
- style WINDOW_STYLE_SHADER
- rect 333 182 64 64
- background "gfx/mp/NEW_f_icon_dk_l1"
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //----------------------------------
- // Rage Icon
- //----------------------------------
- itemDef
- {
- name rage_hexpic
- group darkhexes
- style WINDOW_STYLE_SHADER
- rect 516 191 70 49
- background "gfx/menus/hex_pattern_0"
- forecolor 1 .7 .7 1
- visible 1
- decoration
- }
- itemDef
- {
- name rage_iconpic
- style WINDOW_STYLE_SHADER
- rect 473 182 64 64
- background "gfx/mp/NEW_f_icon_dk_rage"
- forecolor .75 .75 .75 1
- visible 1
- decoration
- }
- //----------------------------------------------------------------------------------------------
- // MODELS FOR V-O
- //----------------------------------------------------------------------------------------------
- itemDef
- {
- name luke_face
- 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
- model_g2mins 15 -20 18
- model_g2maxs 60 20 55
- model_rotation 0
- model_fovx 10
- model_fovy 10
- isCharacter 1
- visible 1
- decoration
- cvarTest ui_forcestatus
- showCvar { "vll"; "sll"; "ntl"; "sdl"; "vdl" }
- }
- itemDef
- {
- name kyle_face
- 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
- model_g2mins 15 -20 18
- model_g2maxs 60 20 55
- model_rotation 0
- model_fovx 10
- model_fovy 10
- isCharacter 1
- visible 1
- cvarTest ui_forcestatus
- showCvar { "vlk"; "slk"; "ntk"; "sdk"; "vdk" }
- decoration
- }
- //----------------------------------------------------
- // LUKE SUBTITLES
- //----------------------------------------------------
- itemDef
- {
- name luke_very_light
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MLUK_03
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "vll" }
- }
- itemDef
- {
- name luke_semi_light
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MLUK_04
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "sll" }
- }
- itemDef
- {
- name luke_neutral
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MLUK_05
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "ntl" }
- }
- itemDef
- {
- name luke_semi_dark
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MLUK_01
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "sdl" }
- }
- itemDef
- {
- name luke_very_dark
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MLUK_02
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "vdl" }
- }
- //----------------------------------------------------
- // KYLE SUBTITLES
- //----------------------------------------------------
- itemDef
- {
- name kyle_very_light
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MKYK_05
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "vlk" }
- }
- itemDef
- {
- name kyle_semi_light
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MKYK_04
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "slk" }
- }
- itemDef
- {
- name kyle_neutral
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MKYK_03
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "ntk" }
- }
- itemDef
- {
- name kyle_semi_dark
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MKYK_01
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "sdk" }
- }
- itemDef
- {
- name kyle_very_dark
- type ITEM_TYPE_TEXT
- rect 52 316 288 124
- text @MISC_MKYK_02
- font 2
- forecolor 1 1 1 1
- textscale .8
- textalign ITEM_ALIGN_LEFT
- textalignx 8
- textaligny -1
- visible 1
- autowrapped
- cvarTest ui_forcestatus
- showCvar { "vdk" }
- }
- //-----------------------------------------
- // Go to Academy (taken from ingameMissionSelect)
- //----------------------------------------
- itemDef
- {
- name story5_continue
- type ITEM_TYPE_BUTTON
- rect 430 440 100 24
- text @MENUS_CONTINUE
- font 2
- forecolor 1 1 1 1
- textscale .7
- textalign ITEM_ALIGN_RIGHT
- textalignx 100
- textaligny -1
- visible 1
- cvartest "tier_storyinfo"
- showCvar { "5"; "6" }
- mouseEnter
- {
- }
- mouseExit
- {
- }
- action
- {
- close all
- uiScript startmap academy2
- }
- }
- itemDef
- {
- name story11_continue
- type ITEM_TYPE_BUTTON
- rect 430 440 100 24
- text @MENUS_CONTINUE
- font 2
- forecolor 1 1 1 1
- textscale .7
- textalign ITEM_ALIGN_RIGHT
- textalignx 100
- textaligny -1
- visible 1
- cvartest "tier_storyinfo"
- showCvar { "11"; "12" }
- mouseEnter
- {
- }
- mouseExit
- {
- }
- action
- {
- close all
- uiScript startmap academy4
- }
- }
- itemDef
- {
- name story17_continue
- type ITEM_TYPE_BUTTON
- rect 430 440 100 24
- text @MENUS_CONTINUE
- font 2
- forecolor 1 1 1 1
- textscale .7
- textalign ITEM_ALIGN_RIGHT
- textalignx 100
- textaligny -1
- visible 1
- cvartest "tier_storyinfo"
- showCvar { "17"; "18" }
- mouseEnter
- {
- }
- mouseExit
- {
- }
- action
- {
- close all
- uiScript startmap academy6
- }
- }
- //----------------------------------------------------------------------------------------------
- // SCANLINES OVER WHOLE MENU
- //----------------------------------------------------------------------------------------------
- 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
- }
- }
- }
|