IW4-Dump-Files/ui_mp/menu_challenge_details.menu

3932 lines
228 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "menu_challenge_details"
rect 0 0 640 480 0 0
forecolor 1 1 1 1
focuscolor 1 1 1 1
fullscreen 1
fadeCycle 1
fadeClamp 1
fadeAmount 0.1
blurWorld 5
soundLoop "music_mainmenu_mp"
onOpen
{
focusfirst;
setLocalVarInt "ui_centerPopup" ( "false" );
}
onEsc
{
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 0 28 640 380 4 1
decoration
visible 1
style 3
forecolor 1 1 1 0.15
background "white"
textscale 0.55
}
itemDef
{
rect -32 -4 32 32 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 0 -4 640 32 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_t"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 640 -4 32 32 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tr"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 640 28 32 380 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_r"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 640 408 32 32 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_br"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 0 408 640 32 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_b"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -32 408 32 32 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_bl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -32 28 32 380 4 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_l"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 0 0 640 480 4 4
decoration
visible 1
style 3
forecolor 1 1 1 0
background "big_menu_lightfx"
textscale 0.55
}
itemDef
{
rect 0 0 272 28 1 1
decoration
visible 1
forecolor 1 1 1 1
textfont 9
textalign 6
textalignx -78
textscale 0.5
text "@MPUI_CHALLENGE_CAP"
}
itemDef
{
rect 0 0 272 28 2 1
decoration
visible 1
forecolor 1 1 1 1
textfont 9
textalign 4
textscale 0.5
exp text ( "@" + tablelookup( "mp/challengeTable.csv" , 4 , localvarstring( "ui_challengeTierTable" ) , 1 ) )
}
itemDef
{
rect -272 0 272 18 3 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
background "white"
textfont 3
textalign 4
textalignx 20
textscale 0.375
visible when ( !dvarint( "xblive_privatematch" ) )
}
itemDef
{
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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 35 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 37 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 37 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 35 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 0 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 46 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 46 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 53 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 55 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 55 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 53 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 1 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 64 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 64 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 71 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 73 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 73 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 71 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 2 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 82 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 82 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 89 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 91 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 91 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 89 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 3 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 100 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 100 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 107 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 109 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 109 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 107 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 4 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 118 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 118 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 125 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 127 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 127 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 125 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 5 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 136 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 136 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 143 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 145 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 145 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 143 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 6 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 154 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 154 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 161 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 163 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 163 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 161 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 7 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 172 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 172 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 179 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 181 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 181 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 179 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 8 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 190 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 190 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 197 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 199 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 199 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 197 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 9 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 208 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 208 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 215 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 217 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 217 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 215 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 10 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 226 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 226 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 233 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 235 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 235 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 233 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 11 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 244 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 244 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 251 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 253 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 253 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 251 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 12 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 262 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 262 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 269 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 271 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 271 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 269 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 13 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 280 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 280 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 287 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 289 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 289 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 287 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 14 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 298 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 298 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 305 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 307 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 307 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 305 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 15 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 316 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 316 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 323 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 325 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 325 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 323 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 16 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 334 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 334 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 341 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 343 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 343 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 341 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 17 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 352 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 352 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 359 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 361 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 361 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 359 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 18 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -64 370 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) );
setLocalVarString "ui_selected_unlock" ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) - 1 ) );
setLocalVarString "ui_selected_unlockType" ( "" );
if ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "ui_selected_unlock" ) , 1 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "camo" );
}
if ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "ui_selected_unlock" ) , 4 ) != "" )
{
setLocalVarString "ui_selected_unlockType" ( "attachment" );
}
if ( localvarstring( "ui_selected_unlock" ) == "title" )
{
setLocalVarString "ui_selected_unlockType" ( "title" );
}
if ( localvarstring( "ui_selected_unlock" ) == "icon" )
{
setLocalVarString "ui_selected_unlockType" ( "icon" );
}
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect -64 370 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 "popup_button_selection_bar_short"
type 1
textfont 3
textalign 6
textalignx -76
textscale 0.375
glowColor 0 0 0 1
exp glowcolor r ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor g ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.75 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
exp glowcolor b ( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) * 0.25 * ( ( sin( milliseconds( ) / 150 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
disabled when ( !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) || !isitemunlocked( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) ) )
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 );
setLocalVarString "ui_selected_ref" ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) );
}
leaveFocus
{
setItemColor self backcolor 0 0 0 "0.0";
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
setLocalVarBool "ui_menuAButton" ( 0 );
}
}
itemDef
{
rect 216 377 40 10 1 1
decoration
visible 1
style 3
forecolor 1 1 1 0.55
background "black"
textscale 0.55
exp rect w ( 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 379 40 6 1 1
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "gradient_fadein"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 379 40 6 1 1
decoration
visible 1
style 3
forecolor 1 1 0.25 0.65
background "white"
textscale 0.55
exp rect w ( ( ( getplayerdata( "challengeProgress" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) - 0 ) / ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) ) * 40 )
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect 216 377 40 10 1 1
decoration
visible 1
style 1
forecolor 1 1 1 0.65
backcolor 0 0 0 0.55
background "white"
textfont 10
textalign 9
textscale 0.3333
text "@MPUI_DONE_CAPS"
exp rect x ( 216 + ( 46 * dvarbool( "wideScreen" ) ) )
visible when ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) , 6 + ( ( int( max( getplayerdata( "challengeState" , tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 0 ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && !( ( tablelookupbyrow( localvarstring( "ui_challengeTierTable" ) , 19 , 1 ) == "tier_prestige" ) && !isitemunlocked( "tier_prestige" ) ) )
}
itemDef
{
rect -16 28 448 20 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "challenge_name_bar"
textscale 0.55
}
itemDef
{
rect 0 28 272 20 2 1
decoration
visible 1
forecolor 1 1 1 1
textfont 3
textalign 4
textscale 0.375
visible when ( localvarstring( "ui_selected_ref" ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) )
}
itemDef
{
rect 0 28 272 20 2 1
decoration
visible 1
forecolor 1 1 1 1
textfont 3
textalign 4
textscale 0.375
visible when ( localvarstring( "ui_selected_ref" ) != "" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) + "_" + int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) )
}
itemDef
{
rect 0 48 272 20 2 1
decoration
autowrapped
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) != "ch_marathon_pro" && localvarstring( "ui_selected_ref" ) != "ch_lightweight_pro" )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) )
}
itemDef
{
rect 0 48 272 20 2 1
decoration
autowrapped
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) == "ch_marathon_pro" || localvarstring( "ui_selected_ref" ) == "ch_lightweight_pro" )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) / 5280 ) ) )
}
itemDef
{
rect 0 48 272 20 2 1
decoration
autowrapped
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) == "@CHALLENGE_BLANK" )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) ) )
}
itemDef
{
rect 0 48 272 20 2 1
decoration
autowrapped
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) != "ch_marathon_pro" && localvarstring( "ui_selected_ref" ) != "ch_lightweight_pro" )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) - 1 ) * 2 ) ) ) ) )
}
itemDef
{
rect 0 48 272 20 2 1
decoration
autowrapped
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 3 ) != "@CHALLENGE_BLANK" && ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) == "ch_marathon_pro" || localvarstring( "ui_selected_ref" ) == "ch_lightweight_pro" )
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 2 ) , int( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) - 1 ) * 2 ) ) ) / 5280 ) ) )
}
itemDef
{
rect 0 108 -272 1 2 1
decoration
visible 1
style 3
forecolor 1 1 1 0.45
background "gradient_fadein"
textscale 0.55
}
itemDef
{
rect 0 108 272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_ref" ) != "ch_marathon_pro" && localvarstring( "ui_selected_ref" ) != "ch_lightweight_pro" )
exp text ( locstring( "@CHALLENGE_PROGRESS_X_OF_Y" , getplayerdata( "challengeProgress" , localvarstring( "ui_selected_ref" ) ) - 0 , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) )
}
itemDef
{
rect 0 108 272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && ( localvarstring( "ui_selected_ref" ) == "ch_marathon_pro" || localvarstring( "ui_selected_ref" ) == "ch_lightweight_pro" ) )
exp text ( locstring( "@CHALLENGE_PROGRESS_X_OF_Y" , int( ( getplayerdata( "challengeProgress" , localvarstring( "ui_selected_ref" ) ) - 0 ) / 5280 ) , int( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) - 0 ) / 5280 ) ) )
}
itemDef
{
rect 0 108 272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
text "@CHALLENGE_COMPLETE"
visible when ( ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
}
itemDef
{
rect 0 168 -272 1 2 1
decoration
visible 1
style 3
forecolor 1 1 1 0.45
background "gradient_fadein"
textscale 0.55
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
}
itemDef
{
rect 0 168 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) )
exp text ( locstring( "@MPUI_REWARD_XP" , int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 7 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) ) )
}
itemDef
{
rect 0 228 -272 1 2 1
decoration
visible 1
style 3
forecolor 1 1 1 0.45
background "gradient_fadein"
textscale 0.55
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) != "" )
}
itemDef
{
rect 0 228 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 9
textalign 4
textscale 0.3333
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( "@MPUI_UNLOCKS_ATTACHMENTS" )
}
itemDef
{
rect 0 228 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 9
textalign 4
textscale 0.3333
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) == "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( "@MPUI_UNLOCKS_ATTACHMENT_SINGLE" )
}
itemDef
{
rect 0 228 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 9
textalign 4
textscale 0.3333
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( "@MPUI_UNLOCKS_CAMOS" )
}
itemDef
{
rect 0 243 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
exp forecolor g ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
exp forecolor b ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
exp forecolor a ( ( 0.65 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( locstring( "@MPUI_I" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) , 3 ) ) )
}
itemDef
{
rect 0 258 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
exp forecolor g ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
exp forecolor b ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
exp forecolor a ( ( 0.65 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( locstring( "@MPUI_II" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) , 3 ) ) )
}
itemDef
{
rect 0 273 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
exp forecolor g ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
exp forecolor b ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
exp forecolor a ( ( 0.65 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( locstring( "@MPUI_III" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) , 3 ) ) )
}
itemDef
{
rect 0 288 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
exp forecolor g ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
exp forecolor b ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
exp forecolor a ( ( 0.65 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( locstring( "@MPUI_IV" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) , 3 ) ) )
}
itemDef
{
rect 0 303 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
exp forecolor g ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
exp forecolor b ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
exp forecolor a ( ( 0.65 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( locstring( "@MPUI_V" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) , 3 ) ) )
}
itemDef
{
rect 0 318 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
exp forecolor g ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
exp forecolor b ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
exp forecolor a ( ( 0.65 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "attachment" )
exp text ( locstring( "@MPUI_VI" , "@" + tablelookup( "mp/attachmentTable.csv" , 4 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) , 3 ) ) )
}
itemDef
{
rect 0 243 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
exp forecolor g ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
exp forecolor b ( ( 0.85 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
exp forecolor a ( ( 0.65 * ( 1 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 1 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 1 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_I" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 1 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 258 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
exp forecolor g ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
exp forecolor b ( ( 0.85 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
exp forecolor a ( ( 0.65 * ( 2 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 2 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 2 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_II" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 2 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 273 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
exp forecolor g ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
exp forecolor b ( ( 0.85 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
exp forecolor a ( ( 0.65 * ( 3 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 3 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 3 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_III" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 3 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 288 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
exp forecolor g ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
exp forecolor b ( ( 0.85 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
exp forecolor a ( ( 0.65 * ( 4 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 4 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 4 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_IV" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 4 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 303 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
exp forecolor g ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
exp forecolor b ( ( 0.85 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
exp forecolor a ( ( 0.65 * ( 5 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 5 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 5 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_V" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 5 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 318 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
exp forecolor g ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
exp forecolor b ( ( 0.85 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
exp forecolor a ( ( 0.65 * ( 6 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 6 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 6 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_VI" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 6 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 333 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
exp forecolor r ( ( 0.85 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
exp forecolor g ( ( 0.85 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
exp forecolor b ( ( 0.85 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.85 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
exp forecolor a ( ( 0.65 * ( 7 < int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( 0.65 * ( 7 > int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) ) ) + ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) == 7 ) )
visible when ( ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 7 ) - 1 ) ) != "" && !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "camo" )
exp text ( locstring( "@MPUI_VII" , "@" + tablelookup( "mp/camoTable.csv" , 1 , ( tablelookup( "mp/unlockTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , ( 4 + 7 ) - 1 ) ) , 2 ) ) )
}
itemDef
{
rect 0 228 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "title" )
exp text ( "@MPUI_UNLOCKS_NEW_TITLE" )
}
itemDef
{
rect 0 228 -272 20 2 1
decoration
visible 1
forecolor 1 1 1 0.65
textfont 3
textalign 4
textscale 0.375
visible when ( !( int( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "ui_selected_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , localvarstring( "ui_selected_ref" ) ) , 1 ) ) - 1 ) * 2 ) ) ) == "" ) && localvarstring( "ui_selected_unlockType" ) == "icon" )
exp text ( "@MPUI_UNLOCKS_NEW_ICON" )
}
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 );
}
}
}
}