<?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:SquadMarkNURoc.w3x" />
		<Include
			type="all"
			source="ART:NUSilent_SKN.w3x" />
		<Include
			type="all"
			source="ART:FXBlackHand_FP.w3x" />			
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseSquad.xml" />
	</Includes>
	<GameObject
		id="BlackHandCyborgInfantrySquad"
		inheritFrom="BaseSquad"
		SelectPortrait="Portrait_CyborgInfantry"
		ButtonImage="Portrait_CyborgInfantry"
		Side="BlackHand"
		EditorSorting="UNIT"
		TransportSlotCount="1"
		BuildCost="1800"
		BuildTime="18"
		CommandSet="NODCyborgInfantrySquadCommandSet"
		CommandPoints="100" 
		KindOf="SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT INFANTRY HORDE ARMY_SUMMARY LARGE_RECTANGLE_PATHFIND PATH_THROUGH_INFANTRY SKIRMISH_AI_DONT_GARRISON ANTI_GARRISON CAN_CAPTURE CAN_BE_FAVORITE_UNIT SCORE"
		FormationWidth="2"
		FormationDepth="1"
		ProductionQueueType="INFANTRY"
		UnitCategory="INFANTRY"
		WeaponCategory="GUN"
		EditorName="BlackHandCyborgInfantrySquad"
		Description="Desc:NODCyborgInfantry"
		TypeDescription="Type:NODCyborgInfantry"
		UnitTypeIcon="CyborgAwakenedPip">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:BlackHandCyborgInfantry</DisplayName>
		<GameDependency>
			<RequiredObject>BlackHandSecretShrine</RequiredObject>
		</GameDependency>
		<ArmorSet
			Armor="NoArmor" />
		<LocomotorSet
			Locomotor="NormalRangedSquadLocomotor"
			Condition="NORMAL"
			Speed="40" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<ScriptedModelDraw
				id="ModuleTag_01"
				OkToChangeModelColor="true">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="FXBlackHand_FP" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="WORLD_BUILDER">
					<Model
						Name="SquadMarkNURoc" />
				</ModelConditionState>
			</ScriptedModelDraw>
		</Draws>
		<Behaviors>
			<WeaponSetUpdate>
				<WeaponSlotHardpoint
					ID="1"
					AllowInterleavedFiring="false"
					InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE"
					WeaponChoiceCriteria="PREFER_MOST_DAMAGE">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="SquadGunRangefinder" />
				</WeaponSlotHardpoint>
			</WeaponSetUpdate>
			<StealthDetectorUpdate
				id="ModuleTag_StealthDetect"
				DetectionRange="100" />
			<Physics
				id="ModuleTag_PhysicsBehavior" />
			<ProductionUpdate
				id="ProductionUpdateModuleTag"
				GiveNoXP="true" />
			<HordeContain
				id="ModuleTag_HordeContain"
				FrontAngle="4.7123"
				FlankedDelaySeconds="2.0"
				ShowPips="false"
				Formation="MAIN"
				MeleeAttackLeashDistance="1"
				Slots="3"
				ObjectStatusOfContained=""
				ConditionForEntry="INVALID">
				<PassengerFilter
					Rule="NONE"
					Include="INFANTRY" />
				<DieMuxData />
				<InitialPayload
					Name="BlackHandCyborgInfantry"
					Count="3" />
				<MeleeBehavior
					Type="AMOEBA" />
				<RandomOffset
					x="4"
					y="4" />
				<RankInfo
					RankID="1"
					UnitType="BlackHandCyborgInfantry">
					<Position
						X="10"
						Y="-20" />
					<Position
						X="20"
						Y="0" />
					<Position
						X="10"
						Y="20" />
				</RankInfo>
				<RankToReleaseWhenAttacking>1</RankToReleaseWhenAttacking>
			</HordeContain>
			<xi:include
				href="../../Includes/NodCallForTransportInfantry.xml" />
			<xi:include
				href="DATA:Includes/CaptureBehavior.xml"
				xpointer="xmlns(n=uri:ea.com:eala:asset) xpointer(/n:Behaviors/child::*)" />
		</Behaviors>
		<AI>
			<HordeAIUpdate
				id="ModuleTag_HordeAIUpdate"
				AutoAcquireEnemiesWhenIdle="YES"
				MaxCowerTime="5.0s"
				MinCowerTime="3.0s"
				CanAttackWhileContained="true">
				<UnitAITargetChooserData
					SympathyRange="100.0" />
			</HordeAIUpdate>
		</AI>
		<Body>
			<ImmortalBody
				id="ModuleTag_ImmortalBody"
				MaxHealth="1.0" />
		</Body>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="20.0"
				MinorRadius="25.0"
				Height="13.0"></Shape>
		</Geometry>
		<VisionInfo
			VisionRange="350"
			ShroudClearingRange="400"
			MaxVisionBonusPercent="300"
			VisionBonusTestRadius="200"
			VisionBonusPercentPerFoot="1" />
		<CrusherInfo
			UseCrushAttack="false"
			CrushableLevel="0"
			CrusherLevel="0" />
	</GameObject>
</AssetDeclaration>