{ menuDef { name "popup_gettingdata" rect 0 0 0 124 2 2 style 1 focusColor 1 1 1 1 foreColor 1 1 1 1 backColor 1 1 1 1 background "white" soundLoop "music_mainmenu_mp" popup onOpen { setLocalVarInt "ui_centerPopup" ( "1" ); setFocus "button_cancel"; } onClose { setLocalVarInt "ui_centerPopup" ( "0" ); } onESC { close "self"; close "menu_xboxlive"; close "menu_xboxlive_lobby"; close "menu_xboxlive_privatelobby"; close "menu_systemlink"; close "menu_systemlink_join"; close "menu_gamesetup_systemlink"; close "menu_gamesetup_splitscreen"; close "popup_gamesetup"; close "popup_gamesetup_splitscreen"; close "popup_findgame"; close "self"; close "cac_popup"; close "popup_gamesetup_private"; close "coop_lobby"; close "error_popmenu_lobby"; setDvar "onlinegame" 0; setDvar "systemlink" 0; setDvar "specialops" 0; exec "stopListening"; exec "useonlinestats 0"; exec "statsdownloadcancel"; exec "xstopparty"; exec "xstopprivateparty"; exec "xcancelconnectingdialog"; exec "splitscreencontrols"; } itemDef { rect -1004 -604 1708 960 2 2 style 1 foreColor 1 1 1 1 backColor 0 0 0 0.35 background "white" decoration textScale 0.55 visible 1 } itemDef { rect -1004 -604 1708 960 2 2 style 1 foreColor 1 1 1 1 backColor 1 1 1 1 background "xpbar_stencilbase" decoration textScale 0.55 visible 1 } itemDef { rect -150 -124 300 124 2 2 style 1 foreColor 1 1 1 1 backColor 0.5 0.5 0.5 1 background "white" decoration textScale 0.55 visible 1 } itemDef { rect -150 -124 1708 480 2 2 style 3 foreColor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" decoration textScale 0.55 visible 1 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -124 -1708 -480 2 2 style 3 foreColor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" decoration textScale 0.55 visible 1 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -124 300 0 2 2 style 3 foreColor 1 1 1 1 background "mockup_popup_bg_stencilfill" decoration textScale 0.55 visible 1 exp rect h ( ( 24 + 5 * 20 ) ) } itemDef { rect -150 -124 -1708 -480 2 2 style 3 foreColor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" decoration textScale 0.55 visible 1 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -124 -1708 -480 2 2 style 3 foreColor 0.85 0.85 0.85 1 background "mw2_popup_bg_fogscroll" decoration textScale 0.55 visible 1 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -124 300 0 1 1 style 3 foreColor 1 1 1 0 background "small_box_lightfx" decoration textScale 0.55 visible 1 exp rect h ( ( 24 + 5 * 20 ) ) } itemDef { rect -150 -124 300 24 2 2 style 1 foreColor 1 1 1 1 background "gradient_fadein" decoration textAlign 4 textAlignX 8 textScale 0.375 textFont 9 text "@MENU_ONLINE_STATUS" visible 1 } itemDef { rect -146 -100 292 20 2 2 style 1 foreColor 1 1 1 1 background "menu_button_selection_bar" decoration autoWrapped group "mw2_button" type 1 textAlign 4 textAlignX 20 textScale 0.375 textFont 3 visible 1 onFocus { play "mouse_over"; if ( dvarString( "gameMode" ) != "mp" ) { setItemColor "mw2_button" "backColor" 0 0 0 0; } setItemColor self "backColor" 0 0 0 1; setLocalVarBool "ui_menuAButton" ( "1" ); setLocalVarFloat ui_popupYPos 0.000000; } leaveFocus { setItemColor self "backColor" 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( "0" ); } action { play "mouse_click"; } exp text ( getwaitpopupstatus( 0 ) ) } itemDef { rect -146 -80 292 20 2 2 style 1 foreColor 1 1 1 1 background "menu_button_selection_bar" decoration autoWrapped group "mw2_button" type 1 textAlign 4 textAlignX 20 textScale 0.375 textFont 3 visible 1 onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" "backcolor" 0 0 0 0; } setItemColor self "backcolor" 0 0 0 1; setLocalVarBool "ui_menuAButton" ( "1" ); setLocalVarFloat ui_popupYPos 0.000000; } leaveFocus { setItemColor self "backcolor" 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( "0" ); } action { play "mouse_click"; } exp text ( getwaitpopupstatus( 1 ) ) } itemDef { rect -146 -60 292 20 2 2 style 1 foreColor 1 1 1 1 background "menu_button_selection_bar" decoration autoWrapped group "mw2_button" type 1 textAlign 4 textAlignX 20 textScale 0.375 textFont 3 visible 1 onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" "backcolor" 0 0 0 0; } setItemColor self "backcolor" 0 0 0 1; setLocalVarBool "ui_menuAButton" ( "1" ); setLocalVarFloat ui_popupYPos 0.000000; } leaveFocus { setItemColor self "backcolor" 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( "0" ); } action { play "mouse_click"; } exp text ( getwaitpopupstatus( 2 ) ) } itemDef { name "button_cancel" rect -146 -20 292 20 2 2 style 1 foreColor 1 1 1 1 background "popup_button_selection_bar" group "mw2_popup_button" type 1 textAlign 6 textAlignX -10 textScale 0.375 textFont 3 text "@MENU_CANCEL" visible 1 onFocus { play "mouse_over"; if ( dvarString( "gameMode" ) != "mp" ) { setItemColor mw2_popup_button "backcolor" 0 0 0 0; } setItemColor self "backcolor" 0 0 0 1; setLocalVarBool "ui_popupAButton" ( "1" ); } leaveFocus { setItemColor self "backcolor" 1 1 1 0; setLocalVarBool "ui_popupAButton" ( "0" ); } action { play "mouse_click"; escape "self"; } } } }