<?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:GUOrca_ACC.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_ATKA.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_DEC.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_HVRA.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_IDLA.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_MOVA.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_SKL.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_SKN.w3x" />
		<Include
			type="all"
			source="ART:GUOrcaR_SKN.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_TRL.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_TRR.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_PRK.w3x" />
		<Include
			type="all"
			source="ART:GUOrca_FP.w3x" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="GDIOrca"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_GDIOrca"
		ButtonImage="Portrait_GDIOrca"
		Side="GDI"
		EditorSorting="UNIT"
		TransportSlotCount="0"
		BuildCost="1100"
		BuildTime="11"
		CommandSet="GDIOrcaCommandSet"
		CommandPoints="100" 
		KindOf="PRELOAD CAN_CAST_REFLECTIONS CAN_ATTACK SELECTABLE SCORE AIRCRAFT VEHICLE ASSAULT_AIRCRAFT ATTACK_NEEDS_LINE_OF_SIGHT LINE_OF_SIGHT_IGNORES_BUILDINGS NO_COLLIDE CAN_BE_FAVORITE_UNIT RELOAD_AIRCRAFT"
		RadarPriority="UNIT"
		ThreatLevel="10"
		ProductionQueueType="AIRCRAFT"
		UnitCategory="AIRCRAFT"
		WeaponCategory="MISSILE"
		VoicePriority="148"
		EditorName="GDIOrca"
		Description="Desc:GDIOrca"
		WorldMapArmoryUpgradesAllowed="Upgrade_GDIHardpoints Upgrade_OrcaSensorPod"
		TypeDescription="Type:GDIOrca">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:GDIOrca</DisplayName>
		<DisplayUpgrade>Upgrade_OrcaSensorPod</DisplayUpgrade>
		<DisplayUpgrade id="ModuleTag_DisplayUpgradeGDIHardpoints">Upgrade_GDIHardpoints</DisplayUpgrade>
		<ArmorSet
			Armor="GDIOrcaArmor"
			DamageFX="VehicleDamageFX" />
		<LocomotorSet
			Locomotor="BasicHelicopterTaxiLocomotor"
			Condition="TAXIING"
			Speed="10" />
		<LocomotorSet
			Locomotor="OrcaLocomotor"
			Condition="NORMAL"
			Speed="175.0" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<ScriptedModelDraw
				id="ModuleTag_01"
				OkToChangeModelColor="true"
				ExtraPublicBone="FX_Lfan FX_Rfan Msl_pos01 Msl_pos02 Msl_pos03 Msl_pos04 Msl_pos05 Msl_pos06">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT"
					Skeleton="GUOrca_SKL">
					<Model
						Name="GUOrca_SKN" />
					<ShadowInfo
						Type="VOLUME" 
						MaxHeight="131"
					OpacityStart="0"
					OpacityFadeInTime="3s"
					OpacityPeak="1"
					OpacityFadeOutTime="3s"
					OpacityEnd="0"
						/>						
					<WeaponLaunchBone
						WeaponSlotID="1"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="Msl_pos" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="GUOrca_FP" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED">
					<Model
						Name="GUOrca_SKN" />
					<ParticleSysBone
						BoneName="FX_Rfan"
						FXParticleSystemTemplate="orcadamagesmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="GUOrca_SKN" />
					<Texture
						Original="GUOrca_07"
						New="GUOrca_07D" />
					<ParticleSysBone
						BoneName="FX_Rfan"
						FXParticleSystemTemplate="orcadamagefire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FX_Rfan"
						FXParticleSystemTemplate="orcadamagesmoke"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Model
						Name="GUOrcaR_SKN" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallFireDistortion"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallSmoke"
						FollowBone="true" />
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT">
					<Animation
						AnimNickName="HVRA"
						AnimationName="GUORCA_HVRA"
						AnimationMode="LOOP"
						AnimationSpeedFactorMin="0.9"
						AnimationSpeedFactorMax="1.1" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="LOCOMOTOR_TAXIING">
					<Animation
						AnimNickName="HVRA"
						AnimationName="GUORCA_PRK"
						AnimationMode="LOOP" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT_HIGH_SPEED">
					<Animation
						AnimationName="GUORCA_TRL"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT_HIGH_SPEED">
					<Animation
						AnimationName="GUORCA_TRR"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT">
					<Animation
						AnimationName="GUORCA_TRL"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT">
					<Animation
						AnimationName="GUORCA_TRR"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="ACCELERATE">
					<Animation
						AnimationName="GUORCA_ACC"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DECELERATE">
					<Animation
						AnimationName="GUORCA_DEC"
						AnimationMode="ONCE"
						AnimationBlendTime="15" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING">
					<Animation
						AnimationName="GUORCA_MOVA"
						AnimationMode="LOOP"
						AnimationBlendTime="15" />
				</AnimationState>
			</ScriptedModelDraw>
			<ScriptedModelDraw
				id="ModuleTag_Particles"
				OkToChangeModelColor="true"
				ExtraPublicBone="FX_Lfan FX_Rfan">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT"
					Skeleton="">
					<Model
						Name="" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="OVER_WATER">
					<Model
						Name="" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="OrcaJetWash"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_1">
					<Model
						Name="" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="OrcaDustDesert"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="OrcaDustRocksDesert"
						FollowBone="true" />
				</ModelConditionState>
			</ScriptedModelDraw>
			<ScriptedModelDraw
				id="ModuleTag_FX_Lfan"
				AttachToBoneInAnotherModule="FX_Lfan">
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="NONE">
					<Model
						Name="FXInvisBone" />
					<ParticleSysBone
						BoneName="INVISBONE01"
						FXParticleSystemTemplate="orcaexhaust"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="FXInvisBone" />
				</ModelConditionState>
			</ScriptedModelDraw>
			<ScriptedModelDraw
				id="ModuleTag_FX_Rfan"
				AttachToBoneInAnotherModule="FX_Lfan">
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="NONE">
					<Model
						Name="FXInvisBone" />
					<ParticleSysBone
						BoneName="INVISBONE01"
						FXParticleSystemTemplate="orcaexhaust"
						FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="FXInvisBone" />
				</ModelConditionState>
			</ScriptedModelDraw>
		</Draws>
		<Behaviors>
			<WeaponSetUpdate
				id="ModuleTag_WeaponSetUpdate">
				<WeaponSlotHardpoint
					ID="1">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="GDIOrcaRocketWeapon" />
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="GDIOrcaHardpointsUpgradedRocketWeapon" 
						ObjectStatus="WEAPON_UPGRADED_01" />
				</WeaponSlotHardpoint>
			</WeaponSetUpdate>
      <ModelConditionUpgrade
				id="ModuleTag_ShowThePlating"
				Permanent="true"
				AddConditionFlags="USER_1">
        <TriggeredBy>Upgrade_GDIFaction</TriggeredBy>
      </ModelConditionUpgrade>
      <ModelConditionUpgrade
				id="ModuleTag_ShowThePlatingSteelTalons"
				Permanent="true"
				AddConditionFlags="USER_1">
        <TriggeredBy>Upgrade_SteelTalonsFaction</TriggeredBy>
      </ModelConditionUpgrade>
      <ModelConditionUpgrade
				id="ModuleTag_ShowThePlatingZOCOM"
				Permanent="true"
				AddConditionFlags="USER_1">
        <TriggeredBy>Upgrade_ZOCOMFaction</TriggeredBy>
      </ModelConditionUpgrade>
      <!-- gravity mult of 30 is temporary -->
			<Physics
				id="ModuleTag_07"
				GravityMultiplier="30" />
			<ProductionUpdate
				id="ModuleTag_10"
				MaxQueueEntries="1" />
			<SubObjectsUpgrade
				id="ModuleTag_ShowSensorPod"
				ShowSubObjects="UG_PROBE">
				<TriggeredBy>Upgrade_OrcaSensorPod</TriggeredBy>
			</SubObjectsUpgrade>
			<SubObjectsUpgrade
				id="ModuleTag_ShowHardpoints"
				ShowSubObjects="UG_HARDPOINTS">
				<TriggeredBy>Upgrade_GDIHardpoints</TriggeredBy>
			</SubObjectsUpgrade>			
			<OCLSpecialPower
				id="ModuleTag_OCL"
				SpecialPowerTemplate="SpecialPowerPulseScan"
				OCL="OCL_GDIOrcaPulseScanPing"
				CreateLocation="CREATE_AT_LOCATION" />
			<UnpauseSpecialPowerUpgrade
				id="ModuleTag_SensorPodDispatchUnpause"
				SpecialPowerTemplate="SpecialPowerSensorPod_Dispatch"
				Permanent="true">
				<TriggeredBy>Upgrade_OrcaSensorPod</TriggeredBy>
			</UnpauseSpecialPowerUpgrade>
			<SpecialPowerDispatchSpecialPower
				id="ModuleTag_SensorPodDispatch"
				SpecialPowerTemplate="SpecialPowerSensorPod_Dispatch">
				<SpecialPower
					SpecialPowerTemplate="SpecialPowerSensorPod_UnTargeted" />
				<SpecialPower
					SpecialPowerTemplate="SpecialPowerSensorPod_Targeted" />
			</SpecialPowerDispatchSpecialPower>
			<SpecialPower
				id="ModuleTag_UnTargetedSensorPod"
				SpecialPowerTemplate="SpecialPowerSensorPod_UnTargeted"
				UpdateModuleStartsAttack="true" />
			<WeaponFireSpecialAbilityUpdate
				id="ModuleTag_UnTargetedSensorPodUpdate"
				SpecialPowerTemplate="SpecialPowerSensorPod_UnTargeted"
				SpecialWeapon="GDIOrcaSensorPodWeapon"
				StartAbilityRange="100.0" 
				UnpackTime="1.5s" 
				PackTime="1.0s" />
			<SpecialPower
				id="ModuleTag_TargetedSensorPod"
				SpecialPowerTemplate="SpecialPowerSensorPod_Targeted"
				UpdateModuleStartsAttack="true" />
			<WeaponFireSpecialAbilityUpdate
				id="ModuleTag_TargetedSensorPodUpdate"
				SpecialPowerTemplate="SpecialPowerSensorPod_Targeted"
				SpecialWeapon="GDIOrcaSensorStickyPodWeapon"
				StartAbilityRange="300.0" 
				UnpackTime="1.5s" 
				PackTime="1.0s" />
			<ReturnToProducerSpecialPower
				id="ModuleTag_ReturnToProducerSpecialPower"
				SpecialPowerTemplate="SpecialPowerReturnToProducer" />
			<StatusBitsUpgrade
				id="ModuleTag_UpgradeWeapon"
				StatusToSet="WEAPON_UPGRADED_01">
				<TriggeredBy>Upgrade_GDIHardpoints</TriggeredBy>
			</StatusBitsUpgrade>
			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="0s"
				SinkRate="0.5"
				DestructionDelay="0.01s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_GDIOrcaInitialDebris</OCL>
				</OCL>
				<DieMuxData
					DeathTypes="ALL"
					DeathTypesForbidden="TOPPLED" />
				<!-- Moved to FX list to deal with playing different voices when FLYING and not FLYING
				<Sound
					Type="INITIAL"
					List="GDI_Orca_VoiceFalling" /> 
				-->
				<FX
					Type="INITIAL">
					<FX>FX_GDI_Orca_VoiceDie</FX>
				</FX>
				<!-- GDI_Generic_VoiceDieMS -->
			</SlowDeath>
			<FXListBehavior
				id="ModuleTag_FXList">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onDeath"
					FX="FX_GDIAirVehicleExplode" />
			</FXListBehavior>
      <AudioLoopUpgrade 
				id="SensorPodUpgradeSound" 
				SoundToPlay="GDI_Orca_SensorPodInstalled">
        <TriggeredBy>Upgrade_OrcaSensorPod</TriggeredBy>
      </AudioLoopUpgrade>
		</Behaviors>
		<AI>
			<JetAIUpdate
				id="ModuleTag_JetAIUpdate"
				AutoAcquireEnemiesWhenIdle="YES"
				NeedsRunway="false"
				KeepsParkingSpaceWhenAirborne="true"
				OutOfAmmoDamagePerSecond="1.5"
				ReturnToBaseWhenVictimDead="true"
				AILuaEventsList="GDIOrcaFunctions">
				<UnitAITargetChooserData
					SympathyRange="100.0" />
				<LockonInfo />
			</JetAIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_04"
				MaxHealth="1800" />
		</Body>
		<ClientBehaviors>
			<ModelConditionAudioLoopClientBehavior id="ModuleTag_LandLiftFlying">
				<ModelConditionSound Sound="OrcaMoveStart" RequiredFlags="LANDING" />
				<ModelConditionSound Sound="OrcaMoveStart" RequiredFlags="TAKING_OFF" />
				<ModelConditionSound Sound="TEMP_OrcaAmbientLoop" RequiredFlags="FLYING" />
			</ModelConditionAudioLoopClientBehavior>
		</ClientBehaviors>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="16.0"
				MinorRadius="11.0"
				Height="8.0"
				ContactPointGeneration="VEHICLE">
				<Offset
					x="-4" />
			</Shape>
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry
				Sound="GDI_Orca_VoiceAttack"
				AudioType="voiceAttack" />
			<AudioEntry
				Sound="GDI_Orca_VoiceCreate"
				AudioType="voiceCreated" />
			<AudioEntry
				Sound="GDI_Orca_VoiceMoveHelopad"
				AudioType="voiceEnter" />
			<AudioEntry
				Sound="GDI_Orca_VoiceMove"
				AudioType="voiceGuard" />
			<AudioEntry
				Sound="GDI_Orca_VoiceMove"
				AudioType="voiceMove" />
			<AudioEntry
				Sound="GDI_Orca_VoiceMoveAttack"
				AudioType="voiceAttackAfterMoving" />
			<AudioEntry
				Sound="GDI_Orca_VoiceRetreat"
				AudioType="voiceRetreatToCastle" />
			<AudioEntry
				Sound="GDI_Orca_VoiceSelectMS"
				AudioType="voiceSelect" />
			<AudioEntry
				Sound="GDI_Orca_VoiceSelectBattleMS"
				AudioType="voiceSelectBattle" />
			<NamedEntry
				Sound="GDI_Orca_VoiceScan"
				Name="VoicePulseScan" />
			<NamedEntry
				Sound="GDI_Orca_VoiceLaunchSensorPod"
				Name="VoiceSensorPod" />
      <NamedEntry
				Sound="GDI_Orca_VoiceMoveHelopad"
				Name="ReturnToProducer" />
			<NamedEntry
				Sound="GDI_Orca_VoiceRetreat"
				Name="ReturnToProducerWhileUnderAttack" />
		</AudioArrayVoice>
		<AudioArraySound>
			<AudioEntry
				Sound="OrcaMoveStart"
				AudioType="soundMoveStart" />
			<AudioEntry
				Sound="TEMP_OrcaMoveLoop"
				AudioType="soundMoveLoop" />
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" 
			MaxHeight="131"
					OpacityStart="0"
					OpacityFadeInTime="3s"
					OpacityPeak="1"
					OpacityFadeOutTime="3s"
					OpacityEnd="0"
			/>
		<VisionInfo
			VisionRange="250"
			ShroudClearingRange="300" />
	</GameObject>
</AssetDeclaration>
