{ menuDef { name "popup_summary" rect -230 50 460 337 2 1 style 1 popup forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 visible when ( !( menuisopen( "page_unlocks_titles" ) || menuisopen( "page_unlocks_emblems" ) || menuisopen( "page_unlocks_perks" ) || menuisopen( "page_unlocks_weapons" ) || menuisopen( "page_unlocks_features" ) ) ) onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); if ( !( getclientmatchdatadef( ) != "" ) ) { if ( dvarbool( "splitscreen" ) ) { if ( splitscreenplayercount( ) >= 1 ) { setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 ); } if ( splitscreenplayercount( ) >= 2 ) { setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 ); } if ( splitscreenplayercount( ) >= 3 ) { setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 ); } if ( splitscreenplayercount( ) >= 4 ) { setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 ); } } else { setPlayerData( "round" , "awardCount" , 0 ); } uiScript "clearClientMatchData"; } if ( ( unlockeditemcount( "title" ) ) ) { open "page_unlocks_titles"; } else { if ( ( unlockeditemcount( "icon" ) ) ) { open "page_unlocks_emblems"; } else { if ( ( unlockeditemcount( "perk" ) ) ) { open "page_unlocks_perks"; } else { if ( ( unlockeditemcount( "weapon" ) || unlockeditemcount( "attachment" ) || unlockeditemcount( "camo" ) ) ) { open "page_unlocks_weapons"; } else { if ( ( unlockeditemcount( "feature" ) || unlockeditemcount( "challenge" ) ) ) { open "page_unlocks_features"; } else { open "page_summary"; } } } } } setLocalVarString "ui_scoreboardType" ( getplayerdata( "round" , "scoreboardType" ) ); } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); close "page_unlocks_features"; close "page_summary"; close "page_progress"; close "page_highlights"; close "page_scoreboard"; } onEsc { close self; close self; } itemDef { rect -1084 -430 3416 1920 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 background "white" textscale 0.55 } itemDef { rect -1084 -430 3416 1920 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -230 50 460 337 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.5 0.5 1 background "white" textscale 0.55 } itemDef { rect -230 50 1708 480 2 1 style 3 decoration visible 1 forecolor 1 1 1 0.4 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -230 50 -1708 -480 2 1 style 3 decoration visible 1 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -230 50 460 0 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( 337 ) } itemDef { rect -230 50 -1708 -480 2 1 style 3 decoration visible 1 forecolor 1 1 1 0.4 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -230 50 -1708 -480 2 1 style 3 decoration visible 1 forecolor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -294 -14 64 64 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -230 -14 460 64 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 230 -14 64 64 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 230 50 64 0 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( 337 ) visible when ( 1 ) } itemDef { rect 230 50 64 64 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( 337 ) ) visible when ( 1 ) } itemDef { rect -230 50 460 64 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( 337 ) ) visible when ( 1 ) } itemDef { rect -294 50 64 64 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( 337 ) ) visible when ( 1 ) } itemDef { rect -294 50 64 0 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( 337 ) visible when ( 1 ) } itemDef { rect 125 363 100 24 2 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 10 textalignx -1 textscale 0.375 exp text ( localvarstring( "ui_navbutton_a" ) ) } itemDef { rect -268 154.5 -32 128 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( localvarint( "ui_leftArrow" ) ) exp material ( "summary_arrow" ) } itemDef { rect 236 154.5 32 128 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( localvarint( "ui_rightArrow" ) ) exp material ( "summary_arrow" ) } itemDef { rect -268 154.5 -32 128 2 1 style 3 decoration visible 1 forecolor 0.498039 0.498039 0.498039 1 textscale 0.55 exp forecolor a ( ( max( ( ( localvarint( "ui_switchTime" ) + 250 ) - milliseconds( ) , 0 ) ) / 250 ) ) visible when ( localvarint( "ui_leftArrow" ) && ( localvarint( "ui_switchDir" ) == "-1" ) ) exp material ( "summary_arrow" ) } itemDef { rect 236 154.5 32 128 2 1 style 3 decoration visible 1 forecolor 0.498039 0.498039 0.498039 1 textscale 0.55 exp forecolor a ( ( max( ( ( localvarint( "ui_switchTime" ) + 250 ) - milliseconds( ) , 0 ) ) / 250 ) ) visible when ( localvarint( "ui_rightArrow" ) && localvarint( "ui_switchDir" ) == 1 ) exp material ( "summary_arrow" ) } } }