<?xml version="1.0" encoding="utf-8" ?> 
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Tags></Tags>
	<Includes></Includes>

	<!-- CM 2-3: Capture Giraud - AI States -->

	<!-- General -->

	<AIStrategicStateDefinition
		id="CM_2_3_GDIUnitCap_Easy"
		UnitBuilderSimpleUnitCap="10">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>

	<AIStrategicStateDefinition
		id="CM_2_3_GDIUnitCap_Medium"
		UnitBuilderSimpleUnitCap="12">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>
	
		<AIStrategicStateDefinition
		id="CM_2_3_GDIUnitCap_Hard"
		UnitBuilderSimpleUnitCap="16">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>
	
	<AIStrategicStateDefinition
		id="CM_2_3_GDIUnitCapDefensive_Easy"
		UnitBuilderSimpleUnitCap="8">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>

	<AIStrategicStateDefinition
		id="CM_2_3_GDIUnitCapDefensive_Medium"
		UnitBuilderSimpleUnitCap="10">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>
	
		<AIStrategicStateDefinition
		id="CM_2_3_GDIUnitCapDefensive_Hard"
		UnitBuilderSimpleUnitCap="14">
		<Heuristic>
			<ConstantHeuristic Weight="3.0"/>
		</Heuristic>
	</AIStrategicStateDefinition>
	
	
	<AIStrategicStateDefinition
		id="2_3_Optimal_EASY"
		UnitUpgradeMultiplier="0.0">
		<Heuristic>
			<PathToTargetHeuristic PathExists="true"/>
			<IntervalHeuristic IntervalTime="30s" ActiveTime="120s"/>
		</Heuristic>
		<TargetHeuristic TargetHeuristic="SafestToGroundStructureHeuristic" TargetType="FocusedTarget"/>
		<Tactic Tactic="DefenseAvoidanceAttack" TargetType="FocusedTarget">
			<TeamTemplate MinUnits="3" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
		</Tactic>
	</AIStrategicStateDefinition>

	<AIStrategicStateDefinition
		id="CM_2_3_UnitPreferences"
		UnitUpgradeMultiplier="1.0">
		<Heuristic>
			<ConstantHeuristic Weight="999.0"/>
		</Heuristic>
		<UnitModifierByName UnitName="GDIZoneTrooperSquad" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIPitbull" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIPredator" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIAAScout" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDISonicTank" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIMammoth" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIJuggernaught" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIMARV" UnitPreferenceOffensiveModifier="300%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIGolumCannon" UnitPreferenceOffensiveModifier="150%" UnitPreferenceDefensiveModifier="100%"/>
		<UnitModifierByName UnitName="GDIAABattery" UnitPreferenceOffensiveModifier="100%" UnitPreferenceDefensiveModifier="50%"/>
		<UnitModifierByName UnitName="GDITerraformingStation" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="100%"/>
	</AIStrategicStateDefinition>

	<!-- Offense -->
	
	<AIStrategicStateDefinition
    id="2_3_GDIOptimalAttack"
    UnitUpgradeMultiplier="0.0">
    <Heuristic>
      <PathToTargetHeuristic PathExists="true"/>
      <IntervalHeuristic IntervalTime="30s" ActiveTime="140s"/>
    </Heuristic>
    <TargetHeuristic TargetHeuristic="SafestToGroundStructureHeuristic" TargetType="FocusedTarget"/>
    <Tactic Tactic="DefenseAvoidanceAttack" TargetType="FocusedTarget">
      <TeamTemplate MinUnits="3" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false"/>
    </Tactic>
  </AIStrategicStateDefinition>
	
	<AIStrategicStateDefinition
		id="CM_2_3_GDI_AirHarassment"
		UnitUpgradeMultiplier="0.0">
		<Heuristic>
			<SiegeThresholdHeuristic SiegeMode="false" Threshold="2.0"/>
			<FocusedThresholdHeuristic/>
		</Heuristic>
		<TargetHeuristic TargetHeuristic="SafestToAirUnitHeuristic" TargetType="AssaultAirstrike"/>
		<TargetHeuristic TargetHeuristic="SafestToAirPowerPlantHeuristic" TargetType="AssaultAirstrike"/>
		<Tactic Tactic="SimpleAttack" TargetType="AssaultAirstrike">
			<TeamTemplate MinUnits="1" IncludeKindOf="CAN_ATTACK AIRCRAFT ASSAULT_AIRCRAFT" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false"/>
		</Tactic>
	</AIStrategicStateDefinition>

	<AIStrategicStateDefinition
		id="CM_2_3_GDI_BombingRuns"
		UnitUpgradeMultiplier="0.0">
		<Heuristic>
			<LateGameHeuristic/>
		</Heuristic>
		<TargetHeuristic TargetHeuristic="SafestToAirStructureHeuristic" TargetType="BombingAirstrike"/>
		<Tactic Tactic="SimpleAttack" TargetType="BombingAirstrike">
			<TeamTemplate MinUnits="2" IncludeKindOf="CAN_ATTACK AIRCRAFT BOMBER_AIRCRAFT" ExcludeKindOf="" AlwaysRelease="false" AlwaysRecruit="false">
				<CreateUnits UnitName="GDIFirehawk"/>
				<CreateUnits UnitName="GDIFirehawk"/>
			</TeamTemplate>
		</Tactic>
	</AIStrategicStateDefinition>

	<AIStrategicStateDefinition
		id="CM_2_3_GDI_Engineer"
		UnitUpgradeMultiplier="0.0">
		<Heuristic>
			<PathToTargetHeuristic PathExists="true"/>
			<SiegeThresholdHeuristic SiegeMode="false" Threshold="1.5"/>
			<IntervalHeuristic IntervalTime="240s" ActiveTime="30s"/>
		</Heuristic>
		<TargetHeuristic TargetHeuristic="EngineerHeuristic" TargetType="Engineer"/>
		<Tactic Tactic="DefenseAvoidanceAttack" TargetType="Engineer">
			<TeamTemplate MinUnits="2" MaxUnits="2" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="AIRCRAFT" AlwaysRelease="false" AlwaysRecruit="false">
				<CreateUnits UnitName="GDIEngineer"/>
			</TeamTemplate>
		</Tactic>
	</AIStrategicStateDefinition>

<!-- Defense -->

	<AIStrategicStateDefinition
		id="CM_2_3_GDI_ReactiveDefense"
		UnitUpgradeMultiplier="0.0">
		<Heuristic>
			<ConstantHeuristic Weight="1.0"/>
		</Heuristic>
		<Tactic Tactic="ReactiveDefense" TargetType="Targetless">
			<TeamTemplate MinUnits="1" IncludeKindOf="CAN_ATTACK" ExcludeKindOf="" AlwaysRelease="true" AlwaysRecruit="true"/>
		</Tactic>
	</AIStrategicStateDefinition>

  <AIBudgetStateDefinition
    id="CM_2_3_Budget_With_Production">
    <Heuristic>
      <ConstantHeuristic Weight="1.0"/>
    </Heuristic>
    <Budget>
      <AccountShare Account="INVESTMENT" Percent="5%"/>
      <AccountShare Account="SPECIAL_OPERATIONS" Percent="5%"/>
      <AccountShare Account="PRODUCTION" Percent="65%"/>
      <AccountShare Account="DEFENSE" Percent="10%"/>
      <AccountShare Account="TECHNOLOGY" Percent="5%"/>
      <AccountShare Account="SLUSH_FUND" Percent="10%"/>
    </Budget>
  </AIBudgetStateDefinition>

</AssetDeclaration>