<CommandPoints>

	<!-- Default CPs cost/bonus for the game. Unless overloaded, theses costs are applied in all modes.-->
	<DefaultCommandPoints>
	  
	  <!-- Starting number of command points. -->
	  <StartingCommandPoints Value = "4.0"/>
	
	  <!-- Maximum number of command points. -->
	  <MaximumCommandPoints Value = "12.0"/>

    <!-- CP ratio for AI depending on the game mode. This is a multipler of any CP gain the AI get. -->
    <GameModeCPRatio>
      <CPRatio Level = "1" Value = "0.50"/>
      <CPRatio Level = "2" Value = "0.75"/>
      <CPRatio Level = "3" Value = "1.00"/>
      <CPRatio Level = "4" Value = "1.50"/>
    </GameModeCPRatio>

    <!-- Shard CP rate modifier - DO NOT MODIFY -->
    <ShardRamping>
      <ShardRatioModifier>
        <ShardRatio Level = "0" Value = "0.25" />
        <ShardRatio Level = "1" Value = "0.25" />
        <ShardRatio Level = "2" Value = "0.25" />
        <ShardRatio Level = "3" Value = "0.15" />
        <ShardRatio Level = "4" Value = "0.05" />
      </ShardRatioModifier>
      <ShardMinRatio Value = "0.4" />
    </ShardRamping>

    <!-- Threshold for earning rate level. Internally, the range for the earning rate is [0,1] -->
    <EarningRateThresholds>
      <Treshold Level = "0" Value = "0.00"/>
      <Treshold Level = "1" Value = "0.25"/>
      <Treshold Level = "2" Value = "0.50"/>
      <Treshold Level = "3" Value = "0.75"/>
    </EarningRateThresholds>
    
    <!-- All CPs cost -->
	  <Costs>
			<!-- Airstrike costs -->
			<AirStrike>
				<SupportLevel Level="1" Cost="4.0"/>
				<SupportLevel Level="2" Cost="5.0"/>
				<SupportLevel Level="3" Cost="6.0"/>
			</AirStrike>
		
			<!-- Electronic Warfare costs -->
			<ElectronicWarfare>
				<SupportLevel Level="1" Cost="3.0"/>
				<SupportLevel Level="2" Cost="4.0"/>
				<SupportLevel Level="3" Cost="5.0"/>
			</ElectronicWarfare>
		
			<!-- Troop Support costs -->
			<TroopSupport>
				<SupportLevel Level="1" Cost="3.0"/>
				<SupportLevel Level="2" Cost="4.0"/>
				<SupportLevel Level="3" Cost="5.0"/>
			</TroopSupport>
		
			<!-- WMD cost -->
			<WMD  Cost = "0.0"/>
		
			<!-- Selecting Deployment Zone cost -->
			<SelectDeploymentArea Cost = "6.0"/>

			<!-- Deep Strike cost -->
			<DeepStrike Cost = "6.0"/>
		
			<!-- Reinforcements cost per unit type.  DO NOT CHANGE InternalValue!-->
			<Reinforcement>
        <UnitCost TypeName = "Light Infantry"   InternalValue = "0" Cost ="4.0"/>
        <UnitCost TypeName = "Heavy Infantry"   InternalValue = "1" Cost ="4.0"/>
        <UnitCost TypeName = "Transport"        InternalValue = "2" Cost ="4.0"/>
        <UnitCost TypeName = "Tank"             InternalValue = "3" Cost ="4.0"/>
        <UnitCost TypeName = "Artillery"        InternalValue = "4" Cost ="4.0"/>
        <UnitCost TypeName = "Gunship"          InternalValue = "5" Cost ="4.0"/>
        <UnitCost TypeName = "Command Vehicle"  InternalValue = "6" Cost ="6.0"/>
        <UnitCost TypeName = "Drones"           InternalValue = "7" Cost ="1.0"/>
        <UnitCost TypeName = "UAV"              InternalValue = "8" Cost ="0.0"/>
			</Reinforcement>
		
			<!-- Spike Uplink cost -->
			<SpikeUplink Cost = "2.0"/>
		
			<!-- Upgrade uplink cost -->
			<UpgradeUplink Cost = "0.0"/>
		</Costs>
		
			<!-- All CPs bonuses -->
		<Bonus>
			<!-- Basic CP earning rate per seconds -->
			<BaseCPsEarningRatePerSec Rate = "0.0445"/>
			
			<!-- Command Vehicle Uplink Bonus if upgraded and present in the map -->
			<UpgradedCommandVehicleUplinkBonus UplinkBonus = "0"/>
			
			<!-- Capturing Uplinks CP bonus for first capture -->
			<CapturingUplinkCPsBonus Bonus = "4.0"/>
			
			<!-- Recapturing Uplinks CP bonus -->
			<RecapturingUplinkCPsBonus Bonus = "4.0"/>
			
			<!-- CP Bonus for killing a main unit using playable units -->
			<UnitDirectKilledCPsBonus Bonus = "0.0"/>
			
			<!-- CP Bonus for killing a main unit using offmap supports -->
			<UnitIndirectKilledCPsBonus Bonus = "0.0"/>
			
			<!-- CP Bonus multiplier for killing a non playable units -->
			<NonMainUnitCPsBonusMultiplier Multiplier = "0.0"/>
			
			<!-- CP Bonus multiplier for manually retreating a main unit -->
			<UnitRetreatCPsBonus Bonus = "2.0"/>
			
			<!-- CP Bonus for destroying a critical building -->
			<CriticalBuildingDestroyedCPsBonus Bonus = "0.0"/>
    </Bonus>
	</DefaultCommandPoints>
	
	<!-- Modifications to the default data for each game mode -->
	<!-- Each game mode can override any costs in the default tag using the same syntax as in the default tag. -->
	<!-- You can also define "Phase" tags and "PlayerRole" tags(see below). -->
	<!-- Phase tags are used to overload values in either the Normal gameplay phase or the EndWar phase. -->
	<!-- PlayerRole tags are used to overload values for either the Attacker or Defender. -->
	
	<!-- There is no need to define either a Phase tag or PlayerRole tag to overload values if not required. I added Phase tags simply for clarity and example. -->
	<!-- Phase tags and PlayerRole tags can be nested as wanted (ie a Phase tag can contain a PlayerRole tag or a PlayerRole tag can contain a Phase tag). It is not currently used but supported for future modifications. -->
	<!-- If a value is overloaded outside of a phase tag or PlayerRole tag, it's overloaded for all the possible Phases and Player Roles. Of course, if a value is overloaded in a specific Phase tag or PlayerRole tag, it'll be overloaded only for that situation. -->
	<GameModes>
		<!-- Assault game mode. DO NOT CHANGE InternalValue!(Maps to EOfGameType enum)-->
		<Mode Type = "Assault" InternalValue = "OfGameType_ANNIHILATION">
			<Costs>
	      		<Phase Type = "Normal"></Phase>
				<!-- Modifications to CPs values in EndWar phase -->
				<Phase Type = "EndWar">
          <!-- Reinforcements cost per unit type.  DO NOT CHANGE InternalValue!-->
          <Reinforcement>
            <UnitCost TypeName = "Light Infantry"   InternalValue = "0" Cost ="2.0"/>
            <UnitCost TypeName = "Heavy Infantry"   InternalValue = "1" Cost ="2.0"/>
            <UnitCost TypeName = "Transport"        InternalValue = "2" Cost ="2.0"/>
            <UnitCost TypeName = "Tank"             InternalValue = "3" Cost ="2.0"/>
            <UnitCost TypeName = "Artillery"        InternalValue = "4" Cost ="2.0"/>
            <UnitCost TypeName = "Gunship"          InternalValue = "5" Cost ="2.0"/>
            <UnitCost TypeName = "Command Vehicle"  InternalValue = "6" Cost ="3.0"/>
          </Reinforcement>
				</Phase>
			</Costs>
	
			<Bonus>

				<Phase Type = "Normal"></Phase>				
				<Phase Type = "EndWar">
					<!-- Basic CP earning rate per seconds -->
					<BaseCPsEarningRatePerSec Rate = "0.0667"/>
					<!-- CP Bonus multiplier for manually retreating a main unit -->
					<UnitRetreatCPsBonus Bonus = "1.0"/>
				</Phase>				
			</Bonus>	
		</Mode>
		
		<!-- Conquest game mode. DO NOT CHANGE InternalValue!(Maps to EOfGameType enum) -->
		<Mode Type = "Conquest" InternalValue = "OfGameType_CONQUEST">
			<Costs>
				<Phase Type = "Normal"></Phase>
	
				<!-- Modifications to CPs values in EndWar phase -->
				<Phase Type = "EndWar">
          <!-- Reinforcements cost per unit type.  DO NOT CHANGE InternalValue!-->
          <Reinforcement>
            <UnitCost TypeName = "Light Infantry"   InternalValue = "0" Cost ="2.0"/>
            <UnitCost TypeName = "Heavy Infantry"   InternalValue = "1" Cost ="2.0"/>
            <UnitCost TypeName = "Transport"        InternalValue = "2" Cost ="2.0"/>
            <UnitCost TypeName = "Tank"             InternalValue = "3" Cost ="2.0"/>
            <UnitCost TypeName = "Artillery"        InternalValue = "4" Cost ="2.0"/>
            <UnitCost TypeName = "Gunship"          InternalValue = "5" Cost ="2.0"/>
            <UnitCost TypeName = "Command Vehicle"  InternalValue = "6" Cost ="3.0"/>
          </Reinforcement>
					<!-- Basic CP earning rate per seconds -->
					<BaseCPsEarningRatePerSec Rate = "0.0667"/>
				</Phase>
			</Costs>
	
			<Bonus>
				<Phase Type = "Normal"></Phase>
				<Phase Type = "EndWar">
					<!-- CP Bonus multiplier for manually retreating a main unit -->
					<UnitRetreatCPsBonus Bonus = "1.0"/>
				</Phase>
			</Bonus>
		</Mode>
		
		<!-- Siege game mode. DO NOT CHANGE InternalValue!(Maps to EOfGameType enum) -->
		<Mode Type = "Siege" InternalValue = "OfGameType_SIEGE">
			<Costs>
				<Phase Type = "Normal"></Phase>
	
				<!-- Modifications to CPs values in EndWar phase -->
				<Phase Type = "EndWar">
          <!-- Reinforcements cost per unit type.  DO NOT CHANGE InternalValue!-->
          <Reinforcement>
            <UnitCost TypeName = "Light Infantry"   InternalValue = "0" Cost ="2.0"/>
            <UnitCost TypeName = "Heavy Infantry"   InternalValue = "1" Cost ="2.0"/>
            <UnitCost TypeName = "Transport"        InternalValue = "2" Cost ="2.0"/>
            <UnitCost TypeName = "Tank"             InternalValue = "3" Cost ="2.0"/>
            <UnitCost TypeName = "Artillery"        InternalValue = "4" Cost ="2.0"/>
            <UnitCost TypeName = "Gunship"          InternalValue = "5" Cost ="2.0"/>
            <UnitCost TypeName = "Command Vehicle"  InternalValue = "6" Cost ="3.0"/>
          </Reinforcement>
					<!-- Basic CP earning rate per seconds -->
					<BaseCPsEarningRatePerSec Rate = "0.0667"/>
				</Phase>
			</Costs>
	
			<Bonus>
				<!--  Modifications to CPs values for the attacker -->
				<PlayerRole Type = "Attacker"></PlayerRole>
			
				<!--  Modifications to CPs values for the Defender -->
				<PlayerRole Type = "Defender"></PlayerRole>
	
				<Phase Type = "Normal"></Phase>
				<Phase Type = "EndWar">
					<!-- CP Bonus multiplier for manually retreating a main unit -->
					<UnitRetreatCPsBonus Bonus = "1.0"/>
				</Phase>
			</Bonus>
		</Mode>
	
		<!-- Raid game mode. DO NOT CHANGE InternalValue!(Maps to EOfGameType enum) -->
		<Mode Type = "Raid" InternalValue = "OfGameType_SABOTAGE">
			<Costs>
				<Phase Type = "Normal"></Phase>
	
				<!-- Modifications to CPs values in EndWar phase -->
				<Phase Type = "EndWar"></Phase>
			</Costs>
	
			<Bonus>
				<!--  Modifications to CPs values for the attacker -->
				<PlayerRole Type = "Attacker">
          <GameModeCPRatio>
            <CPRatio Level = "1" Value = "0.75"/>
            <CPRatio Level = "2" Value = "1.00"/>
            <CPRatio Level = "3" Value = "1.25"/>
            <CPRatio Level = "4" Value = "1.50"/>
          </GameModeCPRatio>
        </PlayerRole>
        
				<PlayerRole Type = "Defender">
          <GameModeCPRatio>
            <CPRatio Level = "1" Value = "0.75"/>
            <CPRatio Level = "2" Value = "1.00"/>
            <CPRatio Level = "3" Value = "1.25"/>
            <CPRatio Level = "4" Value = "1.50"/>
          </GameModeCPRatio>
        </PlayerRole>
				<Phase Type = "Normal"></Phase>
				<Phase Type = "EndWar"></Phase>
			</Bonus>
		</Mode>
	</GameModes>
</CommandPoints>
