<?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" xmlns:xai="uri:ea.com:eala:asset:instance">
	<Tags></Tags>
	<Includes>
				
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:GDI/Units/GDIHammerhead.xml" />
		<Include
			type="instance"
			source="ART:GUHamhead_UGCA.xml" />
	</Includes>
	<GameObject
		id="ZOCOMHammerhead"
		inheritFrom="GDIHammerhead"
		Side="ZOCOM"
		EditorName="ZOCOMHammerhead"
		EditorSorting="UNIT"
		CommandSet="GDIHammerheadCommandSet"
		Description="DESC:ZOCOMHammerhead"
		WorldMapArmoryUpgradesAllowed="Upgrade_GDIAPAmmo Upgrade_CeramicArmor"
		TypeDescription="Type:GDIHammerhead">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:GDIHammerhead</DisplayName>
			
		<DisplayUpgrade>Upgrade_CeramicArmor</DisplayUpgrade>
		<ArmorSet
			Conditions="PLAYER_UPGRADE"
			Armor="GDIHammerheadCeramicArmor"
			DamageFX="VehicleDamageFX" />
		
		<Draws>
		
		<TruckDraw
			xai:joinAction="Replace"
			id="ModuleTag_Draw"
			InitialRecoilSpeed="0.1"
			MaxRecoilDistance="0.1"
			RecoilDamping="2.0"
			RecoilSettleSpeed="3.0"
			OkToChangeModelColor="true"
			ExtraPublicBone="FXWEAPON01 FXWEAPON02 FXWEAPON03 FXWEAPON04">
			<ModelConditionState
				ParseCondStateType="PARSE_DEFAULT">
				<Model
					Name="GUHamhead_SKN" />
				<WeaponFireFXBone
					WeaponSlotID="1"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWeapon" />
				<WeaponRecoilBone
					WeaponSlotID="1"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />
				<WeaponMuzzleFlash
					WeaponSlotID="1"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />
				<WeaponLaunchBone
					WeaponSlotID="1"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />
				<WeaponFireFXBone
					WeaponSlotID="2"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />
				<WeaponRecoilBone
					WeaponSlotID="2"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />
				<WeaponMuzzleFlash
					WeaponSlotID="2"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />
				<WeaponLaunchBone
					WeaponSlotID="2"
					WeaponSlotType="PRIMARY_WEAPON"
					BoneName="FXWEAPON" />		
				<Turret
					TurretNameKey="BONE_GUNTURRET_R"
					TurretPitch="BONE_GUNTURRET_R"
					TurretID="1" />
				<Turret
					TurretNameKey="BONE_GUNTURRET_L"
					TurretPitch="BONE_GUNTURRET_L"
					TurretID="2" />
			</ModelConditionState>
			<ModelConditionState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="FORMATION_PREVIEW">
				<Model
					Name="GUHamhead_FP" />
			</ModelConditionState>
			<ModelConditionState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="DAMAGED USER_6">
				<Model
					Name="GUHamhead_SKN" />
				<Texture
					Original="GUHamhead"
					New="GUHamhead_UGCA" />

				<ParticleSysBone
					BoneName="FX_Rfan"
					FXParticleSystemTemplate="orcadamagesmoke"
					FollowBone="true" />
			</ModelConditionState>
			<ModelConditionState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="DAMAGED">
				<Model
					Name="GUHamhead_SKN" />
				<ParticleSysBone
					BoneName="Bone_Engine_L"
					FXParticleSystemTemplate="Venomexhaust"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="Bone_Engine_R"
					FXParticleSystemTemplate="VenomExhaust"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="Bone_Engine_L"
					FXParticleSystemTemplate="VenomDamagedSmoke"
					FollowBone="true" />
			</ModelConditionState>
			<ModelConditionState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="REALLYDAMAGED">
				<Model
					Name="GUHamhead_SKN" />
				<Texture
					Original="GUHamhead"
					New="GUHamheadD" />
				<ParticleSysBone
					BoneName="Bone_Engine_L"
					FXParticleSystemTemplate="VenomExhaust"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="Bone_Engine_R"
					FXParticleSystemTemplate="VenomExhaust"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="Bone_Engine_L"
					FXParticleSystemTemplate="VenomDamagedFire"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="Bone_Engine_L"
					FXParticleSystemTemplate="VenomDamagedSmoke"
					FollowBone="true" />
			</ModelConditionState>
			<ModelConditionState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="USER_6">
				<Model
					Name="GUHamhead_SKN" />
				<Texture
					Original="GUHamhead"
					New="GUHamhead_UGCA" />
			</ModelConditionState>
			
			<ModelConditionState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="DYING">
				<Model
					Name="GUHamheadR" />
				<ParticleSysBone
					BoneName="ROOTTRANSFORM"
					FXParticleSystemTemplate="GDIDebrisSmallFire"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="ROOTTRANSFORM"
					FXParticleSystemTemplate="GDIDebrisSmallFireDistortion"
					FollowBone="true" />
				<ParticleSysBone
					BoneName="ROOTTRANSFORM"
					FXParticleSystemTemplate="GDIDebrisSmallSmoke"
					FollowBone="true" />
			</ModelConditionState>
      <AnimationState
        ParseCondStateType="PARSE_DEFAULT"
        Flags="RESTART_ANIM_WHEN_COMPLETE">
        <Animation
          AnimationName="GUHamhead_IDLA"
          AnimationMode="ONCE"
          AnimationBlendTime="15" />
      </AnimationState>
      <AnimationState
        ParseCondStateType="PARSE_NORMAL"
        ConditionsYes="ATTACKING">
        <Animation
          AnimationName="GUHamhead_ATKA"
          AnimationMode="LOOP" />
      </AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="MOVING TURN_LEFT_HIGH_SPEED">
				<Animation
					AnimationName="GUHamhead_TRL"
					AnimationMode="ONCE"
					AnimationBlendTime="15" />
			</AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="MOVING TURN_RIGHT_HIGH_SPEED">
				<Animation
					AnimationName="GUHamhead_TRR"
					AnimationMode="ONCE"
					AnimationBlendTime="15" />
			</AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="MOVING TURN_LEFT">
				<Animation
					AnimationName="GUHamhead_TRL"
					AnimationMode="ONCE"
					AnimationBlendTime="15" />
			</AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="MOVING TURN_RIGHT">
				<Animation
					AnimationName="GUHamhead_TRR"
					AnimationMode="ONCE"
					AnimationBlendTime="15" />
			</AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="ACCELERATE">
				<Animation
					AnimationName="GUHamhead_ACC"
					AnimationMode="ONCE"
					AnimationBlendTime="15" />
			</AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="DECELERATE">
				<Animation
					AnimationName="GUHamhead_DEC"
					AnimationMode="ONCE"
					AnimationBlendTime="15" />
			</AnimationState>
			<AnimationState
				ParseCondStateType="PARSE_NORMAL"
				ConditionsYes="MOVING">
				<Animation
					AnimationName="GUHamhead_MOVA"
					AnimationMode="LOOP"
					AnimationBlendTime="15" />
			</AnimationState>
		</TruckDraw>
		
		</Draws>
		
		<Behaviors>

			<ArmorUpgrade xmlns="uri:ea.com:eala:asset"
				id="ModuleTag_CeramicArmorUpgrade"
				Permanent="true"
				ArmorSetFlag="PLAYER_UPGRADE">
				<TriggeredBy>Upgrade_CeramicArmor</TriggeredBy>
			</ArmorUpgrade>

			<ModelConditionUpgrade
				id="ModuleTag_ZOCOMHammerheadCeramicArmorUpgrade"
				AddConditionFlags="USER_6">
				<TriggeredBy>Upgrade_CeramicArmor</TriggeredBy>
			</ModelConditionUpgrade>
		
		</Behaviors>
	</GameObject>
</AssetDeclaration>
