<?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>
		<Include
			type="all"
			source="ART:NUWodTnk_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnkR_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_SKN_UG.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_FP.w3x" />			
		<Include
			type="all"
			source="ART:NUWodTnkR_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_IDLA.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_HSTL.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_HSTR.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_TRNL.w3x" />
		<Include
			type="all"
			source="ART:NUWodTnk_TRNR.w3x" />
		<Include
			type="all"
			source="ART:FXspotlight.w3x" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="BlackHandStealthTank"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_NODWodTank"
		ButtonImage="Portrait_NODWodTank"
		Side="BlackHand"
		EditorSorting="UNIT"
		TransportSlotCount="1"
		BuildCost="1200"
		BuildTime="12"
		CommandSet="NODStealthTankCommandSet"
		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"
		ShockwaveResistance="90"
		ProductionQueueType="VEHICLE"
		UnitCategory="VEHICLE"
		WeaponCategory="MISSILE"
		VoicePriority="200"
		EditorName="BlackHandStealthTank"
		HasFiredRecentlyTime="2s"
		WorldMapArmoryUpgradesAllowed="Upgrade_NODTechCenterTibCoreMissiles"
		Description="Desc:BlackHandStealthTank"
		TypeDescription="Type:BlackHandStealthTank"
		ReinvisibilityDelay="4s">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">NAME:BlackHandStealthTank</DisplayName>
		<DisplayUpgrade>Upgrade_NODTechCenterTibCoreMissiles</DisplayUpgrade>
		<GameDependency>
			<RequiredObject>BlackHandOperationsCenter</RequiredObject>
		</GameDependency>
		<ArmorSet
			Armor="BlackHandStealthTankArmor"
			DamageFX="VehicleDamageFX" />
		<LocomotorSet
			Locomotor="NODRaiderTankLocomotor"
			Condition="NORMAL"
			Speed="100.0" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<TankDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true"
				ExtraPublicBone="FXTracksL FXTracksR FXTracksB FXWeaponL FXWeaponR FXMUZZLEFLASH"
				TrackMarks="EXTnkTrack"
				TrackMarksLeftBone="FXTracksL"
				TrackMarksRightBone="FXTracksR"				
				TreadAnimationRate="0.15"
				TreadDriveSpeedFraction="0.25"
				TreadPivotSpeedFraction="0.9">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT"
					RetainSubObjects="true">
					<Model
						Name="NUWodTnk_SKN" />
					<WeaponFireFXBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWeaponL" />
					<WeaponFireFXBone
						WeaponSlotType="SECONDARY_WEAPON"
						BoneName="FXWeaponR" />
					<WeaponLaunchBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FXWeaponL" />
					<WeaponLaunchBone
						WeaponSlotType="SECONDARY_WEAPON"
						BoneName="FXWeaponR" />
					<!--
					<WeaponRecoilBone WeaponSlotType="PRIMARY_WEAPON" BoneName="Barrel" />
					<WeaponMuzzleFlash WeaponSlotType="PRIMARY_WEAPON" BoneName="TurretFX" />
					-->
					<Turret
						TurretNameKey="Turret"
						TurretPitch="Bone_Pitch"
						TurretID="1" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="NUWodTnk_FP" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					RetainSubObjects="true"
					ConditionsYes="DAMAGED USER_5">
					<Model
						Name="NUWodTnk_SKN_UG" />
          <Texture
						Original="NUWodTnk"
						New="NUWodTnkD" />
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					RetainSubObjects="true"
					ConditionsYes="REALLYDAMAGED USER_5">
					<Model
						Name="NUWodTnk_SKN_UG" />
					<Texture
						Original="NUWodTnk"
						New="NUWodTnkD" />						
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_5">
					<Model
						Name="NUWodTnk_SKN_UG" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					RetainSubObjects="true"
					ConditionsYes="DAMAGED">
					<Model
						Name="NUWodTnk_SKN" />
          <Texture
						Original="NUWoDTnk"
						New="NUWoDTnkD" />
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					RetainSubObjects="true"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="NUWodTnk_SKN" />
					<Texture
						Original="NUWoDTnk"
						New="NUWoDTnkD" />						
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="BONE_REAR"
						FXParticleSystemTemplate="NODDamagedSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Model
						Name="NUWodTnkR_SKN" />
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT">
					<Animation
						AnimationName="NUWodTnk_IDLA"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<Script>
						CurDrawableShowSubObject("TreadsStop")
						CurDrawableHideSubObject("TreadsMove")
						CurDrawableHideSubObject("TreadsTurnLeft")
						CurDrawableHideSubObject("TreadsTurnRight")
					</Script>
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT_HIGH_SPEED">
					<Animation
						AnimationName="NUWodTnk_HSTL"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<Script>
						CurDrawableHideSubObject("TreadsStop")
						CurDrawableHideSubObject("TreadsMove")
						CurDrawableShowSubObject("TreadsTurnLeft")
						CurDrawableHideSubObject("TreadsTurnRight")
					</Script>
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="TreadDust"
						FollowBone="true" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT_HIGH_SPEED">
					<Animation
						AnimationName="NUWodTnk_HSTR"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<Script>
						CurDrawableHideSubObject("TreadsStop")
						CurDrawableHideSubObject("TreadsMove")
						CurDrawableHideSubObject("TreadsTurnLeft")
						CurDrawableShowSubObject("TreadsTurnRight")
					</Script>
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="TreadDust"
						FollowBone="true" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT">
					<Animation
						AnimationName="NUWodTnk_TRNL"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<Script>
						CurDrawableHideSubObject("TreadsStop")
						CurDrawableHideSubObject("TreadsMove")
						CurDrawableShowSubObject("TreadsTurnLeft")
						CurDrawableHideSubObject("TreadsTurnRight")
					</Script>
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="TreadDust"
						FollowBone="true" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT">
					<Animation
						AnimationName="NUWodTnk_TRNR"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<Script>
						CurDrawableHideSubObject("TreadsStop")
						CurDrawableHideSubObject("TreadsMove")
						CurDrawableHideSubObject("TreadsTurnLeft")
						CurDrawableShowSubObject("TreadsTurnRight")
					</Script>
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="TreadDust"
						FollowBone="true" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING">
					<Animation
						AnimationName="NUWodTnk_IDLA"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<Script>
						CurDrawableHideSubObject("TreadsStop")
						CurDrawableShowSubObject("TreadsMove")
						CurDrawableHideSubObject("TreadsTurnLeft")
						CurDrawableHideSubObject("TreadsTurnRight")
					</Script>
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="TreadDust"
						FollowBone="true" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Animation
						AnimationName="NUWodTnk_IDLA"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="GDIMammothHulkFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="GDIMammothHulkFireGlow"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="GDIMammothHulkFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="NONE"
						FXParticleSystemTemplate="GDIMammothHulkSmoke"
						FollowBone="true" />
				</AnimationState>
				<LeftTread>"TreadsL"</LeftTread>
				<RightTread>"TreadsR"</RightTread>
				<ArticulationBone
					ArticulationBoneName="Bone_ArmR"
					ArticulationHelperBoneName="FXTracksL" />
				<ArticulationBone
					ArticulationBoneName="Bone_ArmL"
					ArticulationHelperBoneName="FXTracksR" />

			</TankDraw>
<!--			
			<TankDraw
				id="ModuleTag_Stealth"
				OkToChangeModelColor="true"
				InvertStealthOpacity="true"
				ExtraPublicBone="FXTracksL FXTracksR FXTracksB FXWeaponL FXWeaponR"
				TreadAnimationRate="0.15"
				TreadDriveSpeedFraction="0.25"
				TreadPivotSpeedFraction="0.9">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="NUStlthTnkStlth" />
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT">
					<Animation
						AnimationName="NUWodTnk_IDLA"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT_HIGH_SPEED">
					<Animation
						AnimationName="NUWodTnk_HSTL"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT_HIGH_SPEED">
					<Animation
						AnimationName="NUWodTnk_HSTR"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT">
					<Animation
						AnimationName="NUWodTnk_TRNL"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT">
					<Animation
						AnimationName="NUWodTnk_TRNR"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING">
					<Animation
						AnimationName="NUWodTnk_IDLA"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Animation
						AnimationName="NUWodTnk_IDLA"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<LeftTread>"TreadsL"</LeftTread>
				<RightTread>"TreadsR"</RightTread>
				<ArticulationBone
					ArticulationBoneName="Bone_ArmR"
					ArticulationHelperBoneName="FXTracksL" />
				<ArticulationBone
					ArticulationBoneName="Bone_ArmL"
					ArticulationHelperBoneName="FXTracksR" />
				<ArticulationBone
					ArticulationBoneName="Bone_Rear"
					ArticulationHelperBoneName="FXTracksB" />
			</TankDraw>
-->			
      <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>
			<Physics
				id="ModuleTag_04" />
			<ProductionUpdate
				id="ModuleTag_08" />
			<WeaponSetUpdate>
				<WeaponSlotTurret
					ID="1"
					AllowInterleavedFiring="true"
					InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE"
					WeaponChoiceCriteria="PREFER_MOST_DAMAGE">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="BlackHandTankTankRocket" />
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="BlackHandTankTankRocketTibCore"
						ObjectStatus="WEAPON_UPGRADED_01" />
					<Weapon
						Ordering="SECONDARY_WEAPON"
						Template="BlackHandTankTankRocket" />
					<Weapon
						Ordering="SECONDARY_WEAPON"
						Template="BlackHandTankTankRocketTibCore"
						ObjectStatus="WEAPON_UPGRADED_01" />						
					<TurretSettings
						TurretTurnRate="500"
						TurretPitchRate="40"
						AllowsPitch="true"
						MinIdleScanTime="1.0s"
						MaxIdleScanTime="5.0s"
						MinIdleScanAngle="0.0"
						MaxIdleScanAngle="90.0">
						<TurretAITargetChooserData
							CanPickDynamicTargets="true"
							CanAcquireDynamicIfAssignedOutOfRange="true" />
					</TurretSettings>
				</WeaponSlotTurret>
			</WeaponSetUpdate>
			<!-- removing Cloaking Field update -->
			<InvisibilityUpdate
				id="ModuleTag_Invisibility"
				xai:joinAction="Remove"
			/>

			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="3s"
				SinkRate="1.0"
				DestructionDelay="7s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_NODBlackHandStealthTankDebris</OCL>
				</OCL>
				<DieMuxData
					DeathTypes="ALL"
					DeathTypesForbidden="TOPPLED" />
				<Sound Type="INITIAL" List="NOD_Mantis_VoiceDie" />
			</SlowDeath>
			<FXListBehavior
				id="ModuleTag_FXList">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onDeath"
					FX="FX_GDIMammothExplode" />
			</FXListBehavior>
			<StatusBitsUpgrade
				id="ModuleTag_UpgradeWeapon"
				StatusToSet="WEAPON_UPGRADED_01">
				<TriggeredBy>Upgrade_NODTechCenterTibCoreMissiles</TriggeredBy>
			</StatusBitsUpgrade>
			
			<ModelConditionUpgrade
				id="ModuleTag_AllFactionUpgrade"
				AddConditionFlags="USER_5">
				<TriggeredBy>Upgrade_NODTechCenterTibCoreMissiles</TriggeredBy>
			</ModelConditionUpgrade>
			<AudioLoopUpgrade 
				id="NOD_TiberiumCoreMissile_Upgrade" 
				SoundToPlay="NOD_TiberiumCoreMissile_Upgrade">
       		<TriggeredBy>Upgrade_NODTechCenterTibCoreMissiles</TriggeredBy>
      		</AudioLoopUpgrade>
			<StatusBitsUpgrade
				id="ModuleTag_VeterancyUpgrade"
				StatusToSet="WEAPON_UPGRADED_03">
				<TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
			</StatusBitsUpgrade>
			
			<StealthDetectorUpdate
				id="ModuleTag_StealthDetect"
				DetectionRange="250" />	
						
		</Behaviors>
		<AI>
			<AIUpdate
				id="ModuleTag_03">
				<UnitAITargetChooserData
					CanPickDynamicTargets="false"
					SympathyRange="100.0"
					RotateToTargetWhenAiming="false" />
			</AIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_02"
				MaxHealth="1875" />
		</Body>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="11.0"
				MinorRadius="11.0"
				Height="13"
				ContactPointGeneration="VEHICLE" />
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry Sound="NOD_Mantis_VoiceAttackMS" AudioType="voiceAttack" />
			<AudioEntry Sound="NOD_Mantis_VoiceCreateMS" AudioType="voiceCreated" />
			<AudioEntry Sound="NOD_Mantis_VoiceHelp" AudioType="voiceFear" />
			<AudioEntry Sound="NOD_Mantis_VoiceMoveMS" AudioType="voiceGuard" />
			<AudioEntry Sound="NOD_Mantis_VoiceMoveMS" AudioType="voiceMove" />
			<AudioEntry Sound="NOD_Mantis_VoiceMoveMS" AudioType="voiceRetreatToCastle" />
			<AudioEntry Sound="NOD_Mantis_VoiceSelectMS" AudioType="voiceSelect" />
		</AudioArrayVoice>
		<AudioArraySound>
			<AudioEntry Sound="NOD_StealthTank_IdleLoop" AudioType="soundAmbient" />
			<AudioEntry Sound="NOD_Mantis_MoveByLoop" AudioType="soundMoveLoop" />
			<AudioEntry Sound="NOD_Mantis_MoveStart" AudioType="soundMoveStart" />
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="350"
			ShroudClearingRange="400" />
		
		<CrusherInfo
			CrusherLevel="1"
			CrushableLevel="2" />	
		
	</GameObject>
</AssetDeclaration>