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

    <Include type="all" source="ART:MGBase_GDI01.w3x" />
    
    <Include type="all" source="ART:MGBase_GDI02.w3x" />

    <Include type="all" source="ART:MGBase_GDI03.w3x" />

    <Include 
    	type="all" 
    	source="ART:MGAOI.xml" />
    <!-- Base Object -->
    <Include
      type="all"
      source="DATA:GlobalData/GlobalDefines.xml" />
    <Include
			type="instance"
			source="DATA:MetaGame/MetaBaseStructure.xml" />
  </Includes>
  <GameObject
		id="GDIMetaBase"
		inheritFrom="MetaBaseStructure"
		SelectPortrait=""
		ButtonImage=""
		Side="GDI"
		EditorSorting="STRUCTURE"
    Browser="REGION METAGAME GDI"
		TransportSlotCount="1"
		BuildCost="2500"
		BuildTime="25"
		PlacementViewAngle="315d"
		EnergyProduction="10"
		KindOf="NO_COLLIDE STRUCTURE SELECTABLE IMMOBILE CAN_CAST_REFLECTIONS FS_FACTORY NOT_AUTOACQUIRABLE AUTO_ACQUIRABLE_BY_AI COVER AUTO_RALLYPOINT META_BASE"
		RadarPriority="STRUCTURE"
		ProductionQueueType="MAIN_STRUCTURE"
		BuildPlacementTypeFlag="MAIN_STRUCTURE"
		EditorName="GDIMetaBase"
		Description="Desc:GDIMetaBase"
		TypeDescription="Type:GDIMetaBase">
    <DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:GDIMetaBase</DisplayName>
    <SkirmishAIInformation
			BaseBuildingLocation="SIDE" />
    <Draws>
      <ScriptedModelDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true"
        NoRotate="true">
        <ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
          <Model Name="MGBase_GDI01" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_TIER_2">
          <Model Name="MGBase_GDI02" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_TIER_3">
          <Model Name="MGBase_GDI03" />
        </ModelConditionState>
        <AnimationState
					ParseCondStateType="PARSE_DEFAULT">
          <Script>
            CurDrawableHideSubObject("MG_Base_AOE")
          </Script>
        </AnimationState>
        <AnimationState
					ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="SELECTED">
          <Script>
            CurDrawableShowSubObject("MG_Base_AOE")
          </Script>
        </AnimationState>
      </ScriptedModelDraw>
      <ScriptedModelDraw
				id="ModuleTag_PowerDraw"
				OkToChangeModelColor="true"
        NoRotate="true">
        <ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
           ParseCondStateType="PARSE_NORMAL"
           ConditionsYes="BASE_POWER">
          <Model Name="" />
        </ModelConditionState>
      </ScriptedModelDraw>
      <ScriptedModelDraw
        id="ModuleTag_DefenseDraw"
				OkToChangeModelColor="true"
        NoRotate="true">
        <ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
           ParseCondStateType="PARSE_NORMAL"
           ConditionsYes="BASE_DEFENSES">
          <Model Name="" />
        </ModelConditionState>
      </ScriptedModelDraw>
      <ScriptedModelDraw
        id="ModuleTag_StratDraw"
				OkToChangeModelColor="true"
        NoRotate="true">
        <ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_STRATEGIC_BUILDING_1">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_STRATEGIC_BUILDING_2">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_STRATEGIC_BUILDING_3">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_STRATEGIC_BUILDING_4">
          <Model Name="" />
        </ModelConditionState>
        <ModelConditionState
          ParseCondStateType="PARSE_NORMAL"
          ConditionsYes="BASE_STRATEGIC_BUILDING_5">
          <Model Name="" />
        </ModelConditionState>
      </ScriptedModelDraw>
    </Draws>
    <Behaviors>
    </Behaviors>
    <AI>
      <MetaGameAIUpdate
        id="ModuleTag_AI"
        EngageRadius="=$GDI_METABASE_AOE"
      />
    </AI>
    <Body>
      <MetaBaseBody
				id="ModuleTag_Body"
				MaxHealth="20000.0" 
        InfluenceRadius="=$GDI_METABASE_AOI"
        InfluenceRadiusTier2="=$GDI_METABASE_AOI_TIER_2"
        InfluenceRadiusTier3="=$GDI_METABASE_AOI_TIER_3"
        InfluenceDecayWithRange="0.5"
        
        Tier1TiberiumProduction="=$Tier1BaseTiberiumDepositPerTurn"
        TiberiumInfluence="-60.0"
        PopulationInfluence="0.0"
        UnrestInfluence="-1.5"
        
        Tier2TiberiumProduction="=$Tier2BaseTiberiumDepositPerTurn"
        Tier2TiberiumInfluence="-100.0"
        Tier2PopulationInfluence="0.0"
        Tier2UnrestInfluence="-3.0"
        
        Tier3TiberiumProduction="=$Tier3BaseTiberiumDepositPerTurn"
        Tier3TiberiumInfluence="-150.0"
        Tier3PopulationInfluence="0.0"
        Tier3UnrestInfluence="-7.5"

				BaseStrat1Upgrade="Upgrade_MetaBaseStratBuilding1"
				BaseStrat2Upgrade="Upgrade_MetaBaseStratBuilding2"
				BaseStrat3Upgrade="Upgrade_MetaBaseStratBuilding3"
				BaseStrat4Upgrade="Upgrade_MetaBaseStratBuilding4"
				BaseStrat5Upgrade="Upgrade_MetaBaseStratBuilding5"

        >
        <!-- the above attributes default to 0.0 -->
        
        <Tier1Base>GDIConstructionYard</Tier1Base>
        <Tier1Base>GDIRefinery</Tier1Base>
        <Tier1Base>GDIPowerPlant</Tier1Base>
        <Tier1Base>GDIPowerPlant</Tier1Base>
        <Tier1Base>GDIBarracks</Tier1Base>
        <Tier1Base>GDIWarFactory</Tier1Base>

        <Tier2Base>GDICrane</Tier2Base>
        <Tier2Base>GDICommandPost</Tier2Base>
        <Tier2Base>GDIAirTower</Tier2Base>
        <Tier2Base>GDIMedicalBay</Tier2Base>
        <Tier2Base>GDIPowerPlant</Tier2Base>
        <Tier2Base>GDIPowerPlant</Tier2Base>
        <Tier2Base>GDIPowerPlant</Tier2Base>

        <Tier3Base>GDIArmory</Tier3Base>
        <Tier3Base>GDISpaceCommandUplink</Tier3Base>
        <Tier3Base>GDIPowerPlant</Tier3Base>
        <Tier3Base>GDIPowerPlant</Tier3Base>
        <Tier3Base>GDIPowerPlant</Tier3Base>

        <UpgradeBasePower>GDIPowerPlant</UpgradeBasePower>
        <UpgradeBasePower>GDIPowerPlant</UpgradeBasePower>

        <Tier1BaseDefense>GDIWatchTower</Tier1BaseDefense>
        <Tier1BaseDefense>GDIGolumCannon</Tier1BaseDefense>
        <Tier1BaseDefense>GDIPowerPlant</Tier1BaseDefense>

        <Tier2BaseDefense>GDIWatchTower</Tier2BaseDefense>
        <Tier2BaseDefense>GDIAABattery</Tier2BaseDefense>

        <Tier3BaseDefense>GDIWatchTower</Tier3BaseDefense>
        <Tier3BaseDefense>GDITerraformingStation</Tier3BaseDefense>
        <Tier3BaseDefense>GDIPowerPlant</Tier3BaseDefense>

				<!-- !!!Refer to ObjectStatus.XSD to get the proper order
				        for strategic buildings!!! -->
        <UpgradeBaseStrat1>GDIIonCannonControl</UpgradeBaseStrat1>
        <UpgradeBaseStrat2>GDIIonCannonControl</UpgradeBaseStrat2>
        <UpgradeBaseStrat3>GDIIonCannonControl</UpgradeBaseStrat3>
        <UpgradeBaseStrat4>GDIIonCannonControl</UpgradeBaseStrat4>
        <UpgradeBaseStrat5>GDIIonCannonControl</UpgradeBaseStrat5>
        
      </MetaBaseBody>
    </Body>
    <Geometry
    IsSmall="false">
      <Shape 
				Type= "BOX"
				MajorRadius = "4.6246"
				MinorRadius = "8.8812"
				Height = "1.533443" >
        <Offset
					x = "-0.09868"
					y = "0.0"
					z = "0.0" />
      </Shape>
      <Shape 
				Type= "BOX"
				MajorRadius = "2.330803"
				MinorRadius = "6.927325"
				Height = "3.618925" >
        <Offset
					x = "-0.09868"
					y = "0.0"
					z = "0.0" />
      </Shape>
      <Shape 
				Type= "BOX"
				MajorRadius = "4.38"
				MinorRadius = "2.28"
				Height = "4.487475" >
        <Offset
					x = "-0.09868"
					y = "0.0"
					z = "0.0" />
      </Shape>
      <Shape 
				Type= "BOX"
				MajorRadius = "1.92"
				MinorRadius = "4.482"
				Height = "4.487475" >
        <Offset
					x = "-0.09868"
					y = "0.0"
					z = "0.0" />
      </Shape>
      <Shape 
				Type= "BOX"
				MajorRadius = "5.6064"
				MinorRadius = "2.28"
				Height = "2.692475" >
        <Offset
					x = "-0.09868"
					y = "0.0"
					z = "0.0" />
      </Shape>
      <Shape 
				Type= "BOX"
				MajorRadius = "6.880175"
				MinorRadius = "4.332"
				Height = "1.615488" >
        <Offset
					x = "-0.09868"
					y = "0.0"
					z = "0.0" />
      </Shape>
      <ContactPoint>
        <Pos
					x="-7.5"
					y="11"
					z="5" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="6.25"
					y="11.0"
					z="0" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="6.25"
					y="-9.5"
					z="5" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="6.25"
					y="11.0"
					z="0" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="-7.5"
					y="-10.0"
					z="5" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="6.25"
					y="11.0"
					z="0" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="-7.5"
					y="-10.0"
					z="5" />
      </ContactPoint>
      <ContactPoint>
        <Pos
					x="-7.5"
					y="11.0"
					z="0" />
      </ContactPoint>
    </Geometry>
	<AudioArrayVoice>
		<AudioEntry Sound="GDI_ConstructionYardSelect" AudioType="voiceSelect" />
	</AudioArrayVoice>
	<AudioArraySound>
		<AudioEntry Sound="META_NodGDI_BuildingPlaced" AudioType="soundAmbient" />
		<AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
		<AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
	</AudioArraySound>    <!--
    <ShadowInfo
      Type="ADDITIVE_DECAL"
      SizeX="=$GDI_METABASE_AOI"
      SizeY="=$GDI_METABASE_AOI"
      OverrideLODVisibility="true"
      MaxHeight="200"
      UseHouseColor="true"
      Texture="MGAOI"
      />
     -->
    <VisionInfo
			VisionRange="10000"
			ShroudClearingRange="20000" />
    <ProjectedBuildabilityInfo
			Radius="=$GDI_METABASE_AOI"
			BuildPlacementTypes="MAIN_STRUCTURE OTHER_STRUCTURE" />
  </GameObject>
</AssetDeclaration>
