<?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="DATA:GlobalData/GlobalDefines.xml" />
		<Include
			type="all"
			source="ART:AUInvFtr_SKN.w3x" />
		<Include
			type="all"
			source="ART:AUInvFtr_FLYA.w3x" />
		<Include
			type="all"
			source="ART:AUInvFtr_TRNL.w3x" />
		<Include
			type="all"
			source="ART:AUInvFtr_TRNR.w3x" />
		<Include
			type="all"
			source="ART:AUInvFtrIon.w3x" />
		<Include
			type="all"
			source="ART:AUPACarrier_K.xml" />
		<Include
			type="all"
			source="ART:AUPACarrierD_K.xml" />					
		<Include
			type="all"
			source="ART:FXTracerAlien.xml" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="AlienInvaderFighter"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_ALIENInvaderFighter"
		ButtonImage="Portrait_ALIENInvaderFighter"
		Side="ALIEN"
		EditorSorting="UNIT"
		TransportSlotCount="0"
		BuildCost="10"
		BuildTime="1.0"
		CommandSet="EmptyCommandSet"
		KindOf="=$ALIEN_INVADERFIGHTER_KINDOF"
		RadarPriority="UNIT"
		ThreatLevel="10"
		ProductionQueueType="AIRCRAFT"
		UnitCategory="AIRCRAFT"
		WeaponCategory="GUN"
		VoicePriority="6"
		EditorName="AlienInvaderFighter">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:AlienInvaderFighter</DisplayName>
		<ArmorSet
			Armor="AlienInvaderFighterArmor"
			DamageFX="VehicleDamageFX" />
		<LocomotorSet
			Locomotor="AlienInvaderFighter"
			Condition="NORMAL"
			Speed="200.0" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<ScriptedModelDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="AUInvFtr_SKN" />
					<WeaponLaunchBone
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FX_WEAPON_" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_5 USER_6">
					<Model
						Name="AUInvFtrIon" />
					<Texture
						Original="AUPACarrier"
						New="AUPACarrier_K" />							
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_5">
					<Model
						Name="AUInvFtrIon" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_6">
					<Model
						Name="AUInvFtr_SKN" />
					<Texture
						Original="AUPACarrier"
						New="AUPACarrier_K" />	
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT">
					<Animation
						AnimationName="AUInvFtr_FLYA"
						AnimationMode="ONCE" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="TURN_LEFT">
					<Animation
						AnimationName="AUInvFtr_TRNL"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="TURN_RIGHT">
					<Animation
						AnimationName="AUInvFtr_TRNR"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING">
					<Animation
						AnimationName="AUInvFtr_FLYA"
						AnimationMode="LOOP" />
				</AnimationState>
			</ScriptedModelDraw>
			<ScriptedModelDraw
				id="ModuleTag_FX">
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="NONE">
					<Model
						Name="" />
					<ParticleSysBone
						BoneName=""
						FXParticleSystemTemplate="AlienStormRiderContrail" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="COMBINED_CHILD">
					<Model
						Name="" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_5">
					<Model
						Name="" />
					<ParticleSysBone
						BoneName=""
						FXParticleSystemTemplate="AlienIonHullContrail" />
				</ModelConditionState>
			</ScriptedModelDraw>
			<TracerModelDraw
				id="ModuleTag_TracerModelDrawAdd"
				MinLength="50.0"
				MaxLength="50.0"
				Width="8.0"
				MinSpeed="25"
				MaxSpeed="25"
				SweepSpeed="1.0"
				SpreadAngle="0.0"
				MinTracersPerFrame="0.08"
				MaxTracersPerFrame="0.08"
				FrameLifeTime="35"
				WeaponSlotType="PRIMARY_WEAPON"
				Texture="FXTracerAlien"
				UseAdditiveBlending="true"
				TracerHitFx="FX_AlienAutoCannonHit">
				<HeadColor
					r="1.0"
					g="1.0"
					b="1.0"
					a="1.0" />
				<TailColor
					r="0.0"
					g="0.0"
					b="0.0"
					a="0.0" />
				<ObjectStatusValidation
					ForbiddenStatus="WEAPON_UPGRADED_03" />						
			</TracerModelDraw>
			<TracerModelDraw
				id="ModuleTag_TracerModelDrawAddVeterancy"
				MinLength="50.0"
				MaxLength="50.0"
				Width="8.0"
				MinSpeed="25"
				MaxSpeed="25"
				SweepSpeed="1.0"
				SpreadAngle="0.0"
				MinTracersPerFrame="0.08"
				MaxTracersPerFrame="0.08"
				FrameLifeTime="35"
				WeaponSlotType="PRIMARY_WEAPON"
				Texture="FXTracerAlienHeroic"
				UseAdditiveBlending="true"
				TracerHitFx="FX_AlienAutoCannonHitHeroic">
				<HeadColor
					r="1.0"
					g="1.0"
					b="1.0"
					a="1.0" />
				<TailColor
					r="0.0"
					g="0.0"
					b="0.0"
					a="0.0" />
				<ObjectStatusValidation
					RequiredStatus="WEAPON_UPGRADED_03" />						
			</TracerModelDraw>
		</Draws>
		<Behaviors>
			<WeaponSetUpdate
				id="ModuleTag_WeaponSetUpdate">
				<WeaponSlotHardpoint
					ID="1">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="AlienInvaderFighterCannon" />
				</WeaponSlotHardpoint>
			</WeaponSetUpdate>
			<Physics
				id="ModuleTag_Physics" />
			<ProductionUpdate
				id="ModuleTag_Production"
				MaxQueueEntries="1" />
			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="0s"
				SinkRate="0.5"
				DestructionDelay="0s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_ALIENInvaderFighterDebris</OCL>
				</OCL>
				<DieMuxData
					DeathTypes="ALL"
					DeathTypesForbidden="TOPPLED" />
				<Sound
					Type="INITIAL"
					List="ALI_PAC_SoundDie_SmallExplosion" />
			</SlowDeath>
			<FXListBehavior
				id="ModuleTag_FXList">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onDeath"
					FX="FX_ALIENVehicleExplode" />
			</FXListBehavior>
			<SlavedUpdate
				id="ModuleTag_SlavedUpdate"
				LeashRange="600"
				GuardMaxRange="0"
				GuardWanderRange="0"
				AttackRange="0"
				DieOnMastersDeath="true" />
			<StatusBitsUpgrade
				id="ModuleTag_VeterancyUpgrade"
				StatusToSet="WEAPON_UPGRADED_03">
				<TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
			</StatusBitsUpgrade>	
			<ModelConditionUpgrade
				id="ModuleTag_AllFactionUpgrade"
				AddConditionFlags="USER_6">
				<TriggeredBy>Upgrade_AllFactionUpgrade</TriggeredBy>
			</ModelConditionUpgrade>						
		</Behaviors>
		<AI>
			<JetAIUpdate
				id="ModuleTag_AI"
				NeedsRunway="false"
				KeepsParkingSpaceWhenAirborne="false"
				AutoAcquireEnemiesWhenIdle="YES"
				SneakyOffsetWhenAttacking="0.0"
				CirclesForAttack="true"
				SpawnOffsetRadius="160.0">
				<UnitAITargetChooserData
					CanPickDynamicTargets="false" />
				<LockonInfo />
			</JetAIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_04"
				MaxHealth="550" />
		</Body>
		<ClientBehaviors>
			<ModelConditionAudioLoopClientBehavior
				id="ModuleTag_Docking">
				<ModelConditionSound
					Sound="ALI_PAC_Weapon_Invader_ReturnDock"
					RequiredFlags="COMBINED_CHILD" />
			</ModelConditionAudioLoopClientBehavior>
			<ModelConditionAudioLoopClientBehavior
				id="ModuleTag_Launching">
				<ModelConditionSound
					Sound="ALI_PAC_Weapon_Invader_DeployLaunch"
					ExcludedFlags="COMBINED_CHILD" />
			</ModelConditionAudioLoopClientBehavior>
		</ClientBehaviors>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="15.0"
				MinorRadius="3.0"
				Height="5.0"></Shape>
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry
				Sound="AudioEvent:ALI_PAC_Weapon_Invader_Attack"
				AudioType="voiceAttack" />
		</AudioArrayVoice>
		<AudioArraySound>
			<AudioEntry
				Sound="AudioEvent:ALI_PAC_Weapon_Invader_Attack"
				AudioType="soundMoveStart" />
			<AudioEntry
				Sound="AudioEvent:ALI_PAC_Weapon_Invader_MoveLoop"
				AudioType="soundMoveLoop" />
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="180"
			ShroudClearingRange="400" />
	</GameObject>
</AssetDeclaration>