<?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="ART:NUAtkBike_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUAtkBike_UGTCM_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUAtkBikeR_SKN.w3x" />
		<Include
			type="all"
			source="ART:NUAtkBike_IDLA.w3x" />
		<Include
			type="all"
			source="ART:NUAtkBike_TRNL.w3x" />
		<Include
			type="all"
			source="ART:NUAtkBike_TRNR.w3x" />
		<Include
			type="all"
			source="ART:NUAtkBike_FP.w3x" />			
		<Include
			type="instance"
			source="ART:EXTireTrack.xml" />
		<Include
			type="all"
			source="ART:FXspotlight.w3x" />
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseVehicle.xml" />
	</Includes>
	<GameObject
		id="NODAttackBike"
		inheritFrom="BaseVehicle"
		SelectPortrait="Portrait_NODAttackBike"
		ButtonImage="Portrait_NODAttackBike"
		Side="NOD"
		EditorSorting="UNIT"
		TransportSlotCount="1"
		BuildCost="600"
		BuildTime="6"
		CommandSet="NODAttackBikeCommandSet"
		CommandPoints="100" 
		KindOf="PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS SCORE TRANSPORT VEHICLE CAN_BE_FAVORITE_UNIT"
		RadarPriority="UNIT"
		UnitCategory="VEHICLE"
		ProductionQueueType="VEHICLE"
		VoicePriority="160"
		EditorName="NODAttackBike"
		WeaponCategory="MISSILE"
		Description="Desc:NODAttackBike"
		TypeDescription="Type:NODAttackBike"
		WorldMapArmoryUpgradesAllowed="Upgrade_NODTechCenterTibCoreMissiles">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:NODAttackBike</DisplayName>
		<DisplayUpgrade>Upgrade_NODTechCenterTibCoreMissiles</DisplayUpgrade>
		<ArmorSet
			Armor="NODAttackBikeArmor"
			DamageFX="VehicleDamageFX" />
		<LocomotorSet
			Locomotor="NODAttackBikeLocomotor"
			Condition="NORMAL"
			Speed="160.0" />
		<SkirmishAIInformation
			UnitBuilderStandardCombatUnit="true" />
		<Draws>
			<TruckDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true"
				TrackMarks="EXTireTrack"
				TrackMarksOnlyWhenCorneringQuickly="true"
				TrackMarksLeftBone="Bone_podl_pitch"
				TrackMarksRightBone="Bone_podr_pitch"
				LeftFrontTireBone="Tire01"
				RightFrontTireBone="Tire02"
				LeftRearTireBone="Bone_FrontWheel"
				RightRearTireBone="Bone_RearWheel"
				TireRotationMultiplier="0.2"
				PowerslideRotationAddition="1.25">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="NUAtkBike_SKN" />
					<WeaponFireFXBone
						WeaponSlotID="1"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FX_WeaponL" />
					<WeaponFireFXBone
						WeaponSlotID="2"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FX_WeaponR" />
					<WeaponLaunchBone
						WeaponSlotID="1"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FX_WeaponL" />
					<WeaponLaunchBone
						WeaponSlotID="2"
						WeaponSlotType="PRIMARY_WEAPON"
						BoneName="FX_WeaponR" />
					<Turret
						TurretNameKey="TurretL"
						TurretPitch="Bone_PodL_Pitch"
						TurretID="1" />
					<Turret
						TurretNameKey="TurretR"
						TurretPitch="Bone_PodR_Pitch"
						TurretID="2" />
				</ModelConditionState>
					<ModelConditionState
						ParseCondStateType="PARSE_NORMAL"
						ConditionsYes="REALLYDAMAGED USER_5">
						<Model
							Name="NUAtkBike_UGTCM_SKN" />
						<Texture
							Original="NUAtkBike"
							New="NUAtkBikeD" />
						<ParticleSysBone
							BoneName="ROOTTRANSFORM"
							FXParticleSystemTemplate="GDIDebrisSmallSmoke"
							FollowBone="true" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED USER_5">
					<Model
						Name="NUAtkBike_UGTCM_SKN" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="USER_5">
					<Model
						Name="NUAtkBike_UGTCM_SKN" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<Model
						Name="NUAtkBike_FP" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED">
					<Model
						Name="NUAtkBike_SKN" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="NUAtkBike_SKN" />
					<Texture
						Original="NUAtkBike"
						New="NUAtkBikeD" />
					<ParticleSysBone
						BoneName="ROOTTRANSFORM"
						FXParticleSystemTemplate="GDIDebrisSmallSmoke"
						FollowBone="true" />
				</ModelConditionState>				
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DYING">
					<Model
						Name="NUAtkBikeR_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
						AnimationName="NUAtkBike_IDLA"
						AnimationMode="LOOP"
						AnimationBlendTime="5" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT_HIGH_SPEED">
					<Animation
						AnimationName="NUAtkBike_TRNL"
						AnimationMode="LOOP"
						AnimationBlendTime="5" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT_HIGH_SPEED">
					<Animation
						AnimationName="NUAtkBike_TRNR"
						AnimationMode="LOOP"
						AnimationBlendTime="5" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_LEFT">
					<Animation
						AnimationName="NUAtkBike_TRNL"
						AnimationMode="LOOP"
						AnimationBlendTime="5" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING TURN_RIGHT">
					<Animation
						AnimationName="NUAtkBike_TRNR"
						AnimationMode="LOOP"
						AnimationBlendTime="5" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="MOVING">
					<Animation
						AnimationName="NUAtkBike_IDLA"
						AnimationMode="LOOP"
						AnimationBlendTime="15" />
				</AnimationState>
			</TruckDraw>
			<SpotlightDraw
				id="ModuleTag_Spotlight"
				AttachToBoneInAnotherModule="Driver"
				RefreshTime="2.0s"
				SweepTime="1.0s">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="FXspotlight" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="FORMATION_PREVIEW">
					<!-- When in Formation Preview do not show -->
					<Model
						Name="" />
				</ModelConditionState>					
			</SpotlightDraw>
		</Draws>
		<Behaviors>
			<WeaponSetUpdate
				id="ModuleTag_WeaponSetUpdate">
				<!--				
				<WeaponSlotHardpoint
					ID="1">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="NODAttackBikeRocket" />
				</WeaponSlotHardpoint>
-->
				<WeaponSlotTurret
					ID="1">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="NODAttackBikeRocket" />
					<TurretSettings
						TurretTurnRate="360"
						MaxDeflectionAntiClockwise="180d"
						MaxDeflectionClockwise="180d"
						TurretPitchRate="360"
						AllowsPitch="true"
						MinimumPitch="-10d"
						PitchHeight="90%"
						MinIdleScanTime="1.0s"
						MaxIdleScanTime="5.0s"
						MinIdleScanAngle="0.0"
						MaxIdleScanAngle="90.0">
						<TurretAITargetChooserData
							CanAcquireDynamicIfAssignedOutOfRange="true" />
					</TurretSettings>
				</WeaponSlotTurret>
				<WeaponSlotTurret
					ID="2">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="NODAttackBikeRocketTibCore"
						ObjectStatus="WEAPON_UPGRADED_01" />
					<TurretSettings
						TurretTurnRate="360"
						MaxDeflectionAntiClockwise="180d"
						MaxDeflectionClockwise="180d"
						TurretPitchRate="360"
						AllowsPitch="true"
						MinimumPitch="-10d"
						PitchHeight="90%"
						MinIdleScanTime="1.0s"
						MaxIdleScanTime="5.0s"
						MinIdleScanAngle="0.0"
						MaxIdleScanAngle="90.0">
						<TurretAITargetChooserData
							CanAcquireDynamicIfAssignedOutOfRange="true" />
					</TurretSettings>
				</WeaponSlotTurret>
			</WeaponSetUpdate>
			<Physics
				id="ModuleTag_04" />
			<ProductionUpdate
				id="ModuleTag_08" />
			<StealthDetectorUpdate
				id="ModuleTag_ScannerPack_01"
				DetectionRange="400"
				InitiallyDisabled="false" />
			<SlowDeath
				id="ModuleTag_Death"
				SinkDelay="3s"
				SinkRate="1.0"
				DestructionDelay="7s">
				<OCL
					Type="INITIAL">
					<OCL>OCL_NODAttackBikeDebris</OCL>
				</OCL>
				<DieMuxData
					DeathTypes="ALL"
					DeathTypesForbidden="TOPPLED" />
				<Sound Type="INITIAL" List="NOD_Generic_VoiceDieMS" />
			</SlowDeath>
			<FXListBehavior
				id="ModuleTag_FXList">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onDeath"
					FX="FX_GDIVehicleExplodeNoScorch" />
			</FXListBehavior>
			<StatusBitsUpgrade
				id="ModuleTag_UpgradeWeapon"
				StatusToSet="WEAPON_UPGRADED_01">
				<TriggeredBy>Upgrade_NODTechCenterTibCoreMissiles</TriggeredBy>
			</StatusBitsUpgrade>
			
			<ModelConditionUpgrade
				id="ModuleTag_AllFactionUpgrade"
				AddConditionFlags="USER_5">
				<TriggeredBy>Upgrade_NODTechCenterTibCoreMissiles</TriggeredBy>
			</ModelConditionUpgrade>
			
				
			
			<AudioLoopUpgrade 
				id="NOD_TiberiumCoreMissile_Upgrade" 
				SoundToPlay="NOD_TiberiumCoreMissile_Upgrade">
       		<TriggeredBy>Upgrade_NODTechCenterTibCoreMissiles</TriggeredBy>
      		</AudioLoopUpgrade>
			<StatusBitsUpgrade
				id="ModuleTag_VeterancyUpgrade"
				StatusToSet="WEAPON_UPGRADED_03">
				<TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
			</StatusBitsUpgrade>			
			<xi:include
				href="../../Includes/NodCallForTransportForVehicle.xml" />
		</Behaviors>
		<AI>
			<AIUpdate
				id="ModuleTag_03"
				AutoAcquireEnemiesWhenIdle="YES">
				<UnitAITargetChooserData
					CanPickDynamicTargets="false"
					SympathyRange="100.0"
					RotateToTargetWhenAiming="false" />
			</AIUpdate>
		</AI>
		<Body>
			<ActiveBody
				id="ModuleTag_02"
				MaxHealth="800" />
		</Body>
		<Geometry
			IsSmall="true">
			<Shape
				Type="BOX"
				MajorRadius="14.0"
				MinorRadius="7.0"
				Height="11.5"></Shape>
		</Geometry>
		<AudioArrayVoice>
			<AudioEntry
				Sound="NOD_AttackBike_VoiceAttack"
				AudioType="voiceAttack" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceCreate"
				AudioType="voiceCreated" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceMove"
				AudioType="voiceGuard" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceMove"
				AudioType="voiceMove" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceMoveAttack"
				AudioType="voiceAttackAfterMoving" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceRetreat"
				AudioType="voiceRetreatToCastle" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceSelectMS"
				AudioType="voiceSelect" />
			<AudioEntry
				Sound="NOD_AttackBike_VoiceSelectBattleMS"
				AudioType="voiceSelectBattle" />
		</AudioArrayVoice>
		<AudioArraySound>
			<AudioEntry
				Sound="NOD_AttackBike_MoveStart"
				AudioType="soundMoveStart" />
			<AudioEntry
				Sound="NOD_AttackBike_IdleLoop"
				AudioType="soundAmbient" />
		</AudioArraySound>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="350"
			ShroudClearingRange="500" />
		<CrusherInfo
			CrusherLevel="0"
			CrushableLevel="2" />
	</GameObject>
</AssetDeclaration>
