/******************************************** * dumped by: aerosoul94 * *********************************************/ { menuDef { name "pausedmenu" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 allowedBinding "pause" onOpen { showMenu "pausedbkgnd" showMenu "objectiveinfo" showMenu "overheadmap" focusfirst; } onClose { hideMenu "pausedbkgnd" hideMenu "objectiveinfo" hideMenu "overheadmap"; } onEsc { close "pausedmenu"; } itemDef { name "pausedMsg" rect -160 13 160 40 10 8 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 text "@MENU_PAUSED_CAP" exp rect y ( 13 + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !dvarbool( "coop" ) ) } itemDef { name "resumegame" rect -200 48 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_RESUME_CREDITS" exp rect y ( ( 28 + 1 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( ( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "resumegame" rect -200 48 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_RESUMEGAME" exp rect y ( ( 28 + 1 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "credits_quit" rect -200 68 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@PLATFORM_QUIT" exp rect y ( ( 28 + 2 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( ( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) ) action { play "mouse_click"; play "mouse_click"; setdvar "credits_active" 0; close "pausedmenu"; exec "disconnect"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { rect -200 68 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_OPTIONS" exp rect y ( ( 28 + 2 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && dvarbool( "ui_allow_controlschange" ) ) action { play "mouse_click"; exec "Updatedvarsfromprofile"; play "mouse_click"; uiScript "openMenuOnDvar" "splitscreen" 0 "ingame_controls"; uiScript "openMenuOnDvar" "splitscreen" 1 "ingame_controls_splitscreen"; close "pausedmenu"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { rect -200 68 336 20 10 8 group "paused_buttons" style 1 decoration visible 1 forecolor 0.5 0.5 0.5 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 textstyle 3 text "@MENU_OPTIONS" exp rect y ( ( 28 + 2 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && !dvarbool( "ui_allow_controlschange" ) ) action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "difficulty_locked" rect -200 88 336 20 10 8 group "paused_buttons" style 1 decoration visible 1 forecolor 0.5 0.5 0.5 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 textstyle 3 text "@MENU_LOWER_DIFFICULTY" exp rect y ( ( 28 + 3 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && ( ( dvarint( "g_gameskill" ) == 0 ) || ( dvarstring( "mapname" ) == "trainer" ) ) && !( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) ) action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "difficulty" rect -200 88 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_LOWER_DIFFICULTY" exp rect y ( ( 28 + 3 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && ( dvarint( "g_gameskill" ) > 0 ) && ( dvarstring( "mapname" ) != "trainer" ) && !( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) ) action { play "mouse_click"; play "mouse_click"; open "ingame_difficulty"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "last_checkpoint" rect -200 108 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_LAST_CHECKPOINT" exp rect y ( ( 28 + 4 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !( dvarbool( "specialops" ) ) ) && !( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) ) action { play "mouse_click"; open "last_checkpoint_warning"; close "pausedmenu"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "last_checkpoint_locked" rect -200 108 336 20 10 8 group "paused_buttons" style 1 decoration visible 1 forecolor 0.5 0.5 0.5 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 textstyle 3 text "@MENU_LAST_CHECKPOINT" exp rect y ( ( 28 + 4 * 20 ) + ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && !( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !( dvarbool( "specialops" ) ) ) && !( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) ) action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "restartlevel" rect -200 128 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_RESTART_MISSION" exp rect y ( ( 28 + 5 * 20 ) - ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 16 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; open "restart_warning"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "saveandquit" rect -200 148 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@PLATFORM_SAVE_AND_QUIT" exp rect y ( ( 28 + 6 * 20 ) - ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 16 ) visible when ( !( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) && !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !( dvarbool( "specialops" ) ) ) && ( savegameavailable( ) && !dvarbool( "splitscreen" ) ) ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; open "savegame_warning"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "arcade_quit" rect -200 148 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@PLATFORM_QUIT" exp rect y ( ( 28 + 6 * 20 ) - ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 16 ) visible when ( !( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) && !( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !( dvarbool( "specialops" ) ) ) ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; open "savegame_warning_arcade"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "quit" rect -200 148 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@PLATFORM_QUIT" exp rect y ( ( 28 + 6 * 20 ) - ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 16 ) visible when ( ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) || ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !( dvarbool( "specialops" ) ) ) && 0 == ( savegameavailable( ) && !dvarbool( "splitscreen" ) ) ) ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; open "savegame_warning_noprofile"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { name "skip_airport" rect -200 168 336 20 10 8 group "paused_buttons" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 4 textalignx 40 textscale 0.375 text "@MENU_SP_SKIP_MISSION" exp rect y ( ( 28 + 7 * 20 ) - ( ( dvarbool( "specialops" ) ) || ( dvarstring( "mapname" ) == "ending" && dvarstring( "ui_char_museum_mode" ) == "free" ) ) * 16 ) visible when ( dvarstring( "mapname" ) == "airport" ) action { play "mouse_click"; play "mouse_click"; close "pausedmenu"; open "offensive_skip_popup_confirm"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); play "mouse_over"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor "paused_buttons" backcolor 0 0 0 "0.0"; } } itemDef { rect 0 0 272 22 10 8 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textalignx -180 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) ) } } menuDef { name "pausedbkgnd" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.8 itemDef { rect 0 0 640 480 4 4 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.5 textscale 0.55 } itemDef { rect 0 0 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_top" textscale 0.55 } itemDef { rect 0 480 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_bottom" textscale 0.55 } itemDef { name "cancel" rect -158 -180 120 120 10 10 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 12 textalignx -28 textaligny 32 textscale 0.375 text "@PLATFORM_BACK" } } menuDef { name "objectiveinfo" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 itemDef { rect -164 0 -280 480 10 0 style 3 decoration visible 1 forecolor 0.75 0.75 0.75 0.25 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 20 10 400 32 8 8 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 4 textscale 0.5833 visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && ( dvarbool( "specialops" ) ) && !dvarbool( "coop" ) ) exp text ( "@" + tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 2 ) ) } itemDef { rect 20 10 400 32 8 8 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 4 textscale 0.5833 visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && ( dvarbool( "specialops" ) ) && dvarbool( "coop" ) ) exp text ( "@" + tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "coop_mapname" ) , 2 ) ) } itemDef { rect 20 38 -320 1 8 8 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textscale 0.55 visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && ( dvarbool( "specialops" ) ) ) } itemDef { rect 20 38 400 32 8 8 ownerdraw 99 decoration visible 1 forecolor 1 1 1 1 type 8 textfont 9 textalign 4 textscale 0.5 exp rect y ( 38 + ( dvarbool( "specialops" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && ( dvarbool( "specialops" ) ) ) } itemDef { rect 20 38 400 32 8 8 ownerdraw 99 decoration visible 1 forecolor 1 0.8 0.4 1 type 8 textfont 9 textalign 4 textscale 0.5 exp rect y ( 38 + ( dvarbool( "specialops" ) ) * 24 ) visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && !( dvarbool( "specialops" ) ) ) } itemDef { name "objectivecheckbox" rect 20 64 16 16 8 8 ownerdraw 100 decoration visible 1 forecolor 1 1 1 1 type 8 textfont 3 textscale 0.375 textstyle 3 exp rect y ( 64 + ( dvarbool( "specialops" ) ) * 24 ) visible when ( dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && ( dvarbool( "hiDef" ) || !dvarbool( "splitscreen" ) ) ) } itemDef { name "objectivecheckbox" rect 20 64 16 16 8 8 ownerdraw 100 decoration visible 1 forecolor 1 1 1 1 type 8 textfont 3 textscale 0.5 textstyle 3 exp rect y ( 64 + ( dvarbool( "specialops" ) ) * 24 ) visible when ( dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && ( !dvarbool( "hiDef" ) && dvarbool( "splitscreen" ) ) ) } itemDef { name "minimapTickerBorder" rect -159 -196 120 120 10 10 ownerdraw 151 decoration visible 1 forecolor 1 1 1 1 background "minimap_tickertape_background" type 8 textscale 0.55 exp rect w ( 120 + 2 ) exp rect h ( 16 ) visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { name "minimapTicker" rect -158 -192 120 120 10 10 ownerdraw 146 decoration visible 1 forecolor 1 1 1 1 background "minimap_tickertape_mp" type 8 textscale 0.55 exp rect h ( 10 ) visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { rect -158 -180 120 120 10 10 ownerdraw 159 decoration visible 1 forecolor 1 1 1 1 background "compass_map_default" type 8 textscale 0.55 visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { rect -158 -180 120 120 10 10 ownerdraw 155 decoration visible 1 forecolor 1 1 1 1 type 8 textscale 0.55 visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { rect -158 -180 120 120 10 10 ownerdraw 153 decoration visible 1 forecolor 1 1 1 1 background "compassping_friendly" type 8 textscale 0.55 visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { rect -158 -180 120 120 10 10 ownerdraw 150 decoration visible 1 forecolor 1 1 1 1 background "compassping_player" type 8 textscale 0.55 visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { rect -158 -180 120 120 10 10 ownerdraw 152 decoration visible 1 forecolor 1 1 1 1 background "objective_line" type 8 textscale 0.55 visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { name "minimapBG" rect -174 -187 120 120 10 10 ownerdraw 151 decoration visible 1 forecolor 1 1 1 1 background "minimap_background" type 8 textscale 0.55 exp rect w ( 120 + 26 ) exp rect h ( 120 + 26 ) visible when ( !dvarbool( "splitscreen" ) && !dvarbool( "ui_hidemap" ) && dvarstring( "mapname" ) != "coup" && dvarstring( "mapname" ) != "aftermath" && dvarstring( "mapname" ) != "airplane" && dvarstring( "mapname" ) != "ac130" && dvarstring( "mapname" ) != "jeepride" && dvarstring( "mapname" ) != "af_chase" && dvarstring( "mapname" ) != "simplecredits" ) } itemDef { name "intel_items_title" rect 20 -60 400 32 8 10 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 4 textscale 0.375 visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && !( dvarbool( "specialops" ) ) ) exp text ( "@MENU_SP_CURRENT_LEVEL_INTEL_TITLE" ) } itemDef { name "intel_items" rect 20 -60 400 32 8 10 decoration visible 1 forecolor 1 1 1 1 textalign 4 textaligny 16 textscale 0.375 visible when ( !( dvarstring( "mapname" ) == "ending" && ( ( dvarstring( "ui_char_museum_mode" ) == "credits_2" ) || ( dvarstring( "ui_char_museum_mode" ) == "credits_black" ) ) ) && !( dvarbool( "specialops" ) ) ) exp text ( locstring( "@MENU_SP_CURRENT_LEVEL_INTELS" , dvarint( "ui_level_player_cheatpoints" ) , dvarint( "ui_level_cheatpoints" ) ) ) } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "controllerremoved_ss" rect -150 -84 300 84 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 blurWorld 4.8 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); focusfirst; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; close self; } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -84 300 84 2 2 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 -150 -84 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -150 -84 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -214 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -148 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -84 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -84 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_NOTICE" } itemDef { rect -146 -64 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( "@MENU_CONTROLLER_DISCONNECTED" ) } itemDef { name "ok" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_OK" visible when ( 1 ) action { play "mouse_click"; close self; } 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 ); } } itemDef { rect -150 -84 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "overheadmap" rect 0 0 640 480 0 0 visible 1 forecolor 1 1 1 1 focuscolor 1 1 1 1 } menuDef { name "ingame_controls" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { exec "hidehud"; setdvar "ui_allow_controlschange" 0; execnow "profile_menuDvarsSetup; resetViewport" ;; } onClose { execnow "profile_menuDvarsFinish; resetViewport"; exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { exec "showhud"; scriptmenuresponse "back"; exec "updategamerprofile"; close self; open "pausedmenu"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_OPTIONS_UPPER_CASE" } itemDef { rect 0 290 212 18 1 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 3 textalign 6 textscale 0.375 exp text ( localvarstring( "ui_options_hint_text" ) ) } itemDef { rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_THUMBSTICK_LAYOUT_CAPS" action { play "mouse_click"; close "ingame_controls"; open "ingamecontrols_thumbstick"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_STICK_LAYOUT_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 28 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DEFAULT" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_default" ) } itemDef { rect 248 28 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_SOUTHPAW" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_southpaw" ) } itemDef { rect 248 28 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEGACY" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacy" ) } itemDef { rect 248 28 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEGACY_SOUTHPAW" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacysouthpaw" ) } itemDef { rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_BUTTON_LAYOUT_CAPS" action { play "mouse_click"; close "ingame_controls"; open "ingamecontrols_buttons"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_BUTTON_LAYOUT_DESC" ); if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) { setLocalVarBool "ui_buttons_page" ( 1 ); } else { setLocalVarBool "ui_buttons_page" ( 0 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 48 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DEFAULT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" ) } itemDef { rect 248 48 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_TACTICAL" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" ) } itemDef { rect 248 48 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEFTY" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" ) } itemDef { rect 248 48 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DEFAULT_ALT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" ) } itemDef { rect 248 48 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_TACTICAL_ALT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" ) } itemDef { rect 248 48 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEFTY_ALT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) } itemDef { rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LOOK_SENSITIVITY_CAPS" action { play "mouse_click"; close "ingame_controls"; open "ingamecontrols_sensitivity"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_SENSITIVITY_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 68 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LOW" visible when ( getprofiledata( "viewSensitivity" ) == 0.6 ) } itemDef { rect 248 68 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_MEDIUM" visible when ( getprofiledata( "viewSensitivity" ) == 1 ) } itemDef { rect 248 68 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_HIGH" visible when ( getprofiledata( "viewSensitivity" ) == 1.8 ) } itemDef { rect 248 68 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_CUSTOM" visible when ( getprofiledata( "viewSensitivity" ) != 0.6 && getprofiledata( "viewSensitivity" ) != 1 && getprofiledata( "viewSensitivity" ) != 1.8 ) } itemDef { rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LOOK_INVERSION_CAPS" action { play "mouse_click"; exec "profile_toggleInvertedPitch"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_LOOK_INVERSION_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 88 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "invertedPitch" ) ) } itemDef { rect 248 88 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "invertedPitch" ) ) } itemDef { rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_CONTROLLER_VIBRATION_CAPS" action { play "mouse_click"; exec "profile_toggleRumble"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VIBRATION_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 108 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "rumble" ) ) } itemDef { rect 248 108 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "rumble" ) ) } itemDef { rect 0 128 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { name "button_safearea_adjusted_horizontal" rect -64 128 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_HUD_MARGIN_HORIZONTAL_CAPS" action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "slider_safearea_adjusted_horizontal" rect 248 128 128 20 1 1 visible 1 forecolor 1 1 1 1 type 10 textscale 0.55 dvarFloat "profileMenuOption_safeAreaHorz" 0.85 0.85 1 action { exec "profile_menuDvarsFinish; wait; wait; resetViewport"; } onFocus { play "mouse_over"; setItemColor "button_safearea_adjusted_horizontal" backcolor 0 0 0 1; show "safe_area_demo"; show "safe_area_demo_lr"; setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_HORIZONTAL_MARGIN_DESC" ); } leaveFocus { setItemColor "button_safearea_adjusted_horizontal" backcolor 0 0 0 "0.0"; hide "safe_area_demo"; hide "safe_area_demo_lr"; } } itemDef { name "button_safearea_adjusted_vertical" rect -64 148 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_HUD_MARGIN_VERTICAL_CAPS" action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "slider_safearea_adjusted_vertical" rect 248 148 128 20 1 1 visible 1 forecolor 1 1 1 1 type 10 textscale 0.55 dvarFloat "profileMenuOption_safeAreaVert" 0.85 0.85 1 action { exec "profile_menuDvarsFinish; wait; wait; resetViewport"; } onFocus { play "mouse_over"; setItemColor "button_safearea_adjusted_vertical" backcolor 0 0 0 1; show "safe_area_demo"; show "safe_area_demo_tb"; setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VERTICAL_MARGIN_DESC" ); } leaveFocus { setItemColor "button_safearea_adjusted_vertical" backcolor 0 0 0 "0.0"; hide "safe_area_demo"; hide "safe_area_demo_tb"; } } itemDef { rect -100 0 100 600 8 8 group "safe_area_demo" style 1 decoration forecolor 1 1 1 1 backcolor 0.4 0.45 0.5 0.5 textscale 0.55 } itemDef { rect 0 -64 -32 128 8 2 group "safe_area_demo_lr" style 3 decoration forecolor 1 1 1 1 background "summary_arrow" textscale 0.55 } itemDef { rect 0 -600 100 600 10 10 group "safe_area_demo" style 1 decoration forecolor 1 1 1 1 backcolor 0.4 0.45 0.5 0.5 textscale 0.55 } itemDef { rect -32 -64 32 128 10 2 group "safe_area_demo_lr" style 3 decoration forecolor 1 1 1 1 background "summary_arrow" textscale 0.55 } itemDef { rect -2000 -100 2000 100 10 8 group "safe_area_demo" style 1 decoration forecolor 1 1 1 1 backcolor 0.4 0.45 0.5 0.5 textscale 0.55 } itemDef { rect -64 0 128 32 2 8 group "safe_area_demo_tb" style 3 decoration forecolor 1 1 1 1 background "summary_arrow_up" textscale 0.55 } itemDef { rect 0 0 2000 100 8 10 group "safe_area_demo" style 1 decoration forecolor 1 1 1 1 backcolor 0.4 0.45 0.5 0.5 textscale 0.55 } itemDef { rect -64 -32 128 -32 2 10 group "safe_area_demo_tb" style 3 decoration forecolor 1 1 1 1 background "summary_arrow_up" textscale 0.55 } itemDef { name "button_snd_volume" rect -64 168 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_VOLUME_CAPS" action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "slider_snd_volume" rect 248 168 128 20 1 1 visible 1 forecolor 1 1 1 1 type 10 textscale 0.55 dvarFloat "profileMenuOption_volume" 0.8 0 0.8 action { play "volume_adjust"; execnow "profile_menuDvarsFinish" ;; } onFocus { play "mouse_over"; setItemColor "button_snd_volume" backcolor 0 0 0 1; setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_GAME_VOLUME_DESC" ); } leaveFocus { setItemColor "button_snd_volume" backcolor 0 0 0 "0.0"; } } itemDef { name "button_ps3_voiceSpeakerGain" rect -64 188 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_VOICE_VOLUME_CAPS" action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "slider_ps3_voiceSpeakerGain" rect 248 188 128 20 1 1 visible 1 forecolor 1 1 1 1 type 10 textscale 0.55 dvarFloat "ps3_voiceSpeakerGain" 1.5 0 4 onFocus { play "mouse_over"; setItemColor "button_ps3_voiceSpeakerGain" backcolor 0 0 0 1; setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VOICE_DESC" ); } leaveFocus { setItemColor "button_ps3_voiceSpeakerGain" backcolor 0 0 0 "0.0"; } } itemDef { name "button_r_gamma" rect -64 208 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_BRIGHTNESS_CAPS" action { play "mouse_click"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "slider_r_gamma" rect 248 208 128 20 1 1 visible 1 forecolor 1 1 1 1 type 10 textscale 0.55 dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4 action { execnow "profile_menuDvarsFinish" ;; } onFocus { play "mouse_over"; setItemColor "button_r_gamma" backcolor 0 0 0 1; setLocalVarBool "ui_adjusting_brightness" ( 1 ); show "brightness_demo"; setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" ); } leaveFocus { setLocalVarBool "ui_adjusting_brightness" ( 0 ); setItemColor "button_r_gamma" backcolor 0 0 0 "0.0"; hide "brightness_demo"; } } itemDef { rect 0 228 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { rect -64 228 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_AIM_ASSIST_CAPS" action { play "mouse_click"; execnow "profile_toggleAutoAim"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_AIM_ASSIST_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 228 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "autoAim" ) ) } itemDef { rect 248 228 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "autoAim" ) ) } itemDef { rect -64 248 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SUBTITLES_CAPS" action { play "mouse_click"; exec "profile_toggleSubtitles"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_SUBTITLES_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 248 248 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "subtitles" ) ) } itemDef { rect 248 248 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "subtitles" ) ) } itemDef { rect 0 268 0 80 3 1 group "brightness_demo" decoration autowrapped forecolor 1 1 1 0.65 textfont 3 textalign 5 textscale 0.375 text "@MENU_BRIGHTNESS_DESC2" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) } itemDef { rect 0 28 0 80 3 1 group "brightness_demo" style 1 decoration autowrapped forecolor 0 0 0 1 backcolor 0 0 0 1 background "white" textfont 2 textalign 9 textscale 0.5833 text "@MENU_BRIGHTNESS_NOT_VISIBLE" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) } itemDef { rect 0 108 0 80 3 1 group "brightness_demo" style 1 decoration autowrapped forecolor 0 0 0 1 backcolor 0 0 0 1 background "white" textfont 2 textalign 9 textscale 0.5833 text "@MENU_BRIGHTNESS_BARELY_VISIBLE" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) } itemDef { rect 0 188 0 80 3 1 group "brightness_demo" style 1 decoration autowrapped forecolor 0 0 0 1 backcolor 0 0 0 1 background "white" textfont 2 textalign 9 textscale 0.5833 text "@MENU_BRIGHTNESS_EASILY_VISIBLE" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -41 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) ) } itemDef { rect -64 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_thumbstick" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { exec "hidehud"; setdvar "ui_allow_controlschange" 0; } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_thumbstick"; open "ingame_controls"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_STICK_LAYOUT_CAP" } itemDef { rect 150 95 350 350 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "ps3_controller_top" textscale 0.55 } itemDef { rect 240 280 90 90 0 0 group "controls_thumbstick_set1" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_move" textscale 0.55 } itemDef { rect 322 280 90 90 0 0 group "controls_thumbstick_set1" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_turn" textscale 0.55 } itemDef { rect 412 315 0 0 0 0 group "controls_thumbstick_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 textstyle 6 text "@MENU_ROTATE_LEFT_RIGHT" } itemDef { rect 367 375 0 0 0 0 group "controls_thumbstick_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_LOOK_UP_DOWN" } itemDef { rect 285 375 0 0 0 0 group "controls_thumbstick_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_MOVE_FORWARD_BACK" } itemDef { rect 235 315 0 0 0 0 group "controls_thumbstick_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 textstyle 6 text "@MENU_STRAFE_LEFT_RIGHT" } itemDef { rect 240 280 90 90 0 0 group "controls_thumbstick_set2" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_turn" textscale 0.55 } itemDef { rect 322 280 90 90 0 0 group "controls_thumbstick_set2" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_move" textscale 0.55 } itemDef { rect 412 315 0 0 0 0 group "controls_thumbstick_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 textstyle 6 text "@MENU_STRAFE_LEFT_RIGHT" } itemDef { rect 367 375 0 0 0 0 group "controls_thumbstick_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_MOVE_FORWARD_BACK" } itemDef { rect 285 375 0 0 0 0 group "controls_thumbstick_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_LOOK_UP_DOWN" } itemDef { rect 235 315 0 0 0 0 group "controls_thumbstick_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 textstyle 6 text "@MENU_ROTATE_LEFT_RIGHT" } itemDef { rect 240 280 90 90 0 0 group "controls_thumbstick_set3" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_move_turn" textscale 0.55 } itemDef { rect 322 280 90 90 0 0 group "controls_thumbstick_set3" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_move_look" textscale 0.55 } itemDef { rect 412 315 0 0 0 0 group "controls_thumbstick_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 textstyle 6 text "@MENU_STRAFE_LEFT_RIGHT" } itemDef { rect 367 375 0 0 0 0 group "controls_thumbstick_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_LOOK_UP_DOWN" } itemDef { rect 285 375 0 0 0 0 group "controls_thumbstick_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_MOVE_FORWARD_BACK" } itemDef { rect 235 315 0 0 0 0 group "controls_thumbstick_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 textstyle 6 text "@MENU_ROTATE_LEFT_RIGHT" } itemDef { rect 240 280 90 90 0 0 group "controls_thumbstick_set4" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_move_look" textscale 0.55 } itemDef { rect 322 280 90 90 0 0 group "controls_thumbstick_set4" style 3 decoration forecolor 1 1 1 1 background "xenon_stick_move_turn" textscale 0.55 } itemDef { rect 412 315 0 0 0 0 group "controls_thumbstick_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 textstyle 6 text "@MENU_ROTATE_LEFT_RIGHT" } itemDef { rect 367 375 0 0 0 0 group "controls_thumbstick_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_MOVE_FORWARD_BACK" } itemDef { rect 285 375 0 0 0 0 group "controls_thumbstick_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 5 textscale 0.375 textstyle 6 text "@MENU_LOOK_UP_DOWN" } itemDef { rect 235 315 0 0 0 0 group "controls_thumbstick_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 textstyle 6 text "@MENU_STRAFE_LEFT_RIGHT" } itemDef { rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_DEFAULT" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_default"; close "ingamecontrols_thumbstick"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_thumbstick_set1"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_thumbstick_set1"; } } itemDef { rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SOUTHPAW" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_southpaw"; close "ingamecontrols_thumbstick"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_thumbstick_set2"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_thumbstick_set2"; } } itemDef { rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEGACY" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_legacy"; close "ingamecontrols_thumbstick"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_thumbstick_set3"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_thumbstick_set3"; } } itemDef { rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEGACY_SOUTHPAW" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_legacysouthpaw"; close "ingamecontrols_thumbstick"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_thumbstick_set4"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_thumbstick_set4"; } } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -41 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) ) } itemDef { rect -64 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_buttons" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { exec "hidehud" setdvar "ui_allow_controlschange" 0; if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) { setLocalVarBool "ui_buttons_page" ( 1 ); } else { setLocalVarBool "ui_buttons_page" ( 0 ); } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" ) { setfocus "buttons_1"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" ) { setfocus "buttons_2"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" ) { setfocus "buttons_3"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" ) { setfocus "buttons_4"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" ) { setfocus "buttons_5"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) { setfocus "buttons_6"; } } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_buttons"; open "ingame_controls"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_BUTTON_LAYOUT_CAP" } itemDef { rect 147 120 350 350 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "ps3_controller_top" textscale 0.55 } itemDef { rect 147 120 350 350 0 0 group "controls_buttons_set1" style 3 decoration forecolor 1 1 1 1 background "ps3_controller_lines_classic_mp" textscale 0.55 } itemDef { rect 147 120 350 350 0 0 group "controls_buttons_set2" style 3 decoration forecolor 1 1 1 1 background "ps3_controller_lines_classic_mp" textscale 0.55 } itemDef { rect 147 120 350 350 0 0 group "controls_buttons_set3" style 3 decoration forecolor 1 1 1 1 background "ps3_controller_lines_classic_mp" textscale 0.55 } itemDef { rect 147 120 350 350 0 0 group "controls_buttons_set4" style 3 decoration forecolor 1 1 1 1 background "ps3_controller_lines_classic_mp" textscale 0.55 } itemDef { rect 147 120 350 350 0 0 group "controls_buttons_set5" style 3 decoration forecolor 1 1 1 1 background "ps3_controller_lines_classic_mp" textscale 0.55 } itemDef { rect 147 120 350 350 0 0 group "controls_buttons_set6" style 3 decoration forecolor 1 1 1 1 background "ps3_controller_lines_classic_mp" textscale 0.55 } itemDef { name "scoreboard" rect 279 180 38 15 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SCOREBOARD" visible when ( dvarbool( "ui_multiplayer" ) && !localvarbool( "ui_buttons_more_focused" ) ) } itemDef { name "scoreboard" rect 279 180 38 15 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_NOT_USED" visible when ( !dvarbool( "ui_multiplayer" ) && !localvarbool( "ui_buttons_more_focused" ) ) } itemDef { rect 459 348 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_JUMP" } itemDef { rect 454 303 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_CROUCH_PRONE" } itemDef { rect 458 326 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_USE_RELOAD" } itemDef { rect 449 278 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SWITCH_WEAPON" } itemDef { rect 445 214 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_THROW_FRAG_GRENADE" } itemDef { rect 209 214 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_THROW_SPECIAL_GRENADE" } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 171 333 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 167 318 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 201 235 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_AIM_DOWN_SIGHT" } itemDef { rect 452 235 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_FIRE_WEAPON" } itemDef { rect 307 203 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_OBJECTIVES_MENU" } itemDef { rect 247 212 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 217 338 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_SPRINT_HOLD_BREATH" } itemDef { rect 327 394 0 0 0 0 group "controls_buttons_set1" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_MELEE_ATTACK" } itemDef { rect 459 348 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_JUMP" } itemDef { rect 454 303 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_MELEE_ATTACK" } itemDef { rect 458 326 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_USE_RELOAD" } itemDef { rect 449 278 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SWITCH_WEAPON" } itemDef { rect 445 214 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_THROW_FRAG_GRENADE" } itemDef { rect 209 214 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_THROW_SPECIAL_GRENADE" } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 171 333 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 167 318 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 201 235 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_AIM_DOWN_SIGHT" } itemDef { rect 452 235 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_FIRE_WEAPON" } itemDef { rect 307 203 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_OBJECTIVES_MENU" } itemDef { rect 247 212 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 217 338 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_SPRINT_HOLD_BREATH" } itemDef { rect 327 394 0 0 0 0 group "controls_buttons_set2" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_CROUCH_PRONE" } itemDef { rect 459 348 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_JUMP" } itemDef { rect 454 303 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_CROUCH_PRONE" } itemDef { rect 458 326 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_USE_RELOAD" } itemDef { rect 449 278 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SWITCH_WEAPON" } itemDef { rect 445 214 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_THROW_SPECIAL_GRENADE" } itemDef { rect 209 214 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_THROW_FRAG_GRENADE" } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 171 333 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 167 318 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 201 235 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_FIRE_WEAPON" } itemDef { rect 452 235 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_AIM_DOWN_SIGHT" } itemDef { rect 307 203 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_OBJECTIVES_MENU" } itemDef { rect 247 212 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 217 338 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_MELEE_ATTACK" } itemDef { rect 327 394 0 0 0 0 group "controls_buttons_set3" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SPRINT_HOLD_BREATH" } itemDef { rect 459 348 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_JUMP" } itemDef { rect 454 303 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_CROUCH_PRONE" } itemDef { rect 458 326 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_USE_RELOAD" } itemDef { rect 449 278 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SWITCH_WEAPON" } itemDef { rect 445 214 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_FIRE_WEAPON" } itemDef { rect 209 214 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_AIM_DOWN_SIGHT" } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 171 333 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 167 318 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 201 235 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_THROW_SPECIAL_GRENADE" } itemDef { rect 452 235 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_THROW_FRAG_GRENADE" } itemDef { rect 307 203 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_OBJECTIVES_MENU" } itemDef { rect 247 212 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 217 338 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_SPRINT_HOLD_BREATH" } itemDef { rect 327 394 0 0 0 0 group "controls_buttons_set4" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_MELEE_ATTACK" } itemDef { rect 459 348 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_JUMP" } itemDef { rect 454 303 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_MELEE_ATTACK" } itemDef { rect 458 326 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_USE_RELOAD" } itemDef { rect 449 278 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SWITCH_WEAPON" } itemDef { rect 445 214 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_FIRE_WEAPON" } itemDef { rect 209 214 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_AIM_DOWN_SIGHT" } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 171 333 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 167 318 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 201 235 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_THROW_SPECIAL_GRENADE" } itemDef { rect 452 235 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_THROW_FRAG_GRENADE" } itemDef { rect 307 203 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_OBJECTIVES_MENU" } itemDef { rect 247 212 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 217 338 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_SPRINT_HOLD_BREATH" } itemDef { rect 327 394 0 0 0 0 group "controls_buttons_set5" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_CROUCH_PRONE" } itemDef { rect 459 348 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_JUMP" } itemDef { rect 454 303 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_CROUCH_PRONE" } itemDef { rect 458 326 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_USE_RELOAD" } itemDef { rect 449 278 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SWITCH_WEAPON" } itemDef { rect 445 214 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_AIM_DOWN_SIGHT" } itemDef { rect 209 214 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_FIRE_WEAPON" } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 171 333 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 175 300 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 167 318 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 201 235 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_THROW_FRAG_GRENADE" } itemDef { rect 452 235 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_THROW_SPECIAL_GRENADE" } itemDef { rect 307 203 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_OBJECTIVES_MENU" } itemDef { rect 247 212 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 } itemDef { rect 217 338 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 6 textscale 0.375 text "@MENU_MELEE_ATTACK" } itemDef { rect 327 394 0 0 0 0 group "controls_buttons_set6" decoration forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.375 text "@MENU_SPRINT_HOLD_BREATH" } itemDef { name "buttons_1" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_DEFAULT" visible when ( localvarbool( "ui_buttons_page" ) == 0 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_default"; close "ingamecontrols_buttons"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_buttons_set1"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_buttons_set1"; } } itemDef { name "buttons_2" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_TACTICAL" visible when ( localvarbool( "ui_buttons_page" ) == 0 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_tactical"; close "ingamecontrols_buttons"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_buttons_set2"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_buttons_set2"; } } itemDef { name "buttons_3" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEFTY" visible when ( localvarbool( "ui_buttons_page" ) == 0 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_lefty"; close "ingamecontrols_buttons"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_buttons_set3"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_buttons_set3"; } } itemDef { rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_MORE" action { play "mouse_click"; if ( localvarbool( "ui_buttons_page" ) ) { setLocalVarBool "ui_buttons_page" ( 0 ); } else { setLocalVarBool "ui_buttons_page" ( 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" ( getfocuseditemy( ) ); setLocalVarBool "ui_buttons_more_focused" ( 1 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setLocalVarBool "ui_buttons_more_focused" ( 0 ); } } itemDef { name "buttons_4" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_DEFAULT_ALT" visible when ( localvarbool( "ui_buttons_page" ) == 1 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_default_alt"; close "ingamecontrols_buttons"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_buttons_set4"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_buttons_set4"; } } itemDef { name "buttons_5" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_TACTICAL_ALT" visible when ( localvarbool( "ui_buttons_page" ) == 1 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_tactical_alt"; close "ingamecontrols_buttons"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_buttons_set5"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_buttons_set5"; } } itemDef { name "buttons_6" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEFTY_ALT" visible when ( localvarbool( "ui_buttons_page" ) == 1 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_lefty_alt"; close "ingamecontrols_buttons"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); show "controls_buttons_set6"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); hide "controls_buttons_set6"; } } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -41 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) ) } itemDef { rect -64 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_sensitivity" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { setfocus "sensitivity_medium"; exec "hidehud" setdvar "ui_allow_controlschange" 0; } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_sensitivity"; open "ingame_controls"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_SENSITIVITY_CAP" } itemDef { rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LOW" action { play "mouse_click"; exec "exec viewSensitivity_low" close "ingamecontrols_sensitivity"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_MEDIUM" action { play "mouse_click"; exec "exec viewSensitivity_med" close "ingamecontrols_sensitivity"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_HIGH" action { play "mouse_click"; exec "exec viewSensitivity_high" close "ingamecontrols_sensitivity"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sensitivity_custom" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_CUSTOM" action { play "mouse_click"; close "ingamecontrols_sensitivity"; open "ingamecontrols_sensitivity_custom"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -41 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) ) } itemDef { rect -64 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_sensitivity_custom" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { setfocus "sensitivity_medium"; if ( getprofiledata( "viewSensitivity" ) == 0.6 ) { setfocus "sens_1"; } if ( getprofiledata( "viewSensitivity" ) == 1 ) { setfocus "sens_2"; } if ( getprofiledata( "viewSensitivity" ) == 1.4 ) { setfocus "sens_3"; } if ( getprofiledata( "viewSensitivity" ) == 1.8 ) { setfocus "sens_4"; } if ( getprofiledata( "viewSensitivity" ) == 2 ) { setfocus "sens_5"; } if ( getprofiledata( "viewSensitivity" ) == 2.2 ) { setfocus "sens_6"; } if ( getprofiledata( "viewSensitivity" ) == 2.6 ) { setfocus "sens_7"; } if ( getprofiledata( "viewSensitivity" ) == 3 ) { setfocus "sens_8"; } if ( getprofiledata( "viewSensitivity" ) == 3.5 ) { setfocus "sens_9"; } if ( getprofiledata( "viewSensitivity" ) == 4 ) { setfocus "sens_10"; } exec "hidehud" setdvar "ui_allow_controlschange" 0; } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_sensitivity_custom"; open "ingamecontrols_sensitivity"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_SENSITIVITY_CUSTOM_CAP" } itemDef { name "sens_1" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_LOW_N" , 1 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 0.6"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_2" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_MEDIUM_N" , 2 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 1"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_3" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 3 ) action { play "mouse_click"; exec "profile_setViewSensitivity 1.4"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_4" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_HIGH_N" , 4 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 1.8"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_5" rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 5 ) action { play "mouse_click"; exec "profile_setViewSensitivity 2.0"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -64 128 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 6 ) action { play "mouse_click"; exec "profile_setViewSensitivity 2.2"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_7" rect -64 148 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_VERY_HIGH_N" , 7 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 2.6"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_8" rect -64 168 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 8 ) action { play "mouse_click"; exec "profile_setViewSensitivity 3.0"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_9" rect -64 188 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 9 ) action { play "mouse_click"; exec "profile_setViewSensitivity 3.5"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_10" rect -64 208 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_INSANE_N" , 10 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 4.0"; close "ingamecontrols_sensitivity_custom"; open "ingame_controls"; } onFocus { play "mouse_over"; if ( dvarstring( "gameMode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -41 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) ) } itemDef { rect -64 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_brightness" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { execnow "profile_menuDvarsSetup; resetViewport"; exec "hidehud" setdvar "ui_allow_controlschange" 0; } onClose { execnow "profile_menuDvarsFinish; resetViewport"; exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_brightness"; open "ingame_controls"; } itemDef { rect 0 0 640 480 4 4 style 1 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( dvarbool( "hiDef" ) ) } itemDef { rect 0 0 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_top" textscale 0.55 visible when ( dvarbool( "hiDef" ) ) } itemDef { rect 0 400 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_bottom" textscale 0.55 visible when ( dvarbool( "hiDef" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_BRIGHTNESS_CAP" } itemDef { rect -88 36 -20 40 2 1 group "safe_area_demo_lr" style 3 decoration visible 1 forecolor 0 0 0 0.35 background "summary_arrow" textscale 0.55 } itemDef { rect 68 36 20 40 2 1 group "safe_area_demo_lr" style 3 decoration visible 1 forecolor 0 0 0 0.35 background "summary_arrow" textscale 0.55 } itemDef { name "slider_r_gamma" rect -160 48 320 20 2 1 visible 1 forecolor 1 1 1 1 type 10 textalign 5 textscale 0.55 dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4 action { execnow "profile_menuDvarsFinish" ;; setLocalVarBool "ui_brightness_adjusted" ( 1 ); } onFocus { play "mouse_over"; setItemColor "button_r_gamma" backcolor 0 0 0 1; setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" ); } leaveFocus { setItemColor "button_r_gamma" backcolor 0 0 0 "0.0"; } } itemDef { rect -160 368 320 20 2 1 group "brightness_demo" decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 textstyle 3 text "@PLATFORM_UI_PRESS_TO_CONTINUE" visible when ( localvarbool( "ui_brightness_adjusted" ) ) } itemDef { rect -160 88 320 20 2 1 group "brightness_demo" decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 3 textalign 5 textscale 0.375 textstyle 3 text "@MENU_BRIGHTNESS_DESC1" } itemDef { rect -160 108 320 20 2 1 group "brightness_demo" decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 3 textalign 5 textscale 0.375 textstyle 3 text "@MENU_BRIGHTNESS_DESC2" visible when ( dvarbool( "hiDef" ) ) } itemDef { rect -150 154 285 60 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 backcolor 0 0 0 1 textscale 0.55 exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) exp material ( "white" ) } itemDef { rect -150 214 285 60 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 backcolor 0 0 0 1 textscale 0.55 exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) exp material ( "white" ) } itemDef { rect -150 274 285 60 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 backcolor 0 0 0 1 textscale 0.55 exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) exp material ( "white" ) } itemDef { rect -150 154 300 60 2 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 2 textalign 9 textscale 0.5833 exp text ( "@MENU_BRIGHTNESS_NOT_VISIBLE" ) } itemDef { rect -150 214 300 60 2 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 2 textalign 9 textscale 0.5833 exp text ( "@MENU_BRIGHTNESS_BARELY_VISIBLE" ) } itemDef { rect -150 274 300 60 2 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 2 textalign 9 textscale 0.5833 exp text ( "@MENU_BRIGHTNESS_EASILY_VISIBLE" ) } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingame_controls_splitscreen" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { exec "hidehud"; setdvar "ui_allow_controlschange" 0; execnow "profile_menuDvarsSetup; resetViewport" ;; } onClose { execnow "profile_menuDvarsFinish; resetViewport"; exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { exec "showhud"; scriptmenuresponse "back"; exec "updategamerprofile"; close self; open "pausedmenu"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 4 textscale 0.5 text "@MENU_OPTIONS_UPPER_CASE" } itemDef { rect 0 133 272 18 1 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 3 textalign 5 textaligny 20 textscale 0.375 exp text ( localvarstring( "ui_options_hint_text" ) ) } itemDef { rect -178 22 336 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "menu_button_selection_bar" textfont 1 textalign 10 textalignx -41 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) ) visible when ( !localvarint( "ui_centerPopup" ) ) } itemDef { rect -178 22 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_THUMBSTICK_LAYOUT_CAPS" action { play "mouse_click"; close "ingame_controls_splitscreen"; open "ingamecontrols_thumbstick_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_STICK_LAYOUT_DESC" ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 134 22 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DEFAULT" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_default" ) } itemDef { rect 134 22 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_SOUTHPAW" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_southpaw" ) } itemDef { rect 134 22 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEGACY" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacy" ) } itemDef { rect 134 22 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEGACY_SOUTHPAW" visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacysouthpaw" ) } itemDef { rect -178 42 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_BUTTON_LAYOUT_CAPS" action { play "mouse_click"; close "ingame_controls_splitscreen"; open "ingamecontrols_buttons_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_BUTTON_LAYOUT_DESC" ); if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) { setLocalVarBool "ui_buttons_page" ( 1 ); } else { setLocalVarBool "ui_buttons_page" ( 0 ); } } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 134 42 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DEFAULT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" ) } itemDef { rect 134 42 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_TACTICAL" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" ) } itemDef { rect 134 42 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEFTY" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" ) } itemDef { rect 134 42 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DEFAULT_ALT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" ) } itemDef { rect 134 42 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_TACTICAL_ALT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" ) } itemDef { rect 134 42 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LEFTY_ALT" visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) } itemDef { rect -178 62 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LOOK_SENSITIVITY_CAPS" action { play "mouse_click"; close "ingame_controls_splitscreen"; open "ingamecontrols_sensitivity_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_SENSITIVITY_DESC" ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 134 62 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_LOW" visible when ( getprofiledata( "viewSensitivity" ) == 0.6 ) } itemDef { rect 134 62 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_MEDIUM" visible when ( getprofiledata( "viewSensitivity" ) == 1 ) } itemDef { rect 134 62 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_HIGH" visible when ( getprofiledata( "viewSensitivity" ) == 1.8 ) } itemDef { rect 134 62 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_CUSTOM" visible when ( getprofiledata( "viewSensitivity" ) != 0.6 && getprofiledata( "viewSensitivity" ) != 1 && getprofiledata( "viewSensitivity" ) != 1.8 ) } itemDef { rect -178 82 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LOOK_INVERSION_CAPS" action { play "mouse_click"; exec "profile_toggleInvertedPitch"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_LOOK_INVERSION_DESC" ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 134 82 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "invertedPitch" ) ) } itemDef { rect 134 82 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "invertedPitch" ) ) } itemDef { rect -178 102 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_CONTROLLER_VIBRATION_CAPS" action { play "mouse_click"; exec "profile_toggleRumble"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VIBRATION_DESC" ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 134 102 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "rumble" ) ) } itemDef { rect 134 102 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "rumble" ) ) } itemDef { rect -178 122 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_AIM_ASSIST_CAPS" action { play "mouse_click"; execnow "profile_toggleAutoAim"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_AIM_ASSIST_DESC" ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 134 122 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_ENABLED" visible when ( getprofiledata( "autoAim" ) ) } itemDef { rect 134 122 128 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 0.65 backcolor 1 1 1 0 background "white" textfont 3 textalign 4 textscale 0.375 text "@MENU_DISABLED" visible when ( !getprofiledata( "autoAim" ) ) } itemDef { rect 0 268 0 80 3 1 group "brightness_demo" decoration autowrapped forecolor 1 1 1 0.65 textfont 3 textalign 5 textscale 0.375 text "@MENU_BRIGHTNESS_DESC2" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) } itemDef { rect 0 28 0 80 3 1 group "brightness_demo" style 1 decoration autowrapped forecolor 0 0 0 1 backcolor 0 0 0 1 background "white" textfont 2 textalign 9 textscale 0.5833 text "@MENU_BRIGHTNESS_NOT_VISIBLE" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) } itemDef { rect 0 108 0 80 3 1 group "brightness_demo" style 1 decoration autowrapped forecolor 0 0 0 1 backcolor 0 0 0 1 background "white" textfont 2 textalign 9 textscale 0.5833 text "@MENU_BRIGHTNESS_BARELY_VISIBLE" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) } itemDef { rect 0 188 0 80 3 1 group "brightness_demo" style 1 decoration autowrapped forecolor 0 0 0 1 backcolor 0 0 0 1 background "white" textfont 2 textalign 9 textscale 0.5833 text "@MENU_BRIGHTNESS_EASILY_VISIBLE" exp rect x ( 0 - ( 160 + dvarbool( "wideScreen" ) * 160 ) ) exp rect w ( 160 + dvarbool( "wideScreen" ) * 160 ) exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) } itemDef { rect -178 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_thumbstick_splitscreen" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { exec "hidehud"; setdvar "ui_allow_controlschange" 0; } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_thumbstick_splitscreen"; open "ingame_controls_splitscreen"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 4 textscale 0.5 text "@MENU_STICK_LAYOUT_CAP" } itemDef { rect -178 22 336 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "menu_button_selection_bar" textfont 1 textalign 10 textalignx -41 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) ) visible when ( !localvarint( "ui_centerPopup" ) ) } itemDef { rect -178 22 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_DEFAULT" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_default"; close "ingamecontrols_thumbstick_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 42 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SOUTHPAW" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_southpaw"; close "ingamecontrols_thumbstick_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 62 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEGACY" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_legacy"; close "ingamecontrols_thumbstick_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 82 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEGACY_SOUTHPAW" action { play "mouse_click"; exec "profile_setSticksConfig thumbstick_legacysouthpaw"; close "ingamecontrols_thumbstick_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_buttons_splitscreen" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { exec "hidehud" setdvar "ui_allow_controlschange" 0; if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) { setLocalVarBool "ui_buttons_page" ( 1 ); } else { setLocalVarBool "ui_buttons_page" ( 0 ); } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" ) { setfocus "buttons_1"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" ) { setfocus "buttons_2"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" ) { setfocus "buttons_3"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" ) { setfocus "buttons_4"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" ) { setfocus "buttons_5"; } if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" ) { setfocus "buttons_6"; } } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 4 textscale 0.5 text "@MENU_BUTTON_LAYOUT_CAP" } itemDef { rect -178 22 336 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "menu_button_selection_bar" textfont 1 textalign 10 textalignx -41 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) ) visible when ( !localvarint( "ui_centerPopup" ) ) } itemDef { name "buttons_1" rect -178 22 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_DEFAULT" visible when ( localvarbool( "ui_buttons_page" ) == 0 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_default"; close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "buttons_2" rect -178 42 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_TACTICAL" visible when ( localvarbool( "ui_buttons_page" ) == 0 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_tactical"; close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "buttons_3" rect -178 62 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEFTY" visible when ( localvarbool( "ui_buttons_page" ) == 0 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_lefty"; close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 82 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_MORE" action { play "mouse_click"; if ( localvarbool( "ui_buttons_page" ) ) { setLocalVarBool "ui_buttons_page" ( 0 ); } else { setLocalVarBool "ui_buttons_page" ( 1 ); } } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarBool "ui_buttons_more_focused" ( 1 ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); setLocalVarBool "ui_buttons_more_focused" ( 0 ); } } itemDef { name "buttons_4" rect -178 22 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_DEFAULT_ALT" visible when ( localvarbool( "ui_buttons_page" ) == 1 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_default_alt"; close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "buttons_5" rect -178 42 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_TACTICAL_ALT" visible when ( localvarbool( "ui_buttons_page" ) == 1 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_tactical_alt"; close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "buttons_6" rect -178 62 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LEFTY_ALT" visible when ( localvarbool( "ui_buttons_page" ) == 1 ) action { play "mouse_click"; exec "profile_setButtonsConfig buttons_lefty_alt"; close "ingamecontrols_buttons_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_sensitivity_splitscreen" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { setfocus "sensitivity_medium"; exec "hidehud" setdvar "ui_allow_controlschange" 0; } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_sensitivity_splitscreen"; open "ingame_controls_splitscreen"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 4 textscale 0.5 text "@MENU_SENSITIVITY_CAP" } itemDef { rect -178 22 336 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "menu_button_selection_bar" textfont 1 textalign 10 textalignx -41 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) ) visible when ( !localvarint( "ui_centerPopup" ) ) } itemDef { rect -178 22 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_LOW" action { play "mouse_click"; exec "exec viewSensitivity_low" close "ingamecontrols_sensitivity_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 42 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_MEDIUM" action { play "mouse_click"; exec "exec viewSensitivity_med" close "ingamecontrols_sensitivity_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 62 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_HIGH" action { play "mouse_click"; exec "exec viewSensitivity_high" close "ingamecontrols_sensitivity_splitscreen"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_sensitivity_splitscreen_custom" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.66667 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { setfocus "sensitivity_medium"; if ( getprofiledata( "viewSensitivity" ) == 0.6 ) { setfocus "sens_1"; } if ( getprofiledata( "viewSensitivity" ) == 1 ) { setfocus "sens_2"; } if ( getprofiledata( "viewSensitivity" ) == 1.4 ) { setfocus "sens_3"; } if ( getprofiledata( "viewSensitivity" ) == 1.8 ) { setfocus "sens_4"; } if ( getprofiledata( "viewSensitivity" ) == 2 ) { setfocus "sens_5"; } if ( getprofiledata( "viewSensitivity" ) == 2.2 ) { setfocus "sens_6"; } if ( getprofiledata( "viewSensitivity" ) == 2.6 ) { setfocus "sens_7"; } if ( getprofiledata( "viewSensitivity" ) == 3 ) { setfocus "sens_8"; } if ( getprofiledata( "viewSensitivity" ) == 3.5 ) { setfocus "sens_9"; } if ( getprofiledata( "viewSensitivity" ) == 4 ) { setfocus "sens_10"; } exec "hidehud" setdvar "ui_allow_controlschange" 0; } onClose { exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingamecontrols_sensitivity_splitscreen"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) visible when ( !localvarbool( "ui_adjusting_brightness" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_SENSITIVITY_CUSTOM_CAP" } itemDef { rect -64 28 336 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "menu_button_selection_bar" textfont 1 textalign 10 textalignx -41 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) ) visible when ( !localvarint( "ui_centerPopup" ) ) } itemDef { name "sens_1" rect -64 28 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_LOW_N" , 1 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 0.6"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_2" rect -64 48 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_MEDIUM_N" , 2 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 1"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_3" rect -64 68 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 3 ) action { play "mouse_click"; exec "profile_setViewSensitivity 1.4"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_4" rect -64 88 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_HIGH_N" , 4 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 1.8"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_5" rect -64 108 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 5 ) action { play "mouse_click"; exec "profile_setViewSensitivity 2.0"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -64 128 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 6 ) action { play "mouse_click"; exec "profile_setViewSensitivity 2.2"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_7" rect -64 148 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_VERY_HIGH_N" , 7 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 2.6"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_8" rect -64 168 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 8 ) action { play "mouse_click"; exec "profile_setViewSensitivity 3.0"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_9" rect -64 188 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( 9 ) action { play "mouse_click"; exec "profile_setViewSensitivity 3.5"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "sens_10" rect -64 208 336 20 1 1 style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 exp text ( locstring( "@MENU_SENSITIVITY_INSANE_N" , 10 ) ) action { play "mouse_click"; exec "profile_setViewSensitivity 4.0"; close "ingamecontrols_sensitivity_splitscreen_custom"; open "ingame_controls_splitscreen"; } onFocus { play "mouse_over"; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -178 -20 336 24 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -30 textscale 0.375 text "@PLATFORM_BACK_CAPS" } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingamecontrols_brightness_splitscreen" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { execnow "profile_menuDvarsSetup; resetViewport"; exec "hidehud" setdvar "ui_allow_controlschange" 0; } onClose { execnow "profile_menuDvarsFinish; resetViewport"; exec "showhud"; setdvar "ui_allow_controlschange" 1; } onEsc { close "ingamecontrols_brightness_splitscreen"; } itemDef { rect 0 0 640 480 4 4 style 1 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( dvarbool( "hiDef" ) ) } itemDef { rect 0 0 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_top" textscale 0.55 visible when ( dvarbool( "hiDef" ) ) } itemDef { rect 0 400 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_bottom" textscale 0.55 visible when ( dvarbool( "hiDef" ) ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_BRIGHTNESS_CAP" } itemDef { rect -64 28 336 20 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "menu_button_selection_bar" textfont 1 textalign 10 textalignx -41 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) ) exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) ) visible when ( !localvarint( "ui_centerPopup" ) ) } itemDef { rect -88 36 -20 40 2 1 group "safe_area_demo_lr" style 3 decoration visible 1 forecolor 0 0 0 0.35 background "summary_arrow" textscale 0.55 } itemDef { rect 68 36 20 40 2 1 group "safe_area_demo_lr" style 3 decoration visible 1 forecolor 0 0 0 0.35 background "summary_arrow" textscale 0.55 } itemDef { name "slider_r_gamma" rect -160 48 320 20 2 1 visible 1 forecolor 1 1 1 1 type 10 textalign 5 textscale 0.55 dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4 action { execnow "profile_menuDvarsFinish" ;; setLocalVarBool "ui_brightness_adjusted" ( 1 ); } onFocus { play "mouse_over"; setItemColor "button_r_gamma" backcolor 0 0 0 1; setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" ); } leaveFocus { setItemColor "button_r_gamma" backcolor 0 0 0 "0.0"; } } itemDef { rect -160 368 320 20 2 1 group "brightness_demo" decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 textstyle 3 text "@PLATFORM_UI_PRESS_TO_CONTINUE" visible when ( localvarbool( "ui_brightness_adjusted" ) ) } itemDef { rect -160 88 320 20 2 1 group "brightness_demo" decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 3 textalign 5 textscale 0.375 textstyle 3 text "@MENU_BRIGHTNESS_DESC1" } itemDef { rect -160 108 320 20 2 1 group "brightness_demo" decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 3 textalign 5 textscale 0.375 textstyle 3 text "@MENU_BRIGHTNESS_DESC2" visible when ( dvarbool( "hiDef" ) ) } itemDef { rect -150 190 285 60 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 backcolor 0 0 0 1 textscale 0.55 exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) exp material ( "white" ) } itemDef { rect -150 250 285 60 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 backcolor 0 0 0 1 textscale 0.55 exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) exp material ( "white" ) } itemDef { rect -150 310 285 60 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 backcolor 0 0 0 1 textscale 0.55 exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) ) exp material ( "white" ) } itemDef { rect -150 190 300 60 2 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 2 textalign 9 textscale 0.5833 exp text ( "@MENU_BRIGHTNESS_NOT_VISIBLE" ) } itemDef { rect -150 250 300 60 2 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 2 textalign 9 textscale 0.5833 exp text ( "@MENU_BRIGHTNESS_BARELY_VISIBLE" ) } itemDef { rect -150 310 300 60 2 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 2 textalign 9 textscale 0.5833 exp text ( "@MENU_BRIGHTNESS_EASILY_VISIBLE" ) } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "ingameoptions" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 4.8 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { setdvar "ui_version_show" 0; exec "hidehud" "profileshow" "selectSaveDevice"; setdvar "ui_cheats_hint" ""; } onClose { exec "showhud"; } onEsc { open "pausedmenu"; close "ingameoptions"; exec "showhud"; exec "updategamerprofile"; } itemDef { rect 0 0 640 480 4 4 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.75 textscale 0.55 } itemDef { rect 0 0 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_top" textscale 0.55 } itemDef { rect 0 480 854 75 4 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "gradient_bottom" textscale 0.55 } itemDef { rect -120 0 420 68 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 ) } itemDef { rect 300 0 16 -68 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "button_highlight_end" textscale 0.55 visible when ( 1 ) } itemDef { rect -120 414 1200 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 && 0 ) } itemDef { rect -120 416 420 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 && ( 0 == 0 ) ) } itemDef { rect 300 416 16 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "button_highlight_end" textscale 0.55 visible when ( 1 && ( 0 == 0 ) ) } itemDef { rect 316 432 440 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 && ( 0 == 0 ) ) } itemDef { name "change_filter" rect 90 -4 0 0 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@PLATFORM_CHANGE_FILTER" visible when ( 0 ) execKey "BUTTON_Y" { play "mouse_click"; execnow "toggle lb_filter 0 1"; } } itemDef { name "goto_top" rect -40 -4 0 0 2 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 1 textscale 0.375 text "@PLATFORM_GOTOTOP" visible when ( 0 ) } itemDef { name "accept_button" rect 44 -4 0 0 2 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 1 textscale 0.375 text "@PLATFORM_SELECT" visible when ( 0 ) } itemDef { name "refresh" rect -20 -4 0 0 2 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 2 textscale 0.375 text "@PLATFORM_REFRESH" visible when ( 0 ) } itemDef { name "pgup" rect -180 -4 0 0 3 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@PLATFORM_PGUP" visible when ( 0 ) } itemDef { name "pgdown" rect -90 -4 0 0 3 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@PLATFORM_PGDOWN" visible when ( 0 ) } itemDef { rect 0 -20 16 16 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "ui_arrow_left" textscale 0.55 } itemDef { rect 18 -4 0 0 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 12 textscale 0.375 text "@PLATFORM_BACK" visible when ( ( !menuisopen( "menu_cac_assault" ) && !menuisopen( "menu_cac_heavygunner" ) && !menuisopen( "menu_cac_sniper" ) && !menuisopen( "menu_cac_specops" ) && !menuisopen( "menu_cac_demolitions" ) ) ) } itemDef { rect 18 -4 0 0 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 12 textscale 0.375 text "@PLATFORM_SAVECUSTOMMODE" visible when ( ( menuisopen( "menu_cac_assault" ) || menuisopen( "menu_cac_heavygunner" ) || menuisopen( "menu_cac_sniper" ) || menuisopen( "menu_cac_specops" ) || menuisopen( "menu_cac_demolitions" ) ) ) } itemDef { rect 48 40 0 0 0 0 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 1 textalign 4 textscale 0.5833 textstyle 6 exp text ( "@MENU_OPTIONS_UPPER_CASE" ) } itemDef { rect 0 34 218.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 218.5 34 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 0 34 218.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 218.5 34 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect -4 35 224 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { name "autoaim" rect 0 34 224 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 exp text ( "@MENU_AIM_ASSIST" ) action { play "mouse_click"; exec "toggle input_autoaim" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 0 58 218.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 218.5 58 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 0 58 218.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 218.5 58 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect -4 59 224 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { name "subtitles" rect 0 58 224 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 exp text ( "@MENU_SUBTITLES" ) action { play "mouse_click"; exec "toggle cg_subtitles" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 0 82 218.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 218.5 82 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 0 82 218.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 218.5 82 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 100000 83 224 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 0 82 224 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 exp text ( "@MENU_VOLUME" ) } itemDef { rect 0 82 344 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 10 textalign 8 textalignx 244 textscale 0.4583 textstyle 3 dvarFloat "snd_volume" 0.8 0 0.8 action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 0 106 218.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 218.5 106 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 0 106 218.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 218.5 106 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect -4 107 224 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 0 106 224 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 exp text ( "@MENU_BRIGHTNESS" ) action { play "mouse_click"; close "ingameoptions"; open "ingamecontrols_brightness" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 0 130 218.5 8 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "gradient_fadein" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 140 218.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( !dvarbool( "arcademode" ) && !dvarbool( "arcademode_full" ) ) exp material ( "gradient_fadein" ) } itemDef { rect 218.5 140 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( !dvarbool( "arcademode" ) && !dvarbool( "arcademode_full" ) ) } itemDef { rect 0 140 218.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 218.5 140 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect -4 141 224 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 0 140 224 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( !dvarbool( "arcademode" ) && !dvarbool( "arcademode_full" ) ) exp text ( "@MENU_CHEATS_LOWCASE" ) action { play "mouse_click"; open "menu_special_features" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 0 140 218.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( dvarbool( "arcademode" ) || dvarbool( "arcademode_full" ) ) exp material ( "gradient_fadein" ) } itemDef { rect 218.5 140 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( dvarbool( "arcademode" ) || dvarbool( "arcademode_full" ) ) } itemDef { rect 0 140 224 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( dvarbool( "arcademode" ) || dvarbool( "arcademode_full" ) ) exp text ( "@MENU_CHEATS_LOWCASE" ) } itemDef { name "desc_arrow" rect 2 246 10 10 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "ui_arrow_right" textscale 0.55 visible when ( dvarstring( "ui_cheats_hint" ) != "" ) } itemDef { rect 14 244 240 40 1 1 decoration autowrapped visible 1 forecolor 1 1 1 0.5 textaligny 16 textscale 0.375 exp text ( dvarstring( "ui_cheats_hint" ) ) } itemDef { rect 246 34 64 22 1 1 style 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 textfont 1 textalign 8 textscale 0.4583 textstyle 3 visible when ( dvarstring( "input_autoaim" ) == "1" ) exp text ( "@MENU_ENABLED" ) } itemDef { rect 246 34 64 22 1 1 style 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 textfont 1 textalign 8 textscale 0.4583 textstyle 3 visible when ( dvarstring( "input_autoaim" ) == "0" ) exp text ( "@MENU_DISABLED" ) } itemDef { rect 246 58 64 22 1 1 style 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 textfont 1 textalign 8 textscale 0.4583 textstyle 3 visible when ( dvarstring( "cg_subtitles" ) == "1" ) exp text ( "@MENU_ENABLED" ) } itemDef { rect 246 58 64 22 1 1 style 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 textfont 1 textalign 8 textscale 0.4583 textstyle 3 visible when ( dvarstring( "cg_subtitles" ) == "0" ) exp text ( "@MENU_DISABLED" ) } } menuDef { name "pregame" rect 0 0 640 480 0 0 style 1 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setdvar "ui_SaveLoadVisible" 0; setfocus "press_to_skip"; } onEsc { uiScript "playerstart"; } itemDef { rect -107 0 854 480 0 0 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 1 background "white" textscale 0.55 } itemDef { rect -107 0 854 480 0 0 style 1 ownerdraw 277 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "cinematic" type 8 textscale 0.55 } itemDef { rect -225 352 450 0 2 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textalign 5 textscale 0.38 textstyle 3 text "cinematicsubtitle" textcinematicsubtitle 2 } itemDef { name "profile" rect 40 40 560 400 0 0 ownerdraw 264 decoration visible 1 forecolor 1 1 1 1 type 8 textscale 0.55 } itemDef { rect -128 445 896 45 0 0 style 1 decoration visible 1 forecolor 1 1 1 1 bordercolor 1 1 1 1 type 1 textalign 5 textaligny 28 textscale 0.5833 } itemDef { name "press_to_skip" rect -130 -2 900 486 0 0 visible 1 type 1 textscale 0.55 execKey "BUTTON_START" { uiScript "playerstart"; } execKey "BUTTON_B" { uiScript "playerstart"; } execKey "BUTTON_A" { uiScript "playerstart"; } action { uiScript "playerstart"; } } itemDef { rect -100 0 100 600 1 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 -600 100 600 3 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect -900 -100 900 100 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 0 0 900 100 1 3 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.5 0.6 0.8 0.5 textscale 0.55 dvarTest "ui_safearea" showDvar { 1 } } itemDef { rect 390 56 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarString" ) != "" ) exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarInt" ) != "" ) exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) ) } itemDef { rect 390 72 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 visible when ( dvarstring( "ui_debug_localVarBool" ) != "" ) exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) ) } } menuDef { name "savegameloading" rect 0 0 640 480 0 0 popup forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { "saveDelay"; } itemDef { name "savingMsg" rect 0 64 640 120 0 0 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 1 textscale 0.5833 text "@CGAME_NOW_SAVING" visible when ( dvarbool( "sv_saveDeviceAvailable" ) ) } } menuDef { name "savegameinfo" rect 0 0 0 0 1 1 visible 1 forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { "saveDelay"; "writeSave"; } onClose { uiScript "saveComplete"; } itemDef { name "backdrop" rect -1 -1 1 1 1 1 ownerdraw 101 decoration visible 1 forecolor 0 0 0 0.75 type 8 textscale 0.55 } itemDef { name "savingMsg" rect 40 46 128 20 1 1 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textscale 0.5833 text "@CGAME_NOW_SAVING" visible when ( dvarbool( "sv_saveDeviceAvailable" ) ) } } menuDef { name "savegame_warning" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "re"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; close "savegame_warning"; open "pausedmenu"; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_CONTINUE_SAVING" } itemDef { rect -146 -84 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( locstring( "@MENU_SAVEQUIT_TEXT_1" ) + locstring( "@MENU_SAVEQUIT_TEXT_2" ) + locstring( "@MENU_SAVEQUIT_TEXT_3" ) ) } itemDef { name "re" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_RESUMEGAME" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; close "savegame_warning"; close "pausedmenu"; uiScript "saveRevert"; } 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 ); } } itemDef { name "rs" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@CGAME_CONTINUE_SAVING" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; close "savegame_warning"; "setSaveExecOnSuccess" "disconnect" open "savegameinfo"; setdvar "ui_skipMainLockout" 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "savegame_warning_arcade" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "re"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; close "savegame_warning_arcade"; open "pausedmenu"; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_QUIT" } itemDef { rect -146 -84 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( "@MENU_QUIT_WARNING_ARCADE" ) } itemDef { name "re" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_RESUMEGAME" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; close "savegame_warning_arcade"; close "pausedmenu"; } 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 ); } } itemDef { name "rs" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@PLATFORM_QUIT" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; close "savegame_warning_arcade"; exec "disconnect"; } 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "savegame_warning_noprofile" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "re"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; close "savegame_warning_noprofile"; open "pausedmenu"; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_QUIT" } itemDef { rect -146 -84 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( "@MENU_QUIT_WARNING" ) } itemDef { name "re" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_RESUMEGAME" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; close "savegame_warning_noprofile"; close "pausedmenu"; } 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 ); } } itemDef { name "rs" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@PLATFORM_QUIT" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; close "savegame_warning_noprofile"; exec "disconnect"; } 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "savegame_warning_noprofile1" rect 0 0 0 0 1 1 visible 1 forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 itemDef { name "backdrop" rect -1 -1 1 1 1 1 ownerdraw 101 decoration visible 1 forecolor 0 0 0 0.7 type 8 textscale 0.55 } itemDef { name "warningMsg" rect -180 -40 120 120 2 2 decoration visible 1 forecolor 1 1 1 1 textscale 0.4583 text "@MENU_QUIT_WARNING" hideDvar { 0 } } itemDef { name "resumegame" rect -150 75 140 15 2 2 group "pauseoptions" visible 1 forecolor 0.9 0.9 0.9 0.9 type 1 textscale 0.4583 text "@MENU_RESUMEGAME" dvarTest "cg_drawpaused" hideDvar { 0 } action { play "mouse_click"; close "savegame_warning_noprofile"; } onFocus { play "mouse_over"; } } itemDef { name "saveandquit" rect -150 115 130 15 2 2 group "pauseoptions" visible 1 forecolor 0.9 0.9 0.9 0.9 type 1 textscale 0.4583 text "@PLATFORM_QUIT" hideDvar { 0 } action { play "mouse_click"; close "savegame_warning_noprofile"; exec "disconnect"; } onFocus { play "mouse_over"; } } } menuDef { name "savegame_error" rect -150 -144 300 144 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "selectsavedevice"; close "savegameinfo" close "savegameloading"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); setdvar "cl_paused" 0; } onEsc { close self; } itemDef { rect -1004 -624 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -624 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -144 300 144 2 2 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 -150 -144 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -144 -1708 -480 2 2 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 -150 -144 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 6 * 20 ) ) } itemDef { rect -150 -144 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -144 -1708 -480 2 2 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 -150 -144 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 6 * 20 ) ) } itemDef { rect -214 -208 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -208 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -208 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -144 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 6 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -144 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -144 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -144 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 6 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -144 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 6 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -144 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@PLATFORM_SAVE_ERROR" } itemDef { name "selectsavedevice" rect -146 -80 292 20 2 2 group "pauseoptions" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@PLATFORM_SELECT_SAVE_DEVICE" dvarTest "sv_saveDeviceAvailable" hideDvar { 1 } action { play "mouse_click"; execnow "force_select_save_device"; } 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 ); } } itemDef { name "retry" rect -146 -80 292 20 2 2 group "pauseoptions" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_RETRY_SAVE" dvarTest "sv_saveDeviceAvailable" hideDvar { 0 } action { play "mouse_click"; close "savegame_error"; open "savegameinfo"; } 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 ); } } itemDef { name "resumegame" rect -146 -60 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_RESUMEGAME_NOSAVE" action { play "mouse_click"; uiScript "saveRevert"; close "savegame_error"; } 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 ); } } itemDef { name "quit" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_QUIT_NO_SAVE" action { play "mouse_click"; uiScript "saveRevert"; close "savegame_error"; open "savegame_warning_noprofile"; } 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 ); } } itemDef { name "selectsavedevice2" rect -146 -20 292 20 2 2 group "pauseoptions" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@PLATFORM_SELECT_SAVE_DEVICE" dvarTest "sv_saveDeviceAvailable" hideDvar { 0 } action { play "mouse_click"; execnow "force_select_save_device"; } 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 ); } } itemDef { rect -150 -144 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 6 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "sp_acceptinvite_warning" rect 204 135 235 160 0 0 style 1 border 1 popup forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 onOpen { focusfirst; } onEsc { close "sp_acceptinvite_warning"; open "pausedmenu"; } itemDef { name "backimage2fade" rect 44 137 555 180 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "popmenu_bg" textscale 0.55 } itemDef { name "confirm" rect 330 160 110 20 0 0 decoration visible 1 forecolor 1 0.8 0.4 1 textalign 1 textalignx -62 textaligny 5 textscale 0.5833 text "@MENU_CONTINUE_SAVING" visible when ( ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) } itemDef { name "txt" rect 274 170 110 20 0 0 style 1 decoration visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -5 textaligny 19 textscale 0.35 text "@MENU_SAVEQUIT_TEXT_1" visible when ( ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) } itemDef { name "txt" rect 274 185 110 20 0 0 style 1 decoration visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -5 textaligny 19 textscale 0.35 text "@MENU_SAVEQUIT_TEXT_2" visible when ( ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) } itemDef { name "txt" rect 274 200 110 20 0 0 style 1 decoration visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -5 textaligny 19 textscale 0.35 text "@MENU_SAVEQUIT_TEXT_3" visible when ( ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) } itemDef { name "resumegame" rect 274 235 220 15 0 0 style 1 visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -60 textaligny 19 textscale 0.4583 text "@MENU_RESUMEGAME" visible when ( ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) action { play "mouse_click"; close "sp_acceptinvite_warning"; close "pausedmenu"; uiScript "saveRevert"; } onFocus { play "mouse_over"; } } itemDef { name "saveandquit" rect 274 260 220 15 0 0 style 1 visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -60 textaligny 19 textscale 0.4583 text "@CGAME_CONTINUE_SAVING" visible when ( ( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) action { play "mouse_click"; close "sp_acceptinvite_warning"; "setSaveExecOnSuccess" "disconnect" open "savegameinfo"; setdvar "ui_skipMainLockout" 1; } onFocus { play "mouse_over"; } } itemDef { name "confirm" rect 330 160 110 20 0 0 decoration visible 1 forecolor 1 0.8 0.4 1 textalign 1 textalignx -62 textscale 0.4583 text "@MENU_QUIT_WARNING_ARCADE" visible when ( !( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) } itemDef { name "confirm" rect 330 160 110 20 0 0 decoration visible 1 forecolor 1 0.8 0.4 1 textalign 1 textalignx -62 textaligny 5 textscale 0.5833 text "@MENU_QUIT_WARNING" visible when ( dvarstring( "credits_active" ) == "1" ) } itemDef { name "resumegame2" rect 274 200 220 15 0 0 style 1 visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -60 textaligny 19 textscale 0.4583 text "@MENU_RESUMEGAME" visible when ( !( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) action { play "mouse_click"; close "sp_acceptinvite_warning"; close "pausedmenu"; uiScript "saveRevert"; } onFocus { play "mouse_over"; } } itemDef { name "quit" rect 274 225 220 15 0 0 style 1 visible 1 forecolor 0.4823 0.4823 0.4823 1 type 1 textfont 1 textalign 1 textalignx -60 textaligny 19 textscale 0.4583 text "@PLATFORM_QUIT" visible when ( !( !dvarbool( "arcademode" ) && !dvarbool( "coop" ) && !dvarbool( "specialops" ) ) ) action { play "mouse_click"; close "sp_acceptinvite_warning"; close "pausedmenu"; exec "confirmInvite"; } onFocus { play "mouse_over"; } } } menuDef { name "restart_warning" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "re"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; open "pausedmenu"; close self; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_RESTART_MISSION" } itemDef { rect -146 -84 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( locstring( "@MENU_RESTART_TEXT_1" ) + locstring( "@MENU_RESTART_TEXT_2" ) + locstring( "@MENU_RESTART_TEXT_3" ) ) } itemDef { name "rs" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_RESTART_MISSION" visible when ( 1 ) action { play "mouse_click"; close self; exec "stopControllerRumble"; exec "fast_restart"; } 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 ); } } itemDef { name "re" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_CANCEL" visible when ( 1 ) action { play "mouse_click"; close self; } 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "last_checkpoint_warning" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "no"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; open "pausedmenu"; close self; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_LAST_CHECKPOINT" } itemDef { rect -150 -84 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( "@MENU_SP_LAST_CHECKPOINT_CONFIRMATION" ) } itemDef { name "yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES" visible when ( 1 ) action { play "mouse_click"; close self; exec "loadgame_continue_missionfailed"; } 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 ); } } itemDef { name "no" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_CANCEL" visible when ( 1 ) action { play "mouse_click"; close self; } 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "menu_special_features" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 blurWorld 4.8 execKey "BUTTON_START" { close self; exec "updategamerprofile"; } onOpen { hideMenu "ingameoptions"; exec "hidehud"; } onClose { exec "showhud"; close "ingameoptions"; } onEsc { showMenu "ingameoptions"; close self; } itemDef { rect 0 0 640 480 4 4 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.75 textscale 0.55 } itemDef { rect -120 0 420 68 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 ) } itemDef { rect 300 0 16 -68 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "button_highlight_end" textscale 0.55 visible when ( 1 ) } itemDef { rect -120 414 1200 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 && 0 ) } itemDef { rect -120 416 420 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 && ( 0 == 0 ) ) } itemDef { rect 300 416 16 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "button_highlight_end" textscale 0.55 visible when ( 1 && ( 0 == 0 ) ) } itemDef { rect 316 432 440 64 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 0.95 0.175 background "white" textscale 0.55 visible when ( 1 && ( 0 == 0 ) ) } itemDef { name "change_filter" rect 90 -4 0 0 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@PLATFORM_CHANGE_FILTER" visible when ( 0 ) execKey "BUTTON_Y" { play "mouse_click"; execnow "toggle lb_filter 0 1"; } } itemDef { name "goto_top" rect -40 -4 0 0 2 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 1 textscale 0.375 text "@PLATFORM_GOTOTOP" visible when ( 0 ) } itemDef { name "accept_button" rect 44 -4 0 0 2 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 1 textscale 0.375 text "@PLATFORM_SELECT" visible when ( 0 ) } itemDef { name "refresh" rect -20 -4 0 0 2 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 2 textscale 0.375 text "@PLATFORM_REFRESH" visible when ( 0 ) } itemDef { name "pgup" rect -180 -4 0 0 3 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@PLATFORM_PGUP" visible when ( 0 ) } itemDef { name "pgdown" rect -90 -4 0 0 3 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@PLATFORM_PGDOWN" visible when ( 0 ) } itemDef { rect 0 -20 16 16 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "ui_arrow_left" textscale 0.55 } itemDef { rect 18 -4 0 0 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 12 textscale 0.375 text "@PLATFORM_BACK" visible when ( ( !menuisopen( "menu_cac_assault" ) && !menuisopen( "menu_cac_heavygunner" ) && !menuisopen( "menu_cac_sniper" ) && !menuisopen( "menu_cac_specops" ) && !menuisopen( "menu_cac_demolitions" ) ) ) } itemDef { rect 18 -4 0 0 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 12 textscale 0.375 text "@PLATFORM_SAVECUSTOMMODE" visible when ( ( menuisopen( "menu_cac_assault" ) || menuisopen( "menu_cac_heavygunner" ) || menuisopen( "menu_cac_sniper" ) || menuisopen( "menu_cac_specops" ) || menuisopen( "menu_cac_demolitions" ) ) ) } itemDef { rect 48 40 0 0 0 0 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 1 textalign 4 textscale 0.5833 textstyle 6 exp text ( "@MENU_CHEATS" ) } itemDef { rect 14 64 360 40 1 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textaligny 16 textscale 0.4583 visible when ( getprofiledata( "highestMission" ) < 20 ) exp text ( "@MENU_CHEATS_HOWTO" ) } itemDef { rect 0 34 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "2" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 34 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "2" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 34 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "2" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME1" ) } itemDef { rect 0 34 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "2" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK1"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 34 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 34 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 35 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 34 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "2" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 34 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "2" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) } itemDef { rect 0 34 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "2" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp text ( "@MENU_CHEATS_NAME1" ) } itemDef { rect 0 34 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_bw" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "2" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) action { play "mouse_click"; execnow "toggle sf_use_bw 1 0"; scriptmenuresponse "sf_use_bw"; exec "set sf_use_chaplin 0" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC1"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 58 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "4" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 58 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "4" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 58 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "4" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME2" ) } itemDef { rect 0 58 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "4" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK2"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 58 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 58 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 59 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 58 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "4" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 58 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "4" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) } itemDef { rect 0 58 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "4" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp text ( "@MENU_CHEATS_NAME2" ) } itemDef { rect 0 58 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_invert" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "4" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) action { play "mouse_click"; execnow "toggle sf_use_invert 1 0"; scriptmenuresponse "sf_use_invert"; exec "set sf_use_chaplin 0" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC2"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 82 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "6" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 82 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "6" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 82 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "6" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME3" ) } itemDef { rect 0 82 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "6" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK3"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 82 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 82 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 83 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 82 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "6" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 82 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "6" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) } itemDef { rect 0 82 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "6" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp text ( "@MENU_CHEATS_NAME3" ) } itemDef { rect 0 82 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_contrast" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "6" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) action { play "mouse_click"; execnow "toggle sf_use_contrast 1 0"; scriptmenuresponse "sf_use_contrast"; exec "set sf_use_chaplin 0" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC3"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 106 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "8" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 106 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "8" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 106 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "8" ) || dvarstring( "mapname" ) == "ac130" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME4" ) } itemDef { rect 0 106 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "8" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK4"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 106 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 106 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 107 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 106 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "8" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 106 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "8" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) } itemDef { rect 0 106 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "8" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) exp text ( "@MENU_CHEATS_NAME4" ) } itemDef { rect 0 106 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_chaplin" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "8" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "ac130" ) action { play "mouse_click"; execnow "toggle sf_use_chaplin 1 0"; scriptmenuresponse "sf_use_chaplin"; exec "set sf_use_bw 0; set sf_use_invert 0; set sf_use_contrast 0; set sf_use_slowmo 0" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC4"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 130 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "10" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 130 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "10" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 130 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "10" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME5" ) } itemDef { rect 0 130 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "10" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK5"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 130 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 130 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 131 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 130 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "10" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 130 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "10" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) } itemDef { rect 0 130 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "10" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp text ( "@MENU_CHEATS_NAME5" ) } itemDef { rect 0 130 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_clustergrenade" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "10" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) action { play "mouse_click"; execnow "toggle sf_use_clustergrenade 1 0"; scriptmenuresponse "sf_use_clustergrenade"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC5"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 154 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "15" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 154 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "15" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 154 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "15" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME6" ) } itemDef { rect 0 154 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "15" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK6"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 154 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 154 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 155 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 154 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "15" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 154 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "15" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) } itemDef { rect 0 154 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "15" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp text ( "@MENU_CHEATS_NAME6" ) } itemDef { rect 0 154 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_tire_explosion" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "15" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) action { play "mouse_click"; execnow "toggle sf_use_tire_explosion 1 0"; scriptmenuresponse "sf_use_tire_explosion"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC6"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 178 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "20" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 178 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "20" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 178 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "20" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME7" ) } itemDef { rect 0 178 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "20" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK7"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 178 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 178 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 179 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 178 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "20" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 178 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "20" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) } itemDef { rect 0 178 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "20" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp text ( "@MENU_CHEATS_NAME7" ) } itemDef { rect 0 178 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_slowmo" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "20" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) action { play "mouse_click"; execnow "toggle sf_use_slowmo 1 0"; scriptmenuresponse "sf_use_slowmo"; exec "set sf_use_chaplin 0" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC7"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 202 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "30" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 202 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( getprofiledata( "cheatPoints" ) < int( "30" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 0 202 267 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( ( getprofiledata( "cheatPoints" ) < int( "30" ) || dvarstring( "mapname" ) == "" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "@MENU_CHEATS_NAME8" ) } itemDef { rect 0 202 267 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) < int( "30" ) && getprofiledata( "highestMission" ) >= 20 ) exp text ( "" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_UNLOCK8"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 0 202 261.5 22 1 1 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.35 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 8 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect 261.5 202 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.35 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 8 && localvarstring( "ui_choicegroup" ) == "special_features" ) } itemDef { rect -4 203 267 22 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 8 && localvarstring( "ui_choicegroup" ) == "special_features" && 1 ) } itemDef { rect 0 202 261.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "30" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp material ( "gradient_fadein" ) } itemDef { rect 261.5 202 5.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( getprofiledata( "cheatPoints" ) >= int( "30" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) } itemDef { rect 0 202 267 22 1 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4583 textstyle 6 visible when ( getprofiledata( "cheatPoints" ) >= int( "30" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) exp text ( "@MENU_CHEATS_NAME8" ) } itemDef { rect 0 202 267 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 291 textscale 0.4583 textstyle 3 dvar "sf_use_ignoreammo" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } visible when ( getprofiledata( "cheatPoints" ) >= int( "30" ) && getprofiledata( "highestMission" ) >= 20 && dvarstring( "mapname" ) != "" ) action { play "mouse_click"; execnow "toggle sf_use_ignoreammo 1 0"; scriptmenuresponse "sf_use_ignoreammo"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "special_features" ); exec "set ui_hint_text @MENU_CHEATS_DESC8"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); exec "set ui_hint_text @NULL_EMPTY"; } } itemDef { rect 2 246 10 10 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "ui_arrow_right" textscale 0.55 visible when ( getprofiledata( "highestMission" ) >= 20 ) } itemDef { rect 14 244 360 40 1 1 decoration visible 1 forecolor 1 1 1 0.5 textaligny 16 textscale 0.375 visible when ( getprofiledata( "highestMission" ) >= 20 ) exp text ( dvarstring( "ui_hint_text" ) ) } itemDef { rect 2 266 10 10 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "ui_arrow_right" textscale 0.55 } itemDef { rect 14 264 360 40 1 1 decoration visible 1 forecolor 1 1 1 0.5 textaligny 16 textscale 0.375 exp text ( locstring( "@MENU_CHEAT_POINTS_LEVEL" , dvarint( "ui_level_player_cheatpoints" ) , dvarint( "ui_level_cheatpoints" ) ) ) } itemDef { rect 2 286 10 10 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "ui_arrow_right" textscale 0.55 } itemDef { rect 14 284 360 40 1 1 decoration visible 1 forecolor 1 1 1 0.5 textaligny 16 textscale 0.375 exp text ( locstring( "@MENU_CHEAT_POINTS" , getprofiledata( "cheatPoints" ) ) ) } } menuDef { name "invert_axis" rect -150 -64 300 64 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "no"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; scriptmenuresponse "accept_normal"; } itemDef { rect -1004 -544 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -544 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -64 300 64 2 2 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 -150 -64 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -64 -1708 -480 2 2 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 -150 -64 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 2 * 20 ) ) } itemDef { rect -150 -64 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -64 -1708 -480 2 2 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 -150 -64 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 2 * 20 ) ) } itemDef { rect -214 -128 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -128 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -128 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -64 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 2 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -64 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -64 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -64 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -64 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 2 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -62 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( dvarstring( "ui_invert_string" ) ) } itemDef { name "yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES_CAPS" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; execNowOnDvarIntValue "ui_start_inverted" 0 "profile_toggleInvertedPitch 1"; execNowOnDvarIntValue "ui_start_inverted" 1 "profile_toggleInvertedPitch 0"; exec "updategamerprofile"; scriptmenuresponse "try_invert"; close self; } 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 ); } } itemDef { name "no" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO_CAPS" visible when ( 1 ) action { play "mouse_click"; play "mouse_click"; execNowOnDvarIntValue "ui_start_inverted" 0 "profile_toggleInvertedPitch 0"; execNowOnDvarIntValue "ui_start_inverted" 1 "profile_toggleInvertedPitch 1"; exec "updategamerprofile"; scriptmenuresponse "accept_normal"; close self; } 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 ); } } itemDef { rect -150 -64 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 2 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "select_difficulty" rect -150 -92 300 184 2 2 style 1 popup visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 exp rect y ( 0 - ( 24 + 8 * 20 ) / 2 ) execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { if ( dvarint( "recommended_gameskill" ) != 0 ) { setItemColor "newgame_easy" forecolor 1 "0.4" "0.4" 1; } if ( dvarint( "recommended_gameskill" ) != 1 ) { setItemColor "newgame_regular" forecolor 1 "0.4" "0.4" 1; } if ( dvarint( "recommended_gameskill" ) != 2 ) { setItemColor "newgame_hardened" forecolor 1 "0.4" "0.4" 1; } if ( dvarint( "recommended_gameskill" ) != 3 ) { setItemColor "newgame_veteran" forecolor 1 "0.4" "0.4" 1; } setfocusbydvar "recommended_gameskill"; } onClose { } onEsc { close self; } itemDef { rect -1004 -572 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -572 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -427 -92 854 184 2 2 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 -150 -92 1708 480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -92 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -427 -92 854 0 2 9 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 8 * 20 ) ) } itemDef { rect -150 -92 -1708 -480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -92 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -491 -156 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 -156 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -156 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -92 64 184 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 92 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 92 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 92 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 -92 64 184 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -92 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 text "@MENU_SELECT_DIFFICULTY" } itemDef { rect -146 40 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" ) exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + " " + locstring( "@MENU_REGULAR_DESC_4" ) ) } itemDef { rect -146 40 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" ) exp text ( locstring( "@MENU_SKILLED_DESC" ) + " " + locstring( "@MENU_SKILLED_DESC_2" ) ) } itemDef { rect -146 40 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" ) exp text ( "@MENU_HARDENED_DESC" ) } itemDef { rect -146 40 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" ) exp text ( "@MENU_VETERAN_DESC" ) } itemDef { rect -146 40 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "try_again" ) exp text ( "@MENU_TRY_AGAIN_DESC" ) } itemDef { name "newgame_easy" rect -146 -68 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_RECRUIT_CAPS" dvarTest "recommended_gameskill" focusDvar { 0 } action { play "mouse_click"; if ( dvarint( "recommended_gameskill" ) > 0 ) { exec "profile_difficultySave 0"; setLocalVarString "ui_exec_diff" ( "difficultyeasy" ); open "con_areyousure_easier"; } else { exec "profile_difficultySave 0"; execnow "difficultyeasy"; exec "updategamerprofile"; scriptmenuresponse "continue"; ; close self; } } 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 ); play "mouse_over"; if ( dvarint( "recommended_gameskill" ) == 0 ) { setItemColor self forecolor 1 1 1 1; } if ( dvarint( "recommended_gameskill" ) != 0 ) { setItemColor self forecolor 1 "0.4" "0.4" 1; } setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_easy" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_regular" rect -146 -48 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_REGULAR_CAPS" dvarTest "recommended_gameskill" focusDvar { 1 } action { play "mouse_click"; if ( dvarint( "recommended_gameskill" ) != 1 ) { exec "profile_difficultySave 1"; setLocalVarString "ui_exec_diff" ( "difficultymedium" ); if ( dvarint( "recommended_gameskill" ) > 1 ) { open "con_areyousure_easier"; } else { setLocalVarString "ui_question" ( "@MENU_DIFFICULTY_WARNING" ); open "con_areyousure"; } } else { exec "profile_difficultySave 1"; execnow "difficultymedium"; exec "updategamerprofile"; scriptmenuresponse "continue"; ; close self; } } 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 ); play "mouse_over"; if ( dvarint( "recommended_gameskill" ) == 1 ) { setItemColor self forecolor 1 1 1 1; } if ( dvarint( "recommended_gameskill" ) != 1 ) { setItemColor self forecolor 1 "0.4" "0.4" 1; } setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_regular" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_hardened" rect -146 -28 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_HARDENED_CAPS" dvarTest "recommended_gameskill" focusDvar { 2 } action { play "mouse_click"; if ( dvarint( "recommended_gameskill" ) != 2 ) { exec "profile_difficultySave 2"; setLocalVarString "ui_exec_diff" ( "difficultyhard" ); if ( dvarint( "recommended_gameskill" ) > 2 ) { open "con_areyousure_easier"; } else { setLocalVarString "ui_question" ( "@MENU_DIFFICULTY_WARNING" ); open "con_areyousure"; } } else { exec "profile_difficultySave 2"; execnow "difficultyhard"; exec "updategamerprofile"; scriptmenuresponse "continue"; ; close self; } } 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 ); play "mouse_over"; if ( dvarint( "recommended_gameskill" ) == 2 ) { setItemColor self forecolor 1 1 1 1; } if ( dvarint( "recommended_gameskill" ) != 2 ) { setItemColor self forecolor 1 "0.4" "0.4" 1; } setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_veteran" rect -146 -8 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_VETERAN_CAPS" dvarTest "recommended_gameskill" focusDvar { 3 } action { play "mouse_click"; if ( dvarint( "recommended_gameskill" ) != 3 ) { exec "profile_difficultySave 3"; setLocalVarString "ui_exec_diff" ( "difficultyfu" ); setLocalVarString "ui_question" ( "@MENU_DIFFICULTY_WARNING" ); open "con_areyousure"; } else { exec "profile_difficultySave 3"; setLocalVarString "ui_exec_diff" ( "difficultyfu" ); setLocalVarString "ui_question" ( "@MENU_ARE_YOU_SURE" ); open "con_areyousure"; } } 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 ); play "mouse_over"; if ( dvarint( "recommended_gameskill" ) == 3 ) { setItemColor self forecolor 1 1 1 1; } if ( dvarint( "recommended_gameskill" ) != 3 ) { setItemColor self forecolor 1 "0.4" "0.4" 1; } setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect -150 12 280 1 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 exp rect w ( - 216 - 64 ) } itemDef { name "try_again" rect -146 12 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_TRY_AGAIN_CAPS" action { play "mouse_click"; scriptmenuresponse "tryagain"; close self; } 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 ); play "mouse_over"; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "try_again" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect -150 -92 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -14 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 8 * 20 ) / 2 ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "con_areyousure" rect -150 -84 300 84 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -84 300 84 2 2 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 -150 -84 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -150 -84 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -214 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -148 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -84 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 exp text ( localvarstring( "ui_question" ) ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES_CAPS" action { play "mouse_click"; open "con_areyousure_again" close self; } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO_CAPS" action { play "mouse_click"; close self; open "select_difficulty"; } 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 ); } } itemDef { rect -150 -84 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "con_areyousure_easier" rect -150 -84 300 84 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -84 300 84 2 2 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 -150 -84 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -150 -84 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -214 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -148 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -84 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 exp text ( "@MENU_DIFFICULTY_WARNING_EASIER" ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES_CAPS" action { play "mouse_click"; if ( localvarstring( "ui_exec_diff" ) == "difficultyeasy" ) { exec "difficultyeasy"; } if ( localvarstring( "ui_exec_diff" ) == "difficultymedium" ) { exec "difficultymedium"; } if ( localvarstring( "ui_exec_diff" ) == "difficultyhard" ) { exec "difficultyhard"; } if ( localvarstring( "ui_exec_diff" ) == "difficultyfu" ) { exec "difficultyfu"; } exec "updategamerprofile"; scriptmenuresponse "continue"; ; close self; close "select_difficulty"; } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO_CAPS" action { play "mouse_click"; close self; open "select_difficulty"; } 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 ); } } itemDef { rect -150 -84 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "con_areyousure_again" rect -150 -84 300 84 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -84 300 84 2 2 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 -150 -84 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -150 -84 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -214 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -148 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -84 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 exp text ( "@MENU_SP_ARE_YOU_ABSOLUTELY_SURE" ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES_CAPS" action { play "mouse_click"; if ( !( localvarstring( "ui_exec_diff" ) == "difficultyfu" ) ) { if ( localvarstring( "ui_exec_diff" ) == "difficultyeasy" ) { exec "difficultyeasy"; } if ( localvarstring( "ui_exec_diff" ) == "difficultymedium" ) { exec "difficultymedium"; } if ( localvarstring( "ui_exec_diff" ) == "difficultyhard" ) { exec "difficultyhard"; } if ( localvarstring( "ui_exec_diff" ) == "difficultyfu" ) { exec "difficultyfu"; } exec "updategamerprofile"; scriptmenuresponse "continue"; ; close self; close "select_difficulty"; } else { close self; open "con_vet"; } } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO_CAPS" action { play "mouse_click"; close self; open "select_difficulty"; } 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 ); } } itemDef { rect -150 -84 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "con_vet" rect -150 -84 300 84 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -564 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -84 300 84 2 2 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 -150 -84 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -150 -84 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -84 -1708 -480 2 2 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 -150 -84 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) } itemDef { rect -214 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -148 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -148 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -84 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -84 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 3 * 20 ) ) visible when ( 1 ) } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 exp text ( "@MENU_SP_VETERAN_IS_EXTREMELY_DIFFICULT" ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES_CAPS" action { play "mouse_click"; exec "difficultyfu"; exec "updategamerprofile"; scriptmenuresponse "continue"; ; close self; close "select_difficulty"; } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO_CAPS" action { play "mouse_click"; close self; open "select_difficulty"; } 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 ); } } itemDef { rect -150 -84 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "readingsavedevice" rect -150 -44 300 44 2 2 style 1 popup legacySplitScreenScale forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -524 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -524 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -44 300 44 2 2 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 -150 -44 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -44 -1708 -480 2 2 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 -150 -44 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) } itemDef { rect -150 -44 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -44 -1708 -480 2 2 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 -150 -44 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) } itemDef { rect -214 -108 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -108 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -108 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -44 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -44 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -44 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -44 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -44 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textscale 0.33 visible when ( 1 ) exp text ( "@PLATFORM_READING_SAVE_DEVICE" ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny 10 textscale 0.33 visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 ) exp text ( "." ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny 10 textscale 0.33 visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 ) exp text ( ".." ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny 10 textscale 0.33 visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 ) exp text ( "..." ) } } menuDef { name "onlineupdate" rect -150 -44 300 44 2 2 style 1 popup legacySplitScreenScale forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -524 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -524 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -44 300 44 2 2 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 -150 -44 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -44 -1708 -480 2 2 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 -150 -44 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) } itemDef { rect -150 -44 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -44 -1708 -480 2 2 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 -150 -44 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) } itemDef { rect -214 -108 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -108 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -108 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -44 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -44 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -44 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -44 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 1 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -44 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 1 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textalign 5 textscale 0.375 visible when ( 1 ) exp text ( dvarstring( "popupText" ) ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textalign 5 textaligny 10 textscale 0.375 visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 ) exp text ( "." ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textalign 5 textaligny 10 textscale 0.375 visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 ) exp text ( ".." ) } itemDef { rect -150 -36 300 40 2 2 decoration visible 1 forecolor 1 1 1 1 type 1 textalign 5 textaligny 10 textscale 0.375 visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 ) exp text ( "..." ) } } menuDef { name "popup_invite" rect 0 0 640 480 0 0 style 1 forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { exec "setdvartotime inviteopentime"; } itemDef { rect -164 -54 324 104 2 2 style 3 border 1 bordersize 2 decoration visible 1 forecolor 0.2 0.2 0.22 1 bordercolor 0.4 0.405 0.42 1 background "white" textscale 0.55 } itemDef { name "nofriends_online" rect -164 -54 312 92 2 2 decoration autowrapped visible 1 forecolor 0.69 0.69 0.69 1 textfont 1 textalignx 10 textaligny 24 textscale 0.375 dvar "inviteText" } itemDef { rect -162 10 315.5 18 2 2 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 ) exp material ( "gradient_fadein" ) } itemDef { rect 153.5 10 4.5 18 2 2 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 ) } itemDef { rect -162 10 315.5 18 2 2 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.25 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect 153.5 10 4.5 18 2 2 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect -164 11 320 18 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.3 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 ) } itemDef { rect -162 10 320 18 2 2 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -22 textscale 0.375 textstyle 6 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 ) exp text ( "@MENU_YES" ) action { play "mouse_click"; exec "acceptinvite"; close "popup_invite" ;; } onFocus { play "mouse_submenu_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "popmenu" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect -162 30 315.5 18 2 2 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 ) exp material ( "gradient_fadein" ) } itemDef { rect 153.5 30 4.5 18 2 2 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 ) } itemDef { rect -162 30 315.5 18 2 2 style 3 bordersize 2 decoration visible 1 forecolor 0.9 0.95 1 0.25 bordercolor 0.8 0.95 1 0.4 background "gradient_fadein" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect 153.5 30 4.5 18 2 2 style 3 decoration visible 1 forecolor 0.9 0.95 1 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect -164 31 320 18 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.3 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 ) } itemDef { rect -162 30 320 18 2 2 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -22 textscale 0.375 textstyle 6 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) > 2000 ) exp text ( "@MENU_NO" ) action { play "mouse_click"; exec "declineinvite"; close "popup_invite" ;; } onFocus { play "mouse_submenu_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "popmenu" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect -164 2 322 46 2 2 style 3 border 1 bordersize 2 decoration visible 1 forecolor 0.2 0.2 0.22 1 background "white" textscale 0.55 visible when ( ( milliseconds( ) - dvarint( "inviteopentime" ) ) <= 2000 ) } } menuDef { name "popmenu_difficulty" rect -150 -102 300 204 2 2 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 exp rect y ( 0 - ( 24 + 9 * 20 ) / 2 ) onOpen { setfocusbydvar "g_gameskill"; exec "set splitscreen 0"; } onEsc { close self; } itemDef { rect -1004 -582 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -582 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -427 -102 854 204 2 2 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 -150 -102 1708 480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -102 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -427 -102 854 0 2 9 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 9 * 20 ) ) } itemDef { rect -150 -102 -1708 -480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -102 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -491 -166 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 -166 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -166 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -102 64 204 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 102 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 102 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 102 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 -102 64 204 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -102 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 text "@MENU_SELECT_DIFFICULTY" } itemDef { rect -146 10 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" ) exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + " " + locstring( "@MENU_REGULAR_DESC_4" ) ) } itemDef { rect -146 10 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" ) exp text ( locstring( "@MENU_SKILLED_DESC" ) + " " + locstring( "@MENU_SKILLED_DESC_2" ) ) } itemDef { rect -146 10 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" ) exp text ( "@MENU_HARDENED_DESC" ) } itemDef { rect -146 10 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" ) exp text ( "@MENU_VETERAN_DESC" ) } itemDef { rect -146 62 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 0.65 0.65 0.65 1 background "gradient_fadein" textfont 3 textalign 6 textscale 0.375 text "@MENU_WARNING_CHECKPOINT_RESET2" visible when ( dvarbool( "sv_saveGameAvailable" ) ) } itemDef { name "newgame_easy" rect -146 -78 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_RECRUIT_CAPS" dvarTest "g_gameskill" focusDvar { 0 } action { play "mouse_click"; exec "profile_difficultySave 0"; setdvar "g_gameskill" 0; setdvar "g_gameskill_player_1" 0; setdvar "g_gameskill_player_2" 0; ; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_level" "trainer" "devmap trainer"; execOnDvarStringValue "ui_load_level" "ai_testbed" "devmap ai_testbed"; execOnDvarStringValue "ui_load_level" "sentry" "devmap sentry"; execOnDvarStringValue "ui_load_level" "firingrange" "devmap firingrange"; execOnDvarStringValue "ui_load_level" "toy_test" "devmap toy_test"; execOnDvarStringValue "ui_load_level" "toy_destructible_vehicles" "devmap toy_destructible_vehicles"; execOnDvarStringValue "ui_load_level" "slowmo_breach" "devmap slowmo_breach"; execOnDvarStringValue "ui_load_level" "oilrig" "devmap oilrig"; execOnDvarStringValue "ui_load_level" "cliffhanger" "devmap cliffhanger"; execOnDvarStringValue "ui_load_level" "bridge" "devmap bridge"; execOnDvarStringValue "ui_load_level" "dcburning" "devmap dcburning"; "execˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_easy" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_regular" rect -146 -58 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_REGULAR_CAPS" dvarTest "g_gameskill" focusDvar { 1 } action { play "mouse_click"; exec "profile_difficultySave 1"; setdvar "g_gameskill" 1; setdvar "g_gameskill_player_1" 1; setdvar "g_gameskill_player_2" 1; ; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_level" "trainer" "devmap trainer"; execOnDvarStringValue "ui_load_level" "ai_testbed" "devmap ai_testbed"; execOnDvarStringValue "ui_load_level" "sentry" "devmap sentry"; execOnDvarStringValue "ui_load_level" "firingrange" "devmap firingrange"; execOnDvarStringValue "ui_load_level" "toy_test" "devmap toy_test"; execOnDvarStringValue "ui_load_level" "toy_destructible_vehicles" "devmap toy_destructible_vehicles"; execOnDvarStringValue "ui_load_level" "slowmo_breach" "devmap slowmo_breach"; execOnDvarStringValue "ui_load_level" "oilrig" "devmap oilrig"; execOnDvarStringValue "ui_load_level" "cliffhanger" "devmap cliffhanger"; execOnDvarStringValue "ui_load_level" "bridge" "devmap bridge"; execOnDvarStringValue "ui_load_level" "dcburning" "devmap dcburning"; "execˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_regular" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_hardened" rect -146 -38 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_HARDENED_CAPS" dvarTest "g_gameskill" focusDvar { 2 } action { play "mouse_click"; exec "profile_difficultySave 2"; setdvar "g_gameskill" 2; setdvar "g_gameskill_player_1" 2; setdvar "g_gameskill_player_2" 2; ; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_level" "trainer" "devmap trainer"; execOnDvarStringValue "ui_load_level" "ai_testbed" "devmap ai_testbed"; execOnDvarStringValue "ui_load_level" "sentry" "devmap sentry"; execOnDvarStringValue "ui_load_level" "firingrange" "devmap firingrange"; execOnDvarStringValue "ui_load_level" "toy_test" "devmap toy_test"; execOnDvarStringValue "ui_load_level" "toy_destructible_vehicles" "devmap toy_destructible_vehicles"; execOnDvarStringValue "ui_load_level" "slowmo_breach" "devmap slowmo_breach"; execOnDvarStringValue "ui_load_level" "oilrig" "devmap oilrig"; execOnDvarStringValue "ui_load_level" "cliffhanger" "devmap cliffhanger"; execOnDvarStringValue "ui_load_level" "bridge" "devmap bridge"; execOnDvarStringValue "ui_load_level" "dcburning" "devmap dcburning"; "execˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_veteran" rect -146 -18 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_VETERAN_CAPS" dvarTest "g_gameskill" focusDvar { 3 } action { play "mouse_click"; exec "profile_difficultySave 3"; setdvar "g_gameskill" 3; setdvar "g_gameskill_player_1" 3; setdvar "g_gameskill_player_2" 3; ; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_level" "trainer" "devmap trainer"; execOnDvarStringValue "ui_load_level" "ai_testbed" "devmap ai_testbed"; execOnDvarStringValue "ui_load_level" "sentry" "devmap sentry"; execOnDvarStringValue "ui_load_level" "firingrange" "devmap firingrange"; execOnDvarStringValue "ui_load_level" "toy_test" "devmap toy_test"; execOnDvarStringValue "ui_load_level" "toy_destructible_vehicles" "devmap toy_destructible_vehicles"; execOnDvarStringValue "ui_load_level" "slowmo_breach" "devmap slowmo_breach"; execOnDvarStringValue "ui_load_level" "oilrig" "devmap oilrig"; execOnDvarStringValue "ui_load_level" "cliffhanger" "devmap cliffhanger"; execOnDvarStringValue "ui_load_level" "bridge" "devmap bridge"; execOnDvarStringValue "ui_load_level" "dcburning" "devmap dcburning"; "execˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect -150 -102 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -14 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 9 * 20 ) / 2 ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "popmenu_specialops_difficulty" rect -150 -82 300 164 2 2 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 exp rect y ( 0 - ( 24 + 7 * 20 ) / 2 ) onOpen { setfocusbydvar "g_gameskill"; } onEsc { close self; } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -427 -82 854 164 2 2 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 -150 -82 1708 480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -427 -82 854 0 2 9 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -82 -1708 -480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -491 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 -146 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 82 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -82 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 text "@MENU_SELECT_DIFFICULTY" } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" ) exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + " " + locstring( "@MENU_REGULAR_DESC_4" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" ) exp text ( locstring( "@MENU_SKILLED_DESC" ) + " " + locstring( "@MENU_SKILLED_DESC_2" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" ) exp text ( "@MENU_HARDENED_DESC" ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" ) exp text ( "@MENU_VETERAN_DESC" ) } itemDef { name "newgame_regular" rect -146 -58 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_REGULAR_CAPS" dvarTest "g_gameskill" focusDvar { 1 } action { play "mouse_click"; setdvar "g_gameskill" 1; setdvar "g_gameskill_player_1" 1; setdvar "g_gameskill_player_2" 1; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky"; execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion"; execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig"; execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted"; execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela"; execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag"; execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion"; "execondvarstringvˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_regular" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_hardened" rect -146 -38 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_HARDENED_CAPS" dvarTest "g_gameskill" focusDvar { 2 } action { play "mouse_click"; setdvar "g_gameskill" 2; setdvar "g_gameskill_player_1" 2; setdvar "g_gameskill_player_2" 2; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky"; execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion"; execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig"; execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted"; execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela"; execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag"; execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion"; "execondvarstringvˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_veteran" rect -146 -18 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_VETERAN_CAPS" dvarTest "g_gameskill" focusDvar { 3 } action { play "mouse_click"; setdvar "g_gameskill" 3; setdvar "g_gameskill_player_1" 3; setdvar "g_gameskill_player_2" 3; execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky"; execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion"; execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig"; execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted"; execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela"; execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag"; execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion"; "execondvarstringvˆ0ÂnŒ©’÷´¾ê } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect 94 -55 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 68 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect -150 -82 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -14 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) / 2 ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "popmenu_specialops_splitscreen_skip_difficulty" rect 0 0 0 0 0 0 forecolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { if ( dvarint( "g_gameskill_player_1" ) >= dvarint( "g_gameskill_player_2" ) ) { if ( dvarint( "g_gameskill_player_1" ) == 1 ) { setdvar "g_gameskill" 1; } if ( dvarint( "g_gameskill_player_1" ) == 2 ) { setdvar "g_gameskill" 2; } if ( dvarint( "g_gameskill_player_1" ) == 3 ) { setdvar "g_gameskill" 3; } } else { if ( dvarint( "g_gameskill_player_2" ) == 1 ) { setdvar "g_gameskill" 1; } if ( dvarint( "g_gameskill_player_2" ) == 2 ) { setdvar "g_gameskill" 2; } if ( dvarint( "g_gameskill_player_2" ) == 3 ) { setdvar "g_gameskill" 3; } } execnow "updategamerprofile"; close self; execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge"; execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky"; execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion"; execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig"; execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted"; execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela"; execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag"; execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion"; execOnDvarStringValue "ui_load_so_level" "so_escape_airport" "devmap so_escape_airport"; execOnDvarStringValue "ui_„ìE } } menuDef { name "popmenu_specialops_online_difficulty" rect -150 -82 300 164 2 2 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 exp rect y ( 0 - ( 24 + 7 * 20 ) / 2 ) onOpen { setfocusbydvar "g_gameskill_player_1"; } onEsc { close self; } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -427 -82 854 164 2 2 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 -150 -82 1708 480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -427 -82 854 0 2 9 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -82 -1708 -480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -491 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 -146 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 82 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -82 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 text "@MENU_SELECT_DIFFICULTY" } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" ) exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + " " + locstring( "@MENU_REGULAR_DESC_4" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" ) exp text ( locstring( "@MENU_SKILLED_DESC" ) + " " + locstring( "@MENU_SKILLED_DESC_2" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" ) exp text ( "@MENU_HARDENED_DESC" ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" ) exp text ( "@MENU_VETERAN_DESC" ) } itemDef { name "newgame_regular" rect -146 -58 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_REGULAR_CAPS" dvarTest "g_gameskill_player_1" focusDvar { 1 } action { play "mouse_click"; setdvar "g_gameskill" 1; if ( 1 == 1 ) { exec "setNetCoOpDifficulty 1"; } if ( 1 == 2 ) { exec "setNetCoOpDifficulty 2"; } if ( 1 == 3 ) { exec "setNetCoOpDifficulty 3"; } close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_regular" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_hardened" rect -146 -38 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_HARDENED_CAPS" dvarTest "g_gameskill_player_1" focusDvar { 2 } action { play "mouse_click"; setdvar "g_gameskill" 2; if ( 2 == 1 ) { exec "setNetCoOpDifficulty 1"; } if ( 2 == 2 ) { exec "setNetCoOpDifficulty 2"; } if ( 2 == 3 ) { exec "setNetCoOpDifficulty 3"; } close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_veteran" rect -146 -18 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_VETERAN_CAPS" dvarTest "g_gameskill_player_1" focusDvar { 3 } action { play "mouse_click"; setdvar "g_gameskill" 3; if ( 3 == 1 ) { exec "setNetCoOpDifficulty 1"; } if ( 3 == 2 ) { exec "setNetCoOpDifficulty 2"; } if ( 3 == 3 ) { exec "setNetCoOpDifficulty 3"; } close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect 94 -55 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 68 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect -150 -82 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -14 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) / 2 ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "popmenu_specialops_splitscreen_difficulty_p1" rect -150 -82 300 164 2 2 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 exp rect y ( 0 - ( 24 + 7 * 20 ) / 2 ) onOpen { setfocusbydvar "g_gameskill_player_1"; } onEsc { close self; } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -427 -82 854 164 2 2 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 -150 -82 1708 480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -427 -82 854 0 2 9 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -82 -1708 -480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -491 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 -146 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 82 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -82 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 text "@MENU_SELECT_DIFFICULTY" } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" ) exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + " " + locstring( "@MENU_REGULAR_DESC_4" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" ) exp text ( locstring( "@MENU_SKILLED_DESC" ) + " " + locstring( "@MENU_SKILLED_DESC_2" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" ) exp text ( "@MENU_HARDENED_DESC" ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" ) exp text ( "@MENU_VETERAN_DESC" ) } itemDef { name "newgame_regular" rect -146 -58 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_REGULAR_CAPS" dvarTest "g_gameskill_player_1" focusDvar { 1 } action { play "mouse_click"; setdvar "g_gameskill_player_1" 1 close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_regular" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_hardened" rect -146 -38 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_HARDENED_CAPS" dvarTest "g_gameskill_player_1" focusDvar { 2 } action { play "mouse_click"; setdvar "g_gameskill_player_1" 2 close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_veteran" rect -146 -18 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_VETERAN_CAPS" dvarTest "g_gameskill_player_1" focusDvar { 3 } action { play "mouse_click"; setdvar "g_gameskill_player_1" 3 close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect 94 -55 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 68 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect -150 -82 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -14 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) / 2 ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "popmenu_specialops_splitscreen_difficulty_p2" rect -150 -82 300 164 2 2 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 exp rect y ( 0 - ( 24 + 7 * 20 ) / 2 ) onOpen { setfocusbydvar "g_gameskill_player_2"; } onEsc { close self; } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -562 3416 1920 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -427 -82 854 164 2 2 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 -150 -82 1708 480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -427 -82 854 0 2 9 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -82 -1708 -480 2 9 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -82 -1708 -480 2 9 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 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -491 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 -146 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -146 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 427 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -427 82 854 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 82 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -491 -82 64 164 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -82 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 text "@MENU_SELECT_DIFFICULTY" } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" ) exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + " " + locstring( "@MENU_REGULAR_DESC_4" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" ) exp text ( locstring( "@MENU_SKILLED_DESC" ) + " " + locstring( "@MENU_SKILLED_DESC_2" ) ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" ) exp text ( "@MENU_HARDENED_DESC" ) } itemDef { rect -146 30 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" ) exp text ( "@MENU_VETERAN_DESC" ) } itemDef { name "newgame_regular" rect -146 -58 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_REGULAR_CAPS" dvarTest "g_gameskill_player_2" focusDvar { 1 } action { play "mouse_click"; setdvar "g_gameskill_player_2" 1 close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_regular" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_hardened" rect -146 -38 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_HARDENED_CAPS" dvarTest "g_gameskill_player_2" focusDvar { 2 } action { play "mouse_click"; setdvar "g_gameskill_player_2" 2 close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { name "newgame_veteran" rect -146 -18 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar_flipped" type 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_VETERAN_CAPS" dvarTest "g_gameskill_player_2" focusDvar { 3 } action { play "mouse_click"; setdvar "g_gameskill_player_2" 3 close self; } 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 ); play "mouse_over"; setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_popupAButton" ( 1 ); setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" ); } leaveFocus { setItemColor self backcolor 1 1 1 0; setLocalVarBool "ui_popupAButton" ( 0 ); } } itemDef { rect 94 -55 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -35 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 94 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 81 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect 68 -15 292 20 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp material ( "difficulty_star" ) } itemDef { rect -150 -82 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textalignx -14 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) / 2 ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "ingame_difficulty" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "no"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 text "@MENU_LOWER_DIFFICULTY" } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textscale 0.375 visible when ( dvarint( "g_gameskill" ) == 1 ) exp text ( "@MENU_LOWER_DIFFICULTY_1_0" ) } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textscale 0.375 visible when ( dvarint( "g_gameskill" ) == 2 ) exp text ( "@MENU_LOWER_DIFFICULTY_2_1" ) } itemDef { rect -146 -80 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textscale 0.375 visible when ( dvarint( "g_gameskill" ) == 3 ) exp text ( "@MENU_LOWER_DIFFICULTY_3_2" ) } itemDef { name "no" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_CANCEL" visible when ( 1 ) action { play "mouse_click"; close self; } 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 ); } } itemDef { rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_LOWER_DIFFICULTY_1_0_BUTTON" visible when ( dvarint( "g_gameskill" ) == 1 ) action { play "mouse_click"; execnow "profile_difficultySave 0"; setdvar "g_gameskill" 0; setdvar "g_gameskill_player_1" 0; setdvar "g_gameskill_player_2" 0; exec "updategamerprofile"; close self; } 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 ); } } itemDef { rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_LOWER_DIFFICULTY_2_1_BUTTON" visible when ( dvarint( "g_gameskill" ) == 2 ) action { play "mouse_click"; execnow "profile_difficultySave 1"; setdvar "g_gameskill" 1; setdvar "g_gameskill_player_1" 1; setdvar "g_gameskill_player_2" 1; exec "updategamerprofile"; close self; } 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 ); } } itemDef { rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_LOWER_DIFFICULTY_3_2_BUTTON" visible when ( dvarint( "g_gameskill" ) == 3 ) action { play "mouse_click"; execnow "profile_difficultySave 2"; setdvar "g_gameskill" 2; setdvar "g_gameskill_player_1" 2; setdvar "g_gameskill_player_2" 2; exec "updategamerprofile"; close self; } 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "offensive_skip" rect 0 0 640 480 0 0 style 1 forecolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { exec "set cl_paused 1"; open "offensive_skip_popup"; } onClose { exec "set cl_paused 0"; } } menuDef { name "offensive_skip_popup" rect -150 -164 300 164 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "continue"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -644 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -644 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -164 300 164 2 2 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 -150 -164 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -164 -1708 -480 2 2 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 -150 -164 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -164 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -164 -1708 -480 2 2 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 -150 -164 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -214 -228 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -228 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -228 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -164 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -164 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -164 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -164 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -164 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -164 300 24 2 2 style 1 decoration visible 1 forecolor 0.9 0.3 0.3 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 textstyle 3 text "@MENU_SP_OFFENSIVE_TITLE" } itemDef { rect -146 -144 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textscale 0.375 text "@MENU_SP_OFFENSIVE_SKIP_1" visible when ( 1 ) } itemDef { rect -146 -144 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textaligny 70 textscale 0.33 text "@PLATFORM_OFFENSIVE_NO_PANELTY" visible when ( 1 ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_SP_OFFENSIVE_SKIP_NOW" action { play "mouse_click"; open "offensive_skip_popup_skipnow"; close self; } 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 ); } } itemDef { name "continue" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_CONTINUE" action { play "mouse_click"; open "offensive_skip_popup_continue"; close self; } 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 ); } } itemDef { rect -150 -164 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "offensive_skip_popup_skipnow" rect -150 -164 300 164 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -644 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -644 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -164 300 164 2 2 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 -150 -164 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -164 -1708 -480 2 2 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 -150 -164 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -164 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -164 -1708 -480 2 2 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 -150 -164 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -214 -228 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -228 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -228 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -164 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -164 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -164 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -164 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -164 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -164 300 24 2 2 style 1 decoration visible 1 forecolor 0.9 0.3 0.3 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 textstyle 3 text "@MENU_SP_OFFENSIVE_TITLE" } itemDef { rect -146 -144 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 text "@MENU_SP_OFFENSIVE_ARE_YOU_SURE" visible when ( 1 ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES" action { play "mouse_click"; exec "set ui_skip_airport 1"; close "offensive_skip"; close self; } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO" action { play "mouse_click"; open "offensive_skip_popup"; close self; } 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 ); } } itemDef { rect -150 -164 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "offensive_skip_popup_continue" rect -150 -164 300 164 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -644 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -644 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -164 300 164 2 2 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 -150 -164 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -164 -1708 -480 2 2 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 -150 -164 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -150 -164 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -164 -1708 -480 2 2 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 -150 -164 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) } itemDef { rect -214 -228 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -228 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -228 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -164 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -164 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -164 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -164 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 7 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -164 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 7 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -164 300 24 2 2 style 1 decoration visible 1 forecolor 0.9 0.3 0.3 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 textstyle 3 text "@MENU_SP_OFFENSIVE_TITLE" } itemDef { rect -146 -144 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 text "@MENU_ARE_YOU_SURE" visible when ( 1 ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES" action { play "mouse_click"; close "offensive_skip"; close self; } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO" action { play "mouse_click"; open "offensive_skip_popup"; close self; } 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 ); } } itemDef { rect -150 -164 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 7 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "offensive_skip_popup_confirm" rect -150 -104 300 104 2 2 style 1 popup legacySplitScreenScale visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "white" focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "No"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -1004 -584 1708 960 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 1 1 1 1 background "xpbar_stencilbase" textscale 0.55 } itemDef { rect -150 -104 300 104 2 2 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 -150 -104 1708 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mockup_popup_bg_stencilfill" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -150 -104 -1708 -480 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.75 background "mw2_popup_bg_fogstencil" textscale 0.55 exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -150 -104 -1708 -480 2 2 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 -150 -104 300 0 1 1 style 3 decoration visible 1 forecolor 1 1 1 0 background "small_box_lightfx" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) } itemDef { rect -214 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -150 -168 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -168 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 150 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 64 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 exp rect y ( ( 0 - 0 ) + ( ( 24 + 4 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -104 64 0 2 2 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 exp rect h ( ( 24 + 4 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -104 300 24 2 2 style 1 decoration visible 1 forecolor 0.9 0.3 0.3 1 background "gradient_fadein" textfont 9 textalign 5 textalignx -4 textscale 0.375 textstyle 3 text "@MENU_SP_OFFENSIVE_TITLE" } itemDef { rect -146 -84 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 5 textscale 0.375 text "@MENU_SP_OFFENSIVE_ARE_YOU_SURE" visible when ( 1 ) } itemDef { name "Yes" rect -146 -40 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_YES" action { play "mouse_click"; exec "set ui_skip_airport 1"; close "offensive_skip"; close self; } 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 ); } } itemDef { name "No" rect -146 -20 292 20 2 2 group "mw2_popup_button" style 1 visible 1 forecolor 1 1 1 1 disablecolor 0.6 0.55 0.55 1 background "popup_button_selection_bar" type 1 textfont 3 textalign 6 textalignx -24 textscale 0.375 text "@MENU_NO" action { play "mouse_click"; close self; } 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 ); } } itemDef { rect -150 -104 292 22 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 10 textaligny -1 textscale 0.28 text "@PLATFORM_UI_SELECTBUTTON" exp rect y ( getfocuseditemy( ) + ( ( 24 + 4 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } }