<?xml version="1.0" encoding="utf-8"?>

<!-- *********************************************************************** -->
<!-- * Provides callbacks for ActionScript to setup and launch a skirmish  * -->
<!-- * game.											                   * -->
<!-- *********************************************************************** -->

<UIComponentLobby xmlns="uri:ea.com:eala:asset" xmlns:xi="http://www.w3.org/2001/XInclude"
	Priority="490">
	
	<!-- Used for random AI personality option -->
	<RandomStringLabel>GUI:Random</RandomStringLabel>
	
	<!-- These need to match labels used in the Flash/ActionScript files -->
	<FactionLabelSpec>APT:LobbyPlayer%dFaction_%d</FactionLabelSpec>
	<AIPersonalityLabelSpec>APT:LobbyPlayer%dAIPersonality_%d</AIPersonalityLabelSpec>
	<AIDifficultyLabelSpec>APT:LobbyAIDifficulty_%d</AIDifficultyLabelSpec>
	<AIHandicapLabelSpec>APT:LobbyAIHandicap_%d</AIHandicapLabelSpec>
	<TeamLabelSpec>APT:LobbyTeam_%d</TeamLabelSpec>
	<MapListSpec>APT:MapList_%d</MapListSpec>
	<GameplayTypeSpec>APT:GameplayType_%d</GameplayTypeSpec>
	<GameTimeLimitSpec>APT:GameTimeLimit_%d</GameTimeLimitSpec>
	<GameResourcesSpec>APT:GameResources_%d</GameResourcesSpec>
	<HillTimeSpec>APT:HillTime_%d</HillTimeSpec>
	<CapturePointsSpec>APT:CapturePoints_%d</CapturePointsSpec>
	<BarrierTimeSpec>APT:BarrierTime_%d</BarrierTimeSpec>
	<CaptureFlagsSpec>APT:CaptureFlag_%d</CaptureFlagsSpec>

    <!-- Metagame specific labels... -->
    <TiberiumInfestationSpec>APT:TiberiumInfestation_%d</TiberiumInfestationSpec>
    <OpsPointsSpec>APT:OpsPoints_%d</OpsPointsSpec>
    <TiberiumSupplySpec>APT:TiberiumSupply_%d</TiberiumSupplySpec>
    <CoreObjectivesSpec>APT:CoreObjectives_%d</CoreObjectivesSpec>
    
    

	<!-- Define which factions are available in MP & Skirmish lobbies -->
	<!-- 
	     These must correspond to factions in PlayerTempate.ini 
	     Once PlayerTemplate.ini is converted to XML we'll make these asset references,
		 so the data build will tell you if you screw up a faction name.
	-->
	<FactionValue>FactionRandom</FactionValue>
	<FactionValue>FactionGDI</FactionValue>
	<FactionValue>FactionSteelTalons</FactionValue>
	<FactionValue>FactionZOCOM</FactionValue>
	<FactionValue>FactionNOD</FactionValue>
	<FactionValue>FactionBlackHand</FactionValue>
	<FactionValue>FactionMarkedOfKane</FactionValue>
	<FactionValue>FactionAlien</FactionValue>
	<FactionValue>FactionReaper17</FactionValue>
	<FactionValue>FactionTraveler59</FactionValue>
	
	<!-- Define the different AI difficulties -->
	<AIDifficulty Label="GUI:EasyAI"    Value="EASY"/>
	<AIDifficulty Label="GUI:MediumAI"	Value="MEDIUM"/>
	<AIDifficulty Label="GUI:HardAI"    Value="HARD"/>
	<AIDifficulty Label="GUI:BrutalAI"  Value="BRUTAL"/>

    <!-- Define handicap levels for AI -->
	<AIHandicap Label="GUI:Handicap0"    Value="0" Default="true" />
	<AIHandicap Label="GUI:Handicap5"    Value="5" />
	<AIHandicap Label="GUI:Handicap10"    Value="10" />
	<AIHandicap Label="GUI:Handicap15"    Value="15" />
	<AIHandicap Label="GUI:Handicap20"    Value="20" />
	<AIHandicap Label="GUI:Handicap25"    Value="25" />
	<AIHandicap Label="GUI:Handicap30"    Value="30" />
	<AIHandicap Label="GUI:Handicap35"    Value="35" />
	<AIHandicap Label="GUI:Handicap40"    Value="40" />
	<AIHandicap Label="GUI:Handicap45"    Value="45" />
	<AIHandicap Label="GUI:Handicap50"    Value="50" />
	<AIHandicap Label="GUI:Handicap55"    Value="55" />
	<AIHandicap Label="GUI:Handicap60"    Value="60" />
	<AIHandicap Label="GUI:Handicap65"    Value="65" />
	<AIHandicap Label="GUI:Handicap70"    Value="70" />
	<AIHandicap Label="GUI:Handicap75"    Value="75" />
	<AIHandicap Label="GUI:Handicap80"    Value="80" />
	<AIHandicap Label="GUI:Handicap85"    Value="85" />
	<AIHandicap Label="GUI:Handicap90"    Value="90" />
	<AIHandicap Label="GUI:Handicap95"    Value="95" />
	
	<!-- Define the different options for the team setting -->
	<Team Label="Team:0" Value="-1"/> <!-- no team selected -->
	<Team Label="Team:1" Value="0"/>
	<Team Label="Team:2" Value="1"/>
	<Team Label="Team:3" Value="2"/>
	<Team Label="Team:4" Value="3"/>
	
	<!-- Import the different game types available in the MP/Skirmish lobbies -->
	<xi:include
		href="DATA:Shell/MultiplayerCommonUIData.xml"
		xpointer="xmlns(n=uri:ea.com:eala:asset) xpointer(/n:MultiplayerCommonUIData/child::*)" />

	<!-- Define the different options for the game time setting -->
	<GameTime Label="GUI:10Minutes"	Value="600"/>
	<GameTime Label="GUI:20Minutes"	Value="1200"/>
	<GameTime Label="GUI:30Minutes"	Value="1800"/>
	<GameTime Label="GUI:Unlimited"	Value="0" Default="true"/>

	<!-- Define the different options for the game starting resources setting -->
	<GameResources Value="10000" Default="true"/>
	<GameResources Value="15000"/>
	<GameResources Value="20000"/>
	<GameResources Value="30000"/>
	<GameResources Value="40000"/>

	<!-- Define the different options for the time with hill setting -->
	<HillTime Label="GUI:5Minutes" Value="300" Default="true"/>
	<HillTime Label="GUI:10Minutes" Value="600" MinGameTimeValue="1200"/>
	<HillTime Label="GUI:20Minutes" Value="1200" MinGameTimeValue="1800"/>
	<HillTime Label="GUI:30Minutes" Value="1800" MinGameTimeValue="3000"/>

	<!-- Define the different options for the barrier timer setting -->
	<BarrierTime Label="GUI:3Minutes" Value="180" Default="true"/>
	<BarrierTime Label="GUI:5Minutes" Value="300"/>
	<BarrierTime Label="GUI:10Minutes" Value="600"/>
	<BarrierTime Label="GUI:15Minutes" Value="900"/>

	<!-- Define the different options for the capture points setting -->
	<CapturePoints Value="15000" Default="true"/>
	<CapturePoints Value="20000"/>
	<CapturePoints Value="30000"/>
	<CapturePoints Value="40000"/>

	<!-- Define the different options for the capture flags setting -->
	<CaptureFlags Value="1"/>
	<CaptureFlags Value="3" Default="true"/>
	<CaptureFlags Value="5"/>
	<CaptureFlags Value="10"/>

    <!-- Meta Game: tiberium infestation -->
	<TiberiumInfestation Label="GUI:LowInfestation" 	Value="LOW" />
	<TiberiumInfestation Label="GUI:MediumInfestation" 	Value="MEDIUM"  Default="true"/>
	<TiberiumInfestation Label="GUI:HeavyInfestation" 	Value="HEAVY" />  
	<TiberiumInfestation Label="GUI:BrutalInfestation" 	Value="BRUTAL" />  

	<OpsPoints Value="80" />
	<OpsPoints Value="100" />
	<OpsPoints Value="120" />
	<OpsPoints Value="140" Default="true" />
	
	<TiberiumSupply Value="800" />
	<TiberiumSupply Value="1000" />
	<TiberiumSupply Value="1200" />
	<TiberiumSupply Value="1400" Default="true" />

	<CoreObjectives Value="1" Default="true" />
	<CoreObjectives Value="2" />
	<CoreObjectives Value="3" />
	<CoreObjectives Value="4" />
	

	<!-- Define MP-specific data -->
	<MultiplayerLobbySettings>
		<LobbyTitleLabelSpec>APT:ST_LIVE_MULTIPLAYER_LOBBY</LobbyTitleLabelSpec>
		<UnmoderatedLobbyTitleTemplateSpec>APT:ST_XBOXLIVE_MULTIPLAYER_LOBBY</UnmoderatedLobbyTitleTemplateSpec>
		<ModeratedLobbyTitleTemplateSpec>APT:ST_MULTIPLAYER_LOBBY_MODERATOR</ModeratedLobbyTitleTemplateSpec>
		<PlayerNameLabelSpec>APT:LobbyPlayerName_%d</PlayerNameLabelSpec>
		<SlotLabelSpec>APT:LobbyPlayerSlotState_%d</SlotLabelSpec>

		<!-- Define the different slot states that can be chosen -->
		<SlotState Label="GUI:Open" 	Value="OPEN"	AvailableInRanked="true"	AvailableInModerated="false"/>
		<SlotState Label="GUI:Closed" 	Value="CLOSED"	AvailableInRanked="true"	AvailableInModerated="true"/>
		<SlotState Label="GUI:Private" 	Value="PRIVATE"	AvailableInRanked="false"	AvailableInModerated="true"/>
		<SlotState Label="GUI:AI" 		Value="AI"		AvailableInRanked="false"	AvailableInModerated="false"/>
	</MultiplayerLobbySettings>
	
	<!-- Define Skirmish-specific data -->
	<SkirmishLobbySettings>
		<LoadMusic>TEMP_RAM_Music360_LoadScreen</LoadMusic>
		<SlotLabelSpec>APT:LobbyPlayerSlotState_%d</SlotLabelSpec>

		<!-- Define the different slot states that can be chosen -->
		<SlotState Label="GUI:Closed" 	Value="CLOSED"	/>
		<SlotState Label="GUI:AI" 	  	Value="AI"		/>
	</SkirmishLobbySettings>

	<!-- Define Metagame-specific data -->
	<MetaGameLobbySettings>
		<LoadMusic>TEMP_RAM_Music360_LoadScreen</LoadMusic>
		<SlotLabelSpec>APT:LobbyPlayerSlotState_%d</SlotLabelSpec>

		<!-- Define the different slot states that can be chosen -->
		<SlotState Label="GUI:Open" 	Value="OPEN"	/>
		<SlotState Label="GUI:AI"       Value="AI"		/>
		<SlotState Label="GUI:Player" 	Value="PLAYER"	/>
	</MetaGameLobbySettings>

</UIComponentLobby>