<?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>
		<!-- Base Object -->
	<Include
			type="instance"
			source="DATA:GDI/Units/GDIOrca.xml" />
		<Include
			type="instance"
			source="ART:GUOrca_UGCA.xml" />

	</Includes>
	
	<GameObject
		id="ZOCOMOrca"
		Side="ZOCOM"
		EditorName="ZOCOMOrca"
		EditorSorting="UNIT"
		SelectPortrait="Portrait_ZOCOMOrca"
		ButtonImage="Portrait_ZOCOMOrca"
		inheritFrom="GDIOrca"
		BuildCost="1500"
		BuildTime="15"
		WorldMapArmoryUpgradesAllowed="Upgrade_CeramicArmor Upgrade_OrcaSensorPod"
		Description="Desc:ZOCOMOrca">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:ZOCOMOrca</DisplayName>
			
		<DisplayUpgrade id="ModuleTag_DisplayUpgradeGDIHardpoints" xai:joinAction="Replace">Upgrade_CeramicArmor</DisplayUpgrade>
		
		<ArmorSet
			Conditions="PLAYER_UPGRADE"
			Armor="ZOCOMOrcaCeramicArmor"
			DamageFX="VehicleDamageFX" />
		
		<Draws>
		<ScriptedModelDraw
				xai:joinAction="Replace"
				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" />
					<WeaponLaunchBone
						WeaponSlotID="1"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="fx_weapon" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="GUOrca_FP" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED USER_6">
					<Model
						Name="GUOrca_SKN" />
					<Texture
						Original="GUOrca_07"
						New="GUOrca_UGCA" />
					
					<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="USER_6">
					<Model
						Name="GUOrca_SKN" />
					<Texture
						Original="GUOrca_07"
						New="GUOrca_UGCA" />
				</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="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>
		</Draws>
		
		
		<Behaviors>
		
			<WeaponSetUpdate
				id="ModuleTag_WeaponSetUpdate"
				xai:joinAction="Replace">
				<WeaponSlotHardpoint
					ID="1">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="OrcaEchoCannon" 
						/>
				</WeaponSlotHardpoint>
			</WeaponSetUpdate>
		
			<!-- ECHO Cannon comes standard now
			
			<ModelConditionUpgrade
				id="ModuleTag_ZOCOMEchoCannonUpgrade"
				AddConditionFlags="USER_7">
				<TriggeredBy>Upgrade_OrcaEchoCannon</TriggeredBy>
			</ModelConditionUpgrade>
			
			<StatusBitsUpgrade
				id="ModuleTag_UpgradeWeapon"
				StatusToSet="WEAPON_UPGRADED_01">
				<TriggeredBy>Upgrade_OrcaEchoCannon</TriggeredBy>
			</StatusBitsUpgrade>
			
		<AudioLoopUpgrade id="GDI_Orca_EchoCannonUpgradePurchasedSound" SoundToPlay="GDI_Orca_EchoCannonUpgradePurchased">
			<TriggeredBy>Upgrade_OrcaEchoCannon</TriggeredBy>
		</AudioLoopUpgrade> -->
		
			<ArmorUpgrade xmlns="uri:ea.com:eala:asset"
				id="ModuleTag_CeramicArmorUpgrade"
				Permanent="true"
				ArmorSetFlag="PLAYER_UPGRADE">
				<TriggeredBy>Upgrade_CeramicArmor</TriggeredBy>
			</ArmorUpgrade>

			<ModelConditionUpgrade
				id="ModuleTag_ZOCOMFireHawkCeramicArmorUpgrade"
				AddConditionFlags="USER_6">
				<TriggeredBy>Upgrade_CeramicArmor</TriggeredBy>
			</ModelConditionUpgrade>
		
		</Behaviors>
		<AI>
			<JetAIUpdate
				xai:joinAction="Replace"
				id="ModuleTag_JetAIUpdate"
				AutoAcquireEnemiesWhenIdle="YES"
				NeedsRunway="false"
				KeepsParkingSpaceWhenAirborne="true"
				OutOfAmmoDamagePerSecond="1.5"
				ReturnToBaseWhenVictimDead="true"
				AILuaEventsList="ZOCOMOrcaFunctions">
				<UnitAITargetChooserData
					SympathyRange="100.0" />
				<LockonInfo />
			</JetAIUpdate>
		</AI>
		<VisionInfo
			VisionRange="275"
			ShroudClearingRange="325" />
	</GameObject>
	
	
			
</AssetDeclaration>
