<?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="DATA:GlobalData/GlobalDefines.xml" />
		<Include
			type="all"
			source="ART:GUPitbull_SKN.W3X" />
		<Include
			type="all"
			source="ART:GUPitbullD_SKN.W3X" />
		<Include
			type="all"
			source="ART:GUPitbullR_SKN.W3X" />
		<Include
			type="all"
			source="ART:GUPitbull_IDLA.w3x" />
		<Include
			type="all"
			source="ART:GUPitbull_MOVA.w3x" />
		<Include
			type="all"
			source="ART:GUPitbull_ATKA.w3x" />
		<Include
			type="all"
			source="ART:GUPitbull_FP.w3x" />			
		<Include
			type="all"
			source="ART:FXTracer.xml" />
		<Include
			type="all"
			source="ART:FXspotlight.w3x" />
		<Include
			type="instance"
			source="ART:EXTireTrack2.xml" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="GDIPitbull"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_GDIPitbull"
		ButtonImage="Portrait_GDIPitbull"
		Side="GDI"
		EditorSorting="UNIT"
		TransportSlotCount="1"
		BuildCost="700"
		BuildTime="7"
		CommandSet="GDIPitbullCommandSet"
		CommandPoints="100" 
		KindOf="PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS SCORE VEHICLE CAN_REVERSE_MOVE CAN_BE_FAVORITE_UNIT"
		RadarPriority="UNIT"
		ThreatLevel="10"
		ProductionQueueType="VEHICLE"
		UnitCategory="VEHICLE"
		WeaponCategory="MISSILE"
		VoicePriority="164"
		EditorName="GDIPitbull"
		Description="Desc:GDIPitbull"
		WorldMapArmoryUpgradesAllowed="Upgrade_GDIArmoryPitbullMortar"
		TypeDescription="Type:GDIPitbull">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:GDIPitbull</DisplayName>
		<DisplayUpgrade>Upgrade_GDIArmoryPitbullMortar</DisplayUpgrade>
		<ArmorSet
			Armor="GDIPitbullArmor"
			DamageFX="VehicleDamageFX" />
		<LocomotorSet
			Locomotor="GDIPitbullLocomotor"
			Condition="NORMAL"
			Speed="115.0" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<TruckDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true"
				TrackMarks="EXTireTrack2"
				TrackMarksOnlyWhenCorneringQuickly="true"
				TrackMarksLeftBone="Tire03"
				TrackMarksRightBone="Tire04"
				LeftFrontTireBone="Tire01"
				RightFrontTireBone="Tire02"
				LeftRearTireBone="Tire03"
				RightRearTireBone="Tire04"
				TireRotationMultiplier="0.2"
				PowerslideRotationAddition="1.25"
				ExtraPublicBone="Tire01 Tire02 Tire03 Tire04 FXWEAPON01 FXWEAPON02">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="GUPitbull_SKN" />
					<WeaponFireFXBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWEAPON01" />
					<WeaponFireFXBone
						WeaponSlotID="2"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="mortortube" />
					<WeaponLaunchBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWEAPON01" />
					<WeaponLaunchBone
						WeaponSlotID="2"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="mortortube" />
					<Turret
						TurretNameKey="Turret"
						TurretPitch="B_ Gun"
						TurretID="1" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED">
					<Model
						Name="GUPitbull_SKN" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="GUPitbull_SKN" />
					<Texture
						Original="GUPitbull"
						New="GUPitbullD" />
					<ParticleSysBone
						BoneName="TIRE03"
						FXParticleSystemTemplate="GDIPitbullDamagedSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Model
						Name="GUPitbullR_SKN" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="GUPitbull_FP" />
				</ModelConditionState>				
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT"></AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<!-- no anim -->
				</AnimationState>
			</TruckDraw>
			<SpotlightDraw
				id="ModuleTag_Spotlight"
				AttachToBoneInAnotherModule="B_SPOTLIGHT"
				RefreshTime="2.0s"
				SweepTime="1.0s">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="FXspotlight" />
					<WeaponFireFXBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWEAPON01" />
					<WeaponLaunchBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWEAPON01" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<!-- Draw nothing when in Formation Preview -->
					<Model
						Name="" />
				</ModelConditionState>
			</SpotlightDraw>
		</Draws>
		<Behaviors>
			<ProductionUpdate
				id="ProductionUpdateModuleTag"
				GiveNoXP="true" />
			<WeaponSetUpdate
				id="ModuleTag_WeaponSetUpdate">
				<WeaponSlotTurret
					ID="1"
					AllowInterleavedFiring="false"
					InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE"
					WeaponChoiceCriteria="PREFER_MOST_DAMAGE">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="GDIPitbullRocketWeapon" />
					<TurretSettings
						TurretTurnRate="2000"
						TurretPitchRate="200"
						AllowsPitch="true"
						MinIdleScanTime="1.0s"
						MaxIdleScanTime="5.0s"
						MinIdleScanAngle="0.0"
						MaxIdleScanAngle="90.0">
						<TurretAITargetChooserData
							CanAcquireDynamicIfAssignedOutOfRange="true" />
					</TurretSettings>
				</WeaponSlotTurret>
				<WeaponSlotHardpoint
					ID="2">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="GDIPitbullMortar"
						ObjectStatus="WEAPON_UPGRADED_01" />
				</WeaponSlotHardpoint>
			</WeaponSetUpdate>
			<ProductionUpdate
				id="ModuleTag_ProductionUpdate" />
			<Physics
				id="ModuleTag_Physics" />
			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="3s"
				SinkRate="1.0"
				DestructionDelay="7s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_GDIPitBullDebris</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>
			<StealthDetectorUpdate
				id="ModuleTag_StealthDetect"
				DetectionRange="400" />
			<xi:include
				href="../../Includes/GDICallForTransportForVehicle.xml" />
			<StatusBitsUpgrade
				id="ModuleTag_UpgradeWeapon"
				StatusToSet="WEAPON_UPGRADED_01">
				<TriggeredBy>Upgrade_GDIArmoryPitbullMortar</TriggeredBy>
			</StatusBitsUpgrade>
			<SubObjectsUpgrade
				id="ModuleTag_MortarUpgrade"
				ShowSubObjects="MortorTube">
				<TriggeredBy>Upgrade_GDIArmoryPitbullMortar</TriggeredBy>
			</SubObjectsUpgrade>
			<StatusBitsUpgrade
				id="ModuleTag_VeterancyUpgrade"
				StatusToSet="WEAPON_UPGRADED_03">
				<TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
			</StatusBitsUpgrade>
      <AudioLoopUpgrade 
				id="PitbullUpgradeSound" 
				SoundToPlay="GDI_Mortar_Upgrade">
        <TriggeredBy>Upgrade_GDIArmoryPitbullMortar</TriggeredBy>
      </AudioLoopUpgrade>
		</Behaviors>
		<AI>
			<AIUpdate
				id="ModuleTag_AI"
				AutoAcquireEnemiesWhenIdle="YES"
				AILuaEventsList="GDIPitbullFunctions">
				<UnitAITargetChooserData
					SympathyRange="100.0"
					RotateToTargetWhenAiming="false" />
			</AIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_Body"
				MaxHealth="1450" />
		</Body>
		<ClientBehaviors>
			<UpgradeSoundSelectorClientBehavior
				id="ModuleTag_GDI_Pitbull_VoiceAttackMortar">
				<Override>
					<AudioArrayVoice>
						<AudioEntry
							Sound="GDI_Pitbull_VoiceAttackMortar"
							AudioType="voiceAttack" />
					</AudioArrayVoice>
					<RequiredUpgrade>Upgrade_GDIArmoryPitbullMortar</RequiredUpgrade>
				</Override>
			</UpgradeSoundSelectorClientBehavior>
		</ClientBehaviors>
		<Geometry
			IsSmall="true">
			<Shape
				Type="BOX"
				MajorRadius="14.0"
				MinorRadius="7.0"
				Height="11.5"
				ContactPointGeneration="VEHICLE" />
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry
				Sound="GDI_Pitbull_VoiceAttack"
				AudioType="voiceAttack" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceCreate"
				AudioType="voiceCreated" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceMove"
				AudioType="voiceMove" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceMove"
				AudioType="voiceGuard" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceMoveAttack"
				AudioType="voiceAttackAfterMoving" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceRetreat"
				AudioType="voiceRetreatToCastle" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceSelectMS"
				AudioType="voiceSelect" />
			<AudioEntry
				Sound="GDI_Pitbull_VoiceSelectBattleMS"
				AudioType="voiceSelectBattle" />
			<NamedEntry
				Sound="GDI_Pitbull_VoiceAttackMortar"
				Name="InitiatePitbullBombard" />
		</AudioArrayVoice>
		<!--
	GDI_Pitbull_VoiceAttackMortarMS
-->
		<AudioArraySound>
			<AudioEntry
				Sound="AudioEvent:PitbullMoveStart"
				AudioType="soundMoveStart" />
			<AudioEntry
				Sound="AudioEvent:PitbullIdleLoop"
				AudioType="soundAmbient" />
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="350"
			ShroudClearingRange="500" />
		<CrusherInfo
			CrusherLevel="0"
			CrushEqualLevelProps="true"
			CrushableLevel="2" />
	</GameObject>
</AssetDeclaration>