<?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:GUMRT_SKN.w3x" />
		<Include
			type="all"
			source="ART:GUMRTD_SKN.w3x" />
		<Include
			type="all"
			source="ART:GUMRTR.w3x" />
		<Include
			type="all"
			source="ART:GUMRT_FP.w3x" />
		<Include
			type="all"
			source="ART:FXTracerGDI.xml" />
		<Include
			type="all"
			source="ART:FXTracerHeroic.xml" />
		<Include
			type="all"
			source="DATA:GlobalData/GlobalDefines.xml" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="SteelTalonsRepairAPC"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_RepairAPC"
		ButtonImage="Portrait_RepairAPC"
		Side="SteelTalons"
		EditorSorting="UNIT"
		TransportSlotCount="1"
		BuildCost="700"
		BuildTime="7"
		CommandSet="SteelTalonsRepairAPCCommandSet"
		CommandPoints="100" 
		KindOf="PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS SCORE TRANSPORT VEHICLE CAN_REVERSE_MOVE CAN_BE_FAVORITE_UNIT"
		RadarPriority="UNIT"
		ThreatLevel="10"
		ProductionQueueType="VEHICLE"
		UnitCategory="VEHICLE"
		VoicePriority="62"
		EditorName="SteelTalonsRepairAPC"
		Description="Desc:SteelTalonsRepairAPC"
		TypeDescription="Type:SteelTalonsRepairAPC">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:SteelTalonsRepairAPC</DisplayName>
		<ArmorSet
			Armor="ZOCOMRepairAPCArmor"
			DamageFX="VehicleDamageFX" />
		<LocomotorSet
			Locomotor="GDIAPCLocomotor"
			Condition="NORMAL"
			Speed="60.0" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<TruckDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true"
				TrackMarks="EXTireTrack2"
				TrackMarksOnlyWhenCorneringQuickly="true"
				TrackMarksLeftBone="Bone_TireLR"
				TrackMarksRightBone="Bone_TireRR"				
				LeftFrontTireBone="Bone_TireLF"
				RightFrontTireBone="Bone_TireRF"
				MidLeftRearTireBone="Bone_TireLR"
				MidRightRearTireBone="Bone_TireRR"
				LeftRearTireBone="Bone_TireLR1"
				RightRearTireBone="Bone_TireRR1"
				TireRotationMultiplier="0.2"
				PowerslideRotationAddition="1.25"
				InitialRecoilSpeed="0.1"
				MaxRecoilDistance="0.1"
				RecoilDamping="2.0"
				RecoilSettleSpeed="3.0"
				ExtraPublicBone="FXWeapon BoneGarrison01 BoneGarrison02 BoneGarrison03 BoneGarrison04 BoneGarrison05 BoneGarrison06 BoneGarrison07 BoneGarrison08 BoneGarrison09 BoneGarrison10">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="GUMRT_SKN" />
					<WeaponFireFXBone
						WeaponSlotID="1"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWeapon" />
					<WeaponRecoilBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWeapon" />
					<WeaponMuzzleFlash
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWeapon" />
					<WeaponLaunchBone
						WeaponSlotID="1"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWeapon" />
					<Turret
						TurretNameKey="Turret"
						TurretPitch="Turret_Pitch"
						TurretID="1" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Model
						Name="GUMRTR" />
					<ParticleSysBone
						BoneName="BoneGarrison01"
						FXParticleSystemTemplate="GDIDebrisSmallFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BoneGarrison01"
						FXParticleSystemTemplate="GDIDebrisSmallFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BoneGarrison01"
						FXParticleSystemTemplate="GDIDebrisSmallSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="GUMRTD_SKN" />
					<Texture
						Original="GUMRT"
						New="GUMRT_D" />
					<ParticleSysBone
						BoneName="BoneGarrison01"
						FXParticleSystemTemplate="GDIPredDamagedFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BoneGarrison01"
						FXParticleSystemTemplate="GDIPredDamagedFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BoneGarrison01"
						FXParticleSystemTemplate="GDIPredDamagedSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="GUMRT_FP" />
				</ModelConditionState>
			</TruckDraw>
			<TracerModelDraw
				id="ModuleTag_TracerModelDraw"
				MinLength="50.0"
				MaxLength="50.0"
				Width="3.0"
				MinSpeed="30"
				MaxSpeed="30"
				SweepSpeed="1.0"
				SpreadAngle="2.0"
				MinTracersPerFrame="0.2"
				MaxTracersPerFrame="0.3"
				FrameLifeTime="35"
				WeaponSlotType="PRIMARY_WEAPON"
				Texture="FXTracerGDI"
				UseAdditiveBlending="true"
				TracerHitFx="FX_BulletHitGDI">
				<HeadColor
					r="1.0"
					g="1.0"
					b="1.0"
					a="1.0" />
				<TailColor
					r="0.0"
					g="0.0"
					b="0.0"
					a="0.0" />
				<ObjectStatusValidation
					ForbiddenStatus="WEAPON_UPGRADED_01" />
			</TracerModelDraw>
			<TracerModelDraw
				id="ModuleTag_TracerModelDrawVeterancy"
				MinLength="50.0"
				MaxLength="50.0"
				Width="3.0"
				MinSpeed="30"
				MaxSpeed="30"
				SweepSpeed="1.0"
				SpreadAngle="2.0"
				MinTracersPerFrame="0.5"
				MaxTracersPerFrame="0.5"
				FrameLifeTime="35"
				WeaponSlotType="PRIMARY_WEAPON"
				Texture="FXTracerHeroic"
				UseAdditiveBlending="true"
				TracerHitFx="FX_BulletHitGDIHeroic">
				<HeadColor
					r="1.0"
					g="0.0"
					b="0.0"
					a="1.0" />
				<TailColor
					r="0.0"
					g="0.0"
					b="0.0"
					a="0.0" />
				<ObjectStatusValidation
					RequiredStatus="WEAPON_UPGRADED_01" />
			</TracerModelDraw>
			
			<ScriptedModelDraw
				id="ModuleTag_Draw_Selected_Repair_Decal"
				OkToChangeModelColor="true"
				UseStandardModelNames="true"
				StaticModelLODMode="true">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model Name="" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="SELECTED">
					<Model Name="FXInvisBone" />
					<ShadowInfo
						Type="ADDITIVE_DECAL_DYNAMIC"
						SizeX="175"
						SizeY="175"
						OverrideLODVisibility="true"
						MaxHeight="200"
						UseHouseColor="true"
						Texture="Decal_Rig_CO" 
					/>
				</ModelConditionState>
			</ScriptedModelDraw>		
			
		</Draws>
		<Behaviors>
			<ProductionUpdate
				id="ProductionUpdateModuleTag"
				GiveNoXP="true" />
			<AssignSlavesTargetObjectSpecialPower
				id="ModuleTag_SpecialPowerRepairVehicle"
				SpecialPowerTemplate="SpecialPower_TargetedRepairVehicle" />
			<SpawnBehavior
				id="ModuleTag_SpawnRepairDrones"
				SpawnNumberData="1"
				InitialBurst="1"
				SpawnReplaceDelayData="10s"
				SpawnedRequireSpawner="true"
				KillSpawnsOnCaptured="true"
				SpawnInsideBuilding="true"
				KillSpawnsOnDisabled="true">
				<Die
					DeathTypes="ALL" />
				<SpawnTemplate>ZOCOMAPCRepairDrone</SpawnTemplate>
			</SpawnBehavior>				
			<Physics
				id="ModuleTag_Physics" />
			<ProductionUpdate
				id="ModuleTag_PU" />
			<HordeTransportContain
				id="ModuleTag_Contain"
				ObjectStatusOfContained="UNSELECTABLE ENCLOSED CAN_ATTACK"
				ContainMax="1"
				Slots="1"
				AllowEnemiesInside="false"
				AllowAlliesInside="true"
				AllowNeutralInside="false"
				AllowOwnPlayerInsideOverride="true"
				ShowPips="true"
				EnterSound="VehicleEnter"
				ExitSound="VehicleExit"
				KillPassengersOnDeath="true">
				<PassengerFilter
					Rule="ANY"
					Include="INFANTRY" />
				<DieMuxData
					DeathTypes="ALL" />
				<PassengerData
					BonePrefix="BONEGARRISON">
					<Filter
						Rule="NONE"
						Include="INFANTRY" />
				</PassengerData>
				<MemberTemplateStatusInfo
					ThingTemplate="GDISniperSquad"
					ObjectStatus="CAN_SPOT_FOR_BOMBARD" />
			</HordeTransportContain>
			<MoveToPositionAndEvacuateSpecialPower
				id="ModuleTag_MoveToPositionAndEvacuate"
				SpecialPowerTemplate="SpecialPowerMoveToPositionAndEvacuate" />
			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="3s"
				SinkRate="2.0"
				DestructionDelay="5s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_GDIMRTDebris</OCL>
				</OCL>
				<DieMuxData
					DeathTypes="ALL"
					DeathTypesForbidden="TOPPLED" />
				<Sound
					Type="INITIAL"
					List="GDI_Generic_VoiceDieMS" />
			</SlowDeath>
			<FXListBehavior
				id="ModuleTag_FXList">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onDeath"
					FX="FX_GDIVehicleExplodeNoScorch" />
			</FXListBehavior>
			<!--			
			<DestroyDie
				id="ModuleTag_Die">
				<DieMuxData
					DeathTypes="NONE CRUSHED SPLATTED" />
			</DestroyDie>
-->
			<SpecialPower
				id="ModuleTag_FireMinefield"
				SpecialPowerTemplate="SpecialPowerGDI_APCMinefield"
				UpdateModuleStartsAttack="true" />
			<WeaponFireSpecialAbilityUpdate
				id="ModuleTag_FireMinefieldUpdate"
				SpecialPowerTemplate="SpecialPowerGDI_APCMinefield"
				SpecialWeapon="GDIAPCMinefield"
				StartAbilityRange="10.0" 
				Options="CHECK_SPECIALPOWER_REQUIREMENTS_DURING_UPDATE"/>
			<AISpecialPowerUpdate
				id="ModuleTag_APCMineLayer"
				CommandButtonName="Command_APCMinefield"
				SpecialPowerRadius="100.0"
				SpecialPowerAIType="SPECIAL_POWER_RANGED_AOE_ATTACK" />
			<xi:include
				href="../../Includes/SteelTalonsCallForTransportForVehicle.xml" />
			<StatusBitsUpgrade
				id="ModuleTag_VeterancyUpgrade"
				StatusToSet="WEAPON_UPGRADED_01">
				<TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
			</StatusBitsUpgrade>
			<xi:include
				href="../../Includes/GenericPhaseShieldPropagate.xml" />
		</Behaviors>
		<AI>
			<AIUpdate
				id="ModuleTag_AI"
				AutoAcquireEnemiesWhenIdle="YES">
				<UnitAITargetChooserData
					CanPickDynamicTargets="false"
					SympathyRange="100.0"
					RotateToTargetWhenAiming="false" />
			</AIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_Body"
				MaxHealth="2800" />
		</Body>
		<Geometry
			IsSmall="true">
			<Shape
				Type="BOX"
				MajorRadius="20.0"
				MinorRadius="10.0"
				Height="11.5"
				ContactPointGeneration="VEHICLE" />
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry Sound="GDI_RepairAPC_VoiceCreate" AudioType="voiceCreated" />
			<AudioEntry Sound="GDI_RepairAPC_VoiceCreate" AudioType="voiceFullyCreated" />
			<AudioEntry Sound="GDI_RepairAPC_VoiceMove" AudioType="voiceMove" />
			<AudioEntry Sound="GDI_RepairAPC_VoiceRetreat" AudioType="voiceRetreatToCastle" />
			<AudioEntry Sound="GDI_RepairAPC_VoiceSelectMS" AudioType="voiceSelect" />
			<AudioEntry Sound="GDI_RepairAPC_VoiceSelectBattleMS" AudioType="voiceSelectBattle" />
			<NamedEntry Sound="GDI_RepairAPC_VoiceMineDrop" Name="InitiateAPCMinefield" />
			<NamedEntry Sound="GDI_RepairAPC_VoiceMove" Name="InitiateMoveToPositionAndEvacuate" />
			<NamedEntry Sound="GDI_RepairAPC_VoiceMove" Name="InitiateRepair" />
		</AudioArrayVoice>
		<AudioArraySound>
			<AudioEntry Sound="GDI_RepairAPC_MoveStart" AudioType="soundMoveStart" />
			<AudioEntry Sound="GDI_RepairAPC_IdleLoop" AudioType="soundAmbient" />
			<AudioEntry Sound="GDI_RepairAPC_MoveByLoop" AudioType="soundMoveLoop" />
			<!--	TruckLandingSound="RocketBuggyLand" TruckPowerslideSound="RocketBuggyPowerslide"-->
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="350"
			ShroudClearingRange="400" />
		<CrusherInfo
			CrusherLevel="0"
			CrushEqualLevelProps="true"
			CrushableLevel="2" />
	</GameObject>
</AssetDeclaration>
