/********************************************
*          dumped by: aerosoul94            *
*********************************************/

{
	menuDef
	{
		name "menu_xboxlive"
		rect 0 0 640 480 0 0
		style 1
		visible 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		soundLoop "music_mainmenu_mp"
		execKey "APAD_RIGHT"
		{
			setfocus "partyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "DPAD_RIGHT"
		{
			setfocus "partyList";
			setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYER_OPTIONS" );
		}
		execKey "APAD_LEFT"
		{
			if ( getfocuseditemname( ) == "partyList" )
			{
				focusfirst;
			}
		}
		execKey "DPAD_LEFT"
		{
			if ( getfocuseditemname( ) == "partyList" )
			{
				focusfirst;
			}
		}
		execKey "BUTTON_Y"
		{
			open "popup_summary";
			play "mouse_click";
		}
		onOpen
		{
			if ( dvarbool( "ui_opensummary" ) && !inlobby( ) )
			{
				setLocalVarInt "ui_autoopened" ( 1 );
				open "popup_summary";
				setdvar "ui_opensummary" 0;
			}
			if ( dvarbool( "hiDef" ) )
			{
				exec "exec default_720p.cfg";
			}
			else
			{
				exec "exec default_480p.cfg";
			}
			if ( !dvarbool( "splitscreen" ) )
			{
				exec "nosplitscreen";
			}
			if ( ( ( localvarstring( "ui_attachment1Name" ) == "silencer" ) || ( localvarstring( "ui_attachment2Name" ) == "silencer" ) || ( localvarstring( "ui_attachment3Name" ) == "silencer" ) || ( localvarstring( "ui_attachment4Name" ) == "silencer" ) || ( localvarstring( "ui_attachment5Name" ) == "silencer" ) || ( localvarstring( "ui_attachment6Name" ) == "silencer" ) || ( localvarstring( "ui_attachment8Name" ) == "silencer" ) || ( localvarstring( "ui_attachment9Name" ) == "silencer" ) || ( localvarstring( "ui_attachment10Name" ) == "silencer" ) || ( localvarstring( "ui_attachment11Name" ) == "silencer" ) || ( localvarstring( "ui_attachment12Name" ) == "silencer" ) || ( localvarstring( "ui_attachment13Name" ) == "silencer" ) || ( localvarstring( "ui_attachment14Name" ) == "silencer" ) || ( localvarstring( "ui_attachment15Name" ) == "silencer" ) ) )
			{
				focusfirst;
			}
			focusfirst;
		}
		onRequestClose
		{
			close "popup_gettingdata";
			close "popup_findgame";
			close "popup_summary";
			close "popup_unlocks1";
			close "popup_unlocks2";
		}
		onClose
		{
			if ( dvarbool( "splitscreen" ) )
			{
				if ( splitscreenplayercount( ) >= 1 )
				{
					setPlayerDataSplitscreen( 0 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 2 )
				{
					setPlayerDataSplitscreen( 1 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 3 )
				{
					setPlayerDataSplitscreen( 2 , "round" , "awardCount" , 0 );
				}
				if ( splitscreenplayercount( ) >= 4 )
				{
					setPlayerDataSplitscreen( 3 , "round" , "awardCount" , 0 );
				}
			}
			else
			{
				setPlayerData( "round" , "awardCount" , 0 );
			}
			uiScript "clearClientMatchData";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.4583
			visible when ( inprivateparty( ) && !aloneinparty( ) )
			execKey "BUTTON_B"
			{
				open "leaveprivatepartywarning";
			}
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.4583
			visible when ( !inprivateparty( ) || aloneinparty( ) )
			execKey "BUTTON_B"
			{
				play "mouse_click";
				execnow "xstopprivateparty";
				setdvar "onlinegame" 0;
				execnow "splitscreencontrols";
				close "leaveprivatepartywarning";
				close "popup_gettingdata";
				close "menu_xboxlive";
			}
		}
		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 -394.015 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 -787.382 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.616327
			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.390965
			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.375
			text "@XBOXLIVE_SERVICENAME"
		}
		itemDef
		{
			rect -272 0 272 18 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "white"
			textfont 3
			textalign 4
			textalignx 20
			textscale 0.375
			dvar "party_partyPlayerCount"
		}
		itemDef
		{
			rect 0 0 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( inprivateparty( ) && !privatepartyhost( ) && getfocuseditemname( ) == "live_findgame" )
			execKey "APAD_UP"
			{
				setfocus "last_in_list";
			}
			execKey "DPAD_UP"
			{
				setfocus "last_in_list";
			}
		}
		itemDef
		{
			name "live_findgame"
			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 "@PLATFORM_FIND_GAME_CAPS"
			disabled when ( inprivateparty( ) && !privatepartyhost( ) )
			execKey "APAD_UP"
			{
				setfocus "last_in_list";
			}
			execKey "DPAD_UP"
			{
				setfocus "last_in_list";
			}
			action
			{
				play "mouse_click";
				exec "xcheckezpatch";
				exec "xblive_privatematch 0";
				open "popup_findgame";
			}
			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_selectedIndex" ( 0 );
				if ( inprivateparty( ) && !privatepartyhost( ) )
				{
					setLocalVarString "ui_hint_text" ( "@PLATFORM_DESC_FIND_GAME_LOCKED" );
				}
				else
				{
					exec "xcheckezpatchversion";
					setLocalVarString "ui_hint_text" ( "@PLATFORM_DESC_FIND_GAME" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "live_privategame"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 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_PRIVATE_MATCH_CAPS"
			disabled when ( inprivateparty( ) && !privatepartyhost( ) )
			action
			{
				play "mouse_click";
				exec "xcheckezpatch";
				exec "exec default_xboxlive.cfg";
				exec "xblive_rankedmatch 0";
				exec "ui_enumeratesaved" exec "xblive_privatematch 1";
				exec "xstartprivatematch";
				open "menu_xboxlive_privatelobby";
			}
			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 ( inprivateparty( ) && !privatepartyhost( ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRIVATE_MATCH_LOCKED" );
				}
				else
				{
					exec "xcheckezpatchversion";
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PRIVATE_MATCH" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 68 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "live_cac"
			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_CREATE_A_CLASS_CAPS"
			disabled when ( !isitemunlocked( "cac" ) )
			action
			{
				play "mouse_click";
				open "cac_popup";
			}
			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 ( isitemunlocked( "cac" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_CREATE_A_CLASS" );
				}
				else
				{
					if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) == 9999 )
					{
						setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_AT_NONE" );
					}
					else
					{
						if ( tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 3 ) != "" )
						{
							setLocalVarString "ui_hint_text" ( "@PERKS_UNLOCKED_BY_CHALLENGE" );
						}
						else
						{
							setLocalVarString "ui_hint_text" ( "@" + tablelookup( "mp/rankTable.csv" , 0 , tablelookup( "mp/unlockTable.csv" , 0 , "cac" , 2 ) , 17 ) );
						}
					}
					exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 68 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "weaponNew" ) || getplayerdataanybooltrue( "camoNew" ) || getplayerdataanybooltrue( "attachmentNew" ) ) || getplayerdataanybooltrue( "perkNew" ) || ( ( getplayerdata( "perkNew" , "frag_grenade_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "frag_grenade_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "semtex_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "semtex_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "c4_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "c4_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "claymore_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "claymore_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "throwingknife_mp" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "throwingknife_mp" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_tacticalinsertion" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_tacticalinsertion" , 8 ) ) ) || ( getplayerdata( "perkNew" , "specialty_blastshield" ) || getplayerdata( "perkNew" , tablelookup( "mp/perkTable.csv" , 1 , "specialty_blastshield" , 8 ) ) ) || weaponclassnew( "weapon_grenade" ) || weaponclassnew( "weapon_equipment" ) ) || getplayerdata( "featureNew" , "cac" ) ) )
		}
		itemDef
		{
			name "live_playercard"
			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_PLAYERCARD_CAPS"
			disabled when ( !isitemunlocked( "playercard" ) )
			action
			{
				play "mouse_click";
				open "popup_callsign";
			}
			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 ( isitemunlocked( "playercard" ) )
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LIVE" );
				}
				else
				{
					setLocalVarString "ui_hint_text" ( "@MPUI_DESC_PLAYERCARD_LOCKED" );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 88 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( getplayerdata( "featureNew" , "cas" ) || getplayerdata( "featureNew" , "token_1" ) || getplayerdata( "featureNew" , "token_2" ) || getplayerdata( "featureNew" , "token_3" ) || getplayerdata( "featureNew" , "token_4" ) || getplayerdata( "featureNew" , "token_5" ) || getplayerdata( "featureNew" , "token_6" ) || getplayerdata( "featureNew" , "token_7" ) || getplayerdata( "featureNew" , "token_8" ) || getplayerdata( "featureNew" , "token_9" ) || getplayerdata( "featureNew" , "token_10" ) || getplayerdata( "featureNew" , "token_11" ) || getplayerdata( "featureNew" , "token_12" ) ) || getplayerdata( "featureNew" , "clantag" ) || ( getplayerdataanybooltrue( "iconNew" ) || getplayerdata( "featureNew" , "playercard_icon" ) ) || ( getplayerdataanybooltrue( "titleNew" ) || getplayerdata( "featureNew" , "playercard_title" ) ) )
		}
		itemDef
		{
			name "live_barracks"
			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_BARRACKS_CAPS"
			action
			{
				play "mouse_click";
				open "menu_online_barracks";
			}
			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_text" ( "@MPUI_DESC_BARRACKS" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 232 108 40 20 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "specialty_new"
			textscale 0.55
			visible when ( ( ( getplayerdataanybooltrue( "challengeTierNew" ) || getplayerdata( "featureNew" , "challenges" ) ) || getplayerdata( "featureNew" , "challenges" ) || ( ( getplayerdata( "prestige" ) < int( tablelookup( "mp/rankIconTable.csv" , 0 , "maxprestige" , 1 ) ) && getplayerdata( "experience" ) >= int( tablelookup( "mp/rankTable.csv" , 0 , int( tablelookup( "mp/rankTable.csv" , 0 , "maxrank" , 1 ) ) , 7 ) ) ) && getplayerdata( "featureNew" , "prestige" ) ) ) )
		}
		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 "last_in_list"
			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_INVITE_CAPS"
			execKey "APAD_DOWN"
			{
				focusfirst;
			}
			execKey "DPAD_DOWN"
			{
				focusfirst;
			}
			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_text" ( "@MPUI_DESC_PARTY_INVITE" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "nattype"
			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
			exp text ( locstring( "@NETWORK_YOURNATTYPE" ) + " " + getlocalizednattype( ) )
			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
		{
			rect -272 28 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 0 ) != 0 ) )
		}
		itemDef
		{
			rect -272 48 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 1 ) != 0 ) )
		}
		itemDef
		{
			rect -272 68 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 2 ) != 0 ) )
		}
		itemDef
		{
			rect -272 88 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 3 ) != 0 ) )
		}
		itemDef
		{
			rect -272 108 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 4 ) != 0 ) )
		}
		itemDef
		{
			rect -272 128 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 5 ) != 0 ) )
		}
		itemDef
		{
			rect -272 148 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 6 ) != 0 ) )
		}
		itemDef
		{
			rect -272 168 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 7 ) != 0 ) )
		}
		itemDef
		{
			rect -272 188 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 8 ) != 0 ) )
		}
		itemDef
		{
			rect -272 208 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 9 ) != 0 ) )
		}
		itemDef
		{
			rect -272 228 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 10 ) != 0 ) )
		}
		itemDef
		{
			rect -272 248 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 11 ) != 0 ) )
		}
		itemDef
		{
			rect -272 268 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 12 ) != 0 ) )
		}
		itemDef
		{
			rect -272 288 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 13 ) != 0 ) )
		}
		itemDef
		{
			rect -272 308 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 14 ) != 0 ) )
		}
		itemDef
		{
			rect -272 328 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 15 ) != 0 ) )
		}
		itemDef
		{
			rect -272 348 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 16 ) != 0 ) )
		}
		itemDef
		{
			rect -272 368 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "playercard_short_bg"
			textscale 0.55
			visible when ( 1 && ( getplayercardinfo( 0 , 3 , 17 ) != 0 ) )
		}
		itemDef
		{
			rect -272 0 272 20 3 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "playercard_short_bg"
			textscale 0.55
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			rect -272 0 272 28 3 1
			decoration
			forecolor 1 1 1 0.15
			textfont 10
			textalign 12
			textalignx 38
			textaligny 3
			textscale 0.3333
			text "NAME"
		}
		itemDef
		{
			name "partyList"
			rect -272 27 272 380 3 1
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 25
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		38		16		40		  0
			noscrollbars
			doubleclick
			{
				play "mouse_click" open "player_popup_party";
			}
		}
		itemDef
		{
			rect -272 0 272 28 3 1
			decoration
			forecolor 1 1 1 0.15
			textfont 10
			textalign 12
			textalignx 194
			textaligny 3
			textscale 0.3333
			text "RANK"
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 40
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 2		194		20		3		  2
							214		20		2		  1
			noscrollbars
		}
		itemDef
		{
			rect 0 0 272 40 3 1
			style 3
			decoration
			visible 1
			forecolor 0.25 0.25 0.25 1
			background "playercard_bg"
			textscale 0.55
			exp rect x ( - 268 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
		}
		itemDef
		{
			rect 0 0 160 32 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( - 248 )
			exp rect y ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 - 4 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 5 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 3 , dvarint( "party_selectedIndex" ) ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 248 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 10
			textalign 4
			textalignx 10
			textaligny 4
			textscale 0.3333
			textstyle 8
			exp rect x ( ( - 248 ) )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 20 )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp text ( getplayercardinfo( 8 , 3 , dvarint( "party_selectedIndex" ) ) )
		}
		itemDef
		{
			rect 0 0 40 40 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 160 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 3 , dvarint( "party_selectedIndex" ) ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , ( getplayercardinfo( 5 , 3 , dvarint( "party_selectedIndex" ) ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 222 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && ( getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) >= 0 ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 3 , dvarint( "party_selectedIndex" ) ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 40 18 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 7
			exp rect x ( ( - 248 ) + 204 )
			exp rect y ( ( 28 + ( dvarint( "party_selectedIndex" ) * 20 ) - 10 ) + 18 )
			visible when ( getfocuseditemname( ) == "partyList" && ( getplayercardinfo( 0 , 3 , dvarint( "party_selectedIndex" ) ) != 0 ) && getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 3 , dvarint( "party_selectedIndex" ) ) + "]" )
		}
		itemDef
		{
			rect -272 27 272 380 3 1
			decoration
			visible 1
			forecolor 1 1 1 1
			type 6
			textaligny -2
			textscale 0.375
			feeder 26
			elementwidth 272
			elementheight 20
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		0		20		40		  0
			noscrollbars
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -128 -17 1280 18 1 3
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.45
			background "shadow_inset"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -18 726 18 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			type 20
			textscale 0.375
			newsfeed 1
			speed 50
			spacing 30
			exp rect w ( 544 + ( dvarint( "widescreen" ) * 182 ) )
		}
		itemDef
		{
			rect 0 220 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			visible when ( !localvarbool( "ui_centerPopup" ) && !localvarbool( "ui_leftPopup" ) )
			exp text ( localvarstring( "ui_hint_text" ) )
		}
		itemDef
		{
			name "map_pack_warning"
			rect -272 -150 272 20 3 3
			decoration
			autowrapped
			visible 1
			forecolor 1 0.45098 0.501961 1
			textaligny 16
			textscale 0.375
			visible when ( partyismissingmappack( ) )
			exp text ( partymissingmappackerror( ) )
		}
		itemDef
		{
			rect 0 48 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 -68 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_GAME_SUMMARY_CAPS"
		}
		itemDef
		{
			rect -64 -44 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 "popup_findgame"
		rect -64 0 854 364 1 1
		style 1
		popup
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		exp rect y ( localvarfloat( "ui_popup_findgame_ypos" ) )
		onOpen
		{
			setLocalVarFloat "ui_popup_findgame_ypos" ( localvarfloat( "ui_popupYPos" ) );
			focusfirst;
			close "popup_gettingdata";
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -918 -480 1708 960 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 854 364 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 1708 480 1 1
			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 -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
		}
		itemDef
		{
			rect -64 0 -1708 -480 1 1
			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 -64 0 -1708 -480 1 1
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -64 0 854 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
		}
		itemDef
		{
			rect -96 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -32 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 -32 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect 790 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 17 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 854 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 17 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 32 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 17 * 20 ) ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -96 0 32 0 1 1
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 17 * 20 ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 0 280 364 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.1
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 280 22 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 0.25
			background "gradient_fadein"
			textfont 9
			textalign 6
			textalignx -4
			textscale 0.375
			text "@MENU_PUBLIC_PLAYLISTS"
		}
		itemDef
		{
			rect 0 24 232 408 1 1
			visible 1
			forecolor 1 1 1 1
			outlinecolor 0 0 0 1
			disablecolor 1 1 1 0.45
			type 6
			textalignx -4
			textscale 0.375
			feeder 28
			selectBorder 0 0 0 1
			elementwidth 20
			elementheight 18
//			numcol			xpos	xwidth	textlen	  alignment
			columns 1		22		190		64		  2
			noscrollbars
			doubleclick
			{
				play "mouse_click";
				exec "xstartlobby";
				exec "updategamerprofile";
				close "popup_findgame";
				open "menu_xboxlive_lobby";
			}
			onFocus
			{
				play "mouse_over";
			}
		}
		itemDef
		{
			rect 272 312 272 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 3
			dvar "playlist_population"
		}
		itemDef
		{
			rect 272 330 272 18 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 3
			dvar "playlist_totalonline"
		}
		itemDef
		{
			rect 272 0 272 24 1 1
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 6
			textscale 0.375
			dvar "playlist_name"
		}
		itemDef
		{
			rect 272 24 272 18 1 1
			ownerdraw 275
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			type 8
			textaligny 18
			textscale 0.375
		}
	}
	menuDef
	{
		name "player_popup"
		rect -150 -84 300 84 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 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 24 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_fadein"
			textfont 9
			textalign 5
			textscale 0.375
			text "@MPUI_PLAYER_OPTIONS"
		}
		itemDef
		{
			name "player_ps3_add_friend"
			rect -146 -60 292 20 2 2
			group "mw2_popup_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "popup_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -24
			textscale 0.375
			text "@XBOXLIVE_ADDFRIEND"
			disabled when ( !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) || isselectedplayerfriend( ) )
			action
			{
				play "mouse_click";
				addFriendFromId;
				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 "player_mute"
			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 "@XBOXLIVE_PLAYER_MUTE"
			disabled when ( dvarbool( "party_iamselected" ) || !dvarbool( "party_playervisible" ) )
			action
			{
				play "mouse_click";
				togglePlayerMute;
				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 "player_kick"
			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 "@XBOXLIVE_KICK"
			disabled when ( menuisopen( "menu_xboxlive_lobby" ) || !dvarbool( "party_host" ) || !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) )
			action
			{
				play "mouse_click";
				getKickPlayerQuestion;
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "kickwarning"
		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
		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 "@MPUI_KICK_PLAYER"
		}
		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";
				kickPlayer;
				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 "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 "playerunmutable"
		rect -150 -84 300 84 2 2
		style 1
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		backcolor 1 1 1 1
		background "white"
		focuscolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
		}
		onEsc
		{
			close self;
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 0.35
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -1004 -564 1708 960 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "xpbar_stencilbase"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 300 84 2 2
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.5 0.5 1
			background "white"
			textscale 0.55
		}
		itemDef
		{
			rect -150 -84 1708 480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "mockup_popup_bg_stencilfill"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.75
			background "mw2_popup_bg_fogstencil"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 -1708 -480 2 2
			style 3
			decoration
			visible 1
			forecolor 0.85 0.85 0.85 1
			background "mw2_popup_bg_fogscroll"
			textscale 0.55
			exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
		}
		itemDef
		{
			rect -150 -84 300 0 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "small_box_lightfx"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
		}
		itemDef
		{
			rect -214 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tl"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -148 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_t"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -148 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_tr"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_r"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect 150 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_br"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 300 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_b"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 64 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_bl"
			textscale 0.55
			exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -214 -84 64 0 2 2
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "drop_shadow_l"
			textscale 0.55
			exp rect h ( ( 24 + 3 * 20 ) )
			visible when ( 1 )
		}
		itemDef
		{
			rect -150 -84 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_NOTICE"
		}
		itemDef
		{
			rect -146 -60 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@XBOXLIVE_EXTERNALMUTE_TITLE"
			action
			{
				play "mouse_click";
			}
			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_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_OK"
			action
			{
				play "mouse_click";
				close self;
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_popup_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_popupAButton" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 1 1 1 0;
				setLocalVarBool "ui_popupAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -150 -84 292 22 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) + ( ( 24 + 3 * 20 ) ) )
			visible when ( localvarbool( "ui_popupAButton" ) )
		}
	}
	menuDef
	{
		name "signinbackground"
		rect 0 0 640 480 0 0
		style 1
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		fullscreen 1
		onEsc
		{
			close "menu_xboxlive";
			close "popup_findgame";
			close "signinbackground";
		}
		itemDef
		{
			rect -200 0 1280 720 0 0
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.1412 0.1412 0.1412 1
			textscale 0.55
		}
	}
	menuDef
	{
		name "leaveprivatepartywarning"
		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
		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 "@XBOXLIVE_DESTROYPARTY"
			visible when ( inprivateparty( ) && privatepartyhost( ) )
		}
		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 "@XBOXLIVE_LEAVEPARTY"
			visible when ( inprivateparty( ) && !privatepartyhost( ) )
		}
		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";
				play "mouse_click";
				exec "onlinegame 0";
				exec "xstopprivateparty";
				exec "splitscreencontrols";
				close "leaveprivatepartywarning";
				close "popup_gettingdata";
				close "menu_xboxlive";
				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 "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 "downloadingezpatch"
		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
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			play "mouse_click";
			exec "xstopparty";
			close "leaveprivatepartywarning";
			exec "downloadezpatch";
			focusfirst;
		}
		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
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_DOWNLOADPLAYLIST"
			action
			{
				play "mouse_click";
			}
			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_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_OK"
			action
			{
				play "mouse_click";
				play "mouse_click";
				exec "xstopparty";
				close "leaveprivatepartywarning";
				exec "downloadezpatch";
				close self;
				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 "downloadingplaylist"
		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
		onOpen
		{
			setLocalVarInt "ui_centerPopup" ( 1 );
			focusfirst;
		}
		onClose
		{
			setLocalVarInt "ui_centerPopup" ( 0 );
			play "mouse_click";
			exec "xstopparty";
			close "leaveprivatepartywarning";
			exec "downloadplaylist";
		}
		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
			textscale 0.375
			text "@MENU_NOTICE"
		}
		itemDef
		{
			rect -146 -80 292 20 2 2
			group "mw2_popup_button"
			style 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 5
			textscale 0.375
			text "@MPUI_DOWNLOADPLAYLIST"
			action
			{
				play "mouse_click";
			}
			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_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_OK"
			action
			{
				play "mouse_click";
				play "mouse_click";
				exec "xstopparty";
				close "leaveprivatepartywarning";
				exec "downloadplaylist";
				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 "ingame_controls"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			exec "hidehud";
			setdvar "ui_allow_controlschange" 0;
			execnow "profile_menuDvarsSetup; resetViewport" ;;
		}
		onClose
		{
			execnow "profile_menuDvarsFinish; resetViewport";
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			exec "showhud";
			scriptmenuresponse "back";
			exec "updategamerprofile";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_OPTIONS_UPPER_CASE"
		}
		itemDef
		{
			rect 0 290 212 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 6
			textscale 0.375
			exp text ( localvarstring( "ui_options_hint_text" ) )
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_THUMBSTICK_LAYOUT_CAPS"
			action
			{
				play "mouse_click";
				close "ingame_controls";
				open "ingamecontrols_thumbstick";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_STICK_LAYOUT_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_default" )
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_SOUTHPAW"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_southpaw" )
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEGACY"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacy" )
		}
		itemDef
		{
			rect 248 28 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEGACY_SOUTHPAW"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacysouthpaw" )
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BUTTON_LAYOUT_CAPS"
			action
			{
				play "mouse_click";
				close "ingame_controls";
				open "ingamecontrols_buttons";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_BUTTON_LAYOUT_DESC" );
				if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
				{
					setLocalVarBool "ui_buttons_page" ( 1 );
				}
				else
				{
					setLocalVarBool "ui_buttons_page" ( 0 );
				}
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_TACTICAL"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEFTY"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_TACTICAL_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" )
		}
		itemDef
		{
			rect 248 48 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEFTY_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOOK_SENSITIVITY_CAPS"
			action
			{
				play "mouse_click";
				close "ingame_controls";
				open "ingamecontrols_sensitivity";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_SENSITIVITY_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LOW"
			visible when ( getprofiledata( "viewSensitivity" ) == 0.6 )
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_MEDIUM"
			visible when ( getprofiledata( "viewSensitivity" ) == 1 )
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_HIGH"
			visible when ( getprofiledata( "viewSensitivity" ) == 1.8 )
		}
		itemDef
		{
			rect 248 68 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_CUSTOM"
			visible when ( getprofiledata( "viewSensitivity" ) != 0.6 && getprofiledata( "viewSensitivity" ) != 1 && getprofiledata( "viewSensitivity" ) != 1.8 )
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOOK_INVERSION_CAPS"
			action
			{
				play "mouse_click";
				exec "profile_toggleInvertedPitch";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_LOOK_INVERSION_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 88 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_ENABLED"
			visible when ( getprofiledata( "invertedPitch" ) )
		}
		itemDef
		{
			rect 248 88 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DISABLED"
			visible when ( !getprofiledata( "invertedPitch" ) )
		}
		itemDef
		{
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CONTROLLER_VIBRATION_CAPS"
			action
			{
				play "mouse_click";
				exec "profile_toggleRumble";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VIBRATION_DESC" );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 248 108 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_ENABLED"
			visible when ( getprofiledata( "rumble" ) )
		}
		itemDef
		{
			rect 248 108 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DISABLED"
			visible when ( !getprofiledata( "rumble" ) )
		}
		itemDef
		{
			rect 0 128 216 1 1 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.65
			background "gradient_fadein"
			textscale 0.55
		}
		itemDef
		{
			name "button_safearea_adjusted_horizontal"
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HUD_MARGIN_HORIZONTAL_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_safearea_adjusted_horizontal"
			rect 248 128 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_safeAreaHorz" 0.85 0.85 1
			action
			{
				exec "profile_menuDvarsFinish; wait; wait; resetViewport";
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_safearea_adjusted_horizontal" backcolor 0 0 0 1;
				show "safe_area_demo";
				show "safe_area_demo_lr";
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_HORIZONTAL_MARGIN_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_safearea_adjusted_horizontal" backcolor 0 0 0 "0.0";
				hide "safe_area_demo";
				hide "safe_area_demo_lr";
			}
		}
		itemDef
		{
			name "button_safearea_adjusted_vertical"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HUD_MARGIN_VERTICAL_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_safearea_adjusted_vertical"
			rect 248 148 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_safeAreaVert" 0.85 0.85 1
			action
			{
				exec "profile_menuDvarsFinish; wait; wait; resetViewport";
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_safearea_adjusted_vertical" backcolor 0 0 0 1;
				show "safe_area_demo";
				show "safe_area_demo_tb";
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VERTICAL_MARGIN_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_safearea_adjusted_vertical" backcolor 0 0 0 "0.0";
				hide "safe_area_demo";
				hide "safe_area_demo_tb";
			}
		}
		itemDef
		{
			rect -100 0 100 600 8 8
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect 0 -64 -32 128 8 2
			group "safe_area_demo_lr"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect 0 -600 100 600 10 10
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect -32 -64 32 128 10 2
			group "safe_area_demo_lr"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect -2000 -100 2000 100 10 8
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect -64 0 128 32 2 8
			group "safe_area_demo_tb"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow_up"
			textscale 0.55
		}
		itemDef
		{
			rect 0 0 2000 100 8 10
			group "safe_area_demo"
			style 1
			decoration
			forecolor 1 1 1 1
			backcolor 0.4 0.45 0.5 0.5
			textscale 0.55
		}
		itemDef
		{
			rect -64 -32 128 -32 2 10
			group "safe_area_demo_tb"
			style 3
			decoration
			forecolor 1 1 1 1
			background "summary_arrow_up"
			textscale 0.55
		}
		itemDef
		{
			name "button_snd_volume"
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_VOLUME_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_snd_volume"
			rect 248 168 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_volume" 0.8 0 0.8
			action
			{
				play "volume_adjust";
				execnow "profile_menuDvarsFinish" ;;
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_snd_volume" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_GAME_VOLUME_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_snd_volume" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			name "button_ps3_voiceSpeakerGain"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_VOICE_VOLUME_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_ps3_voiceSpeakerGain"
			rect 248 188 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "ps3_voiceSpeakerGain" 1.5 0 4
			onFocus
			{
				play "mouse_over";
				setItemColor "button_ps3_voiceSpeakerGain" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VOICE_DESC" );
			}
			leaveFocus
			{
				setItemColor "button_ps3_voiceSpeakerGain" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			name "button_r_gamma"
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BRIGHTNESS_CAPS"
			action
			{
				play "mouse_click";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "slider_r_gamma"
			rect 248 208 128 20 1 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textscale 0.55
			dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4
			action
			{
				execnow "profile_menuDvarsFinish" ;;
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_r_gamma" backcolor 0 0 0 1;
				setLocalVarBool "ui_adjusting_brightness" ( 1 );
				show "brightness_demo";
				setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" );
			}
			leaveFocus
			{
				setLocalVarBool "ui_adjusting_brightness" ( 0 );
				setItemColor "button_r_gamma" backcolor 0 0 0 "0.0";
				hide "brightness_demo";
			}
		}
		itemDef
		{
			rect 0 268 0 80 3 1
			group "brightness_demo"
			decoration
			autowrapped
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_BRIGHTNESS_DESC2"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
		}
		itemDef
		{
			rect 0 28 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_NOT_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 108 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_BARELY_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 188 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_EASILY_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_thumbstick"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			exec "hidehud";
			setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_thumbstick";
			open "ingame_controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_STICK_LAYOUT_CAP"
		}
		itemDef
		{
			rect 150 95 350 350 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ps3_controller_top"
			textscale 0.55
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set1"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set1"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set2"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set2"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set2"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set3"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set3"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_look"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set3"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 240 280 90 90 0 0
			group "controls_thumbstick_set4"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_look"
			textscale 0.55
		}
		itemDef
		{
			rect 322 280 90 90 0 0
			group "controls_thumbstick_set4"
			style 3
			decoration
			forecolor 1 1 1 1
			background "xenon_stick_move_turn"
			textscale 0.55
		}
		itemDef
		{
			rect 412 315 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			textstyle 6
			text "@MENU_ROTATE_LEFT_RIGHT"
		}
		itemDef
		{
			rect 367 375 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_MOVE_FORWARD_BACK"
		}
		itemDef
		{
			rect 285 375 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 5
			textscale 0.375
			textstyle 6
			text "@MENU_LOOK_UP_DOWN"
		}
		itemDef
		{
			rect 235 315 0 0 0 0
			group "controls_thumbstick_set4"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			textstyle 6
			text "@MENU_STRAFE_LEFT_RIGHT"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_default";
				close "ingamecontrols_thumbstick";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set1";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set1";
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_SOUTHPAW"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_southpaw";
				close "ingamecontrols_thumbstick";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set2";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set2";
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEGACY"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_legacy";
				close "ingamecontrols_thumbstick";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set3";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set3";
			}
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEGACY_SOUTHPAW"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_legacysouthpaw";
				close "ingamecontrols_thumbstick";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_thumbstick_set4";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_thumbstick_set4";
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_buttons"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
			{
				setLocalVarBool "ui_buttons_page" ( 1 );
			}
			else
			{
				setLocalVarBool "ui_buttons_page" ( 0 );
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" )
			{
				setfocus "buttons_1";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" )
			{
				setfocus "buttons_2";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" )
			{
				setfocus "buttons_3";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" )
			{
				setfocus "buttons_4";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" )
			{
				setfocus "buttons_5";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
			{
				setfocus "buttons_6";
			}
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_buttons";
			open "ingame_controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_BUTTON_LAYOUT_CAP"
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "ps3_controller_top"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set1"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set2"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set3"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set4"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set5"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			rect 147 120 350 350 0 0
			group "controls_buttons_set6"
			style 3
			decoration
			forecolor 1 1 1 1
			background "ps3_controller_lines_classic_mp"
			textscale 0.55
		}
		itemDef
		{
			name "scoreboard"
			rect 279 180 38 15 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SCOREBOARD"
			visible when ( dvarbool( "ui_multiplayer" ) && !localvarbool( "ui_buttons_more_focused" ) )
		}
		itemDef
		{
			name "scoreboard"
			rect 279 180 38 15 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_NOT_USED"
			visible when ( !dvarbool( "ui_multiplayer" ) && !localvarbool( "ui_buttons_more_focused" ) )
		}
		itemDef
		{
			rect 459 348 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_JUMP"
		}
		itemDef
		{
			rect 454 303 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_CROUCH_PRONE"
		}
		itemDef
		{
			rect 458 326 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_RELOAD"
		}
		itemDef
		{
			rect 449 278 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SWITCH_WEAPON"
		}
		itemDef
		{
			rect 445 214 0 0 0 0
			group "controls_buttons_set1"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_USE_EQUIPMENT"
		}
		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_USE_EQUIPMENT"
		}
		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_USE_EQUIPMENT"
		}
		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_USE_EQUIPMENT"
		}
		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_USE_EQUIPMENT"
		}
		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_USE_EQUIPMENT"
		}
		itemDef
		{
			rect 452 235 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_THROW_SPECIAL_GRENADE"
		}
		itemDef
		{
			rect 307 203 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_OBJECTIVES_MENU"
		}
		itemDef
		{
			rect 247 212 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
		}
		itemDef
		{
			rect 217 338 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 6
			textscale 0.375
			text "@MENU_MELEE_ATTACK"
		}
		itemDef
		{
			rect 327 394 0 0 0 0
			group "controls_buttons_set6"
			decoration
			forecolor 1 1 1 1
			textfont 1
			textalign 4
			textscale 0.375
			text "@MENU_SPRINT_HOLD_BREATH"
		}
		itemDef
		{
			name "buttons_1"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_default";
				close "ingamecontrols_buttons";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set1";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set1";
			}
		}
		itemDef
		{
			name "buttons_2"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TACTICAL"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_tactical";
				close "ingamecontrols_buttons";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set2";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set2";
			}
		}
		itemDef
		{
			name "buttons_3"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEFTY"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_lefty";
				close "ingamecontrols_buttons";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set3";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set3";
			}
		}
		itemDef
		{
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MORE"
			action
			{
				play "mouse_click";
				if ( localvarbool( "ui_buttons_page" ) )
				{
					setLocalVarBool "ui_buttons_page" ( 0 );
				}
				else
				{
					setLocalVarBool "ui_buttons_page" ( 1 );
				}
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarBool "ui_buttons_more_focused" ( 1 );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				setLocalVarBool "ui_buttons_more_focused" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_4"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_default_alt";
				close "ingamecontrols_buttons";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set4";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set4";
			}
		}
		itemDef
		{
			name "buttons_5"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TACTICAL_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_tactical_alt";
				close "ingamecontrols_buttons";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set5";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set5";
			}
		}
		itemDef
		{
			name "buttons_6"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEFTY_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_lefty_alt";
				close "ingamecontrols_buttons";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				show "controls_buttons_set6";
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				hide "controls_buttons_set6";
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_sensitivity"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			setfocus "sensitivity_medium";
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_sensitivity";
			open "ingame_controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_SENSITIVITY_CAP"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOW"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_low" close "ingamecontrols_sensitivity";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MEDIUM"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_med" close "ingamecontrols_sensitivity";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HIGH"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_high" close "ingamecontrols_sensitivity";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sensitivity_custom"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CUSTOM"
			action
			{
				play "mouse_click";
				close "ingamecontrols_sensitivity";
				open "ingamecontrols_sensitivity_custom";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_sensitivity_custom"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			setfocus "sensitivity_medium";
			if ( getprofiledata( "viewSensitivity" ) == 0.6 )
			{
				setfocus "sens_1";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1 )
			{
				setfocus "sens_2";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1.4 )
			{
				setfocus "sens_3";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1.8 )
			{
				setfocus "sens_4";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2 )
			{
				setfocus "sens_5";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2.2 )
			{
				setfocus "sens_6";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2.6 )
			{
				setfocus "sens_7";
			}
			if ( getprofiledata( "viewSensitivity" ) == 3 )
			{
				setfocus "sens_8";
			}
			if ( getprofiledata( "viewSensitivity" ) == 3.5 )
			{
				setfocus "sens_9";
			}
			if ( getprofiledata( "viewSensitivity" ) == 4 )
			{
				setfocus "sens_10";
			}
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_sensitivity_custom";
			open "ingamecontrols_sensitivity";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_SENSITIVITY_CUSTOM_CAP"
		}
		itemDef
		{
			name "sens_1"
			rect -64 28 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_LOW_N" , 1 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 0.6";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_2"
			rect -64 48 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_MEDIUM_N" , 2 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_3"
			rect -64 68 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 3 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1.4";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_4"
			rect -64 88 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_HIGH_N" , 4 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1.8";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_5"
			rect -64 108 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 5 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.0";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 128 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 6 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.2";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_7"
			rect -64 148 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_VERY_HIGH_N" , 7 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.6";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_8"
			rect -64 168 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 8 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 3.0";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_9"
			rect -64 188 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 9 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 3.5";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_10"
			rect -64 208 336 20 1 1
			group "mw2_button"
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_INSANE_N" , 10 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 4.0";
				close "ingamecontrols_sensitivity_custom";
				open "ingame_controls";
			}
			onFocus
			{
				play "mouse_over";
				if ( dvarstring( "gameMode" ) != "mp" )
				{
					setItemColor "mw2_button" backcolor 0 0 0 0;
				}
				setItemColor self backcolor 0 0 0 1;
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setItemColor self backcolor 0 0 0 "0.0";
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textalign 10
			textalignx -41
			textaligny -1
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -64 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_brightness"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			execnow "profile_menuDvarsSetup; resetViewport";
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			execnow "profile_menuDvarsFinish; resetViewport";
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_brightness";
			open "ingame_controls";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect 0 0 854 75 4 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_top"
			textscale 0.55
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect 0 400 854 75 4 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_bottom"
			textscale 0.55
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_BRIGHTNESS_CAP"
		}
		itemDef
		{
			rect -88 36 -20 40 2 1
			group "safe_area_demo_lr"
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect 68 36 20 40 2 1
			group "safe_area_demo_lr"
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			name "slider_r_gamma"
			rect -160 48 320 20 2 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textalign 5
			textscale 0.55
			dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4
			action
			{
				execnow "profile_menuDvarsFinish" ;;
				setLocalVarBool "ui_brightness_adjusted" ( 1 );
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_r_gamma" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" );
			}
			leaveFocus
			{
				setItemColor "button_r_gamma" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			rect -160 368 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@PLATFORM_UI_PRESS_TO_CONTINUE"
			visible when ( localvarbool( "ui_brightness_adjusted" ) )
		}
		itemDef
		{
			rect -160 88 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@MENU_BRIGHTNESS_DESC1"
		}
		itemDef
		{
			rect -160 108 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@MENU_BRIGHTNESS_DESC2"
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect -150 154 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 214 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 274 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 154 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_NOT_VISIBLE" )
		}
		itemDef
		{
			rect -150 214 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_BARELY_VISIBLE" )
		}
		itemDef
		{
			rect -150 274 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_EASILY_VISIBLE" )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingame_controls_splitscreen"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			exec "hidehud";
			setdvar "ui_allow_controlschange" 0;
			execnow "profile_menuDvarsSetup; resetViewport" ;;
		}
		onClose
		{
			execnow "profile_menuDvarsFinish; resetViewport";
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			exec "showhud";
			scriptmenuresponse "back";
			exec "updategamerprofile";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.5
			text "@MENU_OPTIONS_UPPER_CASE"
		}
		itemDef
		{
			rect 0 133 272 18 1 1
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			exp text ( localvarstring( "ui_options_hint_text" ) )
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "menu_button_selection_bar"
			textfont 1
			textalign 10
			textalignx -41
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_THUMBSTICK_LAYOUT_CAPS"
			action
			{
				play "mouse_click";
				close "ingame_controls_splitscreen";
				open "ingamecontrols_thumbstick_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_STICK_LAYOUT_DESC" );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 134 22 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_default" )
		}
		itemDef
		{
			rect 134 22 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_SOUTHPAW"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_southpaw" )
		}
		itemDef
		{
			rect 134 22 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEGACY"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacy" )
		}
		itemDef
		{
			rect 134 22 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEGACY_SOUTHPAW"
			visible when ( getprofiledata( "gpadSticksConfig" ) == "thumbstick_legacysouthpaw" )
		}
		itemDef
		{
			rect -178 42 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_BUTTON_LAYOUT_CAPS"
			action
			{
				play "mouse_click";
				close "ingame_controls_splitscreen";
				open "ingamecontrols_buttons_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_BUTTON_LAYOUT_DESC" );
				if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
				{
					setLocalVarBool "ui_buttons_page" ( 1 );
				}
				else
				{
					setLocalVarBool "ui_buttons_page" ( 0 );
				}
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 134 42 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" )
		}
		itemDef
		{
			rect 134 42 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_TACTICAL"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" )
		}
		itemDef
		{
			rect 134 42 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEFTY"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" )
		}
		itemDef
		{
			rect 134 42 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DEFAULT_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" )
		}
		itemDef
		{
			rect 134 42 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_TACTICAL_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" )
		}
		itemDef
		{
			rect 134 42 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LEFTY_ALT"
			visible when ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
		}
		itemDef
		{
			rect -178 62 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOOK_SENSITIVITY_CAPS"
			action
			{
				play "mouse_click";
				close "ingame_controls_splitscreen";
				open "ingamecontrols_sensitivity_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_SENSITIVITY_DESC" );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 134 62 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_LOW"
			visible when ( getprofiledata( "viewSensitivity" ) == 0.6 )
		}
		itemDef
		{
			rect 134 62 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_MEDIUM"
			visible when ( getprofiledata( "viewSensitivity" ) == 1 )
		}
		itemDef
		{
			rect 134 62 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_HIGH"
			visible when ( getprofiledata( "viewSensitivity" ) == 1.8 )
		}
		itemDef
		{
			rect 134 62 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_CUSTOM"
			visible when ( getprofiledata( "viewSensitivity" ) != 0.6 && getprofiledata( "viewSensitivity" ) != 1 && getprofiledata( "viewSensitivity" ) != 1.8 )
		}
		itemDef
		{
			rect -178 82 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOOK_INVERSION_CAPS"
			action
			{
				play "mouse_click";
				exec "profile_toggleInvertedPitch";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_LOOK_INVERSION_DESC" );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 134 82 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_ENABLED"
			visible when ( getprofiledata( "invertedPitch" ) )
		}
		itemDef
		{
			rect 134 82 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DISABLED"
			visible when ( !getprofiledata( "invertedPitch" ) )
		}
		itemDef
		{
			rect -178 102 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_CONTROLLER_VIBRATION_CAPS"
			action
			{
				play "mouse_click";
				exec "profile_toggleRumble";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarString "ui_options_hint_text" ( "@PLATFORM_OPTIONS_VIBRATION_DESC" );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect 134 102 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_ENABLED"
			visible when ( getprofiledata( "rumble" ) )
		}
		itemDef
		{
			rect 134 102 128 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 0.65
			backcolor 1 1 1 0
			background "white"
			textfont 3
			textalign 4
			textscale 0.375
			text "@MENU_DISABLED"
			visible when ( !getprofiledata( "rumble" ) )
		}
		itemDef
		{
			rect 0 268 0 80 3 1
			group "brightness_demo"
			decoration
			autowrapped
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			text "@MENU_BRIGHTNESS_DESC2"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
		}
		itemDef
		{
			rect 0 28 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_NOT_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 108 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_BARELY_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect 0 188 0 80 3 1
			group "brightness_demo"
			style 1
			decoration
			autowrapped
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			background "white"
			textfont 2
			textalign 9
			textscale 0.5833
			text "@MENU_BRIGHTNESS_EASILY_VISIBLE"
			exp rect x ( 0 - ( 160 + dvarbool( "widescreen" ) * 160 ) )
			exp rect w ( 160 + dvarbool( "widescreen" ) * 160 )
			exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
		}
		itemDef
		{
			rect -178 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_thumbstick_splitscreen"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			exec "hidehud";
			setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_thumbstick_splitscreen";
			open "ingame_controls_splitscreen";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.5
			text "@MENU_STICK_LAYOUT_CAP"
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "menu_button_selection_bar"
			textfont 1
			textalign 10
			textalignx -41
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_default";
				close "ingamecontrols_thumbstick_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 42 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_SOUTHPAW"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_southpaw";
				close "ingamecontrols_thumbstick_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 62 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEGACY"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_legacy";
				close "ingamecontrols_thumbstick_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 82 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEGACY_SOUTHPAW"
			action
			{
				play "mouse_click";
				exec "profile_setSticksConfig thumbstick_legacysouthpaw";
				close "ingamecontrols_thumbstick_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_buttons_splitscreen"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" || getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
			{
				setLocalVarBool "ui_buttons_page" ( 1 );
			}
			else
			{
				setLocalVarBool "ui_buttons_page" ( 0 );
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default" )
			{
				setfocus "buttons_1";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical" )
			{
				setfocus "buttons_2";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty" )
			{
				setfocus "buttons_3";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_default_alt" )
			{
				setfocus "buttons_4";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_tactical_alt" )
			{
				setfocus "buttons_5";
			}
			if ( getprofiledata( "gpadButtonsConfig" ) == "buttons_lefty_alt" )
			{
				setfocus "buttons_6";
			}
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_buttons_splitscreen";
			open "ingame_controls_splitscreen";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.5
			text "@MENU_BUTTON_LAYOUT_CAP"
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "menu_button_selection_bar"
			textfont 1
			textalign 10
			textalignx -41
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			name "buttons_1"
			rect -178 22 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_default";
				close "ingamecontrols_buttons_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_2"
			rect -178 42 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TACTICAL"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_tactical";
				close "ingamecontrols_buttons_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_3"
			rect -178 62 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEFTY"
			visible when ( localvarbool( "ui_buttons_page" ) == 0 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_lefty";
				close "ingamecontrols_buttons_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 82 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MORE"
			action
			{
				play "mouse_click";
				if ( localvarbool( "ui_buttons_page" ) )
				{
					setLocalVarBool "ui_buttons_page" ( 0 );
				}
				else
				{
					setLocalVarBool "ui_buttons_page" ( 1 );
				}
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
				setLocalVarBool "ui_buttons_more_focused" ( 1 );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
				setLocalVarBool "ui_buttons_more_focused" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_4"
			rect -178 22 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_DEFAULT_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_default_alt";
				close "ingamecontrols_buttons_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_5"
			rect -178 42 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_TACTICAL_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_tactical_alt";
				close "ingamecontrols_buttons_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "buttons_6"
			rect -178 62 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LEFTY_ALT"
			visible when ( localvarbool( "ui_buttons_page" ) == 1 )
			action
			{
				play "mouse_click";
				exec "profile_setButtonsConfig buttons_lefty_alt";
				close "ingamecontrols_buttons_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_sensitivity_splitscreen"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			setfocus "sensitivity_medium";
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_sensitivity_splitscreen";
			open "ingame_controls_splitscreen";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 22 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 4
			textalignx 4
			textscale 0.5
			text "@MENU_SENSITIVITY_CAP"
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "menu_button_selection_bar"
			textfont 1
			textalign 10
			textalignx -41
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -178 22 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_LOW"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_low" close "ingamecontrols_sensitivity_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 42 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_MEDIUM"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_med" close "ingamecontrols_sensitivity_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 62 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			text "@MENU_HIGH"
			action
			{
				play "mouse_click";
				exec "exec viewSensitivity_high" close "ingamecontrols_sensitivity_splitscreen";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_sensitivity_splitscreen_custom"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 4.66667
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			setfocus "sensitivity_medium";
			if ( getprofiledata( "viewSensitivity" ) == 0.6 )
			{
				setfocus "sens_1";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1 )
			{
				setfocus "sens_2";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1.4 )
			{
				setfocus "sens_3";
			}
			if ( getprofiledata( "viewSensitivity" ) == 1.8 )
			{
				setfocus "sens_4";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2 )
			{
				setfocus "sens_5";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2.2 )
			{
				setfocus "sens_6";
			}
			if ( getprofiledata( "viewSensitivity" ) == 2.6 )
			{
				setfocus "sens_7";
			}
			if ( getprofiledata( "viewSensitivity" ) == 3 )
			{
				setfocus "sens_8";
			}
			if ( getprofiledata( "viewSensitivity" ) == 3.5 )
			{
				setfocus "sens_9";
			}
			if ( getprofiledata( "viewSensitivity" ) == 4 )
			{
				setfocus "sens_10";
			}
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_sensitivity_splitscreen_custom";
			open "ingamecontrols_sensitivity_splitscreen";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0
			background "mockup_bg_glow"
			textscale 0.55
			exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
			visible when ( !localvarbool( "ui_adjusting_brightness" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_SENSITIVITY_CUSTOM_CAP"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "menu_button_selection_bar"
			textfont 1
			textalign 10
			textalignx -41
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			name "sens_1"
			rect -64 28 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_LOW_N" , 1 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 0.6";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_2"
			rect -64 48 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_MEDIUM_N" , 2 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_3"
			rect -64 68 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 3 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1.4";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_4"
			rect -64 88 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_HIGH_N" , 4 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 1.8";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_5"
			rect -64 108 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 5 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.0";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -64 128 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 6 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.2";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_7"
			rect -64 148 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_VERY_HIGH_N" , 7 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 2.6";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_8"
			rect -64 168 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 8 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 3.0";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_9"
			rect -64 188 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( 9 )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 3.5";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			name "sens_10"
			rect -64 208 336 20 1 1
			style 1
			visible 1
			forecolor 1 1 1 1
			disablecolor 0.6 0.55 0.55 1
			background "menu_button_selection_bar"
			type 1
			textfont 3
			textalign 6
			textalignx -60
			textscale 0.375
			exp text ( locstring( "@MENU_SENSITIVITY_INSANE_N" , 10 ) )
			action
			{
				play "mouse_click";
				exec "profile_setViewSensitivity 4.0";
				close "ingamecontrols_sensitivity_splitscreen_custom";
				open "ingame_controls_splitscreen";
			}
			onFocus
			{
				play "mouse_over";
				setLocalVarBool "ui_menuAButton" ( 1 );
				setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
			}
			leaveFocus
			{
				setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
				setLocalVarBool "ui_menuAButton" ( 0 );
			}
		}
		itemDef
		{
			rect -178 -20 336 24 1 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 6
			textalignx -30
			textscale 0.375
			text "@PLATFORM_BACK_CAPS"
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "ingamecontrols_brightness_splitscreen"
		rect 0 0 640 480 0 0
		legacySplitScreenScale
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		execKey "BUTTON_START"
		{
			close self;
			exec "updategamerprofile";
		}
		onOpen
		{
			execnow "profile_menuDvarsSetup; resetViewport";
			exec "hidehud" setdvar "ui_allow_controlschange" 0;
		}
		onClose
		{
			execnow "profile_menuDvarsFinish; resetViewport";
			exec "showhud";
			setdvar "ui_allow_controlschange" 1;
		}
		onEsc
		{
			close "ingamecontrols_brightness_splitscreen";
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect 0 0 854 75 4 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_top"
			textscale 0.55
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect 0 400 854 75 4 0
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "gradient_bottom"
			textscale 0.55
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect 0 0 272 28 1 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 6
			textalignx -60
			textscale 0.5
			text "@MENU_BRIGHTNESS_CAP"
		}
		itemDef
		{
			rect -64 28 336 20 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			background "menu_button_selection_bar"
			textfont 1
			textalign 10
			textalignx -41
			textscale 0.28
			text "@PLATFORM_UI_SELECTBUTTON"
			exp rect y ( getfocuseditemy( ) )
			exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
			visible when ( !localvarint( "ui_centerPopup" ) )
		}
		itemDef
		{
			rect -88 36 -20 40 2 1
			group "safe_area_demo_lr"
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			rect 68 36 20 40 2 1
			group "safe_area_demo_lr"
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.35
			background "summary_arrow"
			textscale 0.55
		}
		itemDef
		{
			name "slider_r_gamma"
			rect -160 48 320 20 2 1
			visible 1
			forecolor 1 1 1 1
			type 10
			textalign 5
			textscale 0.55
			dvarFloat "profileMenuOption_blacklevel" 0 0.2 -0.4
			action
			{
				execnow "profile_menuDvarsFinish" ;;
				setLocalVarBool "ui_brightness_adjusted" ( 1 );
			}
			onFocus
			{
				play "mouse_over";
				setItemColor "button_r_gamma" backcolor 0 0 0 1;
				setLocalVarString "ui_options_hint_text" ( "@MENU_BRIGHTNESS_DESC1" );
			}
			leaveFocus
			{
				setItemColor "button_r_gamma" backcolor 0 0 0 "0.0";
			}
		}
		itemDef
		{
			rect -160 368 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@PLATFORM_UI_PRESS_TO_CONTINUE"
			visible when ( localvarbool( "ui_brightness_adjusted" ) )
		}
		itemDef
		{
			rect -160 88 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@MENU_BRIGHTNESS_DESC1"
		}
		itemDef
		{
			rect -160 108 320 20 2 1
			group "brightness_demo"
			decoration
			autowrapped
			visible 1
			forecolor 1 1 1 0.65
			textfont 3
			textalign 5
			textscale 0.375
			textstyle 3
			text "@MENU_BRIGHTNESS_DESC2"
			visible when ( dvarbool( "hiDef" ) )
		}
		itemDef
		{
			rect -150 190 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.08 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 250 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.125 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 310 285 60 2 1
			style 1
			decoration
			visible 1
			forecolor 0 0 0 1
			backcolor 0 0 0 1
			textscale 0.55
			exp backcolor rgb ( ( ( ( 0.25 - 0.06 ) ) - dvarfloat( "profileMenuOption_blacklevel" ) ) / ( 1 - dvarfloat( "profileMenuOption_blacklevel" ) ) )
			exp material ( "white" )
		}
		itemDef
		{
			rect -150 190 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_NOT_VISIBLE" )
		}
		itemDef
		{
			rect -150 250 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_BARELY_VISIBLE" )
		}
		itemDef
		{
			rect -150 310 300 60 2 1
			decoration
			visible 1
			forecolor 0 0 0 1
			type 1
			textfont 2
			textalign 9
			textscale 0.5833
			exp text ( "@MENU_BRIGHTNESS_EASILY_VISIBLE" )
		}
		itemDef
		{
			rect -100 0 100 600 1 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 -600 100 600 3 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect -900 -100 900 100 3 1
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 0 0 900 100 1 3
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0.5 0.6 0.8 0.5
			textscale 0.55
			dvarTest "ui_safearea"
			showDvar { 1 }
		}
		itemDef
		{
			rect 390 56 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
		}
		itemDef
		{
			rect 390 72 0 0 0 0
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 1
			textscale 0.375
			visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
			exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
		}
	}
	menuDef
	{
		name "victory_marines"
		rect 0 0 640 480 4 4
		forecolor 1 1 1 1
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "VICTORY!"
			visible when ( team( "name" ) == "TEAM_ALLIES" )
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 0 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "DEFEAT"
			visible when ( team( "name" ) == "TEAM_AXIS" )
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "ALLIES WIN!"
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) + "_blue" )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) + "_red" )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) + "_red" )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) + "_blue" )
		}
		itemDef
		{
			rect -100 30 1 1 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			exp text ( marinesfield( "score" ) )
		}
		itemDef
		{
			rect 100 30 1 1 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			exp text ( opforfield( "score" ) )
		}
	}
	menuDef
	{
		name "victory_opfor"
		rect 0 0 640 480 4 4
		forecolor 1 1 1 1
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "VICTORY!"
			visible when ( team( "name" ) == "TEAM_AXIS" )
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 0 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "DEFEAT"
			visible when ( team( "name" ) == "TEAM_ALLIES" )
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "OPFOR WINS!"
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) + "_blue" )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) + "_red" )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) + "_red" )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) + "_blue" )
		}
		itemDef
		{
			rect -100 30 1 1 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			exp text ( opforfield( "score" ) )
		}
		itemDef
		{
			rect 100 30 1 1 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			exp text ( marinesfield( "score" ) )
		}
	}
	menuDef
	{
		name "victory_none"
		rect 0 0 640 480 4 4
		forecolor 1 1 1 1
		itemDef
		{
			rect 320 120 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 0 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			text "DRAW"
		}
		itemDef
		{
			rect 320 130 0 0 4 4
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 0 0 0 1
			textfont 6
			textalign 1
			textscale 0.4
			textstyle 6
			exp text ( "@" + dvarstring( "ui_text_endreason" ) )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) + "_blue" )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) )
		}
		itemDef
		{
			rect -130 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp material ( dvarstring( "g_TeamIcon_Allies" ) + "_blue" )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_ALLIES" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) + "_red" )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_SPECTATOR" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) )
		}
		itemDef
		{
			rect 70 -90 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( team( "name" ) == "TEAM_AXIS" )
			exp material ( dvarstring( "g_TeamIcon_Axis" ) + "_red" )
		}
		itemDef
		{
			rect -100 30 1 1 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			exp text ( marinesfield( "score" ) )
		}
		itemDef
		{
			rect 100 30 1 1 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 1
			textscale 1
			textstyle 6
			exp text ( opforfield( "score" ) )
		}
	}
	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 "perk_display"
		rect 0 0 640 1 1 0
		forecolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_show_perks" ( milliseconds( ) );
			close self;
		}
	}
	menuDef
	{
		name "perk_hide"
		rect 0 0 640 1 1 0
		forecolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_show_perks" ( 0 );
			close self;
		}
	}
	menuDef
	{
		name "killedby_card_display"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_show_killedBy" ( milliseconds( ) );
			setLocalVarInt "ui_show_youKilled" ( 0 );
			if ( getperk( "perk4" ) == "specialty_copycat" )
			{
				setLocalVarInt "ui_show_copyCat" ( 1 );
			}
			else
			{
				setLocalVarInt "ui_show_copyCat" ( 0 );
			}
			close self;
		}
	}
	menuDef
	{
		name "youkilled_card_display"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		onOpen
		{
			setLocalVarInt "ui_show_youKilled" ( milliseconds( ) );
			close self;
		}
	}
	menuDef
	{
		name "endgameupdate"
		rect 0 0 640 4 4 0
		popup
		forecolor 1 1 1 1
		onOpen
		{
		}
		onRequestClose
		{
			lerp "alpha" "from" 1 "to" 0 "over" "0.5";
		}
		itemDef
		{
			rect -250 0 500 480 2 4
			style 3
			decoration
			visible 1
			forecolor 0 0 0 1
			background "line_horizontal_scorebar"
			textscale 0.55
			visible when ( 1 )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 5
			textscale 0.48611
			text "@RANK_PROMOTED"
			visible when ( dvarbool( "ui_promotion" ) )
		}
		itemDef
		{
			rect 0 20 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			visible when ( dvarbool( "ui_promotion" ) )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			rect -24 50 48 48 2 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( dvarbool( "ui_promotion" ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 0 130 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 5
			textscale 0.48611
			text "@MP_CHALLENGE_COMPLETED"
			exp rect y ( dvarbool( "ui_promotion" ) * 120 )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && dvarstring( "ui_challenge_2_ref" ) == "" )
		}
		itemDef
		{
			rect 0 130 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 5
			textscale 0.48611
			text "@MP_CHALLENGES_COMPLETED"
			exp rect y ( dvarbool( "ui_promotion" ) * 120 )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && dvarstring( "ui_challenge_2_ref" ) != "" )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 50 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_1_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 50 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_1_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 50 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 100 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_2_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 100 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_2_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 100 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 150 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_3_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 150 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_3_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 150 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 200 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_4_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 200 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_4_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 200 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 250 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_5_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 250 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_5_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 250 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 300 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && !dvarbool( "ui_promotion" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_6_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 300 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_6_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 300 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) == "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.48611
			exp rect y ( ( 350 ) + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_7_ref" ) != "" && !dvarbool( "ui_promotion" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_7_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 350 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_7_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_7_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 2 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 5
			textscale 0.375
			exp rect y ( ( 350 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
			visible when ( dvarstring( "ui_challenge_7_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 3 ) == "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
			exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 2 ) )
		}
	}
	menuDef
	{
		name "endgameupdate_splitscreen"
		rect 0 0 640 4 4 0
		popup
		legacySplitScreenScale
		forecolor 1 1 1 1
		onRequestClose
		{
			lerp "alpha" "from" 1 "to" 0 "over" "0.5";
		}
		itemDef
		{
			rect -250 0 500 480 9 4
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.65
			background "line_horizontal_scorebar"
			textscale 0.55
		}
		itemDef
		{
			rect 0 10 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 5
			textscale 0.4
			textstyle 3
			text "@RANK_PROMOTED"
			visible when ( dvarbool( "ui_promotion" ) )
		}
		itemDef
		{
			rect 0 30 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			visible when ( dvarbool( "ui_promotion" ) )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			rect -24 47.5 48 48 9 1
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( dvarbool( "ui_promotion" ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 5
			textscale 0.4
			textstyle 3
			text "@MP_CHALLENGE_COMPLETED"
			exp rect y ( 30 + ( dvarbool( "ui_promotion" ) * 65 ) )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && dvarstring( "ui_challenge_2_ref" ) == "" )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 6
			textalign 5
			textscale 0.4
			textstyle 3
			text "@MP_CHALLENGES_COMPLETED"
			exp rect y ( 30 + ( dvarbool( "ui_promotion" ) * 65 ) )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && dvarstring( "ui_challenge_2_ref" ) != "" )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			exp rect y ( ( 50 ) + dvarbool( "ui_promotion" ) * 65 )
			visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_1_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			exp rect y ( ( 70 ) + dvarbool( "ui_promotion" ) * 65 )
			visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_2_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			exp rect y ( ( 90 ) + dvarbool( "ui_promotion" ) * 65 )
			visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_3_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			exp rect y ( ( 110 ) + dvarbool( "ui_promotion" ) * 65 )
			visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && 1 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_4_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			exp rect y ( ( 130 ) + dvarbool( "ui_promotion" ) * 65 )
			visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && !dvarbool( "ui_promotion" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_5_ref" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			rect 0 0 0 0 9 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			textfont 6
			textalign 5
			textscale 0.375
			textstyle 3
			exp rect y ( ( 150 ) + dvarbool( "ui_promotion" ) * 65 )
			visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && !dvarbool( "ui_promotion" ) )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_6_ref" ) ) , 1 ) ) - 1 ) ) )
		}
	}
	menuDef
	{
		name "splash"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
		onOpen
		{
			lerp "scale" "from" "10" "to" 1 "over" "0.15";
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
			setLocalVarInt "defcon_update_time" ( milliseconds( ) + 1000 );
			close "challenge";
			close "defcon";
			close "killstreak_pickup";
			close "killstreak";
			close "perk_challenge";
			close "promotion";
		}
		onRequestClose
		{
			lerp "scale" "from" 1 "to" "10" "over" "0.15";
			lerp "alpha" "from" 1 "to" 0 "over" "0.15";
		}
		itemDef
		{
			name "splash_title"
			rect 0 -110 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 4
			textalign 1
			textscale 0.48611
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "splash_description"
			rect 0 -90 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textalign 1
			textscale 0.375
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 0 ) )
		}
		itemDef
		{
			name "splash_icon"
			rect -24 -180 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && splashhasicon( 0 ) )
			exp material ( getsplashmaterial( 0 ) )
		}
		itemDef
		{
			name "splash_title_ss"
			rect 0 -135 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 4
			textalign 1
			textscale 0.729165
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "splash_icon_ss"
			rect -36 -135 72 72 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && splashhasicon( 0 ) )
			exp material ( getsplashmaterial( 0 ) )
		}
	}
	menuDef
	{
		name "playercard_splash"
		rect 0 0 640 1 1 0
		decoration
		legacySplitScreenScale
		forecolor 1 1 1 1
		onOpen
		{
			if ( !dvarbool( "ui_hide_playercards" ) )
			{
				play "mp_card_slide";
				setLocalVarInt "callout_update_time" ( milliseconds( ) + 1500 );
				lerp x "from" "600" "to" 0 "over" "0.15";
			}
		}
		onRequestClose
		{
			if ( !dvarbool( "ui_hide_playercards" ) )
			{
				lerp x "from" 0 "to" "600" "over" "0.15";
			}
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( 0 - 212 ) )
			exp rect y ( ( 28 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
		}
		itemDef
		{
			rect 0 0 208 48 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x48"
			textfont 6
			textalign 4
			textaligny -20
			textscale 0.375
			textstyle 7
			exp rect x ( ( 0 - 212 ) )
			exp rect y ( ( 28 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
		}
		itemDef
		{
			rect 0 0 160 32 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.375
			textstyle 8
			exp rect x ( 0 - 212 )
			exp rect y ( 28 - 2 )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 5 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 0.6 0.8 0.6 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( 0 - 212 )
			exp rect y ( ( 28 ) + 28 )
			visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 6 , 0 , 5 ) && getplayercardinfo( 6 , 0 , 5 ) == ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getplayercardinfo( 8 , 0 , 5 ) )
		}
		itemDef
		{
			rect 0 0 160 18 10 8
			decoration
			visible 1
			forecolor 0.8 0.35 0.4 1
			textfont 10
			textalign 4
			textalignx 8
			textscale 0.3333
			textstyle 8
			exp rect x ( 0 - 212 )
			exp rect y ( ( 28 ) + 28 )
			visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( !getplayercardinfo( 6 , 0 , 5 ) || getplayercardinfo( 6 , 0 , 5 ) != ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getplayercardinfo( 8 , 0 , 5 ) )
		}
		itemDef
		{
			rect 0 0 48 48 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - 212 ) + 160 )
			exp rect y ( ( 28 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 0 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 208 20 10 8
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( 0 - 212 ) )
			exp rect y ( ( 28 ) + 48 )
			exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) * 0.25 )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
		}
		itemDef
		{
			rect 0 0 208 20 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			background "cardtitle_248x20"
			textscale 0.55
			exp rect x ( ( 0 - 212 ) )
			exp rect y ( ( 28 ) + 48 )
			exp backcolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) * 0.65 )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
		}
		itemDef
		{
			rect 0 0 208 20 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 8
			textalignx 8
			textscale 0.375
			textstyle 7
			exp rect x ( ( 0 - 212 ) )
			exp rect y ( ( 28 ) + 48 )
			exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) && getplayercardinfo( 9 , 0 , 5 ) != "" )
			exp text ( "[" + getplayercardinfo( 9 , 0 , 5 ) + "]" )
		}
		itemDef
		{
			rect 0 0 20 20 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - 212 ) + 164 )
			exp rect y ( ( 28 ) + 48 )
			exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
			exp backcolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 4 , 0 , 5 ) >= 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 0 , 5 ) , ( getplayercardinfo( 5 , 0 , 5 ) + 1 ) ) )
		}
		itemDef
		{
			rect 0 0 20 20 10 8
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 3
			textalign 9
			textalignx 20
			textscale 0.375
			textstyle 7
			exp rect x ( ( 0 - 212 ) + 164 )
			exp rect y ( ( 28 ) + 48 )
			exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 4 , 0 , 5 ) >= 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 0 , 5 ) , 14 ) )
		}
		itemDef
		{
			rect 0 0 208 20 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 1 0.8 0.6 1
			textfont 6
			textalign 4
			textalignx 8
			textscale 0.375
			textstyle 8
			exp rect x ( ( 0 - 212 ) + ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) * 500 ) )
			exp rect y ( ( 28 ) + 47 )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 1 ) )
		}
		itemDef
		{
			rect 0 0 138.667 32 10 8
			style 3
			decoration
			visible 1
			forecolor 0 0 0 0.25
			background "white"
			textscale 0.55
			exp rect x ( ( 0 - ( 208 / 1.5 ) ) )
			exp rect y ( ( 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
		}
		itemDef
		{
			rect 0 0 138.667 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardtitle_208x48"
			textscale 0.55
			exp rect x ( ( 0 - ( 208 / 1.5 ) ) )
			exp rect y ( ( 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) && ( dvarbool( "hiDef" ) ) )
		}
		itemDef
		{
			rect 0 0 138.667 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			background "cardtitle_140x32"
			textscale 0.55
			exp rect x ( ( 0 - ( 208 / 1.5 ) ) )
			exp rect y ( ( 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "hiDef" ) ) ) )
		}
		itemDef
		{
			rect 0 0 106.667 21.3333 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			backcolor 1 1 1 1
			textfont 3
			textalign 9
			textscale 0.31875
			textstyle 8
			exp rect x ( 0 - ( 208 / 1.5 ) )
			exp rect y ( 0 - ( 2 / 1.5 ) )
			exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 3 ) )
			exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 4 ) )
			exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 5 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
			exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 1 ) )
			exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 2 ) )
		}
		itemDef
		{
			rect 0 0 106.667 12 10 8
			decoration
			visible 1
			forecolor 0.6 0.8 0.6 1
			textfont 10
			textalign 4
			textalignx 5.33333
			textscale 0.2222
			textstyle 8
			exp rect x ( 0 - ( 208 / 1.5 ) )
			exp rect y ( ( 0 ) + ( 28 / 1.5 ) )
			visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 6 , 0 , 5 ) && getplayercardinfo( 6 , 0 , 5 ) == ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( dvarbool( "splitscreen" ) ) )
			exp text ( getplayercardinfo( 8 , 0 , 5 ) )
		}
		itemDef
		{
			rect 0 0 106.667 12 10 8
			decoration
			visible 1
			forecolor 0.8 0.35 0.4 1
			textfont 10
			textalign 4
			textalignx 5.33333
			textscale 0.2222
			textstyle 8
			exp rect x ( 0 - ( 208 / 1.5 ) )
			exp rect y ( ( 0 ) + ( 28 / 1.5 ) )
			visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( !getplayercardinfo( 6 , 0 , 5 ) || getplayercardinfo( 6 , 0 , 5 ) != ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( dvarbool( "splitscreen" ) ) )
			exp text ( getplayercardinfo( 8 , 0 , 5 ) )
		}
		itemDef
		{
			rect 0 0 32 32 10 8
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - ( 208 / 1.5 ) ) + ( 160 / 1.5 ) )
			exp rect y ( ( 0 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
			exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 0 , 5 ) , 1 ) )
		}
		itemDef
		{
			rect 0 0 138.667 13.3333 10 8
			style 1
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 1 0.8 0.6 1
			textfont 6
			textalign 4
			textalignx 5.33333
			textscale 0.25
			textstyle 8
			exp rect x ( ( 0 - ( 208 / 1.5 ) ) + ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / ( 150 / 1.5 ) ) , 1 ) , 0 ) * 500 ) )
			exp rect y ( ( 0 ) + ( 47 / 1.5 ) )
			visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
			exp text ( getsplashdescription( 1 ) )
		}
	}
	menuDef
	{
		name "defcon"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		onOpen
		{
			lerp "scale" "from" "10" "to" 1 "over" "0.15";
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
			setLocalVarInt "defcon_update_time" ( milliseconds( ) + 1000 );
			setLocalVarString "ui_defcon_splashMaterial" ( getsplashmaterial( 0 ) );
			close "splash";
			close "challenge";
			close "killstreak_pickup";
			close "killstreak";
			close "perk_challenge";
		}
		onRequestClose
		{
			lerp "scale" "from" 1 "to" "10" "over" "0.15";
			lerp "alpha" "from" 1 "to" 0 "over" "0.15";
		}
		itemDef
		{
			name "defcon_title"
			rect 0 -134 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 1
			textscale 0.5833
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "defcon_description"
			rect 0 -90 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textalign 1
			textscale 0.375
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 0 ) )
		}
		itemDef
		{
			name "defcon_icon"
			rect -62.5 -130 125 14 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp material ( localvarstring( "ui_defcon_splashMaterial" ) )
		}
	}
	menuDef
	{
		name "killstreak"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
		onOpen
		{
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
			lerp x "from" - "640" "to" 0 "over" "0.15";
			setLocalVarString "tempName" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
			setLocalVarString "ui_ksHint" ( localvarstring( "tempName" ) );
			close "splash";
			close "challenge";
			close "defcon";
			close "killstreak_pickup";
			close "perk_challenge";
			close "promotion";
		}
		onRequestClose
		{
			lerp x "from" 0 "to" "640" "over" "0.15";
			lerp "alpha" "from" 1 "to" 0 "over" "0.15";
		}
		itemDef
		{
			name "killstreak_title"
			rect 0 -110 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 1
			textscale 0.5833
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "killstreak_description"
			rect 0 -90 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textalign 1
			textscale 0.375
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 0 ) )
		}
		itemDef
		{
			name "killstreak_icon"
			rect -24 -190 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "tempName" ) , 14 ) )
		}
		itemDef
		{
			name "killstreak_title_ss"
			rect 0 -135 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 1
			textscale 0.87495
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "killstreak_icon_ss"
			rect -20 -135 40 40 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "tempName" ) , 14 ) )
		}
	}
	menuDef
	{
		name "killstreak_hint"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		onOpen
		{
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
		}
		onRequestClose
		{
			lerp x "from" 0 "to" "400" "over" "1.0";
			lerp y "from" 0 "to" "400" "over" "1.0";
			lerp "alpha" "from" 1 "to" 0 "over" "1.0";
		}
		itemDef
		{
			name "killstreak_icon"
			rect -24 -190 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect y ( - 190 + ( ( dvarbool( "camera_thirdPerson" ) ) * 40 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) && !ui_active( ) )
			exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_ksHint" ) , 16 ) )
		}
	}
	menuDef
	{
		name "killstreak_pickup"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
		onOpen
		{
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
			lerp y "from" "480" "to" 0 "over" "0.15";
			setLocalVarString "tempName" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
			close "splash";
			close "challenge";
			close "defcon";
			close "killstreak";
			close "perk_challenge";
			close "promotion";
		}
		onRequestClose
		{
			lerp y "from" 0 "to" - "480" "over" "0.15";
			lerp "alpha" "from" 1 "to" 0 "over" "0.15";
		}
		itemDef
		{
			name "killstreak_title"
			rect 0 -110 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 1
			textscale 0.5833
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "killstreak_description"
			rect 0 -90 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textalign 1
			textscale 0.375
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 0 ) )
		}
		itemDef
		{
			name "killstreak_icon"
			rect -24 -190 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
			exp material ( getsplashmaterial( 0 ) )
		}
		itemDef
		{
			name "killstreak_title_ss"
			rect 0 -135 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			textfont 9
			textalign 1
			textscale 0.87495
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) )
			exp text ( getsplashtext( 0 ) )
		}
		itemDef
		{
			name "killstreak_icon_ss"
			rect -30 -135 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
			exp material ( getsplashmaterial( 0 ) )
		}
	}
	menuDef
	{
		name "challenge"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
		onOpen
		{
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
			close "splash";
			close "defcon";
			close "killstreak_pickup";
			close "killstreak";
			close "perk_challenge";
			close "promotion";
			setLocalVarString "splashRef" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
			if ( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) == "" )
			{
				setLocalVarString "splashRef" ( "" );
				close self;
			}
		}
		onRequestClose
		{
			if ( localvarstring( "splashRef" ) != "" )
			{
				lerp "alpha" "from" 1 "to" 0 "over" "0.15";
			}
		}
		itemDef
		{
			name "challenge_title_tiered"
			rect 0 -110 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			decodeEffect 16777216
			textfont 6
			textalign 1
			textscale 0.7
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			name "challenge_description"
			rect 0 -90 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			decodeEffect 16777216
			textalign 1
			textscale 0.375
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 0 ) )
		}
		itemDef
		{
			name "challenge_title_tiered_ss"
			rect 0 -135 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			decodeEffect 16777216
			textfont 6
			textalign 1
			textscale 0.729165
			textstyle 3
			exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
			exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
			exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
			exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
		}
	}
	menuDef
	{
		name "perk_challenge"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
		onOpen
		{
			lerp "alpha" "from" 0 "to" 1 "over" "0.2";
			lerp "scale" "from" 0 "to" 1 "over" "0.2";
			lerp y "from" - "100" "to" 0 "over" "0.2";
			close "splash";
			close "challenge";
			close "defcon";
			close "killstreak_pickup";
			close "killstreak";
			close "promotion";
			setLocalVarString "splashRef" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
			setLocalVarString "challengeRef" ( tablelookup( "mp/unlockTable.csv" , 3 , localvarstring( "splashRef" ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) , 0 ) );
			if ( localvarstring( "challengeRef" ) != "" )
			{
				setLocalVarString "perkRef" ( tablelookup( "mp/perkTable.csv" , 8 , localvarstring( "challengeRef" ) , 1 ) );
				setLocalVarString "perkUpgradeRef" ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkRef" ) , 8 ) );
			}
			else
			{
				setLocalVarString "perkRef" ( "" );
				setLocalVarString "perkUpgradeRef" ( "" );
			}
			setLocalVarInt "challenge_update_time" ( milliseconds( ) );
		}
		onRequestClose
		{
			lerp "alpha" "from" 1 "to" 0 "over" "0.15";
		}
		itemDef
		{
			name "challenge_title_tiered"
			rect 0 -110 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.75 0.35 0 1
			textfont 6
			textalign 1
			textscale 0.7
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			name "challenge_description"
			rect 0 -90 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			decodeEffect 16777216
			textalign 1
			textscale 0.375
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( getsplashdescription( 0 ) )
		}
		itemDef
		{
			name "challenge_icon"
			rect 40 -190 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - 24 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 128 ) )
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkUpgradeRef" ) , 3 ) )
		}
		itemDef
		{
			rect -24 -190 16 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "summary_arrow"
			textscale 0.55
			exp rect x ( ( 0 - 8 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 48 ) )
			exp forecolor a ( 0.35 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
		}
		itemDef
		{
			rect -8 -190 16 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.2
			background "summary_arrow"
			textscale 0.55
			exp rect x ( ( 0 - 8 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 64 ) )
			exp forecolor a ( 0.45 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
		}
		itemDef
		{
			rect 8 -190 16 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "summary_arrow"
			textscale 0.55
			exp rect x ( ( 0 - 8 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 80 ) )
			exp forecolor a ( 0.55 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
		}
		itemDef
		{
			name "challenge_icon"
			rect -40 -190 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( 0 - 24 ) - ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 250 ) / 150 , 0 ) , 1 ) * 64 ) )
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkRef" ) , 3 ) )
		}
		itemDef
		{
			name "challenge_title_tiered_ss"
			rect 0 -135 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.75 0.35 0 1
			textfont 6
			textalign 1
			textscale 0.729165
			textstyle 3
			visible when ( ( dvarbool( "splitscreen" ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
			exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
		}
		itemDef
		{
			name "challenge_icon_ss"
			rect 0 -135 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - 20 - 56 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 112 * 1.5 ) ) )
			exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkUpgradeRef" ) , 3 ) )
		}
		itemDef
		{
			rect 0 -135 16.5 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.15
			background "summary_arrow"
			textscale 0.55
			exp rect x ( ( ( 0 - 6 - 64 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 48 * 1.5 ) ) )
			exp forecolor a ( 0.35 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
		}
		itemDef
		{
			rect 0 -135 16.5 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.2
			background "summary_arrow"
			textscale 0.55
			exp rect x ( ( ( 0 - 6 - 64 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 64 * 1.5 ) ) )
			exp forecolor a ( 0.45 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
		}
		itemDef
		{
			rect 0 -135 16.5 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 0.25
			background "summary_arrow"
			textscale 0.55
			exp rect x ( ( ( 0 - 6 - 64 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 80 * 1.5 ) ) )
			exp forecolor a ( 0.55 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
		}
		itemDef
		{
			name "challenge_icon_ss"
			rect 0 -135 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			exp rect x ( ( ( 0 - 20 ) * 1.5 ) - ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 250 ) / 150 , 0 ) , 1 ) * ( 56 * 1.5 ) ) )
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
			exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkRef" ) , 3 ) )
		}
	}
	menuDef
	{
		name "promotion"
		rect 0 0 640 1 1 0
		decoration
		forecolor 1 1 1 1
		exp rect y ( ( ( dvarbool( "camera_thirdPerson" ) ) || ( ! ( inkillcam( ) ) ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
		onOpen
		{
			lerp "alpha" "from" 0 "to" 1 "over" "0.15";
			close "splash";
			close "challenge";
			close "defcon";
			close "killstreak_pickup";
			close "killstreak";
			close "perk_challenge";
		}
		onRequestClose
		{
			lerp "alpha" "from" 1 "to" 0 "over" "0.15";
		}
		itemDef
		{
			name "promotion_text"
			rect 0 -120 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			decodeEffect 16777216
			textfont 6
			textalign 1
			textscale 0.6
			textstyle 3
			text "@RANK_PROMOTED"
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
		}
		itemDef
		{
			name "promotion_rank_text"
			rect 0 -100 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			decodeEffect 16777216
			textfont 6
			textalign 1
			textscale 0.48611
			textstyle 3
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			name "promotion_rank_icon"
			rect -24 -100 48 48 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
		itemDef
		{
			name "promotion_rank_text_ss"
			rect 0 -135 0 0 2 2
			decoration
			visible 1
			forecolor 1 1 1 1
			glowColor 0.25 0.75 0.25 1
			decodeEffect 16777216
			textfont 6
			textalign 1
			textscale 0.729165
			textstyle 3
			visible when ( ( dvarbool( "splitscreen" ) ) )
			exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
		}
		itemDef
		{
			name "promotion_rank_icon_ss"
			rect -30 -135 60 60 2 2
			style 3
			decoration
			visible 1
			forecolor 1 1 1 1
			textscale 0.55
			visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) )
			exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
		}
	}
	menuDef
	{
		name "ingame_migration"
		rect 0 0 640 480 0 0
		forecolor 1 1 1 1
		focuscolor 1 1 1 1
		blurWorld 3
		onOpen
		{
			setdvar "ui_SaveLoadVisible" 0;
			setLocalVarInt "migration_time_start" ( milliseconds( ) );
			setLocalVarBool "ishost" ( 0 );
			focusfirst;
		}
		onClose
		{
		}
		onEsc
		{
		}
		itemDef
		{
			rect 0 0 640 480 4 4
			style 3
			decoration
			visible 1
			background "white"
			textscale 0.55
		}
		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_HOST_MIGRATION"
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.25 && !localvarbool( "ishost" ) )
			exp text ( getmigrationstatus( ) + "   " )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 && !localvarbool( "ishost" ) )
			exp text ( getmigrationstatus( ) + ".  " )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 && !localvarbool( "ishost" ) )
			exp text ( getmigrationstatus( ) + ".. " )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 && !localvarbool( "ishost" ) )
			exp text ( getmigrationstatus( ) + "..." )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.25 && localvarbool( "ishost" ) )
			exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 && localvarbool( "ishost" ) )
			exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 && localvarbool( "ishost" ) )
			exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
		}
		itemDef
		{
			rect -100 20 200 0 2 1
			decoration
			visible 1
			forecolor 1 0.8 0.4 1
			textfont 3
			textalign 1
			textaligny 38
			textscale 0.375
			visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 && localvarbool( "ishost" ) )
			exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
		}
		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" ) ) )
		}
	}
}