{ menuDef { name "settings_map" fullscreen 1 rect 0 0 640 480 0 0 focuscolor 1 1 1 1 soundLoop "music_mainmenu_mp" fadeClamp 1 fadeCycle 1 fadeAmount 0.1 onOpen { focusFirst; uiScript ApplyInitialMap; } onClose { execNow xupdatepartystate; } onESC { close self; } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible when(dvarbool(cl_ingame) || dvarbool(sv_running)); textscale 0.55 forecolor 0 0 0 0.4 background "white" } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "mw2_main_background" } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854)); } itemDef { rect 0 0 -1708 -480 0 0 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854)); } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.523696 background "mockup_bg_glow" exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25; } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.476023 background "mockup_bg_glow" exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25; } itemDef { text "@MPUI_MOD" rect -40 0 300 20 0 1 decoration visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0)); textaligny -4 textscale 0.2 forecolor 1 1 1 0.8 } itemDef { name "mod" rect -40 0 300 20 0 1 decoration visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0)); textalignx 16 textaligny -4 textscale 0.2 forecolor 1 1 1 0.8 exp text dvarstring(fs_game); } itemDef { rect 0 28 640 356 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 1 1 1 0.15 background "white" } itemDef { rect -32 -4 32 32 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tl" } itemDef { rect 0 -4 640 32 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_t" } itemDef { rect 640 -4 32 32 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_tr" } itemDef { rect 640 28 32 356 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_r" } itemDef { rect 640 384 32 32 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_br" } itemDef { rect 0 384 640 32 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_b" } itemDef { rect -32 384 32 32 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_bl" } itemDef { rect -32 28 32 356 4 1 style 3 decoration visible 1 textscale 0.55 forecolor 0 0 0 1 background "drop_shadow_l" } itemDef { text "@MENU_CHOOSE_MAP_CAP" rect 0 0 272 28 1 1 decoration visible 1 textalign 6 textalignx -60 textscale 0.5 textfont 9 } itemDef { text "@PLATFORM_BACK_CAPS" group "mw2_button" rect -64 -20 336 20 1 3 style 1 type 1 visible when(1); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { play mouse_over; setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 0; setLocalVarString ui_hint_text ("@NULL_EMPTY"); setLocalVarBool ui_menuAButton (0); } action { play mouse_click; escape self; close self; } } itemDef { rect -64 28 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_1"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_1" group "mw2_button" rect -64 28 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("MP_ORIGINAL_MAPS"); setLocalVarString ui_info_desc ("NULL_EMPTY"); setLocalVarString ui_info_icon ("loadscreen_mp_bonusmaps"); play mouse_over; setLocalVarInt ui_menuAButton (0); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { setItemColor dlc_list_1 backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 0; } exp text "@MP_ORIGINAL_MAPS"; } itemDef { rect -64 48 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_2"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_2" group "mw2_button" rect -64 48 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("PATCH_DLC1"); setLocalVarString ui_info_desc ("PATCH_DESC_DLC1"); setLocalVarString ui_info_icon ("preview_stimulus_dlc"); play mouse_over; setLocalVarInt ui_menuAButton (1); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_2 backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 1; } exp text "@PATCH_DLC1"; } itemDef { rect -64 68 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_3"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_3" group "mw2_button" rect -64 68 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("PATCH_DLC2"); setLocalVarString ui_info_desc ("PATCH_DESC_DLC2"); setLocalVarString ui_info_icon ("preview_resurgence_dlc"); play mouse_over; setLocalVarInt ui_menuAButton (2); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_3 backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 2; } exp text "@PATCH_DLC2"; } itemDef { rect -64 88 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_4"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_4" group "mw2_button" rect -64 88 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("PATCH_IW4X_DLC"); setLocalVarString ui_info_desc ("PATCH_DESC_IW4X_DLC"); setLocalVarString ui_info_icon ("preview_codo_dlc"); play mouse_over; setLocalVarInt ui_menuAButton (3); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_4 backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 3; } exp text "@PATCH_IW4X_DLC"; } itemDef { rect -64 108 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_5"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_5" group "mw2_button" rect -64 108 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("PATCH_COD4_DLC"); setLocalVarString ui_info_desc ("PATCH_DESC_COD4_DLC"); setLocalVarString ui_info_icon ("preview_cod4_dlc"); play mouse_over; setLocalVarInt ui_menuAButton (4); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_5 backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 4; } exp text "@PATCH_COD4_DLC"; } itemDef { rect -64 128 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_6"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_6" group "mw2_button" rect -64 128 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("PATCH_MW3_DLC"); setLocalVarString ui_info_desc ("PATCH_DESC_MW3_DLC"); setLocalVarString ui_info_icon ("preview_mw3_dlc"); play mouse_over; setLocalVarInt ui_menuAButton (5); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_6 backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 5; } exp text "@PATCH_MW3_DLC"; } itemDef { rect -64 148 336 20 1 1 style 3 decoration visible when(getfocuseditemname() == "dlc_list_custom"); textscale 0.55 forecolor 0 0 0 1 background "menu_button_selection_bar" } itemDef { name "dlc_list_custom" group "mw2_button" rect -64 148 280 20 1 1 style 1 type 1 visible 1 textalign 4 textalignx 124 textscale 0.375 textfont 1 forecolor 0.5 1 0.5 1 disablecolor 1 1 1 0.5 onFocus { setLocalVarString ui_info_name ("CUSTOM_MAPS_DLC"); setLocalVarString ui_info_desc ("DESC_CUSTOM_MAPS_DLC"); setLocalVarString ui_info_icon ("preview_custom_maps"); play mouse_over; setLocalVarInt ui_menuAButton (6); setLocalVarString ui_choicegroup ("settings_map"); } leaveFocus { 1 setItemColor dlc_list_custom backcolor 0 0 0 0; setLocalVarInt ui_menuAButton (0); } action { play mouse_click; setdvar iw4x_maps_dlc 99; } exp text "@CUSTOM_MAPS_DLC"; } itemDef { group "mw2_button" rect 220 30 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_AFGHAN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_AFGHAN"); setLocalVarString ui_info_icon ("preview_mp_afghan"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_afghan; close settings_map; close self; } exp text "@" + "MPUI_AFGHAN"; } itemDef { group "mw2_button" rect 220 50 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_DERAIL"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_DERAIL"); setLocalVarString ui_info_icon ("preview_mp_derail"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_derail; close settings_map; close self; } exp text "@" + "MPUI_DERAIL"; } itemDef { group "mw2_button" rect 220 70 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_ESTATE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_ESTATE"); setLocalVarString ui_info_icon ("preview_mp_estate"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_estate; close settings_map; close self; } exp text "@" + "MPUI_ESTATE"; } itemDef { group "mw2_button" rect 220 90 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_FAVELA"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FAVELA"); setLocalVarString ui_info_icon ("preview_mp_favela"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_favela; close settings_map; close self; } exp text "@" + "MPUI_FAVELA"; } itemDef { group "mw2_button" rect 220 110 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_HIGHRISE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_HIGHRISE"); setLocalVarString ui_info_icon ("preview_mp_highrise"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_highrise; close settings_map; close self; } exp text "@" + "MPUI_HIGHRISE"; } itemDef { group "mw2_button" rect 220 130 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_INVASION"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_INVASION"); setLocalVarString ui_info_icon ("preview_mp_invasion"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_invasion; close settings_map; close self; } exp text "@" + "MPUI_INVASION"; } itemDef { group "mw2_button" rect 220 150 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CHECKPOINT"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CHECKPOINT"); setLocalVarString ui_info_icon ("preview_mp_checkpoint"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_checkpoint; close settings_map; close self; } exp text "@" + "MPUI_CHECKPOINT"; } itemDef { group "mw2_button" rect 220 170 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_QUARRY"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_QUARRY"); setLocalVarString ui_info_icon ("preview_mp_quarry"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_quarry; close settings_map; close self; } exp text "@" + "MPUI_QUARRY"; } itemDef { group "mw2_button" rect 220 190 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_RUNDOWN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RUNDOWN"); setLocalVarString ui_info_icon ("preview_mp_rundown"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_rundown; close settings_map; close self; } exp text "@" + "MPUI_RUNDOWN"; } itemDef { group "mw2_button" rect 220 210 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_RUST"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RUST"); setLocalVarString ui_info_icon ("preview_mp_rust"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_rust; close settings_map; close self; } exp text "@" + "MPUI_RUST"; } itemDef { group "mw2_button" rect 220 230 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_BONEYARD"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BONEYARD"); setLocalVarString ui_info_icon ("preview_mp_boneyard"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_boneyard; close settings_map; close self; } exp text "@" + "MPUI_BONEYARD"; } itemDef { group "mw2_button" rect 220 250 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_RAID"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_NIGHTSHIFT"); setLocalVarString ui_info_icon ("preview_mp_nightshift"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_nightshift; close settings_map; close self; } exp text "@" + "MPUI_RAID"; } itemDef { group "mw2_button" rect 220 270 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_SUBBASE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SUBBASE"); setLocalVarString ui_info_icon ("preview_mp_subbase"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_subbase; close settings_map; close self; } exp text "@" + "MPUI_SUBBASE"; } itemDef { group "mw2_button" rect 220 290 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_TERMINAL"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_TERMINAL"); setLocalVarString ui_info_icon ("preview_mp_terminal"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_terminal; close settings_map; close self; } exp text "@" + "MPUI_TERMINAL"; } itemDef { group "mw2_button" rect 220 310 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_UNDERPASS"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_UNDERPASS"); setLocalVarString ui_info_icon ("preview_mp_underpass"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_underpass; close settings_map; close self; } exp text "@" + "MPUI_UNDERPASS"; } itemDef { group "mw2_button" rect 220 330 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 0); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_WASTELAND"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BRECOURT"); setLocalVarString ui_info_icon ("preview_mp_brecourt"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_brecourt; close settings_map; close self; } exp text "@" + "MPUI_WASTELAND"; } itemDef { group "mw2_button" rect 220 30 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 1); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_COMPLEX"); setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPLEX"); setLocalVarString ui_info_icon ("preview_mp_complex"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_complex; close settings_map; close self; } exp text "@" + "PATCH_COMPLEX"; } itemDef { group "mw2_button" rect 220 50 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 1); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CRASH"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH"); setLocalVarString ui_info_icon ("preview_mp_crash"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_crash; close settings_map; close self; } exp text "@" + "MPUI_CRASH"; } itemDef { group "mw2_button" rect 220 70 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 1); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_OVERGROWN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_OVERGROWN"); setLocalVarString ui_info_icon ("preview_mp_overgrown"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_overgrown; close settings_map; close self; } exp text "@" + "MPUI_OVERGROWN"; } itemDef { group "mw2_button" rect 220 90 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 1); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_COMPACT"); setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPACT"); setLocalVarString ui_info_icon ("preview_mp_compact"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_compact; close settings_map; close self; } exp text "@" + "PATCH_COMPACT"; } itemDef { group "mw2_button" rect 220 110 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 1); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_STORM"); setLocalVarString ui_info_desc ("PATCH_DESC_MAP_STORM"); setLocalVarString ui_info_icon ("preview_mp_storm"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_storm; close settings_map; close self; } exp text "@" + "PATCH_STORM"; } itemDef { group "mw2_button" rect 220 30 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 2); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_ABANDON"); setLocalVarString ui_info_desc ("PATCH_DESC_MAP_ABANDON"); setLocalVarString ui_info_icon ("preview_mp_abandon"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_abandon; close settings_map; close self; } exp text "@" + "PATCH_ABANDON"; } itemDef { group "mw2_button" rect 220 50 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 2); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_FUEL2"); setLocalVarString ui_info_desc ("PATCH_DESC_MAP_FUEL2"); setLocalVarString ui_info_icon ("preview_mp_fuel2"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_fuel2; close settings_map; close self; } exp text "@" + "PATCH_FUEL2"; } itemDef { group "mw2_button" rect 220 70 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 2); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_STRIKE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_STRIKE"); setLocalVarString ui_info_icon ("preview_mp_strike"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_strike; close settings_map; close self; } exp text "@" + "PATCH_STRIKE"; } itemDef { group "mw2_button" rect 220 90 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 2); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_TRAILERPARK"); setLocalVarString ui_info_desc ("PATCH_DESC_MAP_TRAILERPARK"); setLocalVarString ui_info_icon ("preview_mp_trailerpark"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_trailerpark; close settings_map; close self; } exp text "@" + "PATCH_TRAILERPARK"; } itemDef { group "mw2_button" rect 220 110 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 2); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("PATCH_VACANT"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_VACANT"); setLocalVarString ui_info_icon ("preview_mp_vacant"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_vacant; close settings_map; close self; } exp text "@" + "PATCH_VACANT"; } itemDef { group "mw2_button" rect 220 30 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_NUKED"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_NUKED"); setLocalVarString ui_info_icon ("preview_mp_nuked"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_nuked; close settings_map; close self; } exp text "@" + "MPUI_NUKED"; } itemDef { group "mw2_button" rect 220 50 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CROSSFIRE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CROSSFIRE"); setLocalVarString ui_info_icon ("preview_mp_cross_fire"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_cross_fire; close settings_map; close self; } exp text "@" + "MPUI_CROSSFIRE"; } itemDef { group "mw2_button" rect 220 70 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CARGOSHIP"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CARGOSHIP"); setLocalVarString ui_info_icon ("preview_mp_cargoship"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_cargoship; close settings_map; close self; } exp text "@" + "MPUI_CARGOSHIP"; } itemDef { group "mw2_button" rect 220 90 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_BLOC_SH"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BLOC_SH"); setLocalVarString ui_info_icon ("preview_mp_bloc_sh"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_bloc_sh; close settings_map; close self; } exp text "@" + "MPUI_BLOC_SH"; } itemDef { group "mw2_button" rect 220 110 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_KILLHOUSE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_KILLHOUSE"); setLocalVarString ui_info_icon ("preview_mp_killhouse"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_killhouse; close settings_map; close self; } exp text "@" + "MPUI_KILLHOUSE"; } itemDef { group "mw2_button" rect 220 130 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_BOG_SH"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BOG"); setLocalVarString ui_info_icon ("preview_mp_bog_sh"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_bog_sh; close settings_map; close self; } exp text "@" + "MPUI_BOG_SH"; } itemDef { group "mw2_button" rect 220 150 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CARGOSHIP_SH"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CARGOSHIP_SH"); setLocalVarString ui_info_icon ("preview_mp_cargoship_sh"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_cargoship_sh; close settings_map; close self; } exp text "@" + "MPUI_CARGOSHIP_SH"; } itemDef { group "mw2_button" rect 220 170 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_SHIPMENT"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SHIPMENT"); setLocalVarString ui_info_icon ("preview_mp_shipment"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_shipment; close settings_map; close self; } exp text "@" + "MPUI_SHIPMENT"; } itemDef { group "mw2_button" rect 220 190 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_SHIPMENT_LONG"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SHIPMENT_LONG"); setLocalVarString ui_info_icon ("preview_mp_shipment_long"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_shipment_long; close settings_map; close self; } exp text "@" + "MPUI_SHIPMENT_LONG"; } itemDef { group "mw2_button" rect 220 210 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_RUST_LONG"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RUST_LONG"); setLocalVarString ui_info_icon ("preview_mp_rust_long"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_rust_long; close settings_map; close self; } exp text "@" + "MPUI_RUST_LONG"; } itemDef { group "mw2_button" rect 220 230 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_FIRINGRANGE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FIRINGRANGE"); setLocalVarString ui_info_icon ("preview_mp_firingrange"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_firingrange; close settings_map; close self; } exp text "@" + "MPUI_FIRINGRANGE"; } itemDef { group "mw2_button" rect 220 250 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_BLOC"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BLOC"); setLocalVarString ui_info_icon ("preview_mp_bloc"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_bloc; close settings_map; close self; } exp text "@" + "MPUI_BLOC"; } itemDef { group "mw2_button" rect 220 270 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CRASH_TROPICAL"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH_TROPICAL"); setLocalVarString ui_info_icon ("preview_mp_crash_tropical"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_crash_tropical; close settings_map; close self; } exp text "@" + "MPUI_CRASH_TROPICAL"; } itemDef { group "mw2_button" rect 220 290 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_ESTATE_TROPICAL"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_ESTATE_TROPICAL"); setLocalVarString ui_info_icon ("preview_mp_estate_tropical"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_estate_tropical; close settings_map; close self; } exp text "@" + "MPUI_ESTATE_TROPICAL"; } itemDef { group "mw2_button" rect 220 310 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_FAV_TROPICAL"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FAV_TROPICAL"); setLocalVarString ui_info_icon ("preview_mp_fav_tropical"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_fav_tropical; close settings_map; close self; } exp text "@" + "MPUI_FAV_TROPICAL"; } itemDef { group "mw2_button" rect 220 330 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 3); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_STORM_SPRING"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_STORM_SPRING"); setLocalVarString ui_info_icon ("preview_mp_storm_spring"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_storm_spring; close settings_map; close self; } exp text "@" + "MPUI_STORM_SPRING"; } itemDef { group "mw2_button" rect 220 30 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_FARM"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_FARM"); setLocalVarString ui_info_icon ("preview_mp_farm"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_farm; close settings_map; close self; } exp text "@" + "MPUI_FARM"; } itemDef { group "mw2_button" rect 220 50 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_BACKLOT"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BACKLOT"); setLocalVarString ui_info_icon ("preview_mp_backlot"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_backlot; close settings_map; close self; } exp text "@" + "MPUI_BACKLOT"; } itemDef { group "mw2_button" rect 220 70 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_PIPELINE"); setLocalVarString ui_info_desc ("MPUI_DESC_PIPELINE"); setLocalVarString ui_info_icon ("preview_mp_pipeline"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_pipeline; close settings_map; close self; } exp text "@" + "MPUI_PIPELINE"; } itemDef { group "mw2_button" rect 220 90 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_COUNTDOWN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_COUNTDOWN"); setLocalVarString ui_info_icon ("preview_mp_countdown"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_countdown; close settings_map; close self; } exp text "@" + "MPUI_COUNTDOWN"; } itemDef { group "mw2_button" rect 220 110 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CRASH_SNOW"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH_SNOW"); setLocalVarString ui_info_icon ("preview_mp_crash_snow"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_crash_snow; close settings_map; close self; } exp text "@" + "MPUI_CRASH_SNOW"; } itemDef { group "mw2_button" rect 220 130 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CARENTAN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CARENTAN"); setLocalVarString ui_info_icon ("preview_mp_carentan"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_carentan; close settings_map; close self; } exp text "@" + "MPUI_CARENTAN"; } itemDef { group "mw2_button" rect 220 150 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_BROADCAST"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_BROADCAST"); setLocalVarString ui_info_icon ("preview_mp_broadcast"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_broadcast; close settings_map; close self; } exp text "@" + "MPUI_BROADCAST"; } itemDef { group "mw2_button" rect 220 170 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_SHOWDOWN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SHOWDOWN"); setLocalVarString ui_info_icon ("preview_mp_showdown"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_showdown; close settings_map; close self; } exp text "@" + "MPUI_SHOWDOWN"; } itemDef { group "mw2_button" rect 220 190 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CONVOY"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CONVOY"); setLocalVarString ui_info_icon ("preview_mp_convoy"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_convoy; close settings_map; close self; } exp text "@" + "MPUI_CONVOY"; } itemDef { group "mw2_button" rect 220 210 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 4); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_CITYSTREETS"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CITYSTREETS"); setLocalVarString ui_info_icon ("preview_mp_citystreets"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_citystreets; close settings_map; close self; } exp text "@" + "MPUI_CITYSTREETS"; } itemDef { group "mw2_button" rect 220 30 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_LOCKDOWN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_LOCKDOWN"); setLocalVarString ui_info_icon ("preview_mp_alpha"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_alpha; close settings_map; close self; } exp text "@" + "MPUI_LOCKDOWN"; } itemDef { group "mw2_button" rect 220 50 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_MISSION"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_MISSION"); setLocalVarString ui_info_icon ("preview_mp_bravo"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_bravo; close settings_map; close self; } exp text "@" + "MPUI_MISSION"; } itemDef { group "mw2_button" rect 220 70 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_DOME"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_DOME"); setLocalVarString ui_info_icon ("preview_mp_dome"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_dome; close settings_map; close self; } exp text "@" + "MPUI_DOME"; } itemDef { group "mw2_button" rect 220 90 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_HARDHAT"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_HARDHAT"); setLocalVarString ui_info_icon ("preview_mp_hardhat"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_hardhat; close settings_map; close self; } exp text "@" + "MPUI_HARDHAT"; } itemDef { group "mw2_button" rect 220 110 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_RESISTANCE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_RESISTANCE"); setLocalVarString ui_info_icon ("preview_mp_paris"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_paris; close settings_map; close self; } exp text "@" + "MPUI_RESISTANCE"; } itemDef { group "mw2_button" rect 220 130 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_ARKADEN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_ARKADEN"); setLocalVarString ui_info_icon ("preview_mp_plaza2"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_plaza2; close settings_map; close self; } exp text "@" + "MPUI_ARKADEN"; } itemDef { group "mw2_button" rect 220 150 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_SEATOWN"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_SEATOWN"); setLocalVarString ui_info_icon ("preview_mp_seatown"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_seatown; close settings_map; close self; } exp text "@" + "MPUI_SEATOWN"; } itemDef { group "mw2_button" rect 220 170 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_UNDERGROUND"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_UNDERGROUND"); setLocalVarString ui_info_icon ("preview_mp_underground"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_underground; close settings_map; close self; } exp text "@" + "MPUI_UNDERGROUND"; } itemDef { group "mw2_button" rect 220 190 148 18 1 1 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 5); textalign 6 textalignx -34 textaligny -1 textscale 0.375 textfont 1 background "menu_rules_selection_bar" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; setLocalVarBool ui_menuAButton (1); setLocalVarFloat ui_popupYPos (0); setLocalVarString ui_info_name ("MPUI_VILLAGE"); setLocalVarString ui_info_desc ("MPUI_DESC_MAP_VILLAGE"); setLocalVarString ui_info_icon ("preview_mp_village"); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_menuAButton (0); } action { play mouse_click; setdvar ui_mapname mp_village; close settings_map; close self; } exp text "@" + "MPUI_VILLAGE"; } itemDef { name "select_custom_map" text "@MPUI_DONE_SELECTING" group "mw2_button" rect 250 -20 96 20 1 3 style 1 type 1 visible when(dvarint(iw4x_maps_dlc) == 99); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "black" onFocus { play mouse_over; setItemColor self backcolor 0 0 0 1; setLocalVarBool ui_menuAButton (1); } leaveFocus { setItemColor self backcolor 0 0 0 0; setLocalVarString ui_hint_text ("@NULL_EMPTY"); setLocalVarBool ui_menuAButton (0); } action { play mouse_click; escape self; uiScript ApplyMap; close settings_map; close self; } } itemDef { name "maplist_hd" rect -478 28 185 356 3 1 style 1 type 6 border 1 borderSize 1 visible when(dvarbool(widescreen) && dvarint(iw4x_maps_dlc) == 99); textalignx 6 textscale 0.4 textfont 1 backcolor 0 0 0 0.7 bordercolor 1 1 1 0.15 outlinecolor 1 1 1 0.2 onFocus { play mouse_over; setItemColor maplist bordercolor 1 1 1 1; setLocalVarString ui_info_name (localvarstring("ui_info_name")); setLocalVarString ui_info_desc ("Custom usermaps"); setLocalVarString ui_info_icon ("loadscreen_mp_bonusmaps"); } leaveFocus { setItemColor maplist bordercolor 1 1 1 "0.15"; } elementwidth 120 elementheight 22 feeder 60 } itemDef { rect -292 28 292 356 3 1 style 3 decoration visible when(dvarbool(widescreen)); textscale 0.55 forecolor 0 0 0 0.7 background "black" } itemDef { name "mapimage" rect -282 50 272 153 3 1 style 3 decoration visible when(localvarstring("ui_info_icon") != "" && dvarbool(widescreen) && dvarint(iw4x_maps_dlc) != 99); textscale 0.55 exp material localvarstring("ui_info_icon"); } itemDef { name "longname" rect -282 28 272 22 3 1 decoration visible when(dvarbool(widescreen)); textalign 4 textscale 0.375 textfont 9 exp text "@" + localvarstring("ui_info_name"); } itemDef { name "description" rect -282 203 272 20 3 1 decoration autowrapped visible when(dvarbool(widescreen)); textalign 4 textscale 0.375 textfont 3 forecolor 1 1 1 0.65 exp text "@" + localvarstring("ui_info_desc"); } itemDef { name "maplist_sd" rect -292 28 120 356 3 1 style 1 type 6 border 1 borderSize 1 visible when(!dvarbool(widescreen) && dvarint(iw4x_maps_dlc) == 99); textalignx 6 textscale 0.4 textfont 1 backcolor 0 0 0 0.7 bordercolor 1 1 1 0.15 outlinecolor 1 1 1 0.2 onFocus { play mouse_over; setItemColor maplist bordercolor 1 1 1 1; setLocalVarString ui_info_name ("Custom Maps"); setLocalVarString ui_info_desc ("Custom usermaps"); setLocalVarString ui_info_icon ("loadscreen_mp_bonusmaps"); } leaveFocus { setItemColor maplist bordercolor 1 1 1 "0.15"; } elementwidth 120 elementheight 22 feeder 60 } itemDef { rect -172 28 210 356 3 1 style 3 decoration visible when(!dvarbool(widescreen)); textscale 0.55 forecolor 0 0 0 0.7 background "black" } itemDef { name "mapimage" rect -162 50 190 133 3 1 style 3 decoration visible when(localvarstring("ui_info_icon") != "" && !dvarbool(widescreen) && dvarint(iw4x_maps_dlc) != 99); textscale 0.55 exp material localvarstring("ui_info_icon"); } itemDef { name "longname" rect -162 28 200 22 3 1 decoration visible when(!dvarbool(widescreen)); textalign 4 textscale 0.375 textfont 9 exp text "@" + localvarstring("ui_info_name"); } itemDef { name "description" rect -162 186 200 20 3 1 decoration autowrapped visible when(!dvarbool(widescreen)); textalign 4 textscale 0.375 textfont 3 forecolor 1 1 1 0.65 exp text "@" + localvarstring("ui_info_desc"); } } }