/******************************************** * dumped by: aerosoul94 * *********************************************/ { menuDef { name "main" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarString "ui_setfocus_to" ( "" ); if ( dvarstring( "gamemode" ) == "sp" ) { close self; open "main_text"; } if ( dvarstring( "gamemode" ) == "so" ) { close self; open "main_specops"; } if ( dvarstring( "gamemode" ) != "so" && dvarstring( "gamemode" ) != "sp" ) { close self; open "main_lockout"; } } onClose { close "main_specops"; close "main_text"; close "main_lockout"; } onEsc { } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } } menuDef { name "main_lockout" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setdvar "splitscreen" 0; if ( localvarbool( "ui_skip_start" ) || dvarbool( "ui_skipMainLockout" ) ) { if ( dvarbool( "ui_skipMainLockout" ) ) { execNowOnDvarIntValue "ui_startupActiveController" 0 "nosplitscreen 0"; execNowOnDvarIntValue "ui_startupActiveController" 1 "nosplitscreen 1"; execNowOnDvarIntValue "ui_startupActiveController" 2 "nosplitscreen 2"; execNowOnDvarIntValue "ui_startupActiveController" 3 "nosplitscreen 3"; execnow "resetViewport"; } close self; open "main_selection"; } else { setfocus "start"; } } onClose { } onEsc { ingameclose "main"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect -500.452 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -488.858 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0.397857 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0.715717 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) } itemDef { rect -256 -198 512 128 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "logo_cod2" textscale 0.55 } itemDef { rect 0 156 640 156 4 1 style 3 decoration visible 1 forecolor 0.5 0.5 0.5 0.35 background "white" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 124 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 124 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 124 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 156 32 156 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 312 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 312 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 312 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 156 32 156 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { name "start" rect -60 16 120 20 2 2 visible 1 forecolor 1 1 1 0.85 type 1 textfont 9 textalign 9 textscale 0.5833 text "@MENU_PRESS_START" visible when ( 1 ) execKey "BUTTON_START" { play "mouse_click"; execnow "nosplitscreen"; execnow "resetViewport"; if ( isprofilesignedin( ) ) { if ( !getprofiledata( "hasEverPlayed_MainMenu" ) ) { close self; open "brightness"; } else { close self; open "main_selection"; } } else { open "noprofilewarning"; } } action { play "mouse_click"; execnow "nosplitscreen"; execnow "resetViewport"; if ( isprofilesignedin( ) ) { if ( !getprofiledata( "hasEverPlayed_MainMenu" ) ) { close self; open "brightness"; } else { close self; open "main_selection"; } } else { open "noprofilewarning"; } } onFocus { play "mouse_over"; } } 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 "main_selection" rect 0 0 640 480 0 0 visible 1 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_opening" onOpen { setLocalVarInt "ui_sp_stat_progression_easy" ( 0 ); setLocalVarInt "ui_sp_stat_progression_easy" ( ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 0 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 1 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 2 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 3 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 4 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 5 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 6 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 7 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 8 ) ) >= 1 ) ) ); setLocalVarInt "ui_sp_stat_progression_easy" ( localvarint( "ui_sp_stat_progression_easy" ) + ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 9 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 10 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 11 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 12 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 13 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 14 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 15 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 16 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 17 ) ) >= 1 ) ) ); setdvar "splitscreen" 0; setdvar "ui_skipMainLockout" 0; setLocalVarBool "ui_skip_start" ( 0 ); setdvar "ui_test" "none"; if ( localvarstring( "ui_setfocus_to" ) == "game_mp" ) { setdvar "ui_test" "game_mp"; setfocus "game_mp"; } if ( localvarstring( "ui_setfocus_to" ) == "game_so" ) { setdvar "ui_test" "game_so"; setfocus "game_so"; } if ( localvarstring( "ui_setfocus_to" ) != "game_so" && localvarstring( "ui_setfocus_to" ) != "game_mp" ) { setdvar "ui_test" "game_sp"; setfocus "game_sp"; } } onClose { } onEsc { if ( localvarint( "ui_highlighted_game" ) == 1 ) { setLocalVarString "ui_setfocus_to" ( "game_so" ); } if ( localvarint( "ui_highlighted_game" ) == 2 ) { setLocalVarString "ui_setfocus_to" ( "game_sp" ); } if ( localvarint( "ui_highlighted_game" ) == 3 ) { setLocalVarString "ui_setfocus_to" ( "game_mp" ); } ingameclose "main"; open "main_lockout"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect -922.186 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -836.76 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( localvarint( "ui_highlighted_game" ) == 1 ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( localvarint( "ui_highlighted_game" ) == 3 ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0.621073 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 ) } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 0.502264 background "mockup_bg_glow" textscale 0.55 exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 ) } itemDef { rect -256 -198 512 128 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "logo_cod2" textscale 0.55 } itemDef { rect -298 172 196 111 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "levelshot_mw2_game_so_blur" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) exp rect h ( 111 - 11 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 ) } itemDef { rect -98 172 196 111 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "levelshot_mw2_game_sp_blur" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) exp rect h ( 111 - 11 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 ) } itemDef { rect 102 172 196 111 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "levelshot_mw2_game_mp_blur" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) exp rect h ( 111 - 11 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 ) } itemDef { rect 0 156 640 156 4 1 style 3 decoration visible 1 background "white" textscale 0.55 visible when ( 1 ) } itemDef { rect -498 156 196 156 2 1 style 3 decoration visible 1 forecolor 0.5 0.5 0.5 0.65 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 0 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( 1 ) } itemDef { rect -298 156 196 156 2 1 style 3 decoration visible 1 forecolor 0.5 0.5 0.5 0.65 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( 1 ) } itemDef { rect -98 156 196 156 2 1 style 3 decoration visible 1 forecolor 0.5 0.5 0.5 0.65 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( 1 ) } itemDef { rect 102 156 196 156 2 1 style 3 decoration visible 1 forecolor 0.5 0.5 0.5 0.65 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( 1 ) } itemDef { rect 302 156 196 156 2 1 style 3 decoration visible 1 forecolor 0.5 0.5 0.5 0.65 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 4 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( 1 ) } itemDef { rect -32 124 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 124 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 124 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 156 32 156 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 312 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 312 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 312 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 156 32 156 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 352 640 24 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 visible when ( 1 ) } itemDef { rect -320 352 640 24 2 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 13 textaligny -4 textscale 0.375 visible when ( 1 ) exp text ( localvarstring( "ui_game_desc" ) ) } itemDef { rect 0 156 0 156 2 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( ( localvarint( "ui_highlighted_game" ) == 1 ) ) } itemDef { rect 0 172 0 0 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "levelshot_mw2_game_so" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) exp rect h ( 111 - 11 * ( !dvarbool( "hidef" ) ) ) visible when ( ( localvarint( "ui_highlighted_game" ) == 1 ) ) } itemDef { rect 0 156 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 textstyle 8 text "STORY" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 0 && min( 0.5 , max( 0 , 0 - sin( milliseconds( ) / 1000 ) ) ) * 2 ) visible when ( 0 && "game_so" == "game_sp" ) } itemDef { rect 0 156 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 text "@MENU_SP_CAMPAIGN" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_so" == "game_sp" ) } itemDef { rect 0 0 0 -40 2 1 style 1 decoration visible 1 type 1 textfont 9 textalign 5 textalignx 1.5 textaligny 1.5 textscale 0.33 text "@MENU_SP_FOR_THE_RECORD" exp rect y ( 156 + 108 - ( !dvarbool( "hidef" ) ) * 12 ) exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_so" == "game_sp" && localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect 0 0 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textscale 0.33 text "@MENU_SP_FOR_THE_RECORD" exp rect y ( 156 + 108 - ( !dvarbool( "hidef" ) ) * 12 ) exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_so" == "game_sp" && localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect -298 156 200 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 text "@MENU_SP_SPECIAL_OPS_CAPS" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_so" != "game_sp" ) } itemDef { name "game_so" rect -298 156 200 -40 2 1 style 1 visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 ) execKey "APAD_RIGHT" { setfocus "game_sp"; } execKey "DPAD_RIGHT" { setfocus "game_sp"; } execKey "APAD_LEFT" { setfocus "game_mp"; } execKey "DPAD_LEFT" { setfocus "game_mp"; } execKey "APAD_DOWN" { } execKey "DPAD_DOWN" { } execKey "APAD_UP" { } execKey "DPAD_UP" { } action { if ( localvarbool( "ui_show_recommendation" ) ) { open "popmenu_recommendation_so"; } else { open "main_specops"; } } onFocus { setItemColor self backcolor 0 0 0 "0.85" play "mouse_over"; setLocalVarInt "ui_highlighted_game" ( 1 ); setLocalVarString "ui_game_desc" ( "@MENU_SP_DESC_SPECIALOPS" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; } } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( !isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 1 ) exp text ( "@MENU_SP_NOT_SIGNED_IN" ) } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 1 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 && isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 1 ) exp text ( locstring( "@MENU_SP_COMPLETION_PERCENT" , int( getprofiledata( "percentCompleteSO" ) * 100 / 69 ) ) ) } itemDef { rect -98 156 196 156 2 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( ( localvarint( "ui_highlighted_game" ) == 2 ) ) } itemDef { rect -98 172 196 111 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "levelshot_mw2_game_sp" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) exp rect h ( 111 - 11 * ( !dvarbool( "hidef" ) ) ) visible when ( ( localvarint( "ui_highlighted_game" ) == 2 ) ) } itemDef { rect 0 156 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 textstyle 8 text "STORY" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 0 && min( 0.5 , max( 0 , 0 - sin( milliseconds( ) / 1000 ) ) ) * 2 ) visible when ( 0 && "game_sp" == "game_sp" ) } itemDef { rect -98 156 200 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 text "@MENU_SP_CAMPAIGN" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_sp" == "game_sp" ) } itemDef { rect -98 264 200 -40 2 1 style 1 decoration visible 1 forecolor 0 0 0 1 type 1 textfont 9 textalign 5 textalignx 1.5 textaligny 1.5 textscale 0.33 text "@MENU_SP_FOR_THE_RECORD" exp rect y ( 156 + 108 - ( !dvarbool( "hidef" ) ) * 12 ) exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_sp" == "game_sp" && localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect -98 264 200 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textscale 0.33 text "@MENU_SP_FOR_THE_RECORD" exp rect y ( 156 + 108 - ( !dvarbool( "hidef" ) ) * 12 ) exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_sp" == "game_sp" && localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect 0 156 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_sp" != "game_sp" ) } itemDef { name "game_sp" rect -98 156 200 -40 2 1 style 1 visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 ) execKey "APAD_RIGHT" { setfocus "game_mp"; } execKey "DPAD_RIGHT" { setfocus "game_mp"; } execKey "APAD_LEFT" { setfocus "game_so"; } execKey "DPAD_LEFT" { setfocus "game_so"; } execKey "APAD_DOWN" { } execKey "DPAD_DOWN" { } execKey "APAD_UP" { } execKey "DPAD_UP" { } action { if ( !getprofiledata( "hasEverPlayed_SP" ) ) { setGameMode "sp"; setdvar "specialops" 0; setdvar "ui_version_show" 0; setdvar "splitscreen" 0; exec "select_save_device"; execnow "nosplitscreen"; execnow "Updatedvarsfromprofile"; exec "profile_difficultyLoad"; exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } else { open "main_text"; } } onFocus { setItemColor self backcolor 0 0 0 "0.85" play "mouse_over"; setLocalVarInt "ui_highlighted_game" ( 2 ); setLocalVarString "ui_game_desc" ( "@MENU_SP_DESC_SINGLEPLAYER" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; } } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( !isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 2 ) exp text ( "@MENU_SP_NOT_SIGNED_IN" ) } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) && isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 2 ) exp text ( locstring( "@MENU_SP_COMPLETION_DOT_PERCENT" , int( ( getprofiledata( "percentCompleteSP" ) / 100 ) ) , int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) ) ) } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 2 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) && isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 2 ) exp text ( locstring( "@MENU_SP_COMPLETION_PERCENT" , int( ( getprofiledata( "percentCompleteSP" ) / 100 ) ) ) ) } itemDef { rect 0 156 0 156 2 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) visible when ( ( localvarint( "ui_highlighted_game" ) == 3 ) ) } itemDef { rect 0 172 0 0 2 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "levelshot_mw2_game_mp" textscale 0.55 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) - 4 ) exp rect h ( 111 - 11 * ( !dvarbool( "hidef" ) ) ) visible when ( ( localvarint( "ui_highlighted_game" ) == 3 ) ) } itemDef { rect 0 156 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 textstyle 8 text "STORY" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 0 && min( 0.5 , max( 0 , 0 - sin( milliseconds( ) / 1000 ) ) ) * 2 ) visible when ( 0 && "game_mp" == "game_sp" ) } itemDef { rect 0 156 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 text "@MENU_SP_CAMPAIGN" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_mp" == "game_sp" ) } itemDef { rect 0 0 0 -40 2 1 style 1 decoration visible 1 type 1 textfont 9 textalign 5 textalignx 1.5 textaligny 1.5 textscale 0.33 text "@MENU_SP_FOR_THE_RECORD" exp rect y ( 156 + 108 - ( !dvarbool( "hidef" ) ) * 12 ) exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_mp" == "game_sp" && localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect 0 0 0 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textscale 0.33 text "@MENU_SP_FOR_THE_RECORD" exp rect y ( 156 + 108 - ( !dvarbool( "hidef" ) ) * 12 ) exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_mp" == "game_sp" && localvarint( "ui_highlighted_game" ) == 2 ) } itemDef { rect 102 156 200 -40 2 1 style 1 decoration visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 text "@MENU_MULTIPLAYER_CAPS" exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) exp forecolor a ( 1 ) visible when ( "game_mp" != "game_sp" ) } itemDef { name "game_mp" rect 102 156 200 -40 2 1 style 1 visible 1 forecolor 1 1 1 1 type 1 textfont 9 textalign 5 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 ) execKey "APAD_RIGHT" { setfocus "game_so"; } execKey "DPAD_RIGHT" { setfocus "game_so"; } execKey "APAD_LEFT" { setfocus "game_sp"; } execKey "DPAD_LEFT" { setfocus "game_sp"; } execKey "APAD_DOWN" { } execKey "DPAD_DOWN" { } execKey "APAD_UP" { } execKey "DPAD_UP" { } action { if ( localvarbool( "ui_show_recommendation" ) ) { open "popmenu_recommendation_mp"; } else { uiScript "startMultiplayer"; } } onFocus { setItemColor self backcolor 0 0 0 "0.85" play "mouse_over"; setLocalVarInt "ui_highlighted_game" ( 3 ); setLocalVarString "ui_game_desc" ( "@MENU_SP_DESC_MULTIPLAYER" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; } } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( !isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 3 ) exp text ( "@MENU_SP_NOT_SIGNED_IN" ) } itemDef { rect 0 156 0 156 2 1 style 1 decoration visible 1 forecolor 0.75 0.75 0.75 1 type 1 textfont 9 textalign 13 textaligny -1 textscale 0.33 exp rect x ( ( - ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) * 1.5 ) + ( 3 - 1 ) * ( 200 - 20 * ( !dvarbool( "hidef" ) ) ) + 2 ) exp rect w ( 200 - 6 - 20 * ( !dvarbool( "hidef" ) ) ) visible when ( 1 && isprofilesignedin( ) && localvarint( "ui_highlighted_game" ) == 3 ) exp text ( locstring( "@MENU_SP_COMPLETION_PERCENT" , getprofiledata( "percentCompleteMP" ) ) ) } itemDef { rect -100 312 200 22 2 1 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 9 textaligny 10 textscale 0.33 visible when ( 1 ) exp text ( locstring( "@PLATFORM_UI_SELECTBUTTON_SELECT" ) ) } 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 "main_text" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { exec "set ui_hint_text @NULL_EMPTY"; hide "desc_arrow" setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; setGameMode "sp"; setdvar "specialops" 0; setdvar "ui_version_show" 0; setdvar "splitscreen" 0; execnow "select_save_device"; execnow "nosplitscreen"; execnow "Updatedvarsfromprofile"; execnow "profile_difficultyLoad"; focusfirst; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "sp" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "so" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "mp" ) } 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textaligny 24 textscale 0.5 text "@MENU_SP_FOR_THE_RECORD" } itemDef { rect 304 270 288 72 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "logo_cod2" textscale 0.55 visible when ( !localvarbool( "ui_hideBack" ) ) } itemDef { name "signedinas" rect 0 0 250 15 0 0 ownerdraw 272 decoration visible 1 forecolor 0.4823 0.4823 0.4823 1 type 8 textfont 1 textscale 0.4583 } 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_RESUMEGAME_CAPS" visible when ( dvarbool( "sv_saveGameAvailable" ) ) action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; open "resume_popmenu"; } 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_RESUMEGAME_CAPS" visible when ( !dvarbool( "sv_saveGameAvailable" ) && dvarbool( "sv_saveGameNotReadable" ) ) action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; open "save_corrupted"; } 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_NEWGAME_CAPS" visible when ( !dvarbool( "sv_saveGameAvailable" ) || dvarbool( "sv_saveGameNotReadable" ) ) action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; open "popmenu_autosave_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( ) ); } 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_NEWGAME_CAPS" visible when ( dvarbool( "sv_saveGameAvailable" ) && !dvarbool( "sv_saveGameNotReadable" ) ) action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; open "popmenu_overwrite_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( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } 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_MISSION_SELECT_CAPS" action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; open "levels"; } 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 108 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } 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_OPTIONS_CAPS" action { play "mouse_click"; open "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 "stats" 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 text "@MENU_STATS_CAPS" action { play "mouse_click"; open "stats"; } 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 "ps3_credits" 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 text "@MENU_SP_CREDITS_CAPS" visible when ( getprofiledata( "highestMission" ) >= 18 ) action { play "mouse_click"; setdvar "ui_char_museum_mode" "credits_2" exec "devmap ending"; } 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 "ps3_credits" 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 text "@MENU_SP_CREDITS_CAPS" visible when ( getprofiledata( "highestMission" ) < 18 ) action { play "mouse_click"; setdvar "ui_char_museum_mode" "credits_black" exec "devmap ending"; } 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 "game_selection" 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 text "@MENU_MAIN_MENU_CAPS" action { play "mouse_click"; close self; setLocalVarBool "ui_skip_start" ( 1 ); setLocalVarString "ui_setfocus_to" ( "game_sp" ); execnow "updategamerprofile"; setGameMode "none"; open "main_selection"; } 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 -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 "main_specops" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_challenge_factory" onOpen { exec "set ui_hint_text @NULL_EMPTY"; hide "desc_arrow" setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; setGameMode "so"; setdvar "splitscreen" 0; setdvar "ui_version_show" 0; exec "nosplitscreen"; execnow "Updatedvarsfromprofile"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "sp" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "so" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "mp" ) } 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textaligny 24 textscale 0.5 text "@MENU_SP_SPECIAL_OPS_CAPS" } itemDef { rect 304 270 288 72 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "logo_cod2" textscale 0.55 visible when ( !localvarbool( "ui_hideBack" ) ) } itemDef { name "signedinas" rect 0 0 250 15 0 0 ownerdraw 272 decoration visible 1 forecolor 0.4823 0.4823 0.4823 1 type 8 textfont 1 textscale 0.4583 } 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_SPLITSCREEN_CAPS" action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; setdvar "ui_skip_level_select" 0; setdvar "so_ophud_player0" 0; setdvar "so_ophud_player1" 0; execOnDvarStringValue "developer" 0 "set developer_script 0"; exec "splitscreencontrols"; exec "stopListening; set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 1; set mblur_enable 0"; exec "resetSplitscreenSignIn"; if ( dvarstring( "ui_load_so_level" ) == "" ) { exec "set ui_load_so_level so_killspree_trainer"; } open "menu_splitscreensignin" ;; } 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_SP_SOLO_PLAY_CAPS" action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; setdvar "solo_play" 1; setdvar "so_ophud_player0" 0; setdvar "so_ophud_player1" 0; execOnDvarStringValue "developer" 0 "set developer_script 0"; exec "nosplitscreen"; exec "stopListening; set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set mblur_enable 0"; setdvar "specialops" 1; open "levels_challenge" ;; } 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 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_SP_TWO_PLAYER_ONLINE_CAPS" action { play "mouse_click"; setdvar "arcademode" 0; setdvar "arcademode_full" 0; setdvar "start" 0; setdvar "solo_play" 0; setdvar "ui_last_opened_group" 0; setdvar "ui_skip_level_select" 0; setdvar "so_ophud_player0" 0; setdvar "so_ophud_player1" 0; execOnDvarStringValue "developer" 0 "set developer_script 0"; exec "xrequirelivesignin"; exec "stopListening; set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set mblur_enable 0"; exec "listen"; if ( dvarstring( "coop_mapName" ) == "" ) { exec "set coop_mapName so_killspree_trainer"; } } 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 108 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } 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_OPTIONS_CAPS" action { play "mouse_click"; open "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 "stats" 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 text "@MENU_STATS_CAPS" action { play "mouse_click"; open "stats"; } 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 "ps3_friends" 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 text "@PLATFORM_FRIENDSLIST_CAPS" action { play "mouse_click"; exec "xshowfriendslist"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "game_selection" 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 text "@MENU_MAIN_MENU_CAPS" action { play "mouse_click"; close self; setLocalVarBool "ui_skip_start" ( 1 ); setLocalVarString "ui_setfocus_to" ( "game_so" ); execnow "updategamerprofile"; setGameMode "none"; open "main_selection"; } 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 -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 "resume_popmenu" rect -150 -64 300 64 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 "yes"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -146 -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 ( "@MENU_RESUMEGAME_Q" ) } 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"; setdvar "ui_char_museum_mode" "credits_1"; exec "loadgame_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 { 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"; 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 "multi_popmenu" rect -150 -64 300 64 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 -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 -146 -32 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_SWITCHTOMULTIPLAYER" ) } itemDef { name "yes" rect -146 0 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"; uiScript "startMultiplayer"; 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"; 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 "popmenu_overwrite_warning" 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"; uiScript "closeMenuOnDvar" "sv_saveGameAvailable" 0 "popmenu_overwrite_warning"; if ( dvarint( "sv_saveGameAvailable" ) == 0 ) { exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } } 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_NEWGAME" } 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_WARNING_CHECKPOINT_RESET" ) } 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"; close self; exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } 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 "yes" 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"; 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 "popmenu_autosave_warning" 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 "continue"; } 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_NOTICE" } 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_WARNING_AUTOSAVE" ) } 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" visible when ( 1 ) action { play "mouse_click"; close self; exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } 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 "popmenu_recommendation_so" 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 ); setLocalVarBool "ui_show_recommendation" ( 0 ); setfocus "sp"; } 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_NOTICE" } 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_SP_RECOMMENDATION" ) } itemDef { name "sp" 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_CAMPAIGN" visible when ( 1 ) action { play "mouse_click"; close self; if ( !getprofiledata( "hasEverPlayed_SP" ) ) { setGameMode "sp"; setdvar "specialops" 0; setdvar "ui_version_show" 0; setdvar "splitscreen" 0; exec "select_save_device"; execnow "nosplitscreen"; execnow "Updatedvarsfromprofile"; exec "profile_difficultyLoad"; exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } else { open "main_text"; } } 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 "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_SP_CONTINUE_TO_SPECIAL_OPS" visible when ( 1 ) action { play "mouse_click"; close self; if ( localvarbool( "ui_show_recommendation" ) ) { open "popmenu_recommendation_so"; } else { open "main_specops"; } } 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 "popmenu_recommendation_mp" 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 ); setLocalVarBool "ui_show_recommendation" ( 0 ); setfocus "sp"; } 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_NOTICE" } 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_SP_RECOMMENDATION" ) } itemDef { name "sp" 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_CAMPAIGN" visible when ( 1 ) action { play "mouse_click"; close self; if ( !getprofiledata( "hasEverPlayed_SP" ) ) { setGameMode "sp"; setdvar "specialops" 0; setdvar "ui_version_show" 0; setdvar "splitscreen" 0; exec "select_save_device"; execnow "nosplitscreen"; execnow "Updatedvarsfromprofile"; exec "profile_difficultyLoad"; exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } else { open "main_text"; } } 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 "mp" 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_SP_CONTINUE_TO_MULTIPLAYER" visible when ( 1 ) action { play "mouse_click"; close self; if ( localvarbool( "ui_show_recommendation" ) ) { open "popmenu_recommendation_mp"; } else { uiScript "startMultiplayer"; } } 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 "levels" 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 soundLoop "music_mainmenu_mp" onOpen { hide "act_group"; setLocalVarInt "ui_hide_act_button" ( 0 ); focusfirst; setdvar "splitscreen" 0; } onClose { } onEsc { close "levels"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } 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_MISSIONS_CAP" } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_sp_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -292 28 292 356 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 background "black" textscale 0.55 } itemDef { name "mapimage" rect -282 38 272 272 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_act_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -282 308 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "completion" rect -282 28 272 20 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textscale 0.375 visible when ( 0 ) exp text ( "@MENU_SP_COMPLETION" ) } itemDef { name "description" rect -282 332 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_act_desc" ) ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) ) } itemDef { name "@MENU_SP_ACT_I_CAPS" 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( 1 ) ) exp text ( "@MENU_SP_ACT_I_CAPS" ) action { play "mouse_click"; open "popmenu_act1"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 1 ); setLocalVarString "ui_act_desc" ( "" ); setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_trainer" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_ACT_II_CAPS" 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( getprofiledata( "highestMission" ) >= 5 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) ) exp text ( "@MENU_SP_ACT_II_CAPS" ) action { play "mouse_click"; open "popmenu_act2"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 2 ); setLocalVarString "ui_act_desc" ( "" ); setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_invasion" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_ACT_III_CAPS" 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( getprofiledata( "highestMission" ) >= 11 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) ) exp text ( "@MENU_SP_ACT_III_CAPS" ) action { play "mouse_click"; open "popmenu_act3"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 3 ); setLocalVarString "ui_act_desc" ( "" ); setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_contingency" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_MUSEUM_CAPS" 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( getprofiledata( "highestMission" ) >= 18 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) ) exp text ( "@MENU_SP_MUSEUM_CAPS" ) action { play "mouse_click"; setdvar "ui_char_museum_mode" "free"; exec "devmap ending" ;; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 4 ); setLocalVarString "ui_act_desc" ( "" ); setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_museum" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_ACT_II_CAPS" rect -64 48 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( !( getprofiledata( "highestMission" ) >= 5 ) && !dvarbool( "mis_cheat" ) && !dvarbool( "developer" ) ) ) ) exp text ( "@MENU_SP_ACT_II_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( ) ); "phint"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_ACT_III_CAPS" rect -64 68 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( !( getprofiledata( "highestMission" ) >= 11 ) && !dvarbool( "mis_cheat" ) && !dvarbool( "developer" ) ) ) ) exp text ( "@MENU_SP_ACT_III_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( ) ); "phint"; } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 0 88 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 visible when ( ( getprofiledata( "highestMission" ) >= 18 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) } itemDef { name "GAME LEVELS" 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 visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( dvarbool( "developer" ) ) ) exp text ( "GAME LEVELS" ) action { play "mouse_click"; open "levels_game"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 5 ); setLocalVarString "ui_act_desc" ( "" ); setLocalVarString "ui_act_levelshot" ( "black" ); } 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 "popmenu_act1" 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 soundLoop "music_mainmenu_mp" onOpen { setLocalVarInt "ui_hide_act_button" ( 1 ); } onClose { setLocalVarInt "ui_hide_act_button" ( 0 ); } onEsc { close self; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } 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_MISSIONS_CAP" } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@MENU_SP_ACT_I_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_sp_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -292 28 292 356 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 background "black" textscale 0.55 } itemDef { name "mapimage" rect -282 38 272 272 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -282 316 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_level_desc" ) ) } itemDef { name "name" rect -282 28 272 272 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 12 textalignx 2 textaligny 32 textscale 0.375 visible when ( 0 ) exp text ( localvarstring( "ui_level_name" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 1 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_RECRUIT" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 2 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_REGULAR" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 3 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_HARDENED" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 4 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_VETERAN" ) ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) ) } itemDef { name "@MENU_SP_SP_TRAINER" 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_SP_SP_TRAINER" visible when ( ( ( ( 0 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 0 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "trainer" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "trainer"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_TRAINER" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_trainer" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_TRAINER_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 0 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_ROADKILL" 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_SP_SP_ROADKILL" visible when ( ( ( ( 1 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 1 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "roadkill" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "roadkill"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_ROADKILL" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_roadkill" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_ROADKILL_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 1 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_CLIFFHANGER" 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_SP_SP_CLIFFHANGER" visible when ( ( ( ( 2 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 2 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "cliffhanger" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "cliffhanger"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_CLIFFHANGER" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_cliffhanger" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_CLIFFHANGER_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 2 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_AIRPORT" 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_SP_SP_AIRPORT" visible when ( ( ( ( 3 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 3 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "airport" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "airport"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_AIRPORT" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_airport" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_AIRPORT_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 3 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_FAVELA" 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_SP_SP_FAVELA" visible when ( ( ( ( 4 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 4 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "favela" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "favela"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_FAVELA" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_favela" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_FAVELA_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 4 ); } 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" } } menuDef { name "popmenu_act2" 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 soundLoop "music_mainmenu_mp" onOpen { focusfirst; setLocalVarInt "ui_hide_act_button" ( 1 ); } onClose { setLocalVarInt "ui_hide_act_button" ( 0 ); } onEsc { close self; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } 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_MISSIONS_CAP" } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@MENU_SP_ACT_II_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_sp_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -292 28 292 356 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 background "black" textscale 0.55 } itemDef { name "mapimage" rect -282 38 272 272 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -282 316 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_level_desc" ) ) } itemDef { name "name" rect -282 28 272 272 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 12 textalignx 2 textaligny 32 textscale 0.375 visible when ( 0 ) exp text ( localvarstring( "ui_level_name" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 1 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_RECRUIT" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 2 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_REGULAR" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 3 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_HARDENED" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 4 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_VETERAN" ) ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) ) } itemDef { name "@MENU_SP_SP_INVASION" 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_SP_SP_INVASION" visible when ( ( ( ( 5 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 5 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "invasion" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "invasion"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_INVASION" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_invasion" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_INVASION_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 5 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_FAVELA_ESCAPE" 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_SP_SP_FAVELA_ESCAPE" visible when ( ( ( ( 6 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 6 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "favela_escape" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "favela_escape"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_FAVELA_ESCAPE" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_favela_escape" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_FAVELA_ESCAPE_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 6 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_ARCADIA" 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_SP_SP_ARCADIA" visible when ( ( ( ( 7 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 7 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "arcadia" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "arcadia"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_ARCADIA" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_arcadia" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_ARCADIA_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 7 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_OILRIG" 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_SP_SP_OILRIG" visible when ( ( ( ( 8 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 8 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "oilrig" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "oilrig"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_OILRIG" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_oilrig" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_OILRIG_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 8 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_GULAG" 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_SP_SP_GULAG" visible when ( ( ( ( 9 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 9 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "gulag" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "gulag"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_GULAG" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_gulag" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_GULAG_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 9 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_DCBURNING" 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 text "@MENU_SP_SP_DCBURNING" visible when ( ( ( ( 10 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 10 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "dcburning" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "dcburning"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_DCBURNING" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_dcburning" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_DCBURNING_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 10 ); } 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" } } menuDef { name "popmenu_act3" 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 soundLoop "music_mainmenu_mp" onOpen { focusfirst; setLocalVarInt "ui_hide_act_button" ( 1 ); } onClose { setLocalVarInt "ui_hide_act_button" ( 0 ); } onEsc { close self; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } 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_MISSIONS_CAP" } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@MENU_SP_ACT_III_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_sp_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -292 28 292 356 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 background "black" textscale 0.55 } itemDef { name "mapimage" rect -282 38 272 272 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -282 316 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_level_desc" ) ) } itemDef { name "name" rect -282 28 272 272 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 12 textalignx 2 textaligny 32 textscale 0.375 visible when ( 0 ) exp text ( localvarstring( "ui_level_name" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 1 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_RECRUIT" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 2 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_REGULAR" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 3 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_HARDENED" ) ) } itemDef { rect -282 310 272 20 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 4 textaligny 52 textscale 0.375 visible when ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , localvarint( "ui_highlighted_level_number" ) ) ) == 4 ) ) exp text ( locstring( "@MENU_DIFFICULTY_COMPLETED" ) + " " + locstring( "@MENU_VETERAN" ) ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) ) } itemDef { name "@MENU_SP_SP_CONTINGENCY" 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_SP_SP_CONTINGENCY" visible when ( ( ( ( 11 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 11 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "contingency" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "contingency"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_CONTINGENCY" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_contingency" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_CONTINGENCY_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 11 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_DCEMP" 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_SP_SP_DCEMP" visible when ( ( ( ( 12 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 12 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "dcemp" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "dcemp"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_DCEMP" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_dcemp" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_DCEMP_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 12 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_DC_WHITEHOUSE" 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_SP_SP_DC_WHITEHOUSE" visible when ( ( ( ( 13 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 13 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "dc_whitehouse" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "dc_whitehouse"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_DC_WHITEHOUSE" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_dc_whitehouse" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_DC_WHITEHOUSE_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 13 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_ESTATE" 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_SP_SP_ESTATE" visible when ( ( ( ( 14 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 14 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "estate" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "estate"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_ESTATE" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_estate" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_ESTATE_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 14 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_BONEYARD" 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_SP_SP_BONEYARD" visible when ( ( ( ( 15 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 15 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "boneyard" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "boneyard"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_BONEYARD" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_boneyard" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_BONEYARD_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 15 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_AF_CAVES" 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 text "@MENU_SP_SP_AF_CAVES" visible when ( ( ( ( 16 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 16 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "af_caves" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "af_caves"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_AF_CAVES" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_af_caves" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_AF_CAVES_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 16 ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "@MENU_SP_SP_AF_CHASE" 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 text "@MENU_SP_SP_AF_CHASE" visible when ( ( ( ( 17 == 0 && getprofiledata( "highestMission" ) == 0 ) || ( getprofiledata( "highestMission" ) >= ( 17 ) || dvarbool( "mis_cheat" ) ) ) && 1 ) || dvarbool( "developer" ) ) action { play "mouse_click"; setdvar "credits" 0; setdvar "credits_active" 0; if ( "af_chase" == "trainer" ) { exec "devmap trainer"; } else { setdvar "ui_load_level" "af_chase"; open "popmenu_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( ) ); setLocalVarString "ui_level_name" ( "@MENU_SP_SP_AF_CHASE" ); setLocalVarString "ui_level_levelshot" ( "levelshot_mw2_af_chase" ); setLocalVarString "ui_level_desc" ( "@MENU_SP_SP_AF_CHASE_DESC" ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); setLocalVarInt "ui_highlighted_level_number" ( 17 ); } 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" } } menuDef { name "levels_iw4" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "IW4 Geometry Dev" ) } itemDef { rect 45 40 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 40 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 ( 1 ) } itemDef { rect 45 40 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 40 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" ) == "levels_iw4" ) } itemDef { rect 41 41 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 40 298 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 ( 1 ) exp text ( "NYC Townhouses (McCord)" ) action { play "mouse_click"; setdvar "ui_load_level" "nyc_townhouses"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue ˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 64 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 ( 1 ) } itemDef { rect 45 64 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 64 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" ) == "levels_iw4" ) } itemDef { rect 41 65 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 64 298 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 ( 1 ) exp text ( "Bigcity Destroyed (Alex)" ) action { play "mouse_click"; setdvar "ui_load_level" "bigcity_destroyed"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; "execondvarstringvaluˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 88 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 ( 1 ) } itemDef { rect 45 88 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 88 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" ) == "levels_iw4" ) } itemDef { rect 41 89 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 88 298 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 ( 1 ) exp text ( "Int'l Space Station (Roger)" ) action { play "mouse_click"; setdvar "ui_load_level" "iss"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_load_leˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 112 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 ( 1 ) } itemDef { rect 45 112 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 112 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" ) == "levels_iw4" ) } itemDef { rect 41 113 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 112 298 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 ( 1 ) exp text ( "White House Assault (Preston)" ) action { play "mouse_click"; setdvar "ui_load_level" "whitehouse_assault"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; "execondvarstringvalˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 136 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 136 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 ( 1 ) } itemDef { rect 45 136 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 136 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" ) == "levels_iw4" ) } itemDef { rect 41 137 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 136 298 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 ( 1 ) exp text ( "Plaza (Tsu & Chad & Nate)" ) action { play "mouse_click"; setdvar "ui_load_level" "plaza"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_load_ˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 160 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 160 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 ( 1 ) } itemDef { rect 45 160 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 160 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" ) == "levels_iw4" ) } itemDef { rect 41 161 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 160 298 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 ( 1 ) exp text ( "DC Hunted (Rocket)" ) action { play "mouse_click"; setdvar "ui_load_level" "dc_hunted"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_lˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 184 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 184 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 ( 1 ) } itemDef { rect 45 184 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 184 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" ) == "levels_iw4" ) } itemDef { rect 41 185 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 184 298 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 ( 1 ) exp text ( "Texture Garden (Cherub)" ) action { play "mouse_click"; setdvar "ui_load_level" "rad_test"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 208 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 208 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 ( 1 ) } itemDef { rect 45 208 292.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" ) == "levels_iw4" ) } itemDef { rect 337.5 208 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" ) == "levels_iw4" ) } itemDef { rect 41 209 298 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" ) == "levels_iw4" && 1 ) } itemDef { rect 45 208 298 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 ( 1 ) exp text ( "Strip Club (Jake)" ) action { play "mouse_click"; setdvar "ui_load_level" "east_village"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "uˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 232 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 232 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 ( 1 ) } itemDef { rect 45 232 292.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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 337.5 232 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 41 233 298 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 45 232 298 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 ( 1 ) exp text ( "Estate (Steve)" ) action { play "mouse_click"; setdvar "ui_load_level" "estate"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loadˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 256 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 256 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 ( 1 ) } itemDef { rect 45 256 292.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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 337.5 256 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 41 257 298 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 45 256 298 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 ( 1 ) exp text ( "DC Tank Drive (McCord)" ) action { play "mouse_click"; setdvar "ui_load_level" "dc_tankdrive"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "uˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 10 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 280 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 280 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 ( 1 ) } itemDef { rect 45 280 292.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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 337.5 280 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 41 281 298 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 45 280 298 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 ( 1 ) exp text ( "Bone swaggled. (Ned)" ) action { play "mouse_click"; setdvar "ui_load_level" "boneyard"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 11 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 304 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 304 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 ( 1 ) } itemDef { rect 45 304 292.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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 337.5 304 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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 41 305 298 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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 45 304 298 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 ( 1 ) exp text ( "Hacienda (Ned)" ) action { play "mouse_click"; setdvar "ui_load_level" "hacienda"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 12 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 328 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 328 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 ( 1 ) } itemDef { rect 45 328 292.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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 337.5 328 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 41 329 298 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 45 328 298 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 ( 1 ) exp text ( "Glass Shatter Test (RoBoT)" ) action { play "mouse_click"; setdvar "ui_load_level" "glass_shatter_test"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; "execondvarstringvalˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 13 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 352 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 352 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 ( 1 ) } itemDef { rect 45 352 292.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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 337.5 352 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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 41 353 298 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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 45 352 298 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 ( 1 ) exp text ( "Favela (Roger)" ) action { play "mouse_click"; setdvar "ui_load_level" "favela"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loadˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 14 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 40 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 40 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 ( 1 ) } itemDef { rect 325 40 292.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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 40 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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 41 298 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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 40 298 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 ( 1 ) exp text ( "Contingency (Julian)" ) action { play "mouse_click"; setdvar "ui_load_level" "contingency"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "uiˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 15 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 64 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 64 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 ( 1 ) } itemDef { rect 325 64 292.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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 64 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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 65 298 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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 64 298 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 ( 1 ) exp text ( "Outsourced models (Boon)" ) action { play "mouse_click"; setdvar "ui_load_level" "model_previewer_outsourced"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; "execondvarsˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 16 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 88 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 88 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 ( 1 ) } itemDef { rect 325 88 292.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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 88 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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 89 298 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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 88 298 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 ( 1 ) exp text ( "Favela Escape (Porter)" ) action { play "mouse_click"; setdvar "ui_load_level" "favela_escape"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 17 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 112 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 112 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 ( 1 ) } itemDef { rect 325 112 292.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" ) == 18 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 112 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" ) == 18 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 113 298 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" ) == 18 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 112 298 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 ( 1 ) exp text ( "Roadkill (Royce)" ) action { play "mouse_click"; setdvar "ui_load_level" "roadkill"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 18 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 136 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 136 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 ( 1 ) } itemDef { rect 325 136 292.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" ) == 19 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 136 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" ) == 19 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 137 298 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" ) == 19 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 136 298 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 ( 1 ) exp text ( "Afghan Chase (Dionne)" ) action { play "mouse_click"; setdvar "ui_load_level" "af_chase"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 19 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 160 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 160 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 ( 1 ) } itemDef { rect 325 160 292.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" ) == 20 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 160 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" ) == 20 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 161 298 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" ) == 20 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 160 298 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 ( 1 ) exp text ( "Arcadia (Rocket)" ) action { play "mouse_click"; setdvar "ui_load_level" "arcadia"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loaˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 20 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 184 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 617.5 184 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 ( 1 ) } itemDef { rect 325 184 292.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" ) == 21 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 617.5 184 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" ) == 21 && localvarstring( "ui_choicegroup" ) == "levels_iw4" ) } itemDef { rect 321 185 298 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" ) == 21 && localvarstring( "ui_choicegroup" ) == "levels_iw4" && 1 ) } itemDef { rect 325 184 298 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 ( 1 ) exp text ( "Afghan Caves (McCord)" ) action { play "mouse_click"; setdvar "ui_load_level" "af_caves"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "suburban_america" "devmap suburban_america"; execOnDvarStringValue "ui_load_level" "bigcity_destroyed" "devmap bigcity_destroyed"; execOnDvarStringValue "ui_load_level" "iss" "devmap iss"; execOnDvarStringValue "ui_load_level" "nyc_townhouses" "devmap nyc_townhouses"; execOnDvarStringValue "ui_load_level" "whitehouse_assault" "devmap whitehouse_assault"; execOnDvarStringValue "ui_load_level" "plaza" "devmap plaza"; execOnDvarStringValue "ui_load_level" "dc_hunted" "devmap dc_hunted"; execOnDvarStringValue "ui_load_level" "painter_test" "devmap painter_test"; execOnDvarStringValue "ui_load_level" "rad_test" "devmap rad_test"; execOnDvarStringValue "ui_load_level" "east_village" "devmap east_village"; execOnDvarStringValue "ui_loˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 21 ); setLocalVarString "ui_choicegroup" ( "levels_iw4" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_game" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "Game Levels" ) } itemDef { rect 45 40 292.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 337.5 40 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 45 40 292.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" ) == "levels" ) } itemDef { rect 337.5 40 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" ) == "levels" ) } itemDef { rect 41 41 298 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" ) == "levels" && 1 ) } itemDef { rect 45 40 298 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 ( "Desert Training (McCord/Jake)" ) action { play "mouse_click"; setdvar "ui_load_level" "trainer"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.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 337.5 64 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 45 64 292.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" ) == "levels" ) } itemDef { rect 337.5 64 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" ) == "levels" ) } itemDef { rect 41 65 298 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" ) == "levels" && 1 ) } itemDef { rect 45 64 298 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 ( "Roadkill (Royce/Mackey)" ) action { play "mouse_click"; setdvar "ui_load_level" "roadkill"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.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 337.5 88 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 45 88 292.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" ) == "levels" ) } itemDef { rect 337.5 88 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" ) == "levels" ) } itemDef { rect 41 89 298 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" ) == "levels" && 1 ) } itemDef { rect 45 88 298 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 ( "Cliffhanger (Mackey/Zied)" ) action { play "mouse_click"; setdvar "ui_load_level" "cliffhanger"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.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 337.5 112 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 45 112 292.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" ) == "levels" ) } itemDef { rect 337.5 112 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" ) == "levels" ) } itemDef { rect 41 113 298 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" ) == "levels" && 1 ) } itemDef { rect 45 112 298 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 ( "Airport (Mo)" ) action { play "mouse_click"; setdvar "ui_load_level" "airport"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 136 292.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 337.5 136 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 45 136 292.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" ) == "levels" ) } itemDef { rect 337.5 136 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" ) == "levels" ) } itemDef { rect 41 137 298 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" ) == "levels" && 1 ) } itemDef { rect 45 136 298 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 ( "Favela (Chad)" ) action { play "mouse_click"; setdvar "ui_load_level" "favela"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 160 292.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 337.5 160 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 45 160 292.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" ) == "levels" ) } itemDef { rect 337.5 160 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" ) == "levels" ) } itemDef { rect 41 161 298 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" ) == "levels" && 1 ) } itemDef { rect 45 160 298 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 ( "Invasion (Zied)" ) action { play "mouse_click"; setdvar "ui_load_level" "invasion"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 184 292.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 337.5 184 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 45 184 292.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" ) == "levels" ) } itemDef { rect 337.5 184 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" ) == "levels" ) } itemDef { rect 41 185 298 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" ) == "levels" && 1 ) } itemDef { rect 45 184 298 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 ( "Favela Escape (Porter/Sean)" ) action { play "mouse_click"; setdvar "ui_load_level" "favela_escape"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 208 292.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 337.5 208 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 45 208 292.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" ) == "levels" ) } itemDef { rect 337.5 208 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" ) == "levels" ) } itemDef { rect 41 209 298 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" ) == "levels" && 1 ) } itemDef { rect 45 208 298 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 ( "Arcadia (Rocket/Chad)" ) action { play "mouse_click"; setdvar "ui_load_level" "arcadia"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 232 292.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 337.5 232 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 45 232 292.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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 232 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 233 298 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 232 298 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 ( "Oilrig (Jake)" ) action { play "mouse_click"; setdvar "ui_load_level" "oilrig"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 256 292.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 337.5 256 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 45 256 292.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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 256 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 257 298 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 256 298 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 ( "Gulag (McCord/Mackey)" ) action { play "mouse_click"; setdvar "ui_load_level" "gulag"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 10 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 280 292.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 337.5 280 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 45 280 292.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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 280 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 281 298 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 280 298 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 ( "DC Burning (McCord/Jake)" ) action { play "mouse_click"; setdvar "ui_load_level" "dcburning"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 11 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 304 292.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 337.5 304 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 45 304 292.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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 304 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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 305 298 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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 304 298 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 ( "Contingency (Julian/Zied)" ) action { play "mouse_click"; setdvar "ui_load_level" "contingency"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 12 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 328 292.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 337.5 328 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 45 328 292.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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 328 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 329 298 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 328 298 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 ( "DC EMP (Mo/Rocket/McCord)" ) action { play "mouse_click"; setdvar "ui_load_level" "dcemp"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 13 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 352 292.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 337.5 352 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 45 352 292.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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 352 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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 353 298 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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 352 298 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 ( "Estate (Steve/Julian)" ) action { play "mouse_click"; setdvar "ui_load_level" "estate"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 14 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 40 292.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 617.5 40 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 325 40 292.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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 40 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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 41 298 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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 40 298 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 ( "Boneyard (Ned/Roger)" ) action { play "mouse_click"; setdvar "ui_load_level" "boneyard"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 15 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 64 292.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 617.5 64 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 325 64 292.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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 64 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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 65 298 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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 64 298 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 ( "Afghan Caves (Ned)" ) action { play "mouse_click"; setdvar "ui_load_level" "af_caves"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 16 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 88 292.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 617.5 88 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 325 88 292.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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 88 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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 89 298 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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 88 298 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 ( "Afghan Chase (Dionne/Nate)" ) action { play "mouse_click"; setdvar "ui_load_level" "af_chase"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 17 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 112 292.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 617.5 112 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 325 112 292.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" ) == 18 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 112 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" ) == 18 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 113 298 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" ) == 18 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 112 298 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 ( "Character Museum" ) action { play "mouse_click"; setdvar "ui_load_level" "ending"; exec "devmap ending" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 18 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "pmc_missions" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "PMC Contracts" ) } itemDef { rect 10 80 290 320 0 0 style 3 border 1 bordersize 1 decoration visible 1 bordercolor 1 1 1 0.3 textscale 0.55 exp material ( "white" ) } itemDef { rect 310 80 320 320 0 0 style 3 border 1 bordersize 1 decoration visible 1 bordercolor 1 1 1 0.3 textscale 0.55 exp material ( "white" ) } itemDef { rect 312 82 316 110 0 0 style 3 decoration visible 1 textscale 0.55 exp material ( "white" ) } itemDef { rect 320 140 305 50 0 0 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textalign 12 textscale 0.4 textstyle 3 exp text ( dvarstring( "ui_pmc_name" ) ) } itemDef { rect 320 195 305 105 0 0 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textalign 4 textscale 0.4 textstyle 3 exp text ( dvarstring( "ui_pmc_unlock" ) ) } itemDef { rect 320 195 305 105 0 0 decoration autowrapped visible 1 forecolor 0.69 0.69 0.69 1 textalign 4 textscale 0.4 textstyle 3 exp text ( dvarstring( "ui_pmc_desc" ) ) } itemDef { rect 320 310 305 80 0 0 decoration autowrapped visible 1 forecolor 0.69 0.69 0.69 1 textalign 4 textscale 0.4 textstyle 3 exp text ( dvarstring( "ui_pmc_prize" ) ) } itemDef { rect 320 375 305 60 0 0 decoration autowrapped visible 1 forecolor 0.69 0.69 0.69 1 textalign 4 textscale 0.4 textstyle 3 exp text ( dvarstring( "ui_pmc_players" ) ) } itemDef { rect 320 375 305 60 0 0 decoration autowrapped visible 1 forecolor 0.69 0.69 0.69 1 textalign 6 textscale 0.4 textstyle 3 exp text ( dvarstring( "ui_pmc_threat" ) ) } itemDef { name "contract_01" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_01" ) } itemDef { name "contract_02" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_02" ) } itemDef { name "contract_03" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_03" ) } itemDef { name "contract_04" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_04" ) } itemDef { name "contract_05" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_05" ) } itemDef { name "contract_06" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_06" ) } itemDef { name "contract_07" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_07" ) } itemDef { name "contract_locked" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "pmc_contract_locked" ) } itemDef { name "noimage" rect 540 85 85 85 0 0 group "act_group" style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( "black" ) } itemDef { rect 100 50 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 50 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 ( 1 ) } itemDef { rect 100 50 234.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" ) == "levels" ) } itemDef { rect 334.5 50 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" ) == "levels" ) } itemDef { rect 96 51 240 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" ) == "levels" && 1 ) } itemDef { rect 100 50 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_1_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "pmc_crossfire"; open "format_select"; exec "set pmc_force_gametype pmc_gametype_elimination; set pmc_force_density pmc_diff_light; set pmc_force_xp_reward 500; set pmc_use_forced_settings 1"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_01"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_1_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_1_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_1_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_1_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_1_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 74 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 74 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 ( 1 ) } itemDef { rect 100 74 234.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" ) == "levels" ) } itemDef { rect 334.5 74 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" ) == "levels" ) } itemDef { rect 96 75 240 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" ) == "levels" && 1 ) } itemDef { rect 100 74 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_2_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "pmc_crash"; open "format_select"; exec "set pmc_force_gametype pmc_gametype_objective; set pmc_force_density pmc_diff_moderate; set pmc_force_xp_reward 2000; set pmc_use_forced_settings 1"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_02"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_2_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_2_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_2_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_2_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_2_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 98 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 98 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 ( 1 ) } itemDef { rect 100 98 234.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" ) == "levels" ) } itemDef { rect 334.5 98 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" ) == "levels" ) } itemDef { rect 96 99 240 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" ) == "levels" && 1 ) } itemDef { rect 100 98 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_3_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "pmc_strike"; open "format_select"; exec "set pmc_force_gametype pmc_gametype_defend; set pmc_force_density pmc_diff_heavy; set pmc_force_xp_reward 1500; set pmc_use_forced_settings 1"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_03"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_3_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_3_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_3_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_3_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_3_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 122 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 122 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 ( 1 ) } itemDef { rect 100 122 234.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" ) == "levels" ) } itemDef { rect 334.5 122 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" ) == "levels" ) } itemDef { rect 96 123 240 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" ) == "levels" && 1 ) } itemDef { rect 100 122 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_4_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "pmc_highrise"; open "format_select"; exec "set pmc_force_gametype pmc_gametype_elimination; set pmc_force_density pmc_diff_heavy; set pmc_force_xp_reward 2000; set pmc_use_forced_settings 1"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_04"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_4_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_4_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_4_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_4_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_4_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 146 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 146 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 ( 1 ) } itemDef { rect 100 146 234.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" ) == "levels" ) } itemDef { rect 334.5 146 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" ) == "levels" ) } itemDef { rect 96 147 240 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" ) == "levels" && 1 ) } itemDef { rect 100 146 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_5_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "co_hunted"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_05"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_5_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_5_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_5_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_5_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_5_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 170 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 170 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 ( 1 ) } itemDef { rect 100 170 234.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" ) == "levels" ) } itemDef { rect 334.5 170 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" ) == "levels" ) } itemDef { rect 96 171 240 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" ) == "levels" && 1 ) } itemDef { rect 100 170 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_6_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "co_scoutsniper"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_06"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_6_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_6_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_6_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_6_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_6_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 194 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 194 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 ( 1 ) } itemDef { rect 100 194 234.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" ) == "levels" ) } itemDef { rect 334.5 194 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" ) == "levels" ) } itemDef { rect 96 195 240 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" ) == "levels" && 1 ) } itemDef { rect 100 194 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_7_NAME" ) action { play "mouse_click"; setdvar "ui_load_level" "co_blackout"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_07"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_7_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_7_DESC"; exec "set ui_pmc_prize @MENU_PMC_CONTRACT_7_PRIZE"; exec "set ui_pmc_players @MENU_PMC_CONTRACT_7_PLAYERS"; exec "set ui_pmc_threat @MENU_PMC_CONTRACT_7_THREAT"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 218 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 218 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 ( 1 ) } itemDef { rect 100 218 234.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" ) == "levels" ) } itemDef { rect 334.5 218 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" ) == "levels" ) } itemDef { rect 96 219 240 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" ) == "levels" && 0 ) } itemDef { rect 100 218 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@NULL_EMPTY" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_locked"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_8_NAME"; exec "set ui_pmc_unlock @MENU_PMC_CONTRACT_8_UNLOCK"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 218 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 218 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 ( 1 ) } itemDef { rect 100 218 240 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_8_NAME" ) } itemDef { rect 100 242 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 242 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 ( 1 ) } itemDef { rect 100 242 234.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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 334.5 242 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 96 243 240 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" && 0 ) } itemDef { rect 100 242 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@NULL_EMPTY" ) action { play "mouse_click"; ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "contract_locked"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_9_NAME"; exec "set ui_pmc_unlock @MENU_PMC_CONTRACT_9_UNLOCK"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 100 242 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 242 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 ( 1 ) } itemDef { rect 100 242 240 22 1 1 decoration visible 1 forecolor 0.5 0.5 0.5 0.5 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_9_NAME" ) } itemDef { rect 100 338 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 334.5 338 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 ( 1 ) } itemDef { rect 100 338 234.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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 334.5 338 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 96 339 240 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 100 338 240 22 1 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.4 textstyle 6 visible when ( 1 ) exp text ( "@MENU_PMC_CONTRACT_CUSTOM_NAME" ) action { play "mouse_click"; open "settings_custom_pmc"; play "mouse_click" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 13 ); setLocalVarString "ui_choicegroup" ( "levels" ); hide "act_group"; show "noimage"; exec "set ui_pmc_desc @NULL_EMPTY"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_name @NULL_EMPTY"; exec "set ui_pmc_unlock @NULL_EMPTY"; ; exec "set ui_pmc_name @MENU_PMC_CONTRACT_CUSTOM_NAME"; exec "set ui_pmc_desc @MENU_PMC_CONTRACT_CUSTOM_DESC"; exec "set ui_pmc_prize @NULL_EMPTY"; exec "set ui_pmc_players @NULL_EMPTY"; exec "set ui_pmc_threat @NULL_EMPTY"; } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 56 76 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_new" ) } itemDef { rect 56 100 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_new" ) } itemDef { rect 56 124 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_new" ) } itemDef { rect 56 148 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_new" ) } itemDef { rect 56 172 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_new" ) } itemDef { rect 56 196 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_new" ) } itemDef { rect 56 220 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_locked" ) } itemDef { rect 56 244 44 22 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( 1 ) exp material ( "specialty_locked" ) } } menuDef { name "settings_custom_pmc_@menu_pmc_custom_contract_type" rect -272 64 272 18 2 1 style 1 popup forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 exp rect y ( localvarint( "ui_popupYPos" ) ) onOpen { focusfirst; setfocusbydvar "pmc_force_gametype"; setLocalVarBool "ui_hideSelectButton" ( 1 ); } onClose { setLocalVarBool "ui_hideSelectButton" ( 0 ); } onEsc { play "mouse_click"; close self; } itemDef { rect -272 64 0 0 2 1 style 3 decoration visible 1 textscale 0.55 exp material ( "white" ) } itemDef { rect -1272 -936 4000 4000 2 1 style 3 decoration visible 1 forecolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -128 64 110 55 2 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 textscale 0.55 exp material ( "white" ) } itemDef { rect -144 48 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 48 110 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 48 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 64 16 55 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 119 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 119 110 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -144 119 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -144 64 16 55 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 64 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_ELIMINATION" dvarTest "pmc_force_gametype" focusDvar { 1 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_ELIMINATION" != "" ) action { setdvar "pmc_force_gametype" 1 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 79 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_OBJECTIVE" dvarTest "pmc_force_gametype" focusDvar { 2 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_OBJECTIVE" != "" ) action { setdvar "pmc_force_gametype" 2 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 94 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_DEFEND" dvarTest "pmc_force_gametype" focusDvar { 3 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_DEFEND" != "" ) action { setdvar "pmc_force_gametype" 3 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 109 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_force_gametype" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_force_gametype" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 124 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_force_gametype" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_force_gametype" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 139 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_force_gametype" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_force_gametype" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } } menuDef { name "settings_custom_pmc_@menu_pmc_custom_contract_density" rect -272 82 272 18 2 1 style 1 popup forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 exp rect y ( localvarint( "ui_popupYPos" ) ) onOpen { focusfirst; setfocusbydvar "pmc_force_density"; setLocalVarBool "ui_hideSelectButton" ( 1 ); } onClose { setLocalVarBool "ui_hideSelectButton" ( 0 ); } onEsc { play "mouse_click"; close self; } itemDef { rect -272 82 0 0 2 1 style 3 decoration visible 1 textscale 0.55 exp material ( "white" ) } itemDef { rect -1272 -918 4000 4000 2 1 style 3 decoration visible 1 forecolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -128 82 110 70 2 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 textscale 0.55 exp material ( "white" ) } itemDef { rect -144 66 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 66 110 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 66 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 82 16 70 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 152 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 152 110 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -144 152 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -144 82 16 70 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 82 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_LIGHT" dvarTest "pmc_force_density" focusDvar { 1 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_LIGHT" != "" ) action { setdvar "pmc_force_density" 1 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 97 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_MODERATE" dvarTest "pmc_force_density" focusDvar { 2 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_MODERATE" != "" ) action { setdvar "pmc_force_density" 2 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 112 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_HEAVY" dvarTest "pmc_force_density" focusDvar { 3 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_HEAVY" != "" ) action { setdvar "pmc_force_density" 3 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 127 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_MAXIMUM" dvarTest "pmc_force_density" focusDvar { 4 } visible when ( "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_MAXIMUM" != "" ) action { setdvar "pmc_force_density" 4 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 142 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_force_density" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_force_density" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 157 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_force_density" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_force_density" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } } menuDef { name "settings_custom_pmc_@menu_pmc_map" rect -272 118 272 18 2 1 style 1 popup forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 exp rect y ( localvarint( "ui_popupYPos" ) ) onOpen { focusfirst; setfocusbydvar "pmc_map"; setLocalVarBool "ui_hideSelectButton" ( 1 ); } onClose { setLocalVarBool "ui_hideSelectButton" ( 0 ); } onEsc { play "mouse_click"; close self; } itemDef { rect -272 118 0 0 2 1 style 3 decoration visible 1 textscale 0.55 exp material ( "white" ) } itemDef { rect -1272 -882 4000 4000 2 1 style 3 decoration visible 1 forecolor 0 0 0 0.35 background "white" textscale 0.55 } itemDef { rect -128 118 110 70 2 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 textscale 0.55 exp material ( "white" ) } itemDef { rect -144 102 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 102 110 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 102 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 118 16 70 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect -18 188 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 188 110 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -144 188 16 16 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -144 118 16 70 2 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -128 118 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_STRIKE" dvarTest "pmc_map" focusDvar { 1 } visible when ( "@MENU_PMC_STRIKE" != "" ) action { setdvar "pmc_map" 1 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 133 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CROSSFIRE" dvarTest "pmc_map" focusDvar { 2 } visible when ( "@MENU_PMC_CROSSFIRE" != "" ) action { setdvar "pmc_map" 2 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 148 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_CRASH" dvarTest "pmc_map" focusDvar { 3 } visible when ( "@MENU_PMC_CRASH" != "" ) action { setdvar "pmc_map" 3 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 163 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 text "@MENU_PMC_HIGHRISE" dvarTest "pmc_map" focusDvar { 4 } visible when ( "@MENU_PMC_HIGHRISE" != "" ) action { setdvar "pmc_map" 4 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 178 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_map" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_map" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } itemDef { rect -128 193 128 15 2 1 visible 1 forecolor 0.65 0.65 0.65 1 textalign 8 textalignx 12 textscale 0.375 dvarTest "pmc_map" focusDvar { 0 } visible when ( "" != "" ) action { setdvar "pmc_map" 0 play "mouse_click"; close self; } leaveFocus { play "mouse_submenu_over"; } } } menuDef { name "settings_custom_pmc" 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 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close "settings_custom_pmc"; exec "set pmc_use_forced_settings 0"; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" textscale 0.55 } 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_PMC_CONTRACT_CUSTOM" ) } 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 0 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 41 240 0.5 0 1 style 3 decoration visible 1 forecolor 1 1 1 0.85 background "line_horizontal" textscale 0.55 } itemDef { rect 68 42 200 10 0 1 style 3 decoration visible 1 forecolor 0.4 0.6 1 0.8 background "line_horizontal" textscale 0.55 } itemDef { rect 48 53 240 0.5 0 1 style 3 decoration visible 1 forecolor 1 1 1 0.85 background "line_horizontal" textscale 0.55 } itemDef { rect 48 33 240 24 0 1 decoration visible 1 forecolor 1 1 1 0.8 textfont 1 textalign 9 textscale 0.4583 textstyle 6 exp text ( "@MENU_PMC_GAME_SETTINGS" ) } itemDef { rect 48 58 144.5 22 0 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 192.5 58 5.5 22 0 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 44 58 150 22 0 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 { rect 48 58 144.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 192.5 58 5.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 48 58 150 22 0 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.375 textstyle 6 exp text ( "@MENU_PMC_CUSTOM_CONTRACT_TYPE" ) } itemDef { name "sidenav_button_2" rect 48 58 270 22 0 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 170 textscale 0.375 textstyle 3 dvar "pmc_force_gametype" dvarFloatList { "@MENU_PMC_CUSTOM_CONTRACT_ELIMINATION" 1 "@MENU_PMC_CUSTOM_CONTRACT_OBJECTIVE" 2 "@MENU_PMC_CUSTOM_CONTRACT_DEFEND" 3 "" 0 "" 0 "" 0 } execKey "APAD_RIGHT" { setfocus "sidenav_button_16"; } execKey "DPAD_RIGHT" { setfocus "sidenav_button_16"; } action { play "mouse_click"; open "settings_custom_pmc_@MENU_PMC_CUSTOM_CONTRACT_TYPE"; play "mouse_click" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 48 82 144.5 22 0 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 192.5 82 5.5 22 0 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 44 82 150 22 0 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 48 82 144.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 192.5 82 5.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 48 82 150 22 0 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.375 textstyle 6 exp text ( "@MENU_PMC_CUSTOM_CONTRACT_DENSITY" ) } itemDef { name "sidenav_button_3" rect 48 82 270 22 0 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 170 textscale 0.375 textstyle 3 dvar "pmc_force_density" dvarFloatList { "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_LIGHT" 1 "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_MODERATE" 2 "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_HEAVY" 3 "@MENU_PMC_CUSTOM_CONTRACT_DENSITY_MAXIMUM" 4 "" 0 "" 0 } execKey "APAD_RIGHT" { setfocus "sidenav_button_17"; } execKey "DPAD_RIGHT" { setfocus "sidenav_button_17"; } action { play "mouse_click"; open "settings_custom_pmc_@MENU_PMC_CUSTOM_CONTRACT_DENSITY"; play "mouse_click" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 48 106 144.5 22 0 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 192.5 106 5.5 22 0 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 44 106 150 22 0 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 48 106 144.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 192.5 106 5.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 48 106 150 22 0 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.375 textstyle 6 exp text ( "@MENU_PMC_CUSTOM_CONTRACT_ENABLE_VEHICLES" ) } itemDef { name "sidenav_button_4" rect 48 106 270 22 0 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 170 textscale 0.375 textstyle 3 dvar "pmc_enable_vehicles" dvarFloatList { "@MENU_DISABLED" 0 "@MENU_ENABLED" 1 } execKey "APAD_RIGHT" { setfocus "sidenav_button_18"; } execKey "DPAD_RIGHT" { setfocus "sidenav_button_18"; } action { play "mouse_click"; exec "toggle pmc_enable_vehicles 0 1"; play "mouse_click" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 48 130 144.5 22 0 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 192.5 130 5.5 22 0 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 44 130 150 22 0 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 48 130 144.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 192.5 130 5.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 48 130 150 22 0 1 decoration visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.375 textstyle 6 exp text ( "@MENU_PMC_MAP" ) } itemDef { name "sidenav_button_5" rect 48 130 270 22 0 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 170 textscale 0.375 textstyle 3 dvar "pmc_map" dvarFloatList { "@MENU_PMC_STRIKE" 1 "@MENU_PMC_CROSSFIRE" 2 "@MENU_PMC_CRASH" 3 "@MENU_PMC_HIGHRISE" 4 "" 0 "" 0 } execKey "APAD_RIGHT" { setfocus "sidenav_button_19"; } execKey "DPAD_RIGHT" { setfocus "sidenav_button_19"; } action { play "mouse_click"; open "settings_custom_pmc_@MENU_PMC_MAP"; play "mouse_click" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 48 178 144.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 192.5 178 5.5 22 0 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 48 178 144.5 22 0 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" ) == "" ) } itemDef { rect 192.5 178 5.5 22 0 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" ) == "" ) } itemDef { rect 44 178 150 22 0 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" ) == "" && 1 ) } itemDef { rect 48 178 150 22 0 1 visible 1 forecolor 0.69 0.69 0.69 1 type 1 textfont 1 textalign 10 textalignx -26 textscale 0.375 textstyle 6 exp text ( "@MENU_PMC_START_CONTRACT" ) action { play "mouse_click" ;; if ( dvarint( "pmc_map" ) == 1 ) { setdvar "ui_load_level" "pmc_strike"; open "format_select"; } if ( dvarint( "pmc_map" ) == 2 ) { setdvar "ui_load_level" "pmc_crossfire"; open "format_select"; } if ( dvarint( "pmc_map" ) == 3 ) { setdvar "ui_load_level" "pmc_crash"; open "format_select"; } if ( dvarint( "pmc_map" ) == 4 ) { setdvar "ui_load_level" "pmc_highrise"; open "format_select"; } exec "set pmc_use_forced_settings 1"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_game_coop" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "Co-op Missions" ) } itemDef { rect 18 40 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 40 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 ( 1 ) } itemDef { rect 18 40 234.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" ) == "levels" ) } itemDef { rect 252.5 40 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" ) == "levels" ) } itemDef { rect 14 41 240 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" ) == "levels" && 1 ) } itemDef { rect 18 40 240 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 ( 1 ) exp text ( "Blackout" ) action { play "mouse_click"; setdvar "ui_load_level" "co_blackout"; setdvar "coop_mapName" "co_blackout"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 40 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 40 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 ( 0 ) } itemDef { rect 18 40 240 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 ( 0 ) exp text ( "Blackout" ) } itemDef { rect 18 64 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 64 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 ( 1 ) } itemDef { rect 18 64 234.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" ) == "levels" ) } itemDef { rect 252.5 64 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" ) == "levels" ) } itemDef { rect 14 65 240 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" ) == "levels" && 1 ) } itemDef { rect 18 64 240 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 ( 1 ) exp text ( "Armada" ) action { play "mouse_click"; setdvar "ui_load_level" "co_armada"; setdvar "coop_mapName" "co_armada"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 64 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 64 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 ( 0 ) } itemDef { rect 18 64 240 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 ( 0 ) exp text ( "Armada" ) } itemDef { rect 18 88 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 88 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 ( 1 ) } itemDef { rect 18 88 234.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" ) == "levels" ) } itemDef { rect 252.5 88 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" ) == "levels" ) } itemDef { rect 14 89 240 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" ) == "levels" && 1 ) } itemDef { rect 18 88 240 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 ( 1 ) exp text ( "Crossfire" ) action { play "mouse_click"; setdvar "ui_load_level" "co_crossfire"; setdvar "coop_mapName" "co_crossfire"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 88 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 88 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 ( 0 ) } itemDef { rect 18 88 240 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 ( 0 ) exp text ( "Crossfire" ) } itemDef { rect 18 112 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 112 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 ( 1 ) } itemDef { rect 18 112 234.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" ) == "levels" ) } itemDef { rect 252.5 112 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" ) == "levels" ) } itemDef { rect 14 113 240 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" ) == "levels" && 1 ) } itemDef { rect 18 112 240 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 ( 1 ) exp text ( "Overgrown" ) action { play "mouse_click"; setdvar "ui_load_level" "co_overgrown"; setdvar "coop_mapName" "co_overgrown"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 112 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 112 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 ( 0 ) } itemDef { rect 18 112 240 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 ( 0 ) exp text ( "Overgrown" ) } itemDef { rect 18 136 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 136 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 ( 1 ) } itemDef { rect 18 136 234.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" ) == "levels" ) } itemDef { rect 252.5 136 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" ) == "levels" ) } itemDef { rect 14 137 240 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" ) == "levels" && 1 ) } itemDef { rect 18 136 240 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 ( 1 ) exp text ( "Hunted/AC-130" ) action { play "mouse_click"; setdvar "ui_load_level" "co_hunted"; setdvar "coop_mapName" "co_hunted"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 136 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 136 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 ( 0 ) } itemDef { rect 18 136 240 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 ( 0 ) exp text ( "Hunted/AC-130" ) } itemDef { rect 18 160 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 160 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 ( 1 ) } itemDef { rect 18 160 234.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" ) == "levels" ) } itemDef { rect 252.5 160 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" ) == "levels" ) } itemDef { rect 14 161 240 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" ) == "levels" && 1 ) } itemDef { rect 18 160 240 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 ( 1 ) exp text ( "Launchfacility A" ) action { play "mouse_click"; setdvar "ui_load_level" "co_launchfacility_a"; setdvar "coop_mapName" "co_launchfacility_a"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 160 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 160 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 ( 0 ) } itemDef { rect 18 160 240 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 ( 0 ) exp text ( "Launchfacility A" ) } itemDef { rect 18 184 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 184 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 ( 1 ) } itemDef { rect 18 184 234.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" ) == "levels" ) } itemDef { rect 252.5 184 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" ) == "levels" ) } itemDef { rect 14 185 240 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" ) == "levels" && 1 ) } itemDef { rect 18 184 240 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 ( 1 ) exp text ( "Airplane" ) action { play "mouse_click"; setdvar "ui_load_level" "co_airplane"; setdvar "coop_mapName" "co_airplane"; open "format_select" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 18 184 234.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 252.5 184 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 ( 0 ) } itemDef { rect 18 184 240 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 ( 0 ) exp text ( "Airplane" ) } } menuDef { name "levels_test" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" textscale 0.55 } itemDef { rect 48 36 544 408 0 0 style 1 decoration forecolor 1 1 1 1 backcolor 1 0 0 0.5 textscale 0.55 } itemDef { name "select" rect 415 422 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.4583 text "@PLATFORM_SELECT" visible when ( !menuisopen( "menu_xboxlive_party" ) ) } itemDef { name "cancel" rect 505 422 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.4583 text "@PLATFORM_BACK" } 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 exp text ( "TEST LEVELS" ) } itemDef { rect 58 82 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 82 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 82 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 82 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 82 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 82 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "vehicledamage (03-13-07)" ) action { play "mouse_click"; exec "devmap vehicledamage"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 102 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 102 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 102 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 102 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 102 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 102 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Bog_a (03-06-07)" ) action { play "mouse_click"; exec "devmap bog_a"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 122 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 122 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 122 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 122 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 122 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 122 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Firing Range: Assault Rifles (03-20-07)" ) action { play "mouse_click"; exec "devmap firingrange_assaultrifles"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_dev" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" textscale 0.55 } itemDef { rect 48 36 544 408 0 0 style 1 decoration forecolor 1 1 1 1 backcolor 1 0 0 0.5 textscale 0.55 } itemDef { name "select" rect 415 422 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.4583 text "@PLATFORM_SELECT" visible when ( !menuisopen( "menu_xboxlive_party" ) ) } itemDef { name "cancel" rect 505 422 0 0 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 4 textscale 0.4583 text "@PLATFORM_BACK" } 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 exp text ( "DEV LEVELS" ) } itemDef { rect 58 82 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 82 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 82 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 82 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 82 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 82 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Pilot Cobra Day (11-16-06)" ) action { play "mouse_click"; exec "devmap pilotcobra_day"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 102 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 102 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 102 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 102 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 102 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 102 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Pilot Cobra Night (11-16-06)" ) action { play "mouse_click"; exec "devmap pilotcobra_night"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 122 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 122 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 122 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 122 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 122 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 122 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Swat (12-04-06)" ) action { play "mouse_click"; exec "devmap swat"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 142 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 142 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 142 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 142 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 142 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 142 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Firing Range (01-30-07)" ) action { play "mouse_click"; exec "devmap firingrange"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 162 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 162 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 162 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 162 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 162 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 162 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Interior Concept (01-19-07)" ) action { play "mouse_click"; exec "devmap interior_concept"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 182 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 182 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 182 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 182 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 182 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 182 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Javelin Weapon Test (01-16-07)" ) action { play "mouse_click"; exec "devmap javelin_test"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 202 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 202 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 202 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 202 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 202 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 7 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 202 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Javelin Weapon Test, Night (01-16-07)" ) action { play "mouse_click"; exec "devmap javelin_test_night"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 222 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 222 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 222 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 8 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 222 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 8 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 222 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 8 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 222 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Dog Survival (05-01-07)" ) action { play "mouse_click"; exec "devmap dog_survival"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 58 242 245 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 exp material ( "gradient_fadein" ) } itemDef { rect 303 242 5 20 0 0 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 background "button_highlight_end" textscale 0.55 } itemDef { rect 58 242 245 20 0 0 style 3 border 5 bordersize 2 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 bordercolor 0.8 0.95 1 0.4 background "white" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 9 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 303 242 5 20 0 0 style 3 decoration visible 1 forecolor 0.2 0.25 0.35 0.25 background "button_highlight_end" textscale 0.55 visible when ( localvarint( "ui_highlight" ) == 9 && localvarstring( "ui_choicegroup" ) == "" ) } itemDef { rect 54 242 250 20 0 0 decoration visible 1 forecolor 1 1 1 1 textfont 1 textalign 8 textaligny -1 textscale 0.33 text "@PLATFORM_UI_SELECTBUTTON" visible when ( localvarint( "ui_highlight" ) == 9 && localvarstring( "ui_choicegroup" ) == "" && 1 ) } itemDef { rect 58 242 250 20 0 0 visible 1 forecolor 1 1 1 0.5 type 1 textfont 1 textalign 8 textalignx 22 textscale 0.4583 exp text ( "Bad Guys (04-05-07)" ) action { play "mouse_click"; exec "devmap badguys"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_gallery" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "IW4 Gallery Levels" ) } itemDef { rect 45 40 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 40 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 ( 1 ) } itemDef { rect 45 40 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 40 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" ) == "levels_gallery" ) } itemDef { rect 41 41 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 40 298 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 ( 1 ) exp text ( "IW4 Character Models 1 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_character_models_1"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap mˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 64 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 ( 1 ) } itemDef { rect 45 64 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 64 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" ) == "levels_gallery" ) } itemDef { rect 41 65 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 64 298 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 ( 1 ) exp text ( "IW4 Facade Models 1 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_city_facades_non_cod4_1"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 88 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 ( 1 ) } itemDef { rect 45 88 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 88 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" ) == "levels_gallery" ) } itemDef { rect 41 89 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 88 298 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 ( 1 ) exp text ( "IW4 foliage Models 1 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_foliage_non_cod4_1"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap mˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 112 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 ( 1 ) } itemDef { rect 45 112 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 112 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" ) == "levels_gallery" ) } itemDef { rect 41 113 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 112 298 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 ( 1 ) exp text ( "IW4 Prop Models 1 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_non_cod4_1"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap model_preˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 136 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 136 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 ( 1 ) } itemDef { rect 45 136 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 136 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" ) == "levels_gallery" ) } itemDef { rect 41 137 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 136 298 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 ( 1 ) exp text ( "IW4 Prop Models 2 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_non_cod4_2"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap model_preˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 160 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 160 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 ( 1 ) } itemDef { rect 45 160 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 160 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" ) == "levels_gallery" ) } itemDef { rect 41 161 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 160 298 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 ( 1 ) exp text ( "IW4 NEW models 1 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_recent_models_1"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap modeˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 184 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 184 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 ( 1 ) } itemDef { rect 45 184 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 184 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" ) == "levels_gallery" ) } itemDef { rect 41 185 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 184 298 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 ( 1 ) exp text ( "IW4 Vehicle Models 1 ( Nate )" ) action { play "mouse_click"; setdvar "ui_load_level" "gallery_vehicle_non_cod4_1"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap mˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 208 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( 1 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 208 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 ( 1 ) } itemDef { rect 45 208 292.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" ) == "levels_gallery" ) } itemDef { rect 337.5 208 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" ) == "levels_gallery" ) } itemDef { rect 41 209 298 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" ) == "levels_gallery" && 1 ) } itemDef { rect 45 208 298 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 ( 1 ) exp text ( "Model Previewer03" ) action { play "mouse_click"; setdvar "ui_load_level" "model_previewer03"; exec "set arcademode_lives 2; set arcademode_combined_score 0; set splitscreen 0; set loc_warningsaserrors 0; set loc_warnings 0; set mblur_enable 0"; execOnDvarStringValue "ui_load_level" "gallery_character_models_1" "devmap gallery_character_models_1"; execOnDvarStringValue "ui_load_level" "gallery_city_facades_non_cod4_1" "devmap gallery_city_facades_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_foliage_non_cod4_1" "devmap gallery_foliage_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_1" "devmap gallery_non_cod4_1"; execOnDvarStringValue "ui_load_level" "gallery_non_cod4_2" "devmap gallery_non_cod4_2"; execOnDvarStringValue "ui_load_level" "gallery_recent_models_1" "devmap gallery_recent_models_1"; execOnDvarStringValue "ui_load_level" "gallery_vehicle_non_cod4_1" "devmap gallery_vehicle_non_cod4_1"; execOnDvarStringValue "ui_load_level" "model_previewer03" "devmap model_prevˆ0ÂnŒ©’÷´¾ê } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels_gallery" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_test1" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "Test Levels 1" ) } itemDef { rect 45 40 292.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 337.5 40 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 45 40 292.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" ) == "levels" ) } itemDef { rect 337.5 40 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" ) == "levels" ) } itemDef { rect 41 41 298 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" ) == "levels" && 1 ) } itemDef { rect 45 40 298 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 ( "AI Test (Jiesang)" ) action { play "mouse_click"; setdvar "ui_load_level" "ai_testbed"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.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 337.5 64 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 45 64 292.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" ) == "levels" ) } itemDef { rect 337.5 64 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" ) == "levels" ) } itemDef { rect 41 65 298 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" ) == "levels" && 1 ) } itemDef { rect 45 64 298 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 ( "Auto-sentries (Chad)" ) action { play "mouse_click"; setdvar "ui_load_level" "sentry"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.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 337.5 88 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 45 88 292.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" ) == "levels" ) } itemDef { rect 337.5 88 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" ) == "levels" ) } itemDef { rect 41 89 298 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" ) == "levels" && 1 ) } itemDef { rect 45 88 298 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 ( "Firing Range (Art)" ) action { play "mouse_click"; setdvar "ui_load_level" "firingrange"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.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 337.5 112 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 45 112 292.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" ) == "levels" ) } itemDef { rect 337.5 112 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" ) == "levels" ) } itemDef { rect 41 113 298 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" ) == "levels" && 1 ) } itemDef { rect 45 112 298 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 ( "Toy Test (RoBoT)" ) action { play "mouse_click"; setdvar "ui_load_level" "toy_test"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 136 292.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 337.5 136 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 45 136 292.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" ) == "levels" ) } itemDef { rect 337.5 136 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" ) == "levels" ) } itemDef { rect 41 137 298 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" ) == "levels" && 1 ) } itemDef { rect 45 136 298 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 ( "Destructible Vehicles (RoBoT)" ) action { play "mouse_click"; setdvar "ui_load_level" "toy_destructible_vehicles"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 160 292.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 337.5 160 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 45 160 292.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" ) == "levels" ) } itemDef { rect 337.5 160 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" ) == "levels" ) } itemDef { rect 41 161 298 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" ) == "levels" && 1 ) } itemDef { rect 45 160 298 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 ( "Slowmo breach (Mackey)" ) action { play "mouse_click"; setdvar "ui_load_level" "slowmo_breach"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 184 292.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 337.5 184 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 45 184 292.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" ) == "levels" ) } itemDef { rect 337.5 184 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" ) == "levels" ) } itemDef { rect 41 185 298 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" ) == "levels" && 1 ) } itemDef { rect 45 184 298 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 ( "Enemy Ghillie Snipers (Zied)" ) action { play "mouse_click"; setdvar "ui_load_level" "ghillie_enemies_test"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 208 292.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 337.5 208 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 45 208 292.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" ) == "levels" ) } itemDef { rect 337.5 208 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" ) == "levels" ) } itemDef { rect 41 209 298 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" ) == "levels" && 1 ) } itemDef { rect 45 208 298 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 ( "Ambush behavior (Zied/Jiesang)" ) action { play "mouse_click"; setdvar "ui_load_level" "co_village"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 232 292.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 337.5 232 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 45 232 292.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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 232 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 233 298 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 232 298 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 ( "Riotshield AI (Jiesang)" ) action { play "mouse_click"; setdvar "ui_load_level" "ai_riotshield"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 256 292.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 337.5 256 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 45 256 292.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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 256 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 257 298 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 256 298 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 ( "Battlechatter (Sean)" ) action { play "mouse_click"; setdvar "ui_load_level" "ai_battlechatter"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 10 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 280 292.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 337.5 280 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 45 280 292.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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 280 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 281 298 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 280 298 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 ( "AI Melee UFO-Free (Simon)" ) action { play "mouse_click"; setdvar "ui_load_level" "ai_melee"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 11 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 304 292.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 337.5 304 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 45 304 292.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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 304 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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 305 298 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" ) == 12 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 304 298 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 ( "Texture Garden (Cherub)" ) action { play "mouse_click"; setdvar "ui_load_level" "rad_test"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 12 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 328 292.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 337.5 328 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 45 328 292.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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 328 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 329 298 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" ) == 13 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 328 298 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 ( "Glass Shatter Test (RoBoT)" ) action { play "mouse_click"; setdvar "ui_load_level" "glass_shatter_test"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 13 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 352 292.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 337.5 352 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 45 352 292.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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 352 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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 353 298 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" ) == 14 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 352 298 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 ( "Outsourced models (Boon)" ) action { play "mouse_click"; setdvar "ui_load_level" "model_previewer_outsourced"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 14 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 40 292.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 617.5 40 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 325 40 292.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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 40 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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 41 298 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" ) == 15 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 40 298 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 ( "Character Previewer 1" ) action { play "mouse_click"; setdvar "ui_load_level" "model_previewer03"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 15 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 64 292.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 617.5 64 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 325 64 292.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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 64 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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 65 298 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" ) == 16 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 64 298 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 ( "Character Previewer 2" ) action { play "mouse_click"; setdvar "ui_load_level" "model_previewer04"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 16 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 325 88 292.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 617.5 88 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 325 88 292.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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 617.5 88 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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 321 89 298 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" ) == 17 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 325 88 298 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 ( "Character Demo Level" ) action { play "mouse_click"; setdvar "ui_load_level" "interior_concept"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 17 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_test2" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "Optimized Levels" ) } itemDef { rect 45 40 292.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 337.5 40 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 45 40 292.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" ) == "levels" ) } itemDef { rect 337.5 40 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" ) == "levels" ) } itemDef { rect 41 41 298 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" ) == "levels" && 1 ) } itemDef { rect 45 40 298 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 ( "Favela (Roger)" ) action { play "mouse_click"; setdvar "ui_load_level" "favela"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.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 337.5 64 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 45 64 292.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" ) == "levels" ) } itemDef { rect 337.5 64 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" ) == "levels" ) } itemDef { rect 41 65 298 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" ) == "levels" && 1 ) } itemDef { rect 45 64 298 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 ( "Boneyard (Ned)" ) action { play "mouse_click"; setdvar "ui_load_level" "boneyard"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.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 337.5 88 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 45 88 292.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" ) == "levels" ) } itemDef { rect 337.5 88 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" ) == "levels" ) } itemDef { rect 41 89 298 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" ) == "levels" && 1 ) } itemDef { rect 45 88 298 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 ( "Airport (Mo)" ) action { play "mouse_click"; setdvar "ui_load_level" "airport"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.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 337.5 112 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 45 112 292.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" ) == "levels" ) } itemDef { rect 337.5 112 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" ) == "levels" ) } itemDef { rect 41 113 298 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" ) == "levels" && 1 ) } itemDef { rect 45 112 298 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 ( "Afghan Caves (Ned)" ) action { play "mouse_click"; setdvar "ui_load_level" "af_caves"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_kleenex" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "Kleenex Levels" ) } itemDef { rect 45 40 292.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 337.5 40 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 45 40 292.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" ) == "levels" ) } itemDef { rect 337.5 40 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" ) == "levels" ) } itemDef { rect 41 41 298 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" ) == "levels" && 1 ) } itemDef { rect 45 40 298 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 ( "Desert Training" ) action { play "mouse_click"; setdvar "ui_load_level" "trainer"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.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 337.5 64 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 45 64 292.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" ) == "levels" ) } itemDef { rect 337.5 64 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" ) == "levels" ) } itemDef { rect 41 65 298 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" ) == "levels" && 1 ) } itemDef { rect 45 64 298 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 ( "Cliffhanger" ) action { play "mouse_click"; setdvar "ui_load_level" "cliffhanger"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.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 337.5 88 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 45 88 292.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" ) == "levels" ) } itemDef { rect 337.5 88 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" ) == "levels" ) } itemDef { rect 41 89 298 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" ) == "levels" && 1 ) } itemDef { rect 45 88 298 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 ( "Airport" ) action { play "mouse_click"; setdvar "ui_load_level" "airport"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.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 337.5 112 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 45 112 292.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" ) == "levels" ) } itemDef { rect 337.5 112 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" ) == "levels" ) } itemDef { rect 41 113 298 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" ) == "levels" && 1 ) } itemDef { rect 45 112 298 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 ( "Favela" ) action { play "mouse_click"; setdvar "ui_load_level" "favela"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 136 292.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 337.5 136 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 45 136 292.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" ) == "levels" ) } itemDef { rect 337.5 136 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" ) == "levels" ) } itemDef { rect 41 137 298 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" ) == "levels" && 1 ) } itemDef { rect 45 136 298 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 ( "Invasion" ) action { play "mouse_click"; setdvar "ui_load_level" "invasion"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 160 292.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 337.5 160 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 45 160 292.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" ) == "levels" ) } itemDef { rect 337.5 160 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" ) == "levels" ) } itemDef { rect 41 161 298 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" ) == "levels" && 1 ) } itemDef { rect 45 160 298 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 ( "Favela Escape" ) action { play "mouse_click"; setdvar "ui_load_level" "favela_escape"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 184 292.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 337.5 184 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 45 184 292.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" ) == "levels" ) } itemDef { rect 337.5 184 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" ) == "levels" ) } itemDef { rect 41 185 298 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" ) == "levels" && 1 ) } itemDef { rect 45 184 298 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 ( "Oilrig" ) action { play "mouse_click"; setdvar "ui_load_level" "oilrig"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 208 292.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 337.5 208 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 45 208 292.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" ) == "levels" ) } itemDef { rect 337.5 208 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" ) == "levels" ) } itemDef { rect 41 209 298 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" ) == "levels" && 1 ) } itemDef { rect 45 208 298 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 ( "Gulag" ) action { play "mouse_click"; setdvar "ui_load_level" "gulag"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 232 292.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 337.5 232 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 45 232 292.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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 232 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 233 298 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 232 298 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 ( "DC Burning" ) action { play "mouse_click"; setdvar "ui_load_level" "dcburning"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 256 292.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 337.5 256 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 45 256 292.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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 256 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 257 298 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 256 298 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 ( "Contingency" ) action { play "mouse_click"; setdvar "ui_load_level" "contingency"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 10 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 280 292.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 337.5 280 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 45 280 292.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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 280 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 281 298 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 280 298 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 ( "Boneyard" ) action { play "mouse_click"; setdvar "ui_load_level" "boneyard"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 11 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "levels_challenge" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_player1_num" ( 0 ); setLocalVarInt "ui_player2_num" ( 1 ); if ( !gamehost( ) && iscoop( ) && !dvarbool( "splitscreen" ) ) { setLocalVarInt "ui_player1_num" ( 1 ); setLocalVarInt "ui_player2_num" ( 0 ); } setLocalVarInt "ui_stars_needed" ( 0 ); if ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specopstable.csv" , 1 , "so_alpha" , 5 ) ) ) { setLocalVarInt "ui_stars_needed" ( int( tablelookup( "sp/specopstable.csv" , 1 , "so_alpha" , 5 ) ) - int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) ); } if ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specopstable.csv" , 1 , "so_bravo" , 5 ) ) && int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) >= int( tablelookup( "sp/specopstable.csv" , 1 , "so_alpha" , 5 ) ) ) { setLocalVarInt "ui_stars_needed" ( int( tablelookup( "sp/specopstable.csv" , 1 , "so_bravo" , 5 ) ) - int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) ); } if ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specopstable.csv" , 1 , "so_charlie" , 5 ) ) && int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) >= int( tablelookup( "sp/specopstable.csv" , 1 , "so_bravo" , 5 ) ) ) { setLocalVarInt "ui_stars_needed" ( int( tablelookup( "sp/specopstable.csv" , 1 , "so_charlie" , 5 ) ) - int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) ); } if ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specopstable.csv" , 1 , "so_delta" , 5 ) ) && int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) >= int( tablelookup( "sp/specopstable.csv" , 1 , "so_charlie" , 5 ) ) ) { setLocalVarInt "ui_stars_needed" ( int( tablelookup( "sp/specopstable.csv" , 1 , "so_delta" , 5 ) ) - int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) ); } if ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specopstable.csv" , 1 , "so_echo" , 5 ) ) && int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) >= int( tablelookup( "sp/specopstable.csv" , 1 , "so_delta" , 5 ) ) ) { setLocalVarInt "ui_stars_needed" ( int( tablelookup( "sp/specopstable.csv" , 1 , "so_echo" , 5 ) ) - int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) ); } setLocalVarString "ui_flavor_desc" ( "" ); if ( !iscoop( ) ) { setdvar "specialops" 1; } focusfirst; if ( dvarint( "ui_last_opened_group" ) == 1 && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) && dvarbool( "solo_play" ) ) { open "popmenu_specops_alpha"; } if ( dvarint( "ui_last_opened_group" ) == 2 && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) && dvarbool( "solo_play" ) ) { open "popmenu_specops_beta"; } if ( dvarint( "ui_last_opened_group" ) == 3 && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) && dvarbool( "solo_play" ) ) { open "popmenu_specops_charlie"; } if ( dvarint( "ui_last_opened_group" ) == 4 && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) && dvarbool( "solo_play" ) ) { open "popmenu_specops_delta"; } if ( dvarint( "ui_last_opened_group" ) == 5 && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) && dvarbool( "solo_play" ) ) { open "popmenu_specops_echo"; } } onEsc { close self; if ( !iscoop( ) ) { setdvar "specialops" 0; open "main_specops"; } } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } 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_SP_SPECIAL_OPS_CAPS" } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_co_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -288 28 288 356 3 1 style 3 decoration visible 1 forecolor 0.225 0.225 0.225 1 background "white" textscale 0.55 } itemDef { name "mapimage" rect -288 50 288 160 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_flavor_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -280 186 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "name" rect -280 28 272 160 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textalignx -4 textaligny 2 textscale 0.375 exp text ( localvarstring( "ui_so_group_highlighted" ) ) } itemDef { name "description" rect -280 210 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_flavor_desc" ) ) } itemDef { name "next_unlock_requirement" rect -280 340 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_unlock_requirement" ) ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) && dvarbool( "solo_play" ) ) } itemDef { name "total_stars" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( max( localvarint( "ui_stars_needed" ) == 0 , min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 ) ) visible when ( 1 ) exp text ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) + "/" + ( 23 * 3 ) ) } itemDef { name "stars_needed_to_next_unlock" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( ( localvarint( "ui_stars_needed" ) != 0 ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_NEXT_UNLOCK" ) + localvarint( "ui_stars_needed" ) ) } itemDef { rect 0 -112 272 80 1 3 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 5 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) ) exp text ( "@MENU_SP_FRIEND_LOCK_GROUP_DESC" ) } itemDef { name "friend_unlock_stars_required" rect 0 -112 272 80 1 3 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -94 textaligny 36 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) ) exp text ( locstring( "@MENU_SP_FRIEND_UNLOCK_GROUP_REQ" , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) - int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) ) ) } itemDef { name "friend_unlock_stars_has" rect 0 -112 272 80 1 3 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -94 textaligny 56 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) ) exp text ( locstring( "@MENU_SP_FRIEND_UNLOCK_GROUP_HAS" , int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) ) ) } itemDef { rect 182 -74 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 182 -74 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) && 1 ) exp material ( "difficulty_star" ) } itemDef { rect 182 -54 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 182 -54 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( ( int( coopplayer( localvarint( "ui_player2_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) && !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_flavor_ref" ) , 5 ) ) ) ) && !dvarbool( "splitscreen" ) && 1 ) exp material ( "difficulty_star" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 0 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 0 ) ) exp material ( "difficulty_star" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 1 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 1 ) ) exp material ( "difficulty_star" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 2 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 3 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 4 ) ) exp material ( "difficulty_star" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 5 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 5 ) ) exp material ( "difficulty_star" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 6 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 6 ) ) exp material ( "difficulty_star" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 7 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 7 ) ) exp material ( "difficulty_star" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 8 ) ) exp material ( "difficulty_star" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 9 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 9 ) ) exp material ( "difficulty_star" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 10 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 10 ) ) exp material ( "difficulty_star" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 11 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 11 ) ) exp material ( "difficulty_star" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 12 ) ) exp material ( "difficulty_star" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 13 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 13 ) ) exp material ( "difficulty_star" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 14 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 14 ) ) exp material ( "difficulty_star" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 15 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 15 ) ) exp material ( "difficulty_star" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 16 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 16 ) ) exp material ( "difficulty_star" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 17 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 17 ) ) exp material ( "difficulty_star" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 18 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 18 ) ) exp material ( "difficulty_star" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 19 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 19 ) ) exp material ( "difficulty_star" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 20 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 20 ) ) exp material ( "difficulty_star" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 21 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 21 ) ) exp material ( "difficulty_star" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 22 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 22 ) ) exp material ( "difficulty_star" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 23 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 1 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) ) > 23 ) ) exp material ( "difficulty_star" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 0 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 0 ) ) exp material ( "difficulty_star" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 1 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 1 ) ) exp material ( "difficulty_star" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 2 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 3 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 4 ) ) exp material ( "difficulty_star" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 5 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 5 ) ) exp material ( "difficulty_star" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 6 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 6 ) ) exp material ( "difficulty_star" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 7 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 7 ) ) exp material ( "difficulty_star" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 8 ) ) exp material ( "difficulty_star" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 9 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 9 ) ) exp material ( "difficulty_star" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 10 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 10 ) ) exp material ( "difficulty_star" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 11 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 11 ) ) exp material ( "difficulty_star" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 12 ) ) exp material ( "difficulty_star" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 13 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 13 ) ) exp material ( "difficulty_star" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 14 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 14 ) ) exp material ( "difficulty_star" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 15 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 15 ) ) exp material ( "difficulty_star" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 16 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 16 ) ) exp material ( "difficulty_star" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 17 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 17 ) ) exp material ( "difficulty_star" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 18 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 18 ) ) exp material ( "difficulty_star" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 19 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 19 ) ) exp material ( "difficulty_star" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 20 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 20 ) ) exp material ( "difficulty_star" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 21 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 21 ) ) exp material ( "difficulty_star" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 22 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 22 ) ) exp material ( "difficulty_star" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 23 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 2 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ) > 23 ) ) exp material ( "difficulty_star" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 0 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 0 ) ) exp material ( "difficulty_star" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 1 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 1 ) ) exp material ( "difficulty_star" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 2 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 3 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 4 ) ) exp material ( "difficulty_star" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 5 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 5 ) ) exp material ( "difficulty_star" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 6 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 6 ) ) exp material ( "difficulty_star" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 7 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 7 ) ) exp material ( "difficulty_star" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 8 ) ) exp material ( "difficulty_star" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 9 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 9 ) ) exp material ( "difficulty_star" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 10 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 10 ) ) exp material ( "difficulty_star" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 11 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 11 ) ) exp material ( "difficulty_star" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 12 ) ) exp material ( "difficulty_star" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 13 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 13 ) ) exp material ( "difficulty_star" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 14 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 14 ) ) exp material ( "difficulty_star" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 15 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 15 ) ) exp material ( "difficulty_star" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 16 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 16 ) ) exp material ( "difficulty_star" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 17 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 17 ) ) exp material ( "difficulty_star" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 18 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 18 ) ) exp material ( "difficulty_star" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 19 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 19 ) ) exp material ( "difficulty_star" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 20 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 20 ) ) exp material ( "difficulty_star" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 21 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 21 ) ) exp material ( "difficulty_star" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 22 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 22 ) ) exp material ( "difficulty_star" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 23 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 3 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) ) > 23 ) ) exp material ( "difficulty_star" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 0 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 0 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 0 ) ) exp material ( "difficulty_star" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 1 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 1 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 1 ) ) exp material ( "difficulty_star" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 2 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 2 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 3 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 3 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 4 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 4 ) ) exp material ( "difficulty_star" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 5 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 5 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 5 ) ) exp material ( "difficulty_star" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 6 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 6 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 6 ) ) exp material ( "difficulty_star" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 7 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 7 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 7 ) ) exp material ( "difficulty_star" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 8 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 8 ) ) exp material ( "difficulty_star" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 9 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 9 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 9 ) ) exp material ( "difficulty_star" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 10 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 10 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 10 ) ) exp material ( "difficulty_star" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 11 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 11 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 11 ) ) exp material ( "difficulty_star" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 12 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 12 ) ) exp material ( "difficulty_star" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 13 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 13 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 13 ) ) exp material ( "difficulty_star" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 14 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 14 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 14 ) ) exp material ( "difficulty_star" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 15 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 15 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 15 ) ) exp material ( "difficulty_star" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 16 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 16 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 16 ) ) exp material ( "difficulty_star" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 17 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 17 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 17 ) ) exp material ( "difficulty_star" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 18 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 18 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 18 ) ) exp material ( "difficulty_star" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 19 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 19 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 19 ) ) exp material ( "difficulty_star" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 20 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 20 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 20 ) ) exp material ( "difficulty_star" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 21 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 21 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 21 ) ) exp material ( "difficulty_star" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 22 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 22 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 22 ) ) exp material ( "difficulty_star" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 23 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 23 < ( ( 3 * 5 ) ) ) && ( localvarint( "ui_group_highlight" ) == 4 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) ) > 23 ) ) exp material ( "difficulty_star" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 0 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -280 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 0 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 0 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 0 ) ) exp material ( "difficulty_star" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 1 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -267 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 1 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 1 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 1 ) ) exp material ( "difficulty_star" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 2 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -254 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 2 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 2 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 3 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -241 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 3 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 3 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 4 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -228 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 4 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 4 ) ) exp material ( "difficulty_star" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 5 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -215 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 5 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 5 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 5 ) ) exp material ( "difficulty_star" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 6 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -202 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 6 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 6 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 6 ) ) exp material ( "difficulty_star" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 7 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -189 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 7 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 7 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 7 ) ) exp material ( "difficulty_star" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 8 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -176 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 8 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 8 ) ) exp material ( "difficulty_star" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 9 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -163 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 9 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 9 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 9 ) ) exp material ( "difficulty_star" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 10 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -150 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 10 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 10 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 10 ) ) exp material ( "difficulty_star" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 11 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -137 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 11 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 11 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 11 ) ) exp material ( "difficulty_star" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 12 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -124 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 12 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 12 ) ) exp material ( "difficulty_star" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 13 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -111 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 13 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 13 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 13 ) ) exp material ( "difficulty_star" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 14 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -98 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 14 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 14 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 14 ) ) exp material ( "difficulty_star" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 15 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -85 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 15 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 15 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 15 ) ) exp material ( "difficulty_star" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 16 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -72 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 16 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 16 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 16 ) ) exp material ( "difficulty_star" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 17 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -59 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 17 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 17 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 17 ) ) exp material ( "difficulty_star" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 18 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -46 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 18 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 18 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 18 ) ) exp material ( "difficulty_star" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 19 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -33 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 19 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 19 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 19 ) ) exp material ( "difficulty_star" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 20 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -20 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 20 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 20 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 20 ) ) exp material ( "difficulty_star" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 21 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect -7 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 21 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 21 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 21 ) ) exp material ( "difficulty_star" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 22 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 6 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 22 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 22 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 22 ) ) exp material ( "difficulty_star" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( ( ( 23 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 19 360 272 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 23 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( ( ( 23 < ( ( 3 * 3 ) ) ) && ( localvarint( "ui_group_highlight" ) == 5 ) ) && ( ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) > 23 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_alpha" 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) || dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) ) ) ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 2 ) ) ) action { play "mouse_click"; open "popmenu_specops_alpha"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); setLocalVarInt "ui_group_highlight" ( 0 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_alpha" ); setLocalVarString "ui_unlock_requirement" ( "" ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_alpha" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) ) ) ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 2 ) ) action { play "mouse_click"; setLocalVarString "ui_unlock_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 6 ) ); open "so_unlock_requirement"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 0 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_alpha" ); setLocalVarString "ui_unlock_requirement" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 6 ) ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -10 28 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 40 ) exp rect h ( 20 ) visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_alpha" , 5 ) ) ) ) ) ) ) exp material ( "specialty_locked" ) } itemDef { name "so_bravo" 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) || dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) ) ) ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 2 ) ) ) action { play "mouse_click"; open "popmenu_specops_beta"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); setLocalVarInt "ui_group_highlight" ( 1 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_bravo" ); setLocalVarString "ui_unlock_requirement" ( "" ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_bravo" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) ) ) ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 2 ) ) action { play "mouse_click"; setLocalVarString "ui_unlock_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 6 ) ); open "so_unlock_requirement"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 1 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_bravo" ); setLocalVarString "ui_unlock_requirement" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 6 ) ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -10 48 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 40 ) exp rect h ( 20 ) visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_bravo" , 5 ) ) ) ) ) ) ) exp material ( "specialty_locked" ) } itemDef { name "so_charlie" 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) || dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) ) ) ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 2 ) ) ) action { play "mouse_click"; open "popmenu_specops_charlie"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); setLocalVarInt "ui_group_highlight" ( 2 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_charlie" ); setLocalVarString "ui_unlock_requirement" ( "" ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_charlie" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) ) ) ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 2 ) ) action { play "mouse_click"; setLocalVarString "ui_unlock_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 6 ) ); open "so_unlock_requirement"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 2 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_charlie" ); setLocalVarString "ui_unlock_requirement" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 6 ) ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -10 68 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 40 ) exp rect h ( 20 ) visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_charlie" , 5 ) ) ) ) ) ) ) exp material ( "specialty_locked" ) } itemDef { name "so_delta" 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) || dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) ) ) ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 2 ) ) ) action { play "mouse_click"; open "popmenu_specops_delta"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); setLocalVarInt "ui_group_highlight" ( 3 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_delta" ); setLocalVarString "ui_unlock_requirement" ( "" ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_delta" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) ) ) ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 2 ) ) action { play "mouse_click"; setLocalVarString "ui_unlock_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 6 ) ); open "so_unlock_requirement"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 3 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_delta" ); setLocalVarString "ui_unlock_requirement" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 6 ) ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -10 88 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 40 ) exp rect h ( 20 ) visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_delta" , 5 ) ) ) ) ) ) ) exp material ( "specialty_locked" ) } itemDef { name "so_echo" 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) || dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( !( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) ) ) ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 2 ) ) ) action { play "mouse_click"; open "popmenu_specops_echo"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); setLocalVarInt "ui_group_highlight" ( 4 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_echo" ); setLocalVarString "ui_unlock_requirement" ( "" ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_echo" rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) ) ) ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 2 ) ) action { play "mouse_click"; setLocalVarString "ui_unlock_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 6 ) ); open "so_unlock_requirement"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarInt "ui_group_highlight" ( 4 + 1 ); setLocalVarString "ui_flavor_ref" ( "so_echo" ); setLocalVarString "ui_unlock_requirement" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 6 ) ); setLocalVarString "ui_flavor_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 3 ) ); setLocalVarString "ui_flavor_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 4 ) ); setLocalVarString "ui_so_group_highlighted" ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 2 ) ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -10 108 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 40 ) exp rect h ( 20 ) visible when ( ( ( ( dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) && !dvarbool( "mis_cheat" ) ) ) || ( ( !dvarbool( "solo_play" ) ) && ( ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_echo" , 5 ) ) ) ) ) ) ) exp material ( "specialty_locked" ) } 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 "popmenu_specops_alpha" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); focusfirst; if ( ( dvarstring( "ui_last_played_level" ) == "so_killspree_trainer" ) && dvarbool( "solo_play" ) ) { setfocus "so_killspree_trainer"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_rooftop_contingency" ) && dvarbool( "solo_play" ) ) { setfocus "so_rooftop_contingency"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_killspree_favela" ) && dvarbool( "solo_play" ) ) { setfocus "so_killspree_favela"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_forest_contingency" ) && dvarbool( "solo_play" ) ) { setfocus "so_forest_contingency"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_crossing_so_bridge" ) && dvarbool( "solo_play" ) ) { setfocus "so_crossing_so_bridge"; } } onClose { } onEsc { close self; setdvar "ui_last_played_level" ""; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_co_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -288 28 288 356 3 1 style 3 decoration visible 1 forecolor 0.225 0.225 0.225 1 background "white" textscale 0.55 } itemDef { name "mapimage" rect -288 50 288 160 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_so_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -280 186 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "mapimage_gradient" rect -280 50 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -280 210 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_so_level_desc" ) ) } itemDef { name "total_stars" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( max( localvarint( "ui_stars_needed" ) == 0 , min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 ) ) visible when ( 1 ) exp text ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) + "/" + ( 23 * 3 ) ) } itemDef { name "stars_needed_to_next_unlock" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( ( localvarint( "ui_stars_needed" ) != 0 ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_NEXT_UNLOCK" ) + localvarint( "ui_stars_needed" ) ) } itemDef { name "name" rect -280 28 272 160 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textalignx -4 textaligny 2 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) } itemDef { name "opposition" rect -280 272 272 20 3 1 decoration visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_OPPOSITION_FORCE" ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) && dvarbool( "solo_play" ) ) } 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_SP_SPECIAL_OPS_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@SPECIAL_OPS_SO_BUTTON_ALPHA_CAPS" } itemDef { rect -280 272 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@MENU_SP_DIFF_RANKING_" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_TYPE" ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 5 ) ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_AVG_TIME" ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 7 ) + ".00" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) ) exp text ( "@MENU_SP_LEVEL_YOUR_BEST_TIME" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) == 0 ) exp text ( "--:--" ) } itemDef { rect -280 362 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 8 ) ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( "@MENU_SP_IW_BEST_TIME" ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 10 ) ) } itemDef { rect 0 -112 272 80 1 3 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 5 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( coopplayer( ( gamehost( ) || dvarbool( "splitscreen" ) ) , "name" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textalign 6 textalignx -140 textaligny 17 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) + ":" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_killspree_trainer_gray" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_trainer" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_killspree_trainer"; setdvar "coop_mapName" "so_killspree_trainer"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_killspree_trainer"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_trainer" , 14 ) ) == 0 ) { exec "devmap so_killspree_trainer"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_trainer" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 22 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_killspree_trainer" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_trainer" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_killspree_trainer"; setdvar "coop_mapName" "so_killspree_trainer"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_killspree_trainer"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_trainer" , 14 ) ) == 0 ) { exec "devmap so_killspree_trainer"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_trainer" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 22 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 22 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 31 336 20 1 1 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_empty" ) } itemDef { rect 2 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 31 336 20 1 1 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_empty" ) } itemDef { rect 15 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 31 336 20 1 1 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_empty" ) } itemDef { rect 28 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_rooftop_contingency_gray" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_rooftop_contingency" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_rooftop_contingency"; setdvar "coop_mapName" "so_rooftop_contingency"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_rooftop_contingency"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_rooftop_contingency" , 14 ) ) == 0 ) { exec "devmap so_rooftop_contingency"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_rooftop_contingency" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 13 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_rooftop_contingency" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_rooftop_contingency" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_rooftop_contingency"; setdvar "coop_mapName" "so_rooftop_contingency"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_rooftop_contingency"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_rooftop_contingency" , 14 ) ) == 0 ) { exec "devmap so_rooftop_contingency"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_rooftop_contingency" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 13 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 13 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 51 336 20 1 1 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_empty" ) } itemDef { rect 2 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 51 336 20 1 1 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_empty" ) } itemDef { rect 15 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 51 336 20 1 1 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_empty" ) } itemDef { rect 28 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_killspree_favela_gray" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_favela" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_killspree_favela"; setdvar "coop_mapName" "so_killspree_favela"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_killspree_favela"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_favela" , 14 ) ) == 0 ) { exec "devmap so_killspree_favela"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_favela" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 3 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_killspree_favela" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_favela" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_killspree_favela"; setdvar "coop_mapName" "so_killspree_favela"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_killspree_favela"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_favela" , 14 ) ) == 0 ) { exec "devmap so_killspree_favela"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_favela" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 3 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 3 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 71 336 20 1 1 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_empty" ) } itemDef { rect 2 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 71 336 20 1 1 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_empty" ) } itemDef { rect 15 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 71 336 20 1 1 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_empty" ) } itemDef { rect 28 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_forest_contingency_gray" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_forest_contingency" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_forest_contingency"; setdvar "coop_mapName" "so_forest_contingency"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_forest_contingency"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_forest_contingency" , 14 ) ) == 0 ) { exec "devmap so_forest_contingency"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_forest_contingency" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 7 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_forest_contingency" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_forest_contingency" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_forest_contingency"; setdvar "coop_mapName" "so_forest_contingency"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_forest_contingency"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_forest_contingency" , 14 ) ) == 0 ) { exec "devmap so_forest_contingency"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_forest_contingency" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 7 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 7 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 91 336 20 1 1 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_empty" ) } itemDef { rect 2 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 91 336 20 1 1 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_empty" ) } itemDef { rect 15 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 91 336 20 1 1 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_empty" ) } itemDef { rect 28 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_crossing_so_bridge_gray" rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_crossing_so_bridge" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_crossing_so_bridge"; setdvar "coop_mapName" "so_crossing_so_bridge"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_crossing_so_bridge"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_crossing_so_bridge" , 14 ) ) == 0 ) { exec "devmap so_crossing_so_bridge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_crossing_so_bridge" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 10 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_crossing_so_bridge" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_crossing_so_bridge" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_crossing_so_bridge"; setdvar "coop_mapName" "so_crossing_so_bridge"; setdvar "ui_last_opened_group" 1; setdvar "ui_last_played_level" "so_crossing_so_bridge"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_crossing_so_bridge" , 14 ) ) == 0 ) { exec "devmap so_crossing_so_bridge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_crossing_so_bridge" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 10 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 10 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 111 336 20 1 1 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_empty" ) } itemDef { rect 2 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 111 336 20 1 1 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_empty" ) } itemDef { rect 15 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 111 336 20 1 1 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_empty" ) } itemDef { rect 28 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } 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 "popmenu_specops_beta" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); focusfirst; if ( ( dvarstring( "ui_last_played_level" ) == "so_ac130_co_hunted" ) && dvarbool( "solo_play" ) ) { setfocus "so_ac130_co_hunted"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_killspree_invasion" ) && dvarbool( "solo_play" ) ) { setfocus "so_killspree_invasion"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_defuse_favela_escape" ) && dvarbool( "solo_play" ) ) { setfocus "so_defuse_favela_escape"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_snowrace1_cliffhanger" ) && dvarbool( "solo_play" ) ) { setfocus "so_snowrace1_cliffhanger"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_chopper_invasion" ) && dvarbool( "solo_play" ) ) { setfocus "so_chopper_invasion"; } } onClose { } onEsc { close self; setdvar "ui_last_played_level" ""; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_co_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -288 28 288 356 3 1 style 3 decoration visible 1 forecolor 0.225 0.225 0.225 1 background "white" textscale 0.55 } itemDef { name "mapimage" rect -288 50 288 160 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_so_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -280 186 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "mapimage_gradient" rect -280 50 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -280 210 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_so_level_desc" ) ) } itemDef { name "total_stars" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( max( localvarint( "ui_stars_needed" ) == 0 , min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 ) ) visible when ( 1 ) exp text ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) + "/" + ( 23 * 3 ) ) } itemDef { name "stars_needed_to_next_unlock" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( ( localvarint( "ui_stars_needed" ) != 0 ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_NEXT_UNLOCK" ) + localvarint( "ui_stars_needed" ) ) } itemDef { name "name" rect -280 28 272 160 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textalignx -4 textaligny 2 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) } itemDef { name "opposition" rect -280 272 272 20 3 1 decoration visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_OPPOSITION_FORCE" ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) && dvarbool( "solo_play" ) ) } 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_SP_SPECIAL_OPS_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@SPECIAL_OPS_SO_BUTTON_BETA_CAPS" } itemDef { rect -280 272 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@MENU_SP_DIFF_RANKING_" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_TYPE" ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 5 ) ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_AVG_TIME" ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 7 ) + ".00" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) ) exp text ( "@MENU_SP_LEVEL_YOUR_BEST_TIME" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) == 0 ) exp text ( "--:--" ) } itemDef { rect -280 362 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 8 ) ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( "@MENU_SP_IW_BEST_TIME" ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 10 ) ) } itemDef { rect 0 -112 272 80 1 3 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 5 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( coopplayer( ( gamehost( ) || dvarbool( "splitscreen" ) ) , "name" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textalign 6 textalignx -140 textaligny 17 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) + ":" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_ac130_co_hunted_gray" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_ac130_co_hunted" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_ac130_co_hunted"; setdvar "coop_mapName" "so_ac130_co_hunted"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_ac130_co_hunted"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_ac130_co_hunted" , 14 ) ) == 0 ) { exec "devmap so_ac130_co_hunted"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_ac130_co_hunted" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 2 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_ac130_co_hunted" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_ac130_co_hunted" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_ac130_co_hunted"; setdvar "coop_mapName" "so_ac130_co_hunted"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_ac130_co_hunted"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_ac130_co_hunted" , 14 ) ) == 0 ) { exec "devmap so_ac130_co_hunted"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_ac130_co_hunted" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 2 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 2 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 31 336 20 1 1 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_empty" ) } itemDef { rect 2 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 31 336 20 1 1 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_empty" ) } itemDef { rect 15 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 31 336 20 1 1 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_empty" ) } itemDef { rect 28 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_killspree_invasion_gray" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_invasion" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_killspree_invasion"; setdvar "coop_mapName" "so_killspree_invasion"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_killspree_invasion"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_invasion" , 14 ) ) == 0 ) { exec "devmap so_killspree_invasion"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_invasion" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 1 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_killspree_invasion" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_invasion" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_killspree_invasion"; setdvar "coop_mapName" "so_killspree_invasion"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_killspree_invasion"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_invasion" , 14 ) ) == 0 ) { exec "devmap so_killspree_invasion"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_killspree_invasion" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 1 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 1 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 51 336 20 1 1 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_empty" ) } itemDef { rect 2 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 51 336 20 1 1 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_empty" ) } itemDef { rect 15 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 51 336 20 1 1 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_empty" ) } itemDef { rect 28 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_defuse_favela_escape_gray" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defuse_favela_escape" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_defuse_favela_escape"; setdvar "coop_mapName" "so_defuse_favela_escape"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_defuse_favela_escape"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defuse_favela_escape" , 14 ) ) == 0 ) { exec "devmap so_defuse_favela_escape"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defuse_favela_escape" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 15 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_defuse_favela_escape" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defuse_favela_escape" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_defuse_favela_escape"; setdvar "coop_mapName" "so_defuse_favela_escape"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_defuse_favela_escape"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defuse_favela_escape" , 14 ) ) == 0 ) { exec "devmap so_defuse_favela_escape"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defuse_favela_escape" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 15 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 15 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 71 336 20 1 1 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_empty" ) } itemDef { rect 2 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 71 336 20 1 1 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_empty" ) } itemDef { rect 15 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 71 336 20 1 1 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_empty" ) } itemDef { rect 28 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_snowrace1_cliffhanger_gray" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace1_cliffhanger" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_snowrace1_cliffhanger"; setdvar "coop_mapName" "so_snowrace1_cliffhanger"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_snowrace1_cliffhanger"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace1_cliffhanger" , 14 ) ) == 0 ) { exec "devmap so_snowrace1_cliffhanger"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace1_cliffhanger" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 11 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_snowrace1_cliffhanger" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace1_cliffhanger" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_snowrace1_cliffhanger"; setdvar "coop_mapName" "so_snowrace1_cliffhanger"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_snowrace1_cliffhanger"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace1_cliffhanger" , 14 ) ) == 0 ) { exec "devmap so_snowrace1_cliffhanger"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace1_cliffhanger" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 11 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 11 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 91 336 20 1 1 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_empty" ) } itemDef { rect 2 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 91 336 20 1 1 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_empty" ) } itemDef { rect 15 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 91 336 20 1 1 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_empty" ) } itemDef { rect 28 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_chopper_invasion_gray" rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_chopper_invasion" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_chopper_invasion"; setdvar "coop_mapName" "so_chopper_invasion"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_chopper_invasion"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_chopper_invasion" , 14 ) ) == 0 ) { exec "devmap so_chopper_invasion"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_chopper_invasion" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 21 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_chopper_invasion" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_chopper_invasion" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_chopper_invasion"; setdvar "coop_mapName" "so_chopper_invasion"; setdvar "ui_last_opened_group" 2; setdvar "ui_last_played_level" "so_chopper_invasion"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_chopper_invasion" , 14 ) ) == 0 ) { exec "devmap so_chopper_invasion"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_chopper_invasion" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 21 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 21 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 111 336 20 1 1 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_empty" ) } itemDef { rect 2 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 111 336 20 1 1 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_empty" ) } itemDef { rect 15 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 111 336 20 1 1 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_empty" ) } itemDef { rect 28 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } 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 "popmenu_specops_charlie" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); focusfirst; if ( ( dvarstring( "ui_last_played_level" ) == "so_hidden_so_ghillies" ) && dvarbool( "solo_play" ) ) { setfocus "so_hidden_so_ghillies"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_showers_gulag" ) && dvarbool( "solo_play" ) ) { setfocus "so_showers_gulag"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_snowrace2_cliffhanger" ) && dvarbool( "solo_play" ) ) { setfocus "so_snowrace2_cliffhanger"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_defense_invasion" ) && dvarbool( "solo_play" ) ) { setfocus "so_defense_invasion"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_intel_boneyard" ) && dvarbool( "solo_play" ) ) { setfocus "so_intel_boneyard"; } } onClose { } onEsc { close self; setdvar "ui_last_played_level" ""; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_co_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -288 28 288 356 3 1 style 3 decoration visible 1 forecolor 0.225 0.225 0.225 1 background "white" textscale 0.55 } itemDef { name "mapimage" rect -288 50 288 160 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_so_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -280 186 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "mapimage_gradient" rect -280 50 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -280 210 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_so_level_desc" ) ) } itemDef { name "total_stars" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( max( localvarint( "ui_stars_needed" ) == 0 , min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 ) ) visible when ( 1 ) exp text ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) + "/" + ( 23 * 3 ) ) } itemDef { name "stars_needed_to_next_unlock" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( ( localvarint( "ui_stars_needed" ) != 0 ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_NEXT_UNLOCK" ) + localvarint( "ui_stars_needed" ) ) } itemDef { name "name" rect -280 28 272 160 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textalignx -4 textaligny 2 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) } itemDef { name "opposition" rect -280 272 272 20 3 1 decoration visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_OPPOSITION_FORCE" ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) && dvarbool( "solo_play" ) ) } 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_SP_SPECIAL_OPS_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@SPECIAL_OPS_SO_BUTTON_CHARLIE_CAPS" } itemDef { rect -280 272 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@MENU_SP_DIFF_RANKING_" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_TYPE" ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 5 ) ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_AVG_TIME" ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 7 ) + ".00" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) ) exp text ( "@MENU_SP_LEVEL_YOUR_BEST_TIME" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) == 0 ) exp text ( "--:--" ) } itemDef { rect -280 362 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 8 ) ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( "@MENU_SP_IW_BEST_TIME" ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 10 ) ) } itemDef { rect 0 -112 272 80 1 3 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 5 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( coopplayer( ( gamehost( ) || dvarbool( "splitscreen" ) ) , "name" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textalign 6 textalignx -140 textaligny 17 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) + ":" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_hidden_so_ghillies_gray" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_hidden_so_ghillies" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_hidden_so_ghillies"; setdvar "coop_mapName" "so_hidden_so_ghillies"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_hidden_so_ghillies"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_hidden_so_ghillies" , 14 ) ) == 0 ) { exec "devmap so_hidden_so_ghillies"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_hidden_so_ghillies" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 20 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_hidden_so_ghillies" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_hidden_so_ghillies" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_hidden_so_ghillies"; setdvar "coop_mapName" "so_hidden_so_ghillies"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_hidden_so_ghillies"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_hidden_so_ghillies" , 14 ) ) == 0 ) { exec "devmap so_hidden_so_ghillies"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_hidden_so_ghillies" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 20 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 20 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 31 336 20 1 1 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_empty" ) } itemDef { rect 2 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 31 336 20 1 1 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_empty" ) } itemDef { rect 15 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 31 336 20 1 1 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_empty" ) } itemDef { rect 28 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_showers_gulag_gray" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_showers_gulag" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_showers_gulag"; setdvar "coop_mapName" "so_showers_gulag"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_showers_gulag"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_showers_gulag" , 14 ) ) == 0 ) { exec "devmap so_showers_gulag"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_showers_gulag" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 0 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_showers_gulag" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_showers_gulag" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_showers_gulag"; setdvar "coop_mapName" "so_showers_gulag"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_showers_gulag"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_showers_gulag" , 14 ) ) == 0 ) { exec "devmap so_showers_gulag"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_showers_gulag" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 0 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 0 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 51 336 20 1 1 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_empty" ) } itemDef { rect 2 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 51 336 20 1 1 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_empty" ) } itemDef { rect 15 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 51 336 20 1 1 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_empty" ) } itemDef { rect 28 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_snowrace2_cliffhanger_gray" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace2_cliffhanger" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_snowrace2_cliffhanger"; setdvar "coop_mapName" "so_snowrace2_cliffhanger"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_snowrace2_cliffhanger"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace2_cliffhanger" , 14 ) ) == 0 ) { exec "devmap so_snowrace2_cliffhanger"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace2_cliffhanger" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 12 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_snowrace2_cliffhanger" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace2_cliffhanger" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_snowrace2_cliffhanger"; setdvar "coop_mapName" "so_snowrace2_cliffhanger"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_snowrace2_cliffhanger"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace2_cliffhanger" , 14 ) ) == 0 ) { exec "devmap so_snowrace2_cliffhanger"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_snowrace2_cliffhanger" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 12 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 12 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 71 336 20 1 1 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_empty" ) } itemDef { rect 2 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 71 336 20 1 1 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_empty" ) } itemDef { rect 15 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 71 336 20 1 1 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_empty" ) } itemDef { rect 28 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_defense_invasion_gray" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defense_invasion" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_defense_invasion"; setdvar "coop_mapName" "so_defense_invasion"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_defense_invasion"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defense_invasion" , 14 ) ) == 0 ) { exec "devmap so_defense_invasion"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defense_invasion" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 5 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_defense_invasion" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defense_invasion" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_defense_invasion"; setdvar "coop_mapName" "so_defense_invasion"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_defense_invasion"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defense_invasion" , 14 ) ) == 0 ) { exec "devmap so_defense_invasion"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_defense_invasion" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 5 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 5 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 91 336 20 1 1 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_empty" ) } itemDef { rect 2 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 91 336 20 1 1 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_empty" ) } itemDef { rect 15 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 91 336 20 1 1 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_empty" ) } itemDef { rect 28 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_intel_boneyard_gray" rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_intel_boneyard" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_intel_boneyard"; setdvar "coop_mapName" "so_intel_boneyard"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_intel_boneyard"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_intel_boneyard" , 14 ) ) == 0 ) { exec "devmap so_intel_boneyard"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_intel_boneyard" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 18 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_intel_boneyard" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_intel_boneyard" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_intel_boneyard"; setdvar "coop_mapName" "so_intel_boneyard"; setdvar "ui_last_opened_group" 3; setdvar "ui_last_played_level" "so_intel_boneyard"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_intel_boneyard" , 14 ) ) == 0 ) { exec "devmap so_intel_boneyard"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_intel_boneyard" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 18 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 18 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 111 336 20 1 1 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_empty" ) } itemDef { rect 2 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 111 336 20 1 1 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_empty" ) } itemDef { rect 15 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 111 336 20 1 1 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_empty" ) } itemDef { rect 28 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } 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 "popmenu_specops_delta" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); focusfirst; if ( ( dvarstring( "ui_last_played_level" ) == "so_download_arcadia" ) && dvarbool( "solo_play" ) ) { setfocus "so_download_arcadia"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_demo_so_bridge" ) && dvarbool( "solo_play" ) ) { setfocus "so_demo_so_bridge"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_sabotage_cliffhanger" ) && dvarbool( "solo_play" ) ) { setfocus "so_sabotage_cliffhanger"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_escape_airport" ) && dvarbool( "solo_play" ) ) { setfocus "so_escape_airport"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_takeover_estate" ) && dvarbool( "solo_play" ) ) { setfocus "so_takeover_estate"; } } onClose { } onEsc { close self; setdvar "ui_last_played_level" ""; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_co_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -288 28 288 356 3 1 style 3 decoration visible 1 forecolor 0.225 0.225 0.225 1 background "white" textscale 0.55 } itemDef { name "mapimage" rect -288 50 288 160 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_so_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -280 186 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "mapimage_gradient" rect -280 50 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -280 210 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_so_level_desc" ) ) } itemDef { name "total_stars" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( max( localvarint( "ui_stars_needed" ) == 0 , min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 ) ) visible when ( 1 ) exp text ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) + "/" + ( 23 * 3 ) ) } itemDef { name "stars_needed_to_next_unlock" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( ( localvarint( "ui_stars_needed" ) != 0 ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_NEXT_UNLOCK" ) + localvarint( "ui_stars_needed" ) ) } itemDef { name "name" rect -280 28 272 160 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textalignx -4 textaligny 2 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) } itemDef { name "opposition" rect -280 272 272 20 3 1 decoration visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_OPPOSITION_FORCE" ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) && dvarbool( "solo_play" ) ) } 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_SP_SPECIAL_OPS_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@SPECIAL_OPS_SO_BUTTON_DELTA_CAPS" } itemDef { rect -280 272 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@MENU_SP_DIFF_RANKING_" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_TYPE" ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 5 ) ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_AVG_TIME" ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 7 ) + ".00" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) ) exp text ( "@MENU_SP_LEVEL_YOUR_BEST_TIME" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) == 0 ) exp text ( "--:--" ) } itemDef { rect -280 362 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 8 ) ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( "@MENU_SP_IW_BEST_TIME" ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 10 ) ) } itemDef { rect 0 -112 272 80 1 3 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 5 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( coopplayer( ( gamehost( ) || dvarbool( "splitscreen" ) ) , "name" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textalign 6 textalignx -140 textaligny 17 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) + ":" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_download_arcadia_gray" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_download_arcadia" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_download_arcadia"; setdvar "coop_mapName" "so_download_arcadia"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_download_arcadia"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_download_arcadia" , 14 ) ) == 0 ) { exec "devmap so_download_arcadia"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_download_arcadia" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 8 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_download_arcadia" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_download_arcadia" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_download_arcadia"; setdvar "coop_mapName" "so_download_arcadia"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_download_arcadia"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_download_arcadia" , 14 ) ) == 0 ) { exec "devmap so_download_arcadia"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_download_arcadia" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 8 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 8 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 31 336 20 1 1 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_empty" ) } itemDef { rect 2 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 31 336 20 1 1 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_empty" ) } itemDef { rect 15 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 31 336 20 1 1 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_empty" ) } itemDef { rect 28 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_demo_so_bridge_gray" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_demo_so_bridge" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_demo_so_bridge"; setdvar "coop_mapName" "so_demo_so_bridge"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_demo_so_bridge"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_demo_so_bridge" , 14 ) ) == 0 ) { exec "devmap so_demo_so_bridge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_demo_so_bridge" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 9 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_demo_so_bridge" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_demo_so_bridge" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_demo_so_bridge"; setdvar "coop_mapName" "so_demo_so_bridge"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_demo_so_bridge"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_demo_so_bridge" , 14 ) ) == 0 ) { exec "devmap so_demo_so_bridge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_demo_so_bridge" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 9 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 9 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 51 336 20 1 1 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_empty" ) } itemDef { rect 2 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 51 336 20 1 1 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_empty" ) } itemDef { rect 15 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 51 336 20 1 1 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_empty" ) } itemDef { rect 28 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_sabotage_cliffhanger_gray" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_sabotage_cliffhanger" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_sabotage_cliffhanger"; setdvar "coop_mapName" "so_sabotage_cliffhanger"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_sabotage_cliffhanger"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_sabotage_cliffhanger" , 14 ) ) == 0 ) { exec "devmap so_sabotage_cliffhanger"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_sabotage_cliffhanger" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 14 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_sabotage_cliffhanger" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_sabotage_cliffhanger" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_sabotage_cliffhanger"; setdvar "coop_mapName" "so_sabotage_cliffhanger"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_sabotage_cliffhanger"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_sabotage_cliffhanger" , 14 ) ) == 0 ) { exec "devmap so_sabotage_cliffhanger"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_sabotage_cliffhanger" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 14 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 14 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 71 336 20 1 1 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_empty" ) } itemDef { rect 2 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 71 336 20 1 1 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_empty" ) } itemDef { rect 15 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 71 336 20 1 1 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_empty" ) } itemDef { rect 28 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_escape_airport_gray" rect -64 88 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_escape_airport" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_escape_airport"; setdvar "coop_mapName" "so_escape_airport"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_escape_airport"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_escape_airport" , 14 ) ) == 0 ) { exec "devmap so_escape_airport"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_escape_airport" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 6 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_escape_airport" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_escape_airport" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_escape_airport"; setdvar "coop_mapName" "so_escape_airport"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_escape_airport"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_escape_airport" , 14 ) ) == 0 ) { exec "devmap so_escape_airport"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_escape_airport" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 6 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 6 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 91 336 20 1 1 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_empty" ) } itemDef { rect 2 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 91 336 20 1 1 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_empty" ) } itemDef { rect 15 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 91 336 20 1 1 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_empty" ) } itemDef { rect 28 91 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_takeover_estate_gray" rect -64 108 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_estate" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_takeover_estate"; setdvar "coop_mapName" "so_takeover_estate"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_takeover_estate"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_estate" , 14 ) ) == 0 ) { exec "devmap so_takeover_estate"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_estate" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 16 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_takeover_estate" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_estate" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_takeover_estate"; setdvar "coop_mapName" "so_takeover_estate"; setdvar "ui_last_opened_group" 4; setdvar "ui_last_played_level" "so_takeover_estate"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_estate" , 14 ) ) == 0 ) { exec "devmap so_takeover_estate"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_estate" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 16 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 16 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 111 336 20 1 1 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_empty" ) } itemDef { rect 2 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 111 336 20 1 1 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_empty" ) } itemDef { rect 15 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 111 336 20 1 1 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_empty" ) } itemDef { rect 28 111 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } 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 "popmenu_specops_echo" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_star_animate_mark" ( milliseconds( ) ); focusfirst; if ( ( dvarstring( "ui_last_played_level" ) == "so_assault_oilrig" ) && dvarbool( "solo_play" ) ) { setfocus "so_assault_oilrig"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_juggernauts_favela" ) && dvarbool( "solo_play" ) ) { setfocus "so_juggernauts_favela"; } if ( ( dvarstring( "ui_last_played_level" ) == "so_takeover_oilrig" ) && dvarbool( "solo_play" ) ) { setfocus "so_takeover_oilrig"; } } onClose { } onEsc { close self; setdvar "ui_last_played_level" ""; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 forecolor 1 1 1 0.15 background "white" textscale 0.55 } itemDef { rect -126 28 633.383 356 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.2 background "mw2_main_co_image" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tl" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_t" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_tr" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_r" textscale 0.55 visible when ( 1 ) } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_br" textscale 0.55 visible when ( 1 ) } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_b" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_bl" textscale 0.55 visible when ( 1 ) } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "drop_shadow_l" textscale 0.55 visible when ( 1 ) } itemDef { rect -288 28 288 356 3 1 style 3 decoration visible 1 forecolor 0.225 0.225 0.225 1 background "white" textscale 0.55 } itemDef { name "mapimage" rect -288 50 288 160 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( localvarstring( "ui_so_level_levelshot" ) ) } itemDef { name "mapimage_gradient" rect -280 186 272 -24 3 1 style 3 decoration visible 1 forecolor 0.7 0.7 0.7 1 textscale 0.55 visible when ( 0 ) exp material ( "gradient_top" ) } itemDef { name "mapimage_gradient" rect -280 50 272 16 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.65 textscale 0.55 visible when ( 0 ) exp material ( "gradient" ) } itemDef { name "description" rect -280 210 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.75 textfont 3 textalign 4 textscale 0.375 exp text ( localvarstring( "ui_so_level_desc" ) ) } itemDef { name "total_stars" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( max( localvarint( "ui_stars_needed" ) == 0 , min( 0.25 , max( 0 , sin( milliseconds( ) / 700 ) ) ) * 4 ) ) visible when ( 1 ) exp text ( int( coopplayer( localvarint( "ui_player1_num" ) , "percentcompleteso" ) ) + "/" + ( 23 * 3 ) ) } itemDef { name "stars_needed_to_next_unlock" rect -21 9 13 13 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textfont 9 textalign 6 textalignx -16 textaligny -3 textscale 0.375 exp forecolor a ( ( localvarint( "ui_stars_needed" ) != 0 ) * min( 0.25 , max( 0 , 0 - sin( milliseconds( ) / 700 ) ) ) * 4 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_NEXT_UNLOCK" ) + localvarint( "ui_stars_needed" ) ) } itemDef { name "name" rect -280 28 272 160 3 1 decoration visible 1 forecolor 1 1 1 0.75 textfont 9 textalign 4 textalignx -4 textaligny 2 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) } itemDef { name "opposition" rect -280 272 272 20 3 1 decoration visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_OPPOSITION_FORCE" ) } itemDef { name "cheat_indicator" rect -64 -44 336 24 1 3 decoration visible 1 forecolor 1 0.8 0.4 1 textfont 9 textalign 6 textalignx -30 textscale 0.375 text "@MENU_CHEAT_ENABLED" visible when ( dvarbool( "mis_cheat" ) && dvarbool( "solo_play" ) ) } 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_SP_SPECIAL_OPS_CAPS" } itemDef { rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 visible when ( 0 ) exp text ( ":" ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 226 textaligny 4.5 textscale 0.375 text "@SPECIAL_OPS_SO_BUTTON_ECHO_CAPS" } itemDef { rect -280 272 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@MENU_SP_DIFF_RANKING_" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_TYPE" ) } itemDef { rect -280 290 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 5 ) ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 exp text ( "@MENU_SP_LEVEL_AVG_TIME" ) } itemDef { rect -280 308 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 7 ) + ".00" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) ) exp text ( "@MENU_SP_LEVEL_YOUR_BEST_TIME" ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 >= 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) >= 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + "." + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && ( "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 < 10 && "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) < 10 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) != 0 ) exp text ( "" + int( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) / 60 ) + ":0" + "" + int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) % 60 + ".0" + "" + int( ( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) % 1000 ) / 10 ) ) } itemDef { rect -280 326 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) / 1000 ) != 0 ) && getprofiledata( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 9 ) ) == 0 ) exp text ( "--:--" ) } itemDef { rect -280 362 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 8 ) ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 1 1 1 0.65 textfont 9 textalign 4 textscale 0.375 visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( "@MENU_SP_IW_BEST_TIME" ) } itemDef { rect -280 344 272 20 3 1 decoration autowrapped visible 1 forecolor 0.725 1 0.725 0.65 textalign 6 textscale 0.375 exp forecolor r ( localvarfloat( "ui_color_r" ) ) exp forecolor g ( localvarfloat( "ui_color_g" ) ) exp forecolor b ( localvarfloat( "ui_color_b" ) ) exp forecolor a ( localvarfloat( "ui_color_a" ) ) visible when ( ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 0 ) ) ) ) >= 4 ) ) exp text ( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 10 ) ) } itemDef { rect 0 -112 272 80 1 3 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 5 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( coopplayer( ( gamehost( ) || dvarbool( "splitscreen" ) ) , "name" ) ) } itemDef { name "friend_unlock" rect 0 -112 272 80 1 3 decoration visible 1 forecolor 1 1 1 1 textalign 6 textalignx -140 textaligny 17 textscale 0.375 visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 2 ) ) + ":" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 136 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 149 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) ) exp material ( "difficulty_star_empty" ) } itemDef { rect 162 -92 272 80 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( !dvarbool( "solo_play" ) && coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionsohighestdifficulty" ) , localvarint( "ui_so_level_offset" ) ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_assault_oilrig_gray" rect -64 28 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_assault_oilrig" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_assault_oilrig"; setdvar "coop_mapName" "so_assault_oilrig"; setdvar "ui_last_opened_group" 5; setdvar "ui_last_played_level" "so_assault_oilrig"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_assault_oilrig" , 14 ) ) == 0 ) { exec "devmap so_assault_oilrig"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_assault_oilrig" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 4 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_assault_oilrig" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_assault_oilrig" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_assault_oilrig"; setdvar "coop_mapName" "so_assault_oilrig"; setdvar "ui_last_opened_group" 5; setdvar "ui_last_played_level" "so_assault_oilrig"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_assault_oilrig" , 14 ) ) == 0 ) { exec "devmap so_assault_oilrig"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_assault_oilrig" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 4 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 4 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 31 336 20 1 1 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_empty" ) } itemDef { rect 2 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 31 336 20 1 1 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_empty" ) } itemDef { rect 15 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 31 336 20 1 1 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_empty" ) } itemDef { rect 28 31 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_juggernauts_favela_gray" rect -64 48 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_juggernauts_favela" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_juggernauts_favela"; setdvar "coop_mapName" "so_juggernauts_favela"; setdvar "ui_last_opened_group" 5; setdvar "ui_last_played_level" "so_juggernauts_favela"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_juggernauts_favela" , 14 ) ) == 0 ) { exec "devmap so_juggernauts_favela"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_juggernauts_favela" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 19 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_juggernauts_favela" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_juggernauts_favela" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_juggernauts_favela"; setdvar "coop_mapName" "so_juggernauts_favela"; setdvar "ui_last_opened_group" 5; setdvar "ui_last_played_level" "so_juggernauts_favela"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_juggernauts_favela" , 14 ) ) == 0 ) { exec "devmap so_juggernauts_favela"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_juggernauts_favela" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 19 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 19 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 51 336 20 1 1 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_empty" ) } itemDef { rect 2 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 51 336 20 1 1 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_empty" ) } itemDef { rect 15 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 51 336 20 1 1 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_empty" ) } itemDef { rect 28 51 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } itemDef { name "so_takeover_oilrig_gray" rect -64 68 336 20 1 1 group "mw2_button" style 1 visible 1 forecolor 0.6 0.6 0.6 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && ( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_oilrig" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_takeover_oilrig"; setdvar "coop_mapName" "so_takeover_oilrig"; setdvar "ui_last_opened_group" 5; setdvar "ui_last_played_level" "so_takeover_oilrig"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_oilrig" , 14 ) ) == 0 ) { exec "devmap so_takeover_oilrig"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_oilrig" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 17 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "so_takeover_oilrig" 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 visible when ( ( dvarbool( "mis_cheat" ) || 1 ) && !( !iscoop( ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_oilrig" , 11 ) ) == 2 ) ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 2 ) ) action { play "mouse_click"; if ( iscoop( ) && !gamehost( ) && !dvarbool( "splitscreen" ) ) { open "only_host_can_choose"; } else { setdvar "credits" 0; setdvar "credits_active" 0; setdvar "specialops" 1; setdvar "ui_load_so_level" "so_takeover_oilrig"; setdvar "coop_mapName" "so_takeover_oilrig"; setdvar "ui_last_opened_group" 5; setdvar "ui_last_played_level" "so_takeover_oilrig"; if ( iscoop( ) ) { close self; close "levels_challenge"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_oilrig" , 14 ) ) == 0 ) { exec "devmap so_takeover_oilrig"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , "so_takeover_oilrig" , 11 ) ) == 2 ) { open "popmenu_multi_only"; } else { open "popmenu_specialops_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( ) ); setLocalVarString "ui_so_level_offset" ( 17 ); setLocalVarString "ui_so_level_reference" ( tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 1 ) ); setLocalVarString "ui_so_level_levelshot" ( tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 4 ) ); setLocalVarString "ui_so_level_desc" ( "@" + tablelookup( "sp/specOpsTable.csv" , 0 , 17 , 3 ) ); setLocalVarString "ui_choicegroup" ( "CHOICE_GROUP" ); if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) >= 4 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.4 ); setLocalVarFloat "ui_color_b" ( 0.4 ); setLocalVarFloat "ui_color_a" ( 0.9 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 3 ) { setLocalVarFloat "ui_color_r" ( 1 ); setLocalVarFloat "ui_color_g" ( 0.575 ); setLocalVarFloat "ui_color_b" ( 0.275 ); setLocalVarFloat "ui_color_a" ( 0.88 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) == 2 ) { setLocalVarFloat "ui_color_r" ( 0.85 ); setLocalVarFloat "ui_color_g" ( 0.85 ); setLocalVarFloat "ui_color_b" ( 0.35 ); setLocalVarFloat "ui_color_a" ( 0.85 ); } if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , localvarstring( "ui_so_level_reference" ) , 6 ) ) <= 1 ) { setLocalVarFloat "ui_color_r" ( 0.6 ); setLocalVarFloat "ui_color_g" ( 1 ); setLocalVarFloat "ui_color_b" ( 0.6 ); setLocalVarFloat "ui_color_a" ( 0.725 ); } } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 2 71 336 20 1 1 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_empty" ) } itemDef { rect 2 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 4 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) >= 2 ) ) exp material ( "difficulty_star" ) } itemDef { rect 15 71 336 20 1 1 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_empty" ) } itemDef { rect 15 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 8 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) >= 3 ) ) exp material ( "difficulty_star" ) } itemDef { rect 28 71 336 20 1 1 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_empty" ) } itemDef { rect 28 71 336 20 1 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( ( int( min( max( ( milliseconds( ) - localvarint( "ui_star_animate_mark" ) ) / 25 * ( 1 + 12 ) , 0 ) , 1 ) ) && 1 ) ) visible when ( 1 && ( int( getcharbyindex( coopplayer( localvarint( "ui_player1_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) >= 4 ) ) exp material ( "difficulty_star" ) } 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 "levels_demo" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { focusfirst; } onEsc { close self; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_blur_front" 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 ( "Mission Select" ) } itemDef { rect 45 40 292.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 337.5 40 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 45 40 292.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" ) == "levels" ) } itemDef { rect 337.5 40 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" ) == "levels" ) } itemDef { rect 41 41 298 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" ) == "levels" && 1 ) } itemDef { rect 45 40 298 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 ( "Cliffhanger" ) action { play "mouse_click"; setdvar "ui_load_level" "cliffhanger"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 64 292.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 337.5 64 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 45 64 292.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" ) == "levels" ) } itemDef { rect 337.5 64 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" ) == "levels" ) } itemDef { rect 41 65 298 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" ) == "levels" && 1 ) } itemDef { rect 45 64 298 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 ( "Oilrig" ) action { play "mouse_click"; setdvar "ui_load_level" "oilrig"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 2 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 88 292.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 337.5 88 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 45 88 292.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" ) == "levels" ) } itemDef { rect 337.5 88 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" ) == "levels" ) } itemDef { rect 41 89 298 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" ) == "levels" && 1 ) } itemDef { rect 45 88 298 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 ( "Favela" ) action { play "mouse_click"; setdvar "ui_load_level" "favela"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 3 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 112 292.5 22 1 1 style 3 decoration visible 1 forecolor 0.9 0.9 1 0.07 textscale 0.55 visible when ( localvarint( "ui_hide_act_button" ) == 0 ) exp material ( "gradient_fadein" ) } itemDef { rect 337.5 112 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 ( localvarint( "ui_hide_act_button" ) == 0 ) } itemDef { rect 45 112 292.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" ) == "levels" ) } itemDef { rect 337.5 112 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" ) == "levels" ) } itemDef { rect 41 113 298 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" ) == "levels" && 1 ) } itemDef { rect 45 112 298 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 ( localvarint( "ui_hide_act_button" ) == 0 ) exp text ( "Special Ops" ) action { play "mouse_click"; open "levels_challenge"; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 4 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 136 292.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 337.5 136 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 45 136 292.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" ) == "levels" ) } itemDef { rect 337.5 136 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" ) == "levels" ) } itemDef { rect 41 137 298 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" ) == "levels" && 1 ) } itemDef { rect 45 136 298 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 ( "Contingency" ) action { play "mouse_click"; setdvar "ui_load_level" "contingency"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 5 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 160 292.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 337.5 160 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 45 160 292.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" ) == "levels" ) } itemDef { rect 337.5 160 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" ) == "levels" ) } itemDef { rect 41 161 298 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" ) == "levels" && 1 ) } itemDef { rect 45 160 298 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 ( "Estate" ) action { play "mouse_click"; setdvar "ui_load_level" "estate"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 6 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 184 292.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 337.5 184 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 45 184 292.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" ) == "levels" ) } itemDef { rect 337.5 184 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" ) == "levels" ) } itemDef { rect 41 185 298 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" ) == "levels" && 1 ) } itemDef { rect 45 184 298 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 ( "Afghan Caves" ) action { play "mouse_click"; setdvar "ui_load_level" "af_caves"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 7 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 208 292.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 337.5 208 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 45 208 292.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" ) == "levels" ) } itemDef { rect 337.5 208 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" ) == "levels" ) } itemDef { rect 41 209 298 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" ) == "levels" && 1 ) } itemDef { rect 45 208 298 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 ( "Int'l Space Station" ) action { play "mouse_click"; setdvar "ui_load_level" "iss"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 8 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 232 292.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 337.5 232 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 45 232 292.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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 232 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 233 298 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" ) == 9 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 232 298 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 ( "Auto-sentries" ) action { play "mouse_click"; setdvar "ui_load_level" "sentry"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 9 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 256 292.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 337.5 256 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 45 256 292.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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 256 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 257 298 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" ) == 10 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 256 298 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 ( "Character Room" ) action { play "mouse_click"; setdvar "ui_load_level" "character_room"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 10 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } itemDef { rect 45 280 292.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 337.5 280 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 45 280 292.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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 337.5 280 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" ) } itemDef { rect 41 281 298 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" ) == 11 && localvarstring( "ui_choicegroup" ) == "levels" && 1 ) } itemDef { rect 45 280 298 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 ( "Toy Test" ) action { play "mouse_click"; setdvar "ui_load_level" "toy_test"; open "popmenu_difficulty" ;; } onFocus { play "mouse_over"; setLocalVarInt "ui_highlight" ( 11 ); setLocalVarString "ui_choicegroup" ( "levels" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } } } menuDef { name "popmenu_multi_only" rect -150 -64 300 64 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 "ok"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -64 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 -44 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_COOP_ONLY_CHALLENGE" ) } 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 -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 "so_unlock_requirement" rect -150 -64 300 64 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 ); if ( localvarstring( "ui_unlock_desc" ) == "" ) { setLocalVarString "ui_unlock_desc" ( "@SPECIAL_OPS_SO_UNLOCK_DESC" ); } setfocus "ok"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); setLocalVarString "ui_unlock_desc" ( "" ); } onEsc { close self; } 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 -64 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 -44 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 ( localvarstring( "ui_unlock_desc" ) ) } 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 -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 "so_locked_for_friend" 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 ); if ( localvarstring( "ui_unlock_desc" ) == "" ) { setLocalVarString "ui_unlock_desc" ( "@SPECIAL_OPS_SO_UNLOCK_DESC" ); } setfocus "ok"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); setLocalVarString "ui_unlock_desc" ( "" ); } 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_NOTICE" } 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_SP_FRIEND_LOCK_OP_DESC" ) } itemDef { name "ok" 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_CONTINUE" visible when ( 1 ) action { play "mouse_click"; close self; if ( dvarbool( "splitscreen" ) ) { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 11 ) ) == 2 ) { open "so_character_select_splitscreen"; } else { open "popmenu_specialops_splitscreen_skip_difficulty"; } } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 11 ) ) == 2 ) { open "so_character_select_coop"; } else { if ( coopplayer( 1 , "exists" ) ) { exec "coopLaunch"; } } } } 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 "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_SP_CHOOSE_A_DIFFERENT_OP" visible when ( 1 ) action { play "mouse_click"; close self; open "levels_challenge"; } 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 "so_character_select_coop" rect -150 -64 300 64 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 ); if ( localvarstring( "ui_unlock_desc" ) == "" ) { setLocalVarString "ui_unlock_desc" ( "@SPECIAL_OPS_SO_UNLOCK_DESC" ); } setfocus "player1"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -64 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 visible when ( dvarstring( "ui_load_so_level" ) != "" && dvarstring( "coop_mapName" ) == "" ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 12 ) ) } itemDef { rect -150 -64 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 visible when ( dvarstring( "coop_mapName" ) != "" ) exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 12 ) ) } itemDef { name "player1" 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 visible when ( 1 ) exp text ( coopplayer( 0 , "name" ) ) action { play "mouse_click"; if ( coopplayer( 1 , "exists" ) ) { setdvar "coop_start" "so_char_host"; exec "coopLaunch"; } 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 "player2" 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 visible when ( 1 ) exp text ( coopplayer( 1 , "name" ) ) action { play "mouse_click"; if ( coopplayer( 1 , "exists" ) ) { setdvar "coop_start" "so_char_client"; exec "coopLaunch"; } 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 "so_character_select_splitscreen" rect -150 -64 300 64 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 ); if ( localvarstring( "ui_unlock_desc" ) == "" ) { setLocalVarString "ui_unlock_desc" ( "@SPECIAL_OPS_SO_UNLOCK_DESC" ); } setfocus "player1"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -64 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 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 12 ) ) } itemDef { name "player1" 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 visible when ( 1 ) exp text ( coopplayer( 0 , "name" ) ) action { play "mouse_click"; setdvar "coop_start" "so_char_host"; open "popmenu_specialops_splitscreen_skip_difficulty"; 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 "player2" 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 visible when ( 1 ) exp text ( coopplayer( 1 , "name" ) ) action { play "mouse_click"; setdvar "coop_start" "so_char_client"; open "popmenu_specialops_splitscreen_skip_difficulty"; 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 "only_host_can_choose" rect -150 -64 300 64 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 "ok"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -64 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 -44 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_ONLY_HOST_CAN_CHOOSE" ) } 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 -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 "offensive_warning" rect -150 -164 300 164 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 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 4 textscale 0.375 text "@MENU_SP_OFFENSIVE_SKIP_2" 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_YES_ASK_LATER" action { play "mouse_click"; execnow "profile_SetHasEverPlayed_MainMenu; profile_toggleCanSkipOffensiveMissions 1; updategamerprofile"; close self; close "main_lockout"; open "main_selection"; } 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_SP_OFFENSIVE_SKIP_NO_WONT_GET_OFFENDED" action { play "mouse_click"; open "offensive_warning_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 ); } 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_warning_2" rect -150 -144 300 144 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 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "back"; } onClose { setLocalVarInt "ui_centerPopup" ( 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 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 -124 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_3" visible when ( 1 ) } itemDef { rect -146 -124 292 42 2 2 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textaligny 50 textscale 0.33 text "@MENU_SP_OFFENSIVE_SKIP_4" visible when ( 1 ) } itemDef { name "ok" 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_YES_NEVER_ASK" action { play "mouse_click"; execnow "profile_SetHasEverPlayed_MainMenu; profile_toggleCanSkipOffensiveMissions 0; updategamerprofile"; close self; close "main_lockout"; open "main_selection"; } 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 "back" 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_BACK" action { play "mouse_click"; open "offensive_warning"; 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 -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 "controls" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { execnow "profile_menuDvarsSetup; resetViewport" ;; } onClose { execnow "profile_menuDvarsFinish; resetViewport"; } onEsc { close "controls"; exec "updategamerprofile"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@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 "controls"; open "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 "controls"; open "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 "controls"; open "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 "thumbstick" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onEsc { close "thumbstick"; open "controls"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@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 "thumbstick"; open "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 "thumbstick"; open "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 "thumbstick"; open "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 "thumbstick"; open "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 "buttons" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { 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"; } } onEsc { close "buttons"; open "controls"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@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 "buttons"; open "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 "buttons"; open "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 "buttons"; open "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 "buttons"; open "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 "buttons"; open "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 "buttons"; open "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 "sensitivity" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setfocus "sensitivity_custom"; } onEsc { close "sensitivity"; open "controls"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@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 "sensitivity"; open "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 "sensitivity"; open "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 "sensitivity"; open "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 "sensitivity"; open "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 "sensitivity_custom" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { 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"; } } onEsc { close "sensitivity_custom"; open "sensitivity"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "sensitivity_custom"; open "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 "brightness" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_A" { if ( localvarbool( "ui_brightness_adjusted" ) ) { close self; } } execKey "BUTTON_START" { if ( localvarbool( "ui_brightness_adjusted" ) ) { close self; } } onOpen { execnow "profile_menuDvarsSetup; resetViewport"; setLocalVarBool "ui_show_recommendation" ( 1 ); setLocalVarBool "ui_brightness_adjusted" ( 0 ); } onClose { execnow "profile_menuDvarsFinish; resetViewport"; open "margin_horizontal"; } onEsc { if ( localvarbool( "ui_brightness_adjusted" ) ) { close self; } } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "sp" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "so" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "mp" ) } 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 ) } 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 ) } 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 "margin_horizontal" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_A" { if ( localvarbool( "ui_margin_adjusted" ) ) { close self; } } execKey "BUTTON_START" { if ( localvarbool( "ui_margin_adjusted" ) ) { close self; } } onOpen { execnow "profile_menuDvarsSetup; resetViewport" ;; setLocalVarBool "ui_margin_adjusted" ( 0 ); } onClose { execnow "profile_menuDvarsFinish; resetViewport"; open "margin_vertical"; } onEsc { if ( localvarbool( "ui_margin_adjusted" ) ) { close self; } } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "sp" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "so" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "mp" ) } 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 ) } 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 ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textscale 0.5 text "@MENU_HUD_MARGIN_HORIZONTAL_CAPS" visible when ( dvarbool( "hidef" ) ) } 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_SP_MARGIN_HORIZONTAL_DESC" } 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_safearea_adjusted_horizontal" rect -160 48 320 20 2 1 visible 1 forecolor 1 1 1 1 type 10 textalign 5 textscale 0.55 dvarFloat "profileMenuOption_safeAreaHorz" 0.85 0.85 1 action { exec "profile_menuDvarsFinish; wait; wait; resetViewport"; setLocalVarBool "ui_margin_adjusted" ( 1 ); exec "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 { rect -100 -100 100 1000 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 -800 100 1000 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 -160 328 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_margin_adjusted" ) ) } 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 "margin_vertical" rect 0 0 640 480 0 0 legacySplitScreenScale forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 execKey "BUTTON_A" { if ( localvarbool( "ui_margin_adjusted" ) ) { close self; } } execKey "BUTTON_START" { if ( localvarbool( "ui_margin_adjusted" ) ) { close self; } } onOpen { execnow "profile_menuDvarsSetup; resetViewport" ;; setLocalVarBool "ui_margin_adjusted" ( 0 ); } onClose { execnow "profile_menuDvarsFinish; resetViewport"; open "offensive_warning"; } onEsc { if ( localvarbool( "ui_margin_adjusted" ) ) { close self; } } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "sp" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "so" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "mp" ) } 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 ) } 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 ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textscale 0.5 text "@MENU_HUD_MARGIN_VERTICAL_CAPS" visible when ( dvarbool( "hidef" ) ) } 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_SP_MARGIN_VERTICAL_DESC" } 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_safearea_adjusted_vertical" rect -160 48 320 20 2 1 visible 1 forecolor 1 1 1 1 type 10 textalign 5 textscale 0.55 dvarFloat "profileMenuOption_safeAreaVert" 0.85 0.85 1 action { exec "profile_menuDvarsFinish; wait; wait; resetViewport"; setLocalVarBool "ui_margin_adjusted" ( 1 ); exec "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 -1800 -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 -100 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 { rect -160 328 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_margin_adjusted" ) ) } 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 "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 "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 "options" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_mainmenu_mp" onOpen { execnow "Updatedvarsfromprofile"; "profilehide" "selectsavedevice_noprofile"; "profileshow" "selectsavedevice"; "showhidenewgameresume"; } onEsc { close "options"; exec "updategamerprofile"; } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_back" textscale 0.55 } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_fogscroll" textscale 0.55 exp rect x ( ( - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect -107 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_fogscrollthin" textscale 0.55 exp rect x ( ( - 961 ) + ( ( float( milliseconds( ) % 100000 ) / 100000 ) * ( 854 ) ) ) } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_front" textscale 0.55 } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 1 background "animbg_front2" 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 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 { 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 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_AIM_ASSIST" ) } itemDef { rect 0 34 224 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 244 textscale 0.4583 textstyle 3 dvar "input_autoaim" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } 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 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 { 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 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_SUBTITLES" ) } itemDef { rect 0 58 224 22 1 1 style 1 visible 1 forecolor 0.69 0.69 0.69 1 type 12 textalign 8 textalignx 244 textscale 0.4583 textstyle 3 dvar "cg_subtitles" dvarFloatList { "@MENU_ENABLED" 1 "@MENU_DISABLED" 0 } 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 ); } } } menuDef { name "stats" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { setLocalVarInt "ui_sp_stat_progression_easy" ( 0 ); setLocalVarInt "ui_sp_stat_progression_easy" ( ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 0 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 1 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 2 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 3 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 4 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 5 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 6 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 7 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 8 ) ) >= 1 ) ) ); setLocalVarInt "ui_sp_stat_progression_easy" ( localvarint( "ui_sp_stat_progression_easy" ) + ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 9 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 10 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 11 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 12 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 13 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 14 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 15 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 16 ) ) >= 1 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 17 ) ) >= 1 ) ) ); setLocalVarInt "ui_sp_stat_progression_regular" ( 0 ); setLocalVarInt "ui_sp_stat_progression_regular" ( ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 0 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 1 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 2 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 3 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 4 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 5 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 6 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 7 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 8 ) ) >= 2 ) ) ); setLocalVarInt "ui_sp_stat_progression_regular" ( localvarint( "ui_sp_stat_progression_regular" ) + ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 9 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 10 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 11 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 12 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 13 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 14 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 15 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 16 ) ) >= 2 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 17 ) ) >= 2 ) ) ); setLocalVarInt "ui_sp_stat_progression_hardened" ( 0 ); setLocalVarInt "ui_sp_stat_progression_hardened" ( ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 0 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 1 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 2 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 3 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 4 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 5 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 6 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 7 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 8 ) ) >= 3 ) ) ); setLocalVarInt "ui_sp_stat_progression_hardened" ( localvarint( "ui_sp_stat_progression_hardened" ) + ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 9 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 10 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 11 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 12 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 13 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 14 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 15 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 16 ) ) >= 3 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 17 ) ) >= 3 ) ) ); setLocalVarInt "ui_sp_stat_progression_veteran" ( 0 ); setLocalVarInt "ui_sp_stat_progression_veteran" ( ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 0 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 1 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 2 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 3 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 4 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 5 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 6 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 7 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 8 ) ) >= 4 ) ) ); setLocalVarInt "ui_sp_stat_progression_veteran" ( localvarint( "ui_sp_stat_progression_veteran" ) + ( ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 9 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 10 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 11 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 12 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 13 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 14 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 15 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 16 ) ) >= 4 ) + ( int( getcharbyindex( getprofiledata( "missionHighestDifficulty" ) , 17 ) ) >= 4 ) ) ); setLocalVarInt "ui_player1_num" ( 0 ); setLocalVarInt "ui_player2_num" ( 1 ); setLocalVarString "ui_timeplayed_so" ( gettimeplayed( "so" ) ); setLocalVarString "ui_timeplayed_sp" ( gettimeplayed( "sp" ) ); setLocalVarString "ui_timeplayed_mp" ( gettimeplayed( "mp" ) ); setLocalVarString "ui_timeplayed_total" ( gettimeplayed( "total" ) ); } onClose { } onEsc { close self; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_sp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "sp" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_co_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "so" ) } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_mp_image" textscale 0.55 visible when ( dvarstring( "gamemode" ) == "mp" ) } 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textaligny 24 textscale 0.5 text "@MENU_STATS_CAPS" visible when ( 1 ) } itemDef { rect -64 68 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SP_PLAY_TIME" visible when ( 1 ) } itemDef { rect -64 68 336 20 1 1 decoration visible 1 forecolor 0.6 0.6 0.6 1 textfont 3 textalign 6 textalignx 24 textaligny -10 textscale 0.25 text "@MENU_SP_STAT_TIME_FORMAT" visible when ( 1 ) } itemDef { rect -64 68 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.9 textfont 3 textalign 6 textalignx 48 textscale 0.375 visible when ( 1 ) exp text ( localvarstring( "ui_timeplayed_sp" ) ) } itemDef { rect -64 88 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SP_EASY_REGULAR_PROGRESSION" visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 ) } itemDef { name "percentage_frame" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 88 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_DOT_PERCENT" , int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) , int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) ) ) } itemDef { rect -64 88 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SP_EASY_REGULAR_PROGRESSION" visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 ) } itemDef { name "percentage_frame" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 96 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 88 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_PERCENT" , int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) ) ) } itemDef { rect -64 108 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_HARDENED_PROGRESS" visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 ) } itemDef { name "percentage_frame" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0.325 0.725 0.325 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 108 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_DOT_PERCENT" , int( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) ) , int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) ) ) } itemDef { rect -64 108 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_HARDENED_PROGRESS" visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 ) } itemDef { name "percentage_frame" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0.325 0.725 0.325 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 116 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 108 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_PERCENT" , int( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) ) ) ) } itemDef { rect -64 128 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_VETERAN_PROGRESS" visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 ) } itemDef { name "percentage_frame" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.6 0.3 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 128 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_DOT_PERCENT" , int( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) ) , int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) ) ) } itemDef { rect -64 128 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_VETERAN_PROGRESS" visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 ) } itemDef { name "percentage_frame" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.6 0.3 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 136 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 128 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_PERCENT" , int( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) ) ) ) } itemDef { rect -64 148 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_INTEL_ITEMS" visible when ( 1 ) } itemDef { name "percentage_frame" rect -64 156 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( 1 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 156 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( 1 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 156 336 20 1 1 style 3 decoration visible 1 forecolor 0.125 0.45 0.2 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , int( ( int( getprofiledata( "cheatPoints" ) ) / 45 ) * 100 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( 1 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 156 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( 1 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 156 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( 1 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 148 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( 1 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_RATIO" , int( getprofiledata( "cheatPoints" ) ) , 45 ) ) } itemDef { rect -64 168 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SP_PROGRESSION" visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 ) } itemDef { name "percentage_frame" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.325 0.725 0.325 0.9 background "white" textscale 0.55 exp rect x ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.6 0.3 0.9 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) ) != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.125 0.45 0.2 0.9 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) + ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( int( ( int( getprofiledata( "cheatPoints" ) ) / 45 ) * 100 ) * 0.15 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) + ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) + ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) ) != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 168 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) != 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_DOT_PERCENT" , int( ( getprofiledata( "percentCompleteSP" ) / 100 ) ) , int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) ) ) } itemDef { rect -64 168 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SP_PROGRESSION" visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 ) } itemDef { name "percentage_frame" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_frame" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.325 0.725 0.325 0.9 background "white" textscale 0.55 exp rect x ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.6 0.3 0.9 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) ) != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.125 0.45 0.2 0.9 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) + ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( int( ( int( getprofiledata( "cheatPoints" ) ) / 45 ) * 100 ) * 0.15 ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) + ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) ) * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 && 1 && ( ( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) * 0.5 ) + ( ( ( localvarint( "ui_sp_stat_progression_hardened" ) / 18 ) * 100 ) * 0.25 ) + ( ( ( localvarint( "ui_sp_stat_progression_veteran" ) / 18 ) * 100 ) * 0.1 ) ) != 0 ) } itemDef { name "percentage_bar" rect -64 176 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) } itemDef { rect -64 168 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( getprofiledata( "percentCompleteSP" ) / 100 ) * 10 ) % 10 ) == 0 && int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) >= 100 ) exp text ( locstring( "@MENU_SP_STAT_NUM_PERCENT" , int( ( getprofiledata( "percentCompleteSP" ) / 100 ) ) ) ) } itemDef { rect -64 128 336 20 1 1 decoration autowrapped visible 1 forecolor 0.75 0.75 0.75 0.9 textfont 3 textalign 5 textscale 0.375 text "@MENU_SP_CAMPAIGN_INCOMPLETE" exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 40 ) visible when ( int( ( ( localvarint( "ui_sp_stat_progression_easy" ) / 18 ) * 100 ) ) < 100 ) } itemDef { rect 0 198 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { rect -64 208 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SO_PLAY_TIME" visible when ( 1 ) } itemDef { rect -64 208 336 20 1 1 decoration visible 1 forecolor 0.6 0.6 0.6 1 textfont 3 textalign 6 textalignx 24 textaligny -10 textscale 0.25 text "@MENU_SP_STAT_TIME_FORMAT" visible when ( 1 ) } itemDef { rect -64 208 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.9 textfont 3 textalign 6 textalignx 48 textscale 0.375 visible when ( 1 ) exp text ( localvarstring( "ui_timeplayed_so" ) ) } itemDef { rect -64 228 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SO_PROGRESSION" visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 ) } itemDef { name "percentage_frame" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 && 1 ) } itemDef { name "percentage_frame" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 && 1 ) } itemDef { name "percentage_bar" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 && 1 ) } itemDef { name "percentage_bar" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 && 1 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 && 1 ) } itemDef { rect -64 228 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) != 0 && 1 ) exp text ( locstring( "@MENU_SP_STAT_NUM_DOT_PERCENT" , int( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 ) , int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) ) ) } itemDef { rect -64 228 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_SO_PROGRESSION" visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 ) } itemDef { name "percentage_frame" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 && 1 ) } itemDef { name "percentage_frame" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 && 1 ) } itemDef { name "percentage_bar" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 && 1 ) } itemDef { name "percentage_bar" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 && 1 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 236 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 && 1 ) } itemDef { rect -64 228 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( int( ( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 * 10 ) % 10 ) == 0 && 1 ) exp text ( locstring( "@MENU_SP_STAT_NUM_PERCENT" , int( ( int( getprofiledata( "percentCompleteSO" ) ) / ( 23 * 3 ) ) * 100 ) ) ) } itemDef { rect -64 248 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_STARS_EARNED" visible when ( 1 ) } itemDef { name "@MENU_SP_STAT_TOTAL_STARS" rect -64 251 336 20 1 1 style 3 decoration visible 1 forecolor 0.75 0.75 0.75 0.9 background "difficulty_star" textfont 3 textalign 4 textalignx 18 textaligny -3 textscale 0.375 exp rect x ( 290 - 64 ) exp rect w ( 14 ) exp rect h ( 14 ) visible when ( 1 ) exp text ( locstring( "@MENU_SP_STAT_NUM_RATIO" , int( getprofiledata( "percentCompleteSO" ) ) , ( 23 * 3 ) ) ) } itemDef { rect 0 278 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { rect -64 288 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_MP_PLAY_TIME" visible when ( 1 ) } itemDef { rect -64 288 336 20 1 1 decoration visible 1 forecolor 0.6 0.6 0.6 1 textfont 3 textalign 6 textalignx 24 textaligny -10 textscale 0.25 text "@MENU_SP_STAT_TIME_FORMAT" visible when ( 1 ) } itemDef { rect -64 288 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.9 textfont 3 textalign 6 textalignx 48 textscale 0.375 visible when ( 1 ) exp text ( localvarstring( "ui_timeplayed_mp" ) ) } itemDef { rect -64 308 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_MP_PROGRESSION" visible when ( 1 ) } itemDef { name "percentage_frame" rect -64 316 336 20 1 1 style 3 decoration visible 1 forecolor 0.35 0.35 0.35 1 background "white" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( 1 && 1 ) } itemDef { name "percentage_frame" rect -64 316 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "gradient" textscale 0.55 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 4 ) visible when ( 1 && 1 ) } itemDef { name "percentage_bar" rect -64 316 336 20 1 1 style 3 decoration visible 1 forecolor 0.5 0.9 0.5 0.9 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( min( 160 , int( getprofiledata( "percentCompleteMP" ) ) * ( 160 ) / 100 ) ) exp rect h ( 4 ) visible when ( 1 && 1 ) } itemDef { name "percentage_bar" rect -64 316 336 20 1 1 style 3 decoration visible 1 forecolor 0.2 0.2 0.2 1 background "white" textscale 0.55 exp rect x ( ( 0 * ( 160 ) / 100 ) + 290 - 64 ) exp rect w ( 1 / 1.5 ) exp rect h ( 4 ) visible when ( 1 && 1 && 0 && 0 != 0 ) } itemDef { name "percentage_bar" rect -64 316 336 20 1 1 style 3 decoration visible 1 forecolor 0 0 0 1 background "line_horizontal" textscale 0.55 exp rect x ( 40 + 290 - 64 ) exp rect w ( 80 ) exp rect h ( 4 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( 1 && 1 ) } itemDef { rect -64 308 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.7 textfont 3 textalign 5 textscale 0.375 textstyle 3 exp rect x ( 290 - 64 ) exp rect w ( 160 ) exp rect h ( 16 ) exp forecolor a ( max( min( 0.5 , sin( milliseconds( ) / 700 ) ) + 0.5 , min( 0.5 , cos( milliseconds( ) / 700 ) ) + 0.5 ) ) visible when ( 1 && 1 ) exp text ( locstring( "@MENU_SP_STAT_NUM_PERCENT" , int( getprofiledata( "percentCompleteMP" ) ) ) ) } itemDef { rect 0 338 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { rect -64 348 336 20 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 6 textalignx -60 textscale 0.375 text "@MENU_SP_STAT_TOTAL_PLAY_TIME" visible when ( 1 ) } itemDef { rect -64 348 336 20 1 1 decoration visible 1 forecolor 0.6 0.6 0.6 1 textfont 3 textalign 6 textalignx 24 textaligny -10 textscale 0.25 text "@MENU_SP_STAT_TIME_FORMAT" visible when ( 1 ) } itemDef { rect -64 348 336 20 1 1 decoration visible 1 forecolor 0.75 0.75 0.75 0.9 textfont 3 textalign 6 textalignx 48 textscale 0.375 visible when ( 1 ) exp text ( localvarstring( "ui_timeplayed_total" ) ) } 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 "connect" rect 0 0 640 480 0 0 style 1 forecolor 1 1 1 1 backcolor 1 1 1 1 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 fadeInAmount 0.002 itemDef { rect -107 0 854 480 0 0 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.2 0.2 0.2 1 textscale 0.55 } itemDef { rect 192 424 256 8 0 0 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0.2 0.2 0.2 1 textscale 0.55 } itemDef { name "loadbar" rect 192 424 256 8 0 0 style 6 decoration visible 1 forecolor 1 1 1 1 background "white" textscale 0.55 } } 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 "noprofilewarning" rect -150 -124 300 124 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 execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "Yes"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; setdvar "splitscreen" 0; close self; } itemDef { rect -1004 -604 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 -604 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 -124 300 124 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 -124 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 -124 -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 -124 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 + 5 * 20 ) ) } itemDef { rect -150 -124 -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 -124 -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 -124 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 + 5 * 20 ) ) } itemDef { rect -214 -188 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 -188 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 -188 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 -124 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 + 5 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -124 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 + 5 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -124 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_WARNING" } itemDef { rect -146 -100 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_PROFILE_WARNING_SP" ) } 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"; exec "xsignin"; 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 "brightness"; } 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 -124 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 + 5 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "noprofilewarning_newgame" rect -150 -124 300 124 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 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "Yes"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -604 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 -604 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 -124 300 124 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 -124 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 -124 -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 -124 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 + 5 * 20 ) ) } itemDef { rect -150 -124 -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 -124 -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 -124 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 + 5 * 20 ) ) } itemDef { rect -214 -188 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 -188 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 -188 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 -124 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 + 5 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -124 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 + 5 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -124 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_WARNING" } itemDef { rect -146 -100 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_PROFILE_WARNING_SP" ) } 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"; exec "xsignin"; 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; exec "set nextmap devmap trainer; unskippablecinematic intro_credits_load"; } 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 -124 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 + 5 * 20 ) ) ) visible when ( localvarbool( "ui_popupAButton" ) ) } } menuDef { name "noprofilewarning_levelselect" rect -150 -124 300 124 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 execKey "BUTTON_B" { } execKey "BUTTON_START" { } onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); setfocus "Yes"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } itemDef { rect -1004 -604 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 -604 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 -124 300 124 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 -124 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 -124 -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 -124 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 + 5 * 20 ) ) } itemDef { rect -150 -124 -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 -124 -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 -124 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 + 5 * 20 ) ) } itemDef { rect -214 -188 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 -188 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 -188 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 -124 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 + 5 * 20 ) ) visible when ( 1 ) } itemDef { rect 150 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -150 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -124 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 + 5 * 20 ) ) ) visible when ( 1 ) } itemDef { rect -214 -124 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 + 5 * 20 ) ) visible when ( 1 ) } itemDef { rect -150 -124 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_WARNING" } itemDef { rect -146 -100 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_PROFILE_WARNING_SP" ) } 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"; exec "xsignin"; 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 "levels"; } 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 -124 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 + 5 * 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 "coop_lobby" 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 soundLoop "music_challenge_factory" onOpen { execnow "set ui_hint_text @NULL_EMPTY"; setLocalVarString "ui_hint_focus" ( "" ); if ( gamehost( ) ) { focusfirst; } else { setfocus "selectdiff"; } setGameMode "so"; setdvar "specialops" 1; setdvar "splitscreen" 0; if ( dvarstring( "ui_skip_level_select" ) != "1" && gamehost( ) ) { open "levels_challenge"; } setdvar "ui_skip_level_select" 1; } onEsc { open "leave_lobby_warning"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_SPECIAL_OPS" } itemDef { name "act_group" rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 234 textscale 0.5 text "@MENU_SP_TWO_PLAYER_ONLINE" } itemDef { name "act_group" rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 textstyle 3 exp text ( ":" ) } itemDef { name "startmatch" 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_SP_START_OP" disabled when ( !gamehost( ) || !coopplayer( 1 , "exists" ) ) action { play "mouse_click"; if ( ( coopplayer( 1 , "exists" ) && ( coopplayer( 1 , "percentcompleteso" ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "coop_mapName" ) , 13 ) , 5 ) ) ) ) ) { setLocalVarString "ui_unlock_desc" ( "@MENU_SP_FRIEND_LOCK_OP_DESC" ); open "so_locked_for_friend"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 11 ) ) == 2 ) { open "so_character_select_coop"; } else { if ( coopplayer( 1 , "exists" ) ) { exec "coopLaunch"; } } } } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_hint_focus" ( "startmatch" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 0 48 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { name "selectmap" 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_SP_CHANGE_OP" visible when ( gamehost( ) ) action { play "mouse_click"; open "levels_challenge"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_hint_focus" ( "selectmap" ); setLocalVarString "ui_hint_text" ( "@MENU_SP_CHANGE_OP_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "viewmap" 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_SP_VIEW_OP" visible when ( !gamehost( ) ) action { play "mouse_click"; open "levels_challenge"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_hint_focus" ( "viewmap" ); setLocalVarString "ui_hint_text" ( "@MENU_SP_VIEW_OP_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "selectdiff" 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_SELECT_DIFFICULTY" visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) action { play "mouse_click"; open "popmenu_specialops_online_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( ) ); setLocalVarString "ui_hint_focus" ( "selectdiff" ); setLocalVarString "ui_hint_text" ( "@MENU_SP_SELECT_YOUR_DIFF" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "dont_selectdiff" 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 visible when ( !int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) 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( ) ); setLocalVarString "ui_hint_focus" ( "dont_selectdiff" ); setLocalVarString "ui_hint_text" ( "@MENU_SP_NA_FOR_THIS_OP" ); } 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 decoration visible 1 forecolor 0.6 0.55 0.55 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_SELECT_DIFFICULTY" visible when ( !int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) 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 "invitefriend" 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_INVITE_FRIEND" disabled when ( !gamehost( ) || coopplayer( 1 , "exists" ) ) action { play "mouse_click"; exec "xshowfriendslist"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_hint_focus" ( "invitefriend" ); setLocalVarString "ui_hint_text" ( "@MENU_DESC_INVITE_FRIEND" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { name "description" rect 0 -278 212 20 1 3 decoration autowrapped visible 1 forecolor 0.65 0.65 0.65 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_hint_focus" ) != "startmatch" ) exp text ( localvarstring( "ui_hint_text" ) ) } itemDef { rect 0 -278 212 20 1 3 decoration autowrapped visible 1 forecolor 0.65 0.65 0.65 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_hint_focus" ) == "startmatch" && !coopplayer( 1 , "exists" ) ) exp text ( "@MENU_SP_NEED_ONE_MORE_PLAYER" ) } itemDef { rect 0 -278 212 20 1 3 decoration autowrapped visible 1 forecolor 0.65 0.65 0.65 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_hint_focus" ) == "startmatch" && coopplayer( 1 , "exists" ) && gamehost( ) ) exp text ( "@MENU_SP_START_OP_DESC" ) } itemDef { rect 0 -278 212 20 1 3 decoration autowrapped visible 1 forecolor 0.65 0.65 0.65 1 textfont 3 textalign 6 textscale 0.375 visible when ( localvarstring( "ui_hint_focus" ) == "startmatch" && coopplayer( 1 , "exists" ) && !gamehost( ) ) exp text ( "@MENU_SP_WAITING_FOR_HOST" ) } itemDef { rect 0 -198 216 120 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 4 ) ) } itemDef { rect 0 -218 216 20 1 3 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 background "white" textfont 3 textalign 4 textalignx 4 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 2 ) ) } itemDef { rect 173 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect 173 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 0 , "exists" ) && ( int( getcharbyindex( coopplayer( 0 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 0 ) ) ) ) >= 2 ) ) } itemDef { rect 186 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect 186 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 0 , "exists" ) && ( int( getcharbyindex( coopplayer( 0 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 0 ) ) ) ) >= 3 ) ) } itemDef { rect 199 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect 199 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 0 , "exists" ) && ( int( getcharbyindex( coopplayer( 0 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 0 ) ) ) ) >= 4 ) ) } itemDef { rect 0 -78 216 20 1 3 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 background "white" textfont 3 textalign 6 textalignx -48 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) ) exp text ( coopplayer( 0 , "name" ) ) } itemDef { rect 173 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 1 , "exists" ) ) } itemDef { rect 173 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( 1 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 0 ) ) ) ) >= 2 ) ) } itemDef { rect 186 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 1 , "exists" ) ) } itemDef { rect 186 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( 1 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 0 ) ) ) ) >= 3 ) ) } itemDef { rect 199 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 1 , "exists" ) ) } itemDef { rect 199 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( 1 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 0 ) ) ) ) >= 4 ) ) } itemDef { rect 0 -58 216 20 1 3 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 background "white" textfont 3 textalign 6 textalignx -48 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) ) exp text ( coopplayer( 1 , "name" ) ) } itemDef { rect -320 52 -268 74 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 textscale 0.55 visible when ( coopplayer( 0 , "exists" ) ) exp material ( "line_horizontal" ) } itemDef { rect -320 130 -268 74 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 textscale 0.55 visible when ( coopplayer( 1 , "exists" ) ) exp material ( "line_horizontal" ) } itemDef { name "different_diff" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 5 textaligny 24 textscale 0.375 visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) ) exp text ( locstring( "@MENU_SP_DIFFERENT_DIFF" ) ) } itemDef { name "different_diff" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 6 textalignx -116 textaligny 44 textscale 0.375 visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) ) exp text ( locstring( "@MENU_SP_MAX_REWARD" ) ) } itemDef { rect -164 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) ) } itemDef { rect -164 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) && int( min( coopplayer( 0 , "skill" ) , coopplayer( 1 , "skill" ) ) ) >= 1 ) } itemDef { rect -151 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) ) } itemDef { rect -151 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) && int( min( coopplayer( 0 , "skill" ) , coopplayer( 1 , "skill" ) ) ) >= 2 ) } itemDef { rect -138 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) ) } itemDef { rect -138 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( coopplayer( 0 , "skill" ) != coopplayer( 1 , "skill" ) ) && int( min( coopplayer( 0 , "skill" ) , coopplayer( 1 , "skill" ) ) ) == 3 ) } itemDef { name "locked_warning" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 5 textaligny 104 textscale 0.375 visible when ( ( coopplayer( 1 , "exists" ) && ( coopplayer( 1 , "percentcompleteso" ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "coop_mapName" ) , 13 ) , 5 ) ) ) ) && gamehost( ) ) exp text ( "@MENU_SP_FRIEND_LOCK_OP_DESC" ) } itemDef { name "locked_warning_you" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 5 textaligny 104 textscale 0.375 visible when ( ( coopplayer( 1 , "exists" ) && ( coopplayer( 1 , "percentcompleteso" ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "coop_mapName" ) , 13 ) , 5 ) ) ) ) && !gamehost( ) ) exp text ( "@MENU_SP_YOU_LOCK_OP_DESC" ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) ) exp text ( coopplayer( 0 , "name" ) ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) && ( coopplayer( 0 , "skill" ) == 1 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) exp text ( "@MENU_REGULAR" ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) && ( coopplayer( 0 , "skill" ) == 2 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) exp text ( "@MENU_HARDENED" ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) && ( coopplayer( 0 , "skill" ) == 3 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) exp text ( "@MENU_VETERAN" ) } itemDef { rect -234 96 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "voice_off" textscale 0.55 visible when ( coopplayer( 0 , "exists" ) && coopplayer( 0 , "voice" ) == 1 ) } itemDef { rect -234 96 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "nottalkingicon" textscale 0.55 visible when ( coopplayer( 0 , "exists" ) && coopplayer( 0 , "voice" ) == 2 ) } itemDef { rect -234 96 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "talkingicon" textscale 0.55 visible when ( coopplayer( 0 , "exists" ) && coopplayer( 0 , "voice" ) == 3 ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) ) exp text ( coopplayer( 1 , "name" ) ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) && ( coopplayer( 1 , "skill" ) == 1 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) exp text ( "@MENU_REGULAR" ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) && ( coopplayer( 1 , "skill" ) == 2 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) exp text ( "@MENU_HARDENED" ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) && ( coopplayer( 1 , "skill" ) == 3 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapName" ) , 14 ) ) ) exp text ( "@MENU_VETERAN" ) } itemDef { rect -234 174 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "voice_off" textscale 0.55 visible when ( coopplayer( 1 , "exists" ) && coopplayer( 1 , "voice" ) == 1 ) } itemDef { rect -234 174 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "nottalkingicon" textscale 0.55 visible when ( coopplayer( 1 , "exists" ) && coopplayer( 1 , "voice" ) == 2 ) } itemDef { rect -234 174 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "talkingicon" textscale 0.55 visible when ( coopplayer( 1 , "exists" ) && coopplayer( 1 , "voice" ) == 3 ) } itemDef { rect -216 70 64 64 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "ps3_controller_so" textscale 0.55 visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect -216 148 64 64 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "ps3_controller_so" textscale 0.55 visible when ( coopplayer( 1 , "exists" ) ) } 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" ) ) ) } itemDef { rect -1 -1 3 3 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2 2 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 2 textaligny 12 textscale 0.25 textstyle 3 exp rect y ( dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) ) exp text ( "x=" + dvarint( "ui_gridx" ) ) } itemDef { rect 0 0 2 2 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 2 textaligny 20 textscale 0.25 textstyle 3 exp rect y ( dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) ) exp text ( "y=" + dvarint( "ui_gridy" ) ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 0 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 0 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 0 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 0 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 10 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 10 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 10 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 10 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 20 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 20 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 20 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 20 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 30 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 30 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 30 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 30 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 40 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 40 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 40 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 40 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 50 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 50 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 50 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 50 != 0 ) exp text ( 50 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 50 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 50 != 0 ) exp text ( 50 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 60 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 60 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 60 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 60 != 0 ) exp text ( 60 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 60 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 60 != 0 ) exp text ( 60 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 70 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 70 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 72 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 72 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 70 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 70 != 0 ) exp text ( 70 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 70 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 70 != 0 ) exp text ( 70 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 0 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 0 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 0 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 0 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 10 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 10 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 10 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 10 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 20 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 20 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 20 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 20 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 30 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 30 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 30 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 30 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 40 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 40 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 40 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 40 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } } menuDef { name "leave_lobby_warning" rect -150 -64 300 64 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 "cancel_button"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -64 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textscale 0.375 text "@MENU_SP_LEAVELOBBY" visible when ( !inprivateparty( ) || privatepartyhost( ) || !privatepartyhostinlobby( ) ) } itemDef { name "yes_button" 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 self; exec "stopListening"; close "coop_lobby"; setdvar "specialops" 0; open "main_specops"; } 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 "cancel_button" 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 -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 "menu_splitscreensignin" rect 0 0 640 480 0 0 style 1 popup forecolor 1 1 1 1 focuscolor 1 1 1 1 fullscreen 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 soundLoop "music_challenge_factory" onOpen { setdvar "splitscreen" 1; exec "startsplitscreensignin"; } onEsc { setdvar "splitscreen" 0; exec "nosplitscreen"; exec "endsplitscreensignin"; close "menu_splitscreensignin"; open "main_specops"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 4 textscale 0.44 text "@MENU_SPLIT_SCREEN_SIGNIN" } itemDef { rect -400 0 800 1 2 2 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "line_horizontal" textscale 0.55 } itemDef { name "playername0" rect 0 -126 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.4583 dvarTest "leavegame0_vis" showDvar { 1 } dvar "playername0" } itemDef { rect -150 -124 300 74 2 2 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 dvarTest "leavegame0_vis" showDvar { 1 } } itemDef { name "joingame0" rect -48 -76 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.4583 text "@XBOXLIVE_JOINSPLITSCREENGAME" dvarTest "joingame0_vis" showDvar { 1 } } itemDef { name "waiting0" rect -48 -102 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@MENU_WAITING_FOR_MORE_PLAYERS1" dvarTest "waiting0_vis" showDvar { 1 } } itemDef { name "startmatch0" rect -48 -102 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@XBOXLIVE_STARTGAME" dvarTest "startgame0_vis" showDvar { 1 } } itemDef { name "leavegame0" rect -48 -78 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@XBOXLIVE_LEAVESPLITSCREENGAME" dvarTest "leavegame0_vis" showDvar { 1 } } itemDef { name "playername1" rect 0 56 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.4583 dvarTest "leavegame1_vis" showDvar { 1 } dvar "playername1" } itemDef { rect -150 58 300 74 2 2 style 3 decoration visible 1 forecolor 0 0 0 0.5 background "line_horizontal" textscale 0.55 dvarTest "leavegame1_vis" showDvar { 1 } } itemDef { name "joingame1" rect -48 84 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.4583 text "@XBOXLIVE_JOINSPLITSCREENGAME" dvarTest "joingame1_vis" showDvar { 1 } } itemDef { name "waiting1" rect -48 80 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@MENU_WAITING_FOR_MORE_PLAYERS1" dvarTest "waiting1_vis" showDvar { 1 } } itemDef { name "startmatch1" rect -48 80 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@XBOXLIVE_STARTGAME" dvarTest "startgame1_vis" showDvar { 1 } } itemDef { name "leavegame1" rect -48 104 0 0 2 2 decoration visible 1 forecolor 1 1 1 1 textfont 1 textscale 0.375 text "@XBOXLIVE_LEAVESPLITSCREENGAME" dvarTest "leavegame1_vis" showDvar { 1 } } 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 "menu_splitscreen_setup" 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 soundLoop "music_challenge_factory" onOpen { setLocalVarInt "ui_player1_num" ( 0 ); setLocalVarInt "ui_player2_num" ( 1 ); focusfirst; setdvar "specialops" 1; if ( dvarint( "g_gameskill_player_1" ) < 1 ) { setdvar "g_gameskill_player_1" 1; } if ( dvarint( "g_gameskill_player_2" ) < 1 ) { setdvar "g_gameskill_player_2" 1; } if ( dvarstring( "ui_load_so_level" ) == "" || dvarstring( "ui_skip_level_select" ) != "1" ) { open "levels_challenge"; } } onEsc { open "leave_lobby_warning_splitscreen"; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible 1 forecolor 1 1 1 1 background "mw2_main_background" textscale 0.55 } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) ) } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible 1 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" textscale 0.55 exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) ) } itemDef { rect 0 0 640 480 4 4 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 ) } 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 ) } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" textscale 0.55 } itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text "@MENU_SPECIAL_OPS" } itemDef { name "act_group" rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textalignx 234 textscale 0.5 text "@MENU_SP_TWO_PLAYER_SPLIT_SCREEN" } itemDef { name "act_group" rect 222 0 272 28 1 1 decoration autowrapped visible 1 forecolor 1 1 1 1 textfont 9 textalign 4 textscale 0.5 textstyle 3 exp text ( ":" ) } itemDef { name "startmatch" 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_SP_START_OP" disabled when ( !( splitscreenplayercount( ) > 1 ) ) action { play "mouse_click"; if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } if ( ( coopplayer( 1 , "exists" ) && ( localvarint( "ui_total_stars_earned_friend" ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 13 ) , 5 ) ) ) && !dvarbool( "splitscreen" ) ) ) { setLocalVarString "ui_unlock_desc" ( "@MENU_SP_FRIEND_LOCK_OP_DESC" ); open "so_locked_for_friend"; } else { if ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 11 ) ) == 2 ) { open "so_character_select_splitscreen"; } else { open "popmenu_specialops_splitscreen_skip_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( ) ); if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } setLocalVarString "ui_hint_text" ( "@MENU_SP_START_OP_DESC" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect 0 48 216 1 1 1 style 3 decoration visible 1 forecolor 1 1 1 0.65 background "gradient_fadein" textscale 0.55 } itemDef { name "selectmap" 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_SP_CHANGE_OP" ) ) action { play "mouse_click"; open "levels_challenge"; } onFocus { play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } setLocalVarString "ui_hint_text" ( "@MENU_SP_CHANGE_OP_DESC" ); } 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 visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( coopplayer( 0 , "name" ) + " " + locstring( "@MENU_SELECT_DIFFICULTY_PERSONAL" ) ) action { play "mouse_click"; open "popmenu_specialops_splitscreen_difficulty_p1"; } onFocus { if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_hint_text" ( "@MENU_DESC_SET_DIFFICULTY_PLAYER" ); } 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 visible when ( !int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) 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( ) ); if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } setLocalVarString "ui_hint_text" ( "@MENU_SP_NA_FOR_THIS_OP" ); } 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 decoration visible 1 forecolor 0.6 0.55 0.55 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 visible when ( !int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( coopplayer( 0 , "name" ) + " " + locstring( "@MENU_SELECT_DIFFICULTY_PERSONAL" ) ) action { play "mouse_click"; } onFocus { if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } 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 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 visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( coopplayer( 1 , "name" ) + " " + locstring( "@MENU_SELECT_DIFFICULTY_PERSONAL" ) ) action { play "mouse_click"; open "popmenu_specialops_splitscreen_difficulty_p2"; } onFocus { if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } play "mouse_over"; if ( dvarstring( "gamemode" ) != "mp" ) { setItemColor "mw2_button" backcolor 0 0 0 0; } setItemColor self backcolor 0 0 0 1; setLocalVarBool "ui_menuAButton" ( 1 ); setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) ); setLocalVarString "ui_hint_text" ( "@MENU_DESC_SET_DIFFICULTY_PLAYER" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } 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 visible when ( !int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) 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( ) ); if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } setLocalVarString "ui_hint_text" ( "@MENU_SP_NA_FOR_THIS_OP" ); } leaveFocus { setItemColor self backcolor 0 0 0 "0.0"; setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" ); setLocalVarBool "ui_menuAButton" ( 0 ); } } itemDef { rect -64 88 336 20 1 1 group "mw2_button" style 1 decoration visible 1 forecolor 0.6 0.55 0.55 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 visible when ( !int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( coopplayer( 1 , "name" ) + " " + locstring( "@MENU_SELECT_DIFFICULTY_PERSONAL" ) ) action { play "mouse_click"; } onFocus { if ( coopplayer( 1 , "exists" ) ) { setLocalVarInt "ui_total_stars_earned_friend" ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 3 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 13 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 11 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 22 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 2 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 7 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 21 ) ) - 1 , 0 ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 15 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 9 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 1 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 18 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 20 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 12 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 5 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 0 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 8 ) ) - 1 , 0 ) ) ); setLocalVarInt "ui_total_stars_earned_friend" ( localvarint( "ui_total_stars_earned_friend" ) + ( max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 10 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 14 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 6 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 16 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 4 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 19 ) ) - 1 , 0 ) + max( int( getcharbyindex( coopplayer( localvarint( "ui_player2_num" ) , "missionSOHighestDifficulty" ) , 17 ) ) - 1 , 0 ) ) ); } 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 "description" rect 0 -278 212 20 1 3 decoration autowrapped visible 1 forecolor 0.65 0.65 0.65 1 textfont 3 textalign 6 textscale 0.375 exp text ( localvarstring( "ui_hint_text" ) ) } itemDef { rect 0 -198 216 120 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 4 ) ) } itemDef { rect 0 -218 216 20 1 3 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 background "white" textfont 3 textalign 4 textalignx 4 textscale 0.375 exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 2 ) ) } itemDef { rect 173 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect 173 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 0 , "exists" ) && ( int( getcharbyindex( coopplayer( 0 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 0 ) ) ) ) >= 2 ) ) } itemDef { rect 186 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect 186 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 0 , "exists" ) && ( int( getcharbyindex( coopplayer( 0 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 0 ) ) ) ) >= 3 ) ) } itemDef { rect 199 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect 199 -74 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 0 , "exists" ) && ( int( getcharbyindex( coopplayer( 0 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 0 ) ) ) ) >= 4 ) ) } itemDef { rect 0 -78 216 20 1 3 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 background "white" textfont 3 textalign 6 textalignx -48 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) ) exp text ( coopplayer( 0 , "name" ) ) } itemDef { rect 173 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 1 , "exists" ) ) } itemDef { rect 173 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( 1 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 0 ) ) ) ) >= 2 ) ) } itemDef { rect 186 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 1 , "exists" ) ) } itemDef { rect 186 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( 1 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 0 ) ) ) ) >= 3 ) ) } itemDef { rect 199 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( coopplayer( 1 , "exists" ) ) } itemDef { rect 199 -55 0 0 1 3 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( coopplayer( 1 , "exists" ) && ( int( getcharbyindex( coopplayer( 1 , "missionsohighestdifficulty" ) , int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 0 ) ) ) ) >= 4 ) ) } itemDef { rect 0 -58 216 20 1 3 style 1 decoration autowrapped visible 1 forecolor 1 1 1 1 background "white" textfont 3 textalign 6 textalignx -48 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) ) exp text ( coopplayer( 1 , "name" ) ) } itemDef { rect -320 52 -268 74 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 textscale 0.55 visible when ( coopplayer( 0 , "exists" ) ) exp material ( "line_horizontal" ) } itemDef { rect -320 130 -268 74 3 1 style 3 decoration visible 1 forecolor 0 0 0 0.5 textscale 0.55 visible when ( coopplayer( 1 , "exists" ) ) exp material ( "line_horizontal" ) } itemDef { name "different_diff" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 5 textaligny 24 textscale 0.375 visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) ) exp text ( locstring( "@MENU_SP_DIFFERENT_DIFF" ) ) } itemDef { name "different_diff" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 6 textalignx -116 textaligny 44 textscale 0.375 visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) ) exp text ( locstring( "@MENU_SP_MAX_REWARD" ) ) } itemDef { rect -164 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) ) } itemDef { rect -164 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) && int( min( dvarint( "g_gameskill_player_1" ) , dvarint( "g_gameskill_player_2" ) ) ) >= 1 ) } itemDef { rect -151 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) ) } itemDef { rect -151 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) && int( min( dvarint( "g_gameskill_player_1" ) , dvarint( "g_gameskill_player_2" ) ) ) >= 2 ) } itemDef { rect -138 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star_empty" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) ) } itemDef { rect -138 252 0 0 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "difficulty_star" textscale 0.55 exp rect w ( 14 ) exp rect h ( 14 ) exp forecolor a ( 1 ) visible when ( int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) && coopplayer( 0 , "exists" ) && coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_1" ) != dvarint( "g_gameskill_player_2" ) ) && int( min( dvarint( "g_gameskill_player_1" ) , dvarint( "g_gameskill_player_2" ) ) ) == 3 ) } itemDef { name "locked_warning" rect -320 206 268 74 3 1 decoration autowrapped visible 1 forecolor 1 0.8 0.4 1 textfont 3 textalign 5 textaligny 94 textscale 0.375 visible when ( ( coopplayer( 1 , "exists" ) && ( localvarint( "ui_total_stars_earned_friend" ) < int( tablelookup( "sp/specOpsTable.csv" , 1 , tablelookup( "sp/specopstable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 13 ) , 5 ) ) ) && !dvarbool( "splitscreen" ) ) ) exp text ( "@MENU_SP_FRIEND_LOCK_OP_DESC" ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) ) exp text ( coopplayer( 0 , "name" ) ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) && ( dvarint( "g_gameskill_player_" + ( 0 + 1 ) ) == 1 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( "@MENU_REGULAR" ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) && ( dvarint( "g_gameskill_player_" + ( 0 + 1 ) ) == 2 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( "@MENU_HARDENED" ) } itemDef { rect -184 72 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 0 , "exists" ) && ( dvarint( "g_gameskill_player_" + ( 0 + 1 ) ) == 3 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( "@MENU_VETERAN" ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) ) exp text ( coopplayer( 1 , "name" ) ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_" + ( 1 + 1 ) ) == 1 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( "@MENU_REGULAR" ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_" + ( 1 + 1 ) ) == 2 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( "@MENU_HARDENED" ) } itemDef { rect -184 150 0 0 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textaligny 14 textscale 0.375 visible when ( coopplayer( 1 , "exists" ) && ( dvarint( "g_gameskill_player_" + ( 1 + 1 ) ) == 3 ) && int( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 14 ) ) ) exp text ( "@MENU_VETERAN" ) } itemDef { rect -216 70 64 64 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "ps3_controller_so" textscale 0.55 visible when ( coopplayer( 0 , "exists" ) ) } itemDef { rect -216 148 64 64 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 background "ps3_controller_so" textscale 0.55 visible when ( coopplayer( 1 , "exists" ) ) } 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" ) ) ) } itemDef { rect -1 -1 3 3 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2 2 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 2 textaligny 12 textscale 0.25 textstyle 3 exp rect y ( dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) ) exp text ( "x=" + dvarint( "ui_gridx" ) ) } itemDef { rect 0 0 2 2 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 2 textaligny 20 textscale 0.25 textstyle 3 exp rect y ( dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) ) exp text ( "y=" + dvarint( "ui_gridy" ) ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 0 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 0 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 0 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 0 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 0 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 10 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 10 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 10 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 10 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 10 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 20 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 20 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 20 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 20 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 20 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 30 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 30 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 30 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 30 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 30 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 40 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 40 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 40 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 40 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 40 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 40 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 50 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 50 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 50 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 50 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 50 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 50 != 0 ) exp text ( 50 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 50 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 50 != 0 ) exp text ( 50 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 60 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 60 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 2 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 2 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 4 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 4 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 6 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 6 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( ( 8 + 60 ) * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( ( 8 + 60 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 60 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 60 != 0 ) exp text ( 60 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 60 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 60 != 0 ) exp text ( 60 * 10 ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 70 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 70 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 1 400 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect x ( ( 72 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) exp forecolor a ( 0.3 + ( 72 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 70 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) ) visible when ( dvarbool( "ui_grid" ) && 70 != 0 ) exp text ( 70 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -11 textscale 0.25 textstyle 3 exp rect x ( ( 70 * 10 ) + dvarint( "ui_gridx" ) ) exp rect y ( dvarint( "ui_gridy" ) + 412 ) visible when ( dvarbool( "ui_grid" ) && 70 != 0 ) exp text ( 70 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 0 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 0 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 0 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 0 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 0 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 0 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 0 != 0 ) exp text ( 0 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 10 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 10 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 10 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 10 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 10 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 10 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 10 != 0 ) exp text ( 10 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 20 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 20 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 20 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 20 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 20 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 20 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 20 != 0 ) exp text ( 20 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 30 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 30 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 2 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 2 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 4 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 4 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 6 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 6 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( ( 8 + 30 ) * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( ( 8 + 30 ) % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 30 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 30 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 30 != 0 ) exp text ( 30 * 10 ) } itemDef { rect 0 0 720 1 1 1 style 3 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textscale 0.55 exp rect y ( ( 40 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) exp forecolor a ( 0.3 + ( 40 % 10 == 0 ) * 0.45 ) visible when ( dvarbool( "ui_grid" ) ) exp material ( "white" ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx -24 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 40 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } itemDef { rect 0 0 2000 1 1 1 decoration visible 1 forecolor 0.5 0.6 0.8 0.5 textfont 9 textalignx 4 textaligny 6 textscale 0.25 textstyle 3 exp rect y ( ( 40 * 10 ) + dvarint( "ui_gridy" ) ) exp rect x ( dvarint( "ui_gridx" ) + 720 ) visible when ( dvarbool( "ui_grid" ) && 40 != 0 ) exp text ( 40 * 10 ) } } menuDef { name "leave_lobby_warning_splitscreen" rect -150 -64 300 64 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 "cancel_button"; } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); } onEsc { close self; } 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 -64 300 24 2 2 style 1 decoration visible 1 forecolor 1 1 1 1 background "gradient_fadein" textfont 9 textalign 5 textscale 0.375 text "@MENU_SP_LEAVELOBBY" visible when ( 1 ) } itemDef { name "yes_button" 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 self; exec "splitscreencontrols"; close "menu_gamesetup_splitscreen"; open "menu_splitscreensignin"; setdvar "specialops" 0; } 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 "cancel_button" 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 -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 "menu_online_ended" 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 ); } onClose { setLocalVarInt "ui_centerPopup" ( 0 ); execnow "nosplitscreen"; resolveError; } 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_NOTICE" } 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 ( dvarstring( "online_end_reason" ) ) } 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 -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" ) ) } } }