IW4-Dump-Files/ui_mp/menu_xboxlive.menu

1227 lines
30 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "menu_xboxlive"
rect 0 0 640 480 0 0
style 1
forecolor 1 1 1 1
focuscolor 1 1 1 1
fullscreen 1
fadeCycle 1
fadeClamp 1
fadeAmount 0.1
allowedBinding "+talk"
soundLoop "music_mainmenu_mp"
execKey 31
{
setfocus "partyList";
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
}
execKeyInt 23
{
setfocus "partyList";
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
}
execKeyInt 30
{
if ( getfocuseditemname( ) == "partyList" )
{
focusfirst;
}
}
execKeyInt 22
{
if ( getfocuseditemname( ) == "partyList" )
{
focusfirst;
}
}
execKeyInt 167
{
open "popup_summary";
play "mouse_click";
}
onOpen
{
if ( dvarbool( "ui_opensummary" ) && !inlobby( ) )
{
setLocalVarInt "ui_autoopened" ( 1 );
open "popup_summary";
setdvar "ui_opensummary" 0;
}
if ( dvarbool( "hidef" ) )
{
exec "exec default_720p.cfg";
}
else
{
exec "exec default_480p.cfg";
}
if ( !dvarbool( "splitscreen" ) )
{
exec "nosplitscreen";
}
if ( ( ( localvarstring( "ui_attachment1Name" ) == "silencer" ) || ( localvarstring( "ui_attachment2Name" ) == "silencer" ) || ( localvarstring( "ui_attachment3Name" ) == "silencer" ) || ( localvarstring( "ui_attachment4Name" ) == "silencer" ) || ( localvarstring( "ui_attachment5Name" ) == "silencer" ) || ( localvarstring( "ui_attachment6Name" ) == "silencer" ) || ( localvarstring( "ui_attachment8Name" ) == "silencer" ) || ( localvarstring( "ui_attachment9Name" ) == "silencer" ) || ( localvarstring( "ui_attachment10Name" ) == "silencer" ) || ( localvarstring( "ui_attachment11Name" ) == "silencer" ) || ( localvarstring( "ui_attachment12Name" ) == "silencer" ) || ( localvarstring( "ui_attachment13Name" ) == "silencer" ) || ( localvarstring( "ui_attachment14Name" ) == "silencer" ) || ( localvarstring( "ui_attachment15Name" ) == "silencer" ) ) )
{
focusfirst;
}
focusfirst;
}
onRequestClose
{
if ( dvarbool( "splitscreen" ) )
{
if ( splitscreenplayercount( ) >= 1 )
{
setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 );
}
if ( splitscreenplayercount( ) >= 2 )
{
setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 );
}
if ( splitscreenplayercount( ) >= 3 )
{
setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 );
}
if ( splitscreenplayercount( ) >= 4 )
{
setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 );
}
}
else
{
setPlayerData( "round" , "awardCount" , 0 );
}
uiScript "clearClientMatchData";
}
onClose
{
close "popup_gettingdata";
close "popup_findgame";
close "popup_summary";
close "popup_unlocks1";
close "popup_unlocks2";
}
onEsc
{
if ( inprivateparty( ) && !aloneinparty( ) )
{
open "leaveprivatepartywarning";
}
else
{
execnow "xstopprivateparty";
setdvar "onlinegame" 0;
execnow "splitscreencontrols";
close "leaveprivatepartywarning";
close "popup_gettingdata";
close self;
}
}
itemDef
{
rect 0 0 640 480 4 4
decoration
visible 1
style 3
forecolor 1 1 1 1
background "mw2_main_background"
textscale 0.55
}
itemDef
{
rect 0 0 1708 480 0 0
decoration
visible 1
style 3
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
textscale 0.55
exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
}
itemDef
{
rect 0 0 -1708 -480 0 0
decoration
visible 1
style 3
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
textscale 0.55
exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
}
itemDef
{
rect 0 0 640 480 4 4
decoration
visible 1
style 3
forecolor 1 1 1 0
background "mockup_bg_glow"
textscale 0.55
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
}
itemDef
{
rect 0 0 640 480 4 4
decoration
visible 1
style 3
forecolor 1 1 1 0
background "mockup_bg_glow"
textscale 0.55
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
}
itemDef
{
rect -64 0 280 480 1 0
decoration
visible 1
style 3
forecolor 1 1 1 0.1
background "gradient_fadein_fadebottom"
textscale 0.55
}
itemDef
{
rect 0 0 272 28 1 1
decoration
visible 1
forecolor 1 1 1 1
textfont 9
textalign 6
textalignx -60
textscale 0.5
text "@XBOXLIVE_SERVICENAME"
}
itemDef
{
rect -272 0 272 18 3 1
decoration
visible 1
style 1
forecolor 1 1 1 1
background "white"
textfont 3
textalign 4
textalignx 20
textscale 0.375
dvar "party_partyPlayerCount"
}
itemDef
{
rect 0 0 0 0 0 0
decoration
visible 1
forecolor 1 1 1 1
textscale 0.55
visible when ( inprivateparty( ) && !privatepartyhost( ) && getfocuseditemname( ) == "live_findgame" )
execKeyInt 28
{
setfocus "last_in_list";
}
execKeyInt 20
{
setfocus "last_in_list";
}
}
itemDef
{
name "live_findgame"
rect -64 28 336 20 1 1
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@PLATFORM_FIND_GAME_CAPS"
disabled when ( inprivateparty( ) && !privatepartyhost( ) )
execKeyInt 28
{
setfocus "last_in_list";
}
execKeyInt 20
{
setfocus "last_in_list";
}
action
{
play "mouse_click";
exec "xcheckezpatch";
exec "xblive_privatematch 0";
open "popup_findgame";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
setLocalVarInt "ui_selectedIndex" ( 0 );
if ( inprivateparty( ) && !privatepartyhost( ) )
{
setLocalVarString "ui_hint_text" ( "@PLATFORM_DESC_FIND_GAME_LOCKED" );
}
else
{
exec "xcheckezpatchversion";
setLocalVarString "ui_hint_text" ( "@PLATFORM_DESC_FIND_GAME" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
name "live_privategame"
rect -64 48 336 20 1 1
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@MENU_PRIVATE_MATCH_CAPS"
disabled when ( inprivateparty( ) && !privatepartyhost( ) )
action
{
play "mouse_click";
exec "xcheckezpatch";
exec "exec default_xboxlive.cfg";
exec "xblive_rankedmatch 0";
exec "ui_enumeratesaved" exec "xblive_privatematch 1";
exec "xstartprivatematch";
open "menu_xboxlive_privatelobby";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
if ( inprivateparty( ) && !privatepartyhost( ) )
{
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRIVATE_MATCH_LOCKED" );
}
else
{
exec "xcheckezpatchversion";
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRIVATE_MATCH" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 0 68 216 1 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.65
background "gradient_fadein"
textscale 0.55
}
itemDef
{
name "live_cac"
rect -64 68 336 20 1 1
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@MENU_CREATE_A_CLASS_CAPS"
disabled when ( !isitemunlocked( "cac" ) )
action
{
play "mouse_click";
open "cac_popup";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
if ( isitemunlocked( "cac" ) )
{
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
}
else
{
if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
{
setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
}
else
{
if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
{
setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
}
else
{
setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
}
}
exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 232 68 40 20 1 1
decoration
visible 1
style 3
forecolor 1 1 1 1
background "specialty_new"
textscale 0.55
visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
}
itemDef
{
name "live_playercard"
rect -64 88 336 20 1 1
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@MENU_PLAYERCARD_CAPS"
disabled when ( !isitemunlocked( "playercard" ) )
action
{
play "mouse_click";
open "popup_callsign";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
if ( isitemunlocked( "playercard" ) )
{
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD" );
}
else
{
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 232 88 40 20 1 1
decoration
visible 1
style 3
forecolor 1 1 1 1
background "specialty_new"
textscale 0.55
visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || getplayerdata( "featureNew" , "clantag" ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
}
itemDef
{
name "live_barracks"
rect -64 108 336 20 1 1
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@MENU_BARRACKS_CAPS"
action
{
play "mouse_click";
open "menu_online_barracks";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_BARRACKS" );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 232 108 40 20 1 1
decoration
visible 1
style 3
forecolor 1 1 1 1
background "specialty_new"
textscale 0.55
visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
}
itemDef
{
rect 0 128 216 1 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.65
background "gradient_fadein"
textscale 0.55
}
itemDef
{
name "last_in_list"
rect -64 128 336 20 1 1
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@MENU_INVITE_CAPS"
execKeyInt 29
{
focusfirst;
}
execKeyInt 21
{
focusfirst;
}
action
{
play "mouse_click";
exec "xshowfriendslist";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PARTY_INVITE" );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
name "nattype"
rect -64 188 336 20 1 1
decoration
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
exp text ( locstring( "@NETWORK_YOURNATTYPE" ) + " " + getlocalizednattype( ) )
action
{
play "mouse_click";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -272 28 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
}
itemDef
{
rect -272 48 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
}
itemDef
{
rect -272 68 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
}
itemDef
{
rect -272 88 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
}
itemDef
{
rect -272 108 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
}
itemDef
{
rect -272 128 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
}
itemDef
{
rect -272 148 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
}
itemDef
{
rect -272 168 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 7 ) != 0 ) )
}
itemDef
{
rect -272 188 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 8 ) != 0 ) )
}
itemDef
{
rect -272 208 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 9 ) != 0 ) )
}
itemDef
{
rect -272 228 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 10 ) != 0 ) )
}
itemDef
{
rect -272 248 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 11 ) != 0 ) )
}
itemDef
{
rect -272 268 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 12 ) != 0 ) )
}
itemDef
{
rect -272 288 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 13 ) != 0 ) )
}
itemDef
{
rect -272 308 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 14 ) != 0 ) )
}
itemDef
{
rect -272 328 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 15 ) != 0 ) )
}
itemDef
{
rect -272 348 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 16 ) != 0 ) )
}
itemDef
{
rect -272 368 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 0.25
background "playercard_short_bg"
textscale 0.55
visible when ( 1 && ( getplayercardinfo( 0 , 3 , 17 ) != 0 ) )
}
itemDef
{
rect -272 0 272 20 3 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "playercard_short_bg"
textscale 0.55
exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
}
itemDef
{
rect -272 0 272 28 3 1
decoration
forecolor 1 1 1 0.15
textfont 10
textalign 12
textalignx 38
textaligny 3
textscale 0.3333
text "NAME"
}
itemDef
{
name "partyList"
rect -272 28 272 380 3 1
visible 1
forecolor 1 1 1 1
type 6
textaligny -4
textscale 0.375
feeder 25
elementWidth 272
elementHeight 20
// numcol xpos xwidth textlen alignment
columns 1 38 16 40 0
noscrollbars
doubleClick
{
play "mouse_click" open "player_popup";
}
}
itemDef
{
rect -272 0 272 28 3 1
decoration
forecolor 1 1 1 0.15
textfont 10
textalign 12
textalignx 194
textaligny 3
textscale 0.3333
text "RANK"
}
itemDef
{
rect -272 28 272 380 3 1
decoration
visible 1
forecolor 1 1 1 1
type 6
textaligny -4
textscale 0.375
feeder 40
elementWidth 272
elementHeight 20
// numcol xpos xwidth textlen alignment
columns 2 194 20 3 2
214 20 2 1
noscrollbars
}
itemDef
{
rect 0 0 272 40 3 1
decoration
visible 1
style 3
forecolor 0.25 0.25 0.25 1
background "playercard_bg"
textscale 0.55
exp rect x ( - 268 )
exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
}
itemDef
{
rect 0 0 160 32 3 1
decoration
visible 1
style 1
forecolor 1 1 1 1
backcolor 1 1 1 1
textfont 3
textalign 9
textscale 0.375
exp rect x ( - 248 )
exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 - 4 )
exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 3 ) )
exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 4 ) )
exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 5 ) )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 2 ) )
}
itemDef
{
rect 0 0 248 20 3 1
decoration
visible 1
forecolor 1 1 1 1
textfont 10
textalign 4
textalignx 10
textaligny 4
textscale 0.3333
exp rect x ( ( - 248 ) )
exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 20 )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
exp text ( getplayercardinfo( 8 , 3 , dvarint( "party_selectedIndex" ) ) )
}
itemDef
{
rect 0 0 40 40 3 1
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect x ( ( - 248 ) + 160 )
exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
}
itemDef
{
rect 0 0 20 20 3 1
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect x ( ( - 248 ) + 204 )
exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , ( getplayercardinfo( 5 , 3 , dvarint( "party_selectedIndex" ) ) + 1 ) ) )
}
itemDef
{
rect 0 0 20 20 3 1
decoration
visible 1
forecolor 1 1 1 1
textfont 3
textalign 9
textscale 0.375
exp rect x ( ( - 248 ) + 222 )
exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , 14 ) )
}
itemDef
{
rect 0 0 40 18 3 1
decoration
visible 1
forecolor 1 1 1 1
textfont 3
textalign 9
textscale 0.375
exp rect x ( ( - 248 ) + 204 )
exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 18 )
visible when ( ( dvarbool( "party_listFocus" ) ) && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) != "" )
exp text ( "[" + getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) + "]" )
}
itemDef
{
rect -272 28 272 380 3 1
decoration
visible 1
forecolor 1 1 1 1
type 6
textaligny -4
textscale 0.375
feeder 26
elementWidth 272
elementHeight 20
// numcol xpos xwidth textlen alignment
columns 1 0 20 40 0
noscrollbars
}
itemDef
{
rect -128 -17 1280 18 1 3
decoration
style 3
forecolor 0 0 0 0.25
background "white"
textscale 0.55
}
itemDef
{
rect -128 -17 1280 18 1 3
decoration
style 3
forecolor 0 0 0 0.45
background "shadow_inset"
textscale 0.55
}
itemDef
{
rect 0 -18 726 18 1 3
decoration
forecolor 1 1 1 1
type 20
textscale 0.375
newsfeed 1
speed 50
spacing 30
exp rect w ( 544 + ( dvarint( "wideScreen" ) * 182 ) )
}
itemDef
{
rect 0 220 212 18 1 1
decoration
autowrapped
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 6
textscale 0.375
visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
exp text ( localvarstring( "ui_hint_text" ) )
}
itemDef
{
rect -64 -40 336 20 1 3
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@PLATFORM_GAME_SUMMARY_CAPS"
visible when ( "@PLATFORM_GAME_SUMMARY_CAPS" == "@PLATFORM_BACK_CAPS" )
action
{
play "mouse_click";
play "mouse_click";
"escape" self;
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 -40 336 20 1 3
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@PLATFORM_GAME_SUMMARY_CAPS"
visible when ( "@PLATFORM_GAME_SUMMARY_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS" )
action
{
play "mouse_click";
play "mouse_click";
open "popup_summary";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 -20 336 20 1 3
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@PLATFORM_BACK_CAPS"
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS" )
action
{
play "mouse_click";
play "mouse_click";
"escape" self;
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 -20 336 20 1 3
visible 1
group "mw2_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
type 1
textfont 3
textalign 6
textalignx -60
textscale 0.375
text "@PLATFORM_BACK_CAPS"
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS" )
action
{
play "mouse_click";
play "mouse_click";
open "popup_summary";
}
onFocus
{
play "mouse_over";
if ( dvarstring( "gameMode" ) != "mp" )
{
setItemColor "mw2_button" backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_menuAButton" ( 1 );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
}
}