<?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="instance"
			source="DATA:BaseObjects/BaseCivilianStructureNoGarrisonDestructible.xml" />
		<Include
			type="all"
			source="ART:DCBBuck01.w3x" />
		<Include
			type="all"
			source="ART:DCBBuck01_D1.w3x" />
		<Include
			type="all"
			source="ART:DCBBuck01_D2.w3x" />
		<Include
			type="all"
			source="ART:DCBBuck01_D3.w3x" />			
	</Includes>
	<GameObject
		id="DCBBuck01"
		inheritFrom="BaseCivilianStructureNoGarrisonDestructible"
		SelectPortrait="Portrait_NeutralBuckinghamPalace"
		ButtonImage="Portrait_NeutralBuckinghamPalace"
		Side="Civilian"
		TransportSlotCount="1"
		BuildCost="1"
		BuildTime="10.0"
		CommandSet="EmptyCommandSet"
		RadarPriority="STRUCTURE"
		EditorSorting="STRUCTURE"
		EditorName="DCBBuck01"
		Browser="REGION Washington_DC_DC STRUCTURE">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:BuckinghamPalace</DisplayName>
		<Draws>
			<ScriptedModelDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="true">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="DCBBuck01" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="RUBBLE">
					<Model
						Name="DCBBuck01_D3" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="DCBBuck01_D2" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED">
					<Model
						Name="DCBBuck01_D1" />

																
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT">
					<!-- no anim -->
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="RUBBLE"
					StateName="STATE_Rubble"
					Flags="START_FRAME_LAST">
					<Animation
						AnimationName="DCBBuck01_D3"
						AnimationMode="MANUAL" />
					<Script>
            Prev = CurDrawablePrevAnimationState();
            if Prev ~= null and Prev ~= "STATE_Rubble" and Prev ~= "TRANS_IntoRubble" then
            CurDrawableSetTransitionAnimState("TRANS_IntoRubble")
            end
          </Script>
        </AnimationState>
        <AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED"
					StateName="STATE_ReallyDamaged"
					Flags="START_FRAME_LAST">
          <Animation
						AnimationName="DCBBuck01_D2"
						AnimationMode="MANUAL" />
          <Script>
            Prev = CurDrawablePrevAnimationState();
            if Prev ~= null and Prev ~= "STATE_ReallyDamaged" and Prev ~= "TRANS_IntoReallyDamaged" then
            CurDrawableSetTransitionAnimState("TRANS_IntoReallyDamaged")
            end
          </Script>
        </AnimationState>
        <AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED"
					StateName="STATE_Damaged"
					Flags="START_FRAME_LAST">
          <Animation
						AnimationName="DCBBuck01_D1"
						AnimationMode="MANUAL" />
          <Script>
            Prev = CurDrawablePrevAnimationState();
            if Prev ~= null and Prev ~= "STATE_Damaged" and Prev ~= "TRANS_IntoDamaged" then
            CurDrawableSetTransitionAnimState("TRANS_IntoDamaged")
            end
          </Script>
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_TRANSITION"
					StateName="TRANS_IntoDamaged">
					<Animation
						AnimationName="DCBBuck01_D1"
						AnimationMode="ONCE"
						AnimationBlendTime="0" />
					<ParticleSysBone
						BoneName="None"
						FXParticleSystemTemplate="BHPExplosionFullDust"
						FollowBone="true" />						
<!-- Debris Piece 00 -->						
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />
<!-- Debris Piece 02 -->						
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />
						
<!-- Debris Piece 05 -->						
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />
						
<!-- Debris Piece 07 -->						
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />																		
						
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_TRANSITION"
					StateName="TRANS_IntoReallyDamaged">
					<Animation
						AnimationName="DCBBuck01_D2"
						AnimationMode="ONCE"
						AnimationBlendTime="0" />
					<ParticleSysBone
						BoneName="None"
						FXParticleSystemTemplate="BHPExplosionFullDust"
						FollowBone="true" />
						
<!-- Debris Piece 00 -->						
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri00"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />
<!-- Debris Piece 02 -->						
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri02"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />
						
<!-- Debris Piece 05 -->						
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri05"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />
						
<!-- Debris Piece 07 -->						
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPTrailDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionGlow"
						FollowBone="true" />						
					<ParticleSysBone
						BoneName="Bone_Debri07"
						FXParticleSystemTemplate="BHPExplosionFlash"
						FollowBone="true" />						
												
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_TRANSITION"
					StateName="TRANS_IntoRubble">
					<Animation
						AnimationName="DCBBuck01_D3"
						AnimationMode="ONCE"
						AnimationBlendTime="0" />
					<ParticleSysBone
						BoneName="None"
						FXParticleSystemTemplate="BHPExplosionFullDust"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="None"
						FXParticleSystemTemplate="BHPExplosionFullFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="None"
						FXParticleSystemTemplate="BHPExplosionFullGlow"
						FollowBone="true" />
				</AnimationState>				
			</ScriptedModelDraw>
		</Draws>
		<Behaviors></Behaviors>
		<Body>
			<ActiveBody
				id="ModuleTag_Body"
				MaxHealth="6000.0"
				InitialHealth="6000.0" />
		</Body>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="48.6152"
				MinorRadius="239.746"
				Height="102.558"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-14.003"
					y="1.63309"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="59.0988"
				MinorRadius="42.1461"
				Height="113.488"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="1.51297"
					y="196.638"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="59.0988"
				MinorRadius="51.8397"
				Height="113.488"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-1.772"
					y="-1.22356"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="59.0988"
				MinorRadius="42.1461"
				Height="113.488"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="1.51297"
					y="-194.532"
					z="0.0" />
			</Shape>
		</Geometry>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="100"
			ShroudClearingRange="200" />
	</GameObject>
</AssetDeclaration>