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

	<Tags/>
	<Includes>
		<Include
			type="instance"
			source="DATA:ZOCOM/Units/ZOCOMMARV.xml" />
		<Include
			type="instance"
			source="DATA:GDI/Structures/MG_GDI_ReclamatorHub.xml" />
		<Include
			type="instance"
			source="DATA:GlobalData/Armor.xml" />

		<Include
			type="instance"
			source="DATA:NOD/Units/NODMetaUnit.xml" />
    <Include
			type="instance"
			source="DATA:NOD\Structures\MG_NOD_WarmechFacility.xml" />
  </Includes>

	<MissionObjectiveList id="MissionObjectives">

		<MissionObjectiveTag
			IsBonusObjective="false"
			Script="SCRIPT:CM_2_4_Obj_1_Summary"
			Description="SCRIPT:CM_2_4_Obj_1_Details">
			<PresentationSettings
				ID = "CM_2_4_Obj_1"
				Dialog = "MN24_NodEVA01">
				<Duration>6s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	
	
		<MissionObjectiveTag
			IsBonusObjective="false"
			Script="SCRIPT:CM_2_4_Obj_2_Summary"
			Description="SCRIPT:CM_2_4_Obj_2_Details">
			<PresentationSettings
				ID = "CM_2_4_Obj_2"
				Dialog = "MN24_NodEVA02">
				<Duration>8s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	
		
		<MissionObjectiveTag
			IsBonusObjective="false"
			Script="SCRIPT:CM_2_4_Obj_3_Summary"
			Description="SCRIPT:CM_2_4_Obj_3_Details">
			<PresentationSettings
				ID = "CM_2_4_Obj_3"
				Dialog = "MN24_NodEVA04">
				<Duration>8s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	
		
		<MissionObjectiveTag
			IsBonusObjective="false"
			Script="SCRIPT:CM_2_4_Obj_4_Summary"
			Description="SCRIPT:CM_2_4_Obj_4_Details">
			<PresentationSettings
				ID = "CM_2_4_Obj_4"
				Dialog = "MN24_NodEVA10">
				<Duration>7s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	

		<MissionObjectiveTag
			IsBonusObjective="false"
			Script="SCRIPT:CM_2_4_Obj_5_Summary"
			Description="SCRIPT:CM_2_4_Obj_5_Details">
			<PresentationSettings
				ID = "CM_2_4_Obj_5"
				Dialog = "MN24_NodEVA11">
				<Duration>6s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	
				
		<MissionObjectiveTag
			IsBonusObjective="false"
			Script="SCRIPT:CM_2_4_Obj_6_SummaryA"
			Description="SCRIPT:CM_2_4_Obj_6_Details">
			<PresentationSettings
				ID = "CM_2_4_Obj_6A"
				Dialog = "MN24_NodEVA13">
				<Duration>4s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
			<PresentationSettings
				ID = "CM_2_4_Obj_6B">
				<Duration>4s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	
				
		<MissionObjectiveTag
			IsBonusObjective="true"
			Script="SCRIPT:CM_2_4_BonusObj_1_Summary"
			Description="SCRIPT:CM_2_4_BonusObj_1_Details">
			<PresentationSettings
				ID = "CM_2_4_BonusObj_1"
				Dialog = "MN24_NodEVA14">
				<Duration>6s</Duration>
				<CameraStartAngle>10d</CameraStartAngle>
				<CameraEndAngle>-10d</CameraEndAngle>
			</PresentationSettings>
		</MissionObjectiveTag>	
				
	</MissionObjectiveList>

	<GameObject
		id="ZOCOMMARV"
		inheritFrom="ZOCOMMARV"
		KindOf="TRANSPORT METAUNIT PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS SCORE VEHICLE CAN_REVERSE_MOVE CAN_BE_FAVORITE_UNIT">
		<Behaviors>
			<AutoHealBehavior
				id="Upgrade_HeroicHeal_01"
				xai:joinAction = "Remove"/>
		</Behaviors>
	</GameObject>

	<GameObject
		id="MG_GDI_ReclamatorHub"
		inheritFrom="MG_GDI_ReclamatorHub"
		CommandSet="EmptyCommandSet"
		ProductionQueueType="INVALID"
		BuildPlacementTypeFlag="INVALID">
		<Behaviors>
			<ProductionUpdate
				id="ModuleTag_ProductionUpdate"
				xai:joinAction="Remove"/>
			<QueueProductionExitUpdate
				id="ModuleTag_QueueProduction"
				xai:joinAction="Remove"/>
			<SpawnBehavior
				id="ModuleTag_SpawnRepairDrones"
				xai:joinAction="Remove"/>
			<CreateObjectDie xmlns="uri:ea.com:eala:asset"
				id="ModuleTag_CreateOccupiedDie"
				xai:joinAction="Remove"/>
			<CreateObjectDie xmlns="uri:ea.com:eala:asset"
				id="ModuleTag_CreateOccupiedSuicide"
				xai:joinAction="Remove"/>		
		</Behaviors>
	</GameObject>

	<!-- Buffing MARV -->
	<ArmorTemplate
		id="GDIMARVArmor"
		inheritFrom="GDIMARVArmor"
		SideDamageScalar="120"
		RearDamageScalar="175"
		xai:joinAction="Replace">
		<Armor
			Damage="CANNON"
			Percent="35" />
		<Armor
			Damage="ROCKET"
			Percent="35" />
		<Armor
			Damage="GRENADE"
			Percent="1" />
		<Armor
			Damage="GUN"
			Percent="1" />
		<Armor
			Damage="SNIPER"
			Percent="1" />
	</ArmorTemplate>

	<ArmorTemplate
		id="NODRedeemerArmor"
		inheritFrom="NODRedeemerArmor"
		SideDamageScalar="100"
		RearDamageScalar="100"
		xai:joinAction="Replace">
		<Armor
			Damage="CANNON"
			Percent="25" />
		<Armor
			Damage="ROCKET"
			Percent="20" />
		<Armor
			Damage="GRENADE"
			Percent="1" />
		<Armor
			Damage="GUN"
			Percent="1" />
		<Armor
			Damage="SNIPER"
			Percent="1" />
	</ArmorTemplate>

	<GameObject
		id="NODMetaUnit"
		inheritFrom="NODMetaUnit"
		BuildCost="5000"
		BuildTime="60">
		<Behaviors>
      <!-- instead of trying to override everyone of this unit's weapons 
            i'm giving it a self buff to make it uberer 
            the "Mammoth_AmmoPacks" buff is to RoF and Damage so it seems good-->
      <AttributeModifierAuraUpdate
				id="ModuleTag_AttributeModifierAuraUpdate"
		    xai:joinAction="Append"
				AttributeModifierName="Mammoth_AmmoPacks"
				RefreshDelay="0.4s"
				Range="10"
				InitiallyActive="true"
        AllowSelf="true">
					<ObjectFilter
						Rule="ALL"
						Relationship="SAME_PLAYER"
						Include="METAUNIT">
					</ObjectFilter>
      </AttributeModifierAuraUpdate>
		</Behaviors>
	</GameObject>

  <GameObject
		id="MG_NOD_WarmechFacility"
		inheritFrom="MG_NOD_WarmechFacility"
		BuildCost="9000"
		BuildTime="45"
		EnergyProduction="-30"/>
	
</AssetDeclaration>
