<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Tags></Tags>
	<Includes>
		<Include
			type="all"
			source="ART:NUCarryAll_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_FP.w3x" />			
		<Include
			type="all"
			source="ART:NUCarryAll_IDLA.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_FLYA.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_TRNL.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_TRNR.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_OPNA.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_CLSA.w3x" />
		<Include
			type="all"
			source="ART:NUCarryAll_D.xml" />
		<Include
			type="all"
			source="ART:FXTracer.xml" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="NODCarryall"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_NODCarryall"
		ButtonImage="Portrait_NODCarryall"
		Side="NOD"
		EditorSorting="UNIT"
		TransportSlotCount="0"
		BuildCost="10"
		BuildTime="1.0"
		CommandSet="NODCarryallCommandSet"
		IsTrainable="true"
		KindOf="PRELOAD CAN_CAST_REFLECTIONS CAN_ATTACK SELECTABLE AIRCRAFT VEHICLE TRANSPORT SUMMONED"
		RadarPriority="UNIT"
		BuildCompletion="APPEARS_AT_RALLY_POINT"
		ProductionQueueType="AIRCRAFT"
		UnitCategory="AIRCRAFT"
		VoicePriority="56"
		EditorName="NODCarryall"
		Description="Desc:NODCarryall"
		TypeDescription="Type:NODCarryall">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:NODCarryall</DisplayName>
		<ArmorSet
			Armor="NODCarryallArmor"
			DamageFX="VehicleDamageFX" 
			id="Armor"/>
		<LocomotorSet
			Locomotor="NODCarryallLocomotor"
			Condition="NORMAL"
			Speed="100.0" 
			id="Locomotor_Normal"/>
		<LocomotorSet
			Locomotor="BasicHelicopterTaxiLocomotor"
			Condition="TAXIING"
			Speed="10" 
			id="Locomotor_Taxi"/>
		<Draws>
			<ScriptedModelDraw
				id="ModuleTag_Draw"
				ExtraPublicBone="ROOT"
				OkToChangeModelColor="true">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="NUCarryAll_SKN" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="NUCarryAll_FP" />
				</ModelConditionState>					
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED">
					<Model
						Name="NUCarryAll_SKN" />
					<ParticleSysBone
						BoneName="Bone_Fan_RR"
						FXParticleSystemTemplate="orcaexhaust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Fan_RR"
						FXParticleSystemTemplate="orcadamagesmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="NUCarryAll_SKN" />
					<Texture
						Original="NUCarryAll"
						New="NUCarryAll_D" />
					<ParticleSysBone
						BoneName="Bone_Fan_RR"
						FXParticleSystemTemplate="orcaexhaust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Fan_RR"
						FXParticleSystemTemplate="orcadamagefire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Fan_RR"
						FXParticleSystemTemplate="orcadamagesmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Model
						Name="NUCarryAll_SKN" />
					<Texture
						Original="NUCarryAll"
						New="NUCarryAll_D" />
					<ParticleSysBone
						BoneName="Bone_Engine_LF"
						FXParticleSystemTemplate="orcaexhaust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Engine_RR"
						FXParticleSystemTemplate="orcaexhaust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Engine_RR"
						FXParticleSystemTemplate="orcadamagefire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Engine_RR"
						FXParticleSystemTemplate="orcadamagesmoke"
						FollowBone="true" />
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT"
					Flags="MAINTAIN_FRAME_ACROSS_STATES">
					<Animation
						AnimNickName="HVRA"
						AnimationName="NUCarryAll_IDLA"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT"
					Flags="MAINTAIN_FRAME_ACROSS_STATES">
					<Animation
						AnimNickName="HVRA"
						AnimationName="NUCarryAll_TRNL"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT"
					Flags="MAINTAIN_FRAME_ACROSS_STATES">
					<Animation
						AnimNickName="HVRA"
						AnimationName="NUCarryAll_TRNR"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING"
					Flags="MAINTAIN_FRAME_ACROSS_STATES">
					<Animation
						AnimNickName="HVRA"
						AnimationName="NUCarryAll_FLYA"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DOOR_1_OPENING">
					<Animation
						AnimationName="NUCarryAll_OPNA"
						AnimationMode="ONCE" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DOOR_1_CLOSING">
					<Animation
						AnimationName="NUCarryAll_CLSA"
						AnimationMode="ONCE" />
				</AnimationState>				
			</ScriptedModelDraw>
		</Draws>
		<Behaviors>
			<WeaponSetUpdate
				id="ModuleTag_WeaponSetUpdate">
				<WeaponSlotHardpoint
					ID="1"
					InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="AirborneTransportRangefinder" />
				</WeaponSlotHardpoint>
			</WeaponSetUpdate>
			<Physics
				id="ModuleTag_Physics" />
			<ProductionUpdate
				id="ModuleTag_ProductionUpdate"
				MaxQueueEntries="1" />
			<HordeTransportContain
				id="ModuleTag_Contain"
				ObjectStatusOfContained="UNSELECTABLE ENCLOSED"
				ContainMax="6"
				Slots="6"
				AllowEnemiesInside="false"
				AllowAlliesInside="false"
				AllowNeutralInside="false"
				AllowOwnPlayerInsideOverride="true"
				ShowPips="true"
				EnterSound="VehicleEnter"
				ExitSound="VehicleExit"
				KillPassengersOnDeath="true"
				ExtendedExitContainerChecks="true">
				<PassengerFilter
					Rule="ANY"
					Include="INFANTRY" />
				<DieMuxData
					DeathTypes="ALL" />
				<PassengerData
					BonePrefix="ROOT">
					<Filter
						Rule="NONE"
						Include="INFANTRY" />
				</PassengerData>
			</HordeTransportContain>
			<MoveToPositionAndEvacuateSpecialPower
				id="ModuleTag_MoveToPositionAndEvacuate"
				SpecialPowerTemplate="SpecialPowerMoveToPositionAndEvacuate" />
			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="0s"
				SinkRate="0.5"
				DestructionDelay="0.01s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_NODCarryAllInitialDebris</OCL>
				</OCL>
				<DieMuxData
					DeathTypes="ALL"
					DeathTypesForbidden="TOPPLED" />
				<FX Type="INITIAL">
					<FX>FX_NOD_Carryall_VoiceDie</FX>
				</FX>
				<!--
				<Sound
					Type="INITIAL"
					List="NOD_Carryall_VoiceCrash" />
-->
			</SlowDeath>
			<FXListBehavior
				id="ModuleTag_FXList">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onDeath"
					FX="FX_GDIAirVehicleExplode" />
			</FXListBehavior>
		</Behaviors>
		<AI>
			<TransportHelicopterAIUpdate
				id="ModuleTag_06"
				AutoAcquireEnemiesWhenIdle="NO"
				FlyOffMapOnUnload="false"
				DelayAFterLoadingOrUnloading="2s">
				<UnitAITargetChooserData					
					SympathyRange="100.0" />
			</TransportHelicopterAIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_Body"
				MaxHealth="2500" />
		</Body>
		<ClientBehaviors>
			<ModelConditionAudioLoopClientBehavior
	id="ModuleTag_TakeoffLanding">
				<ModelConditionSound
                		Sound="V35DropShipLand"
                		RequiredFlags="LANDING" />
				<ModelConditionSound
                    Sound="V35DropShipTakeOff"
                    RequiredFlags="TAKING_OFF" />
			</ModelConditionAudioLoopClientBehavior>
		</ClientBehaviors>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="35.0"
				MinorRadius="20.0"
				Height="10.0"
				ContactPointGeneration="VEHICLE">
				<Offset
					x="10.0" 
					z="10.0"/>
			</Shape>
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry
				Sound="NOD_Carryall_VoiceCreate"
				AudioType="voiceCreated" />
			<AudioEntry
				Sound="NOD_Carryall_VoiceMove"
				AudioType="voiceMove" />
			<AudioEntry
				Sound="NOD_Carryall_VoiceRetreat"
				AudioType="voiceRetreatToCastle" />
			<AudioEntry
				Sound="NOD_Carryall_VoiceSelectMS"
				AudioType="voiceSelect" />
			<NamedEntry
				Sound="NOD_Carryall_VoiceMove"
				Name="InitiateMoveToPositionAndEvacuate" />
		</AudioArrayVoice>
<!--
NOD_Carryall_VoiceInbound
NOD_Carryall_VoiceInboundCancelled
-->

		<AudioArraySound>
			<AudioEntry
				Sound="NOD_CarryAll_MoveStart"
				AudioType="soundMoveStart" />
			<AudioEntry
				Sound="NOD_CarryAll_IdleLoop"
				AudioType="soundAmbient" />
			<AudioEntry
				Sound="NOD_CarryAll_MoveLoop"
				AudioType="soundMoveLoop" />
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="180"
			ShroudClearingRange="600" />
		<CrusherInfo
			CrusherLevel="0"
			CrushEqualLevelProps="true"
			/>
	</GameObject>
</AssetDeclaration>