<?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>
		<Include
			type="instance"
			source="DATA:BaseObjects/BaseCivilianStructureNoGarrisonDestructible.xml" />
		<Include
			type="all"
			source="ART:DCBParl.w3x" />
		<Include
			type="all"
			source="ART:DCBParl.w3x" />
		<Include
			type="all"
			source="ART:DCBParl_D1.w3x" />
		<Include
			type="all"
			source="ART:DCBParl_D2.w3x" />
		<Include
			type="all"
			source="ART:DCBParl_D3.w3x" />
	</Includes>
	<GameObject
		id="DCBParl"
		inheritFrom="BaseCivilianStructureNoGarrisonDestructible"
		EditorName="DCBParl"
    EditorSorting="STRUCTURE"
		SelectPortrait="Portrait_NeutralParliament"
		ButtonImage="Portrait_NeutralParliament"
		Browser="REGION Washington_DC_DC STRUCTURE">
		<DisplayName
			xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:Parliament</DisplayName>
		<Draws>
			<ScriptedModelDraw
				id="ModuleTag_Draw"
				OkToChangeModelColor="false"
				AffectedByStealth="false"
				ExtraPublicBone="BONEGARRISON01 BONEGARRISON02 BONEGARRISON03 BONEGARRISON04 BONEGARRISON05 BONEGARRISON06 BONEGARRISON07 BONEGARRISON08 BONEGARRISON09 BONEGARRISON10 BONEGARRISON11 BONEGARRISON12">
				<ModelConditionState
					ParseCondStateType="PARSE_DEFAULT">
					<Model
						Name="DCBParl" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="RUBBLE">
					<Model
						Name="DCBParl_D3" />
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="REALLYDAMAGED">
					<Model
						Name="DCBParl_D2" />
						
					<ParticleSysBone
						BoneName="FXBone01"
						FXParticleSystemTemplate="BigBenDist"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone01"
						FXParticleSystemTemplate="BigBenFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone01"
						FXParticleSystemTemplate="BigBenSmoke"
						FollowBone="true" />
						
				</ModelConditionState>
				<ModelConditionState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="DAMAGED">
					<Model
						Name="DCBParl_D1" />
						
					<ParticleSysBone
						BoneName="FXBone01"
						FXParticleSystemTemplate="BigBenDist"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone01"
						FXParticleSystemTemplate="BigBenFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone01"
						FXParticleSystemTemplate="BigBenSmoke"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone02"
						FXParticleSystemTemplate="BigBenDist"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone02"
						FXParticleSystemTemplate="BigBenFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone02"
						FXParticleSystemTemplate="BigBenSmoke"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone03"
						FXParticleSystemTemplate="BigBenDist"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone03"
						FXParticleSystemTemplate="BigBenFire"
						FollowBone="true" />
					<ParticleSysBone
						BoneName="FXBone03"
						FXParticleSystemTemplate="BigBenSmoke"
						FollowBone="true" />
						
				</ModelConditionState>
				<AnimationState
					ParseCondStateType="PARSE_DEFAULT">
					<!-- no anim -->
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_NORMAL"
					ConditionsYes="RUBBLE"
					StateName="STATE_Rubble"
					Flags="START_FRAME_LAST">
					<Animation
						AnimationName="DCBParl_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="DCBParl_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="DCBParl_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="DCBParl_D1"
						AnimationMode="ONCE"
						AnimationBlendTime="0" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_TRANSITION"
					StateName="TRANS_IntoReallyDamaged">
					<Animation
						AnimationName="DCBParl_D2"
						AnimationMode="ONCE"
						AnimationBlendTime="0" />
				</AnimationState>
				<AnimationState
					ParseCondStateType="PARSE_TRANSITION"
					StateName="TRANS_IntoRubble">
					<Animation
						AnimationName="DCBParl_D3"
						AnimationMode="ONCE"
						AnimationBlendTime="0" />
				</AnimationState>
			</ScriptedModelDraw>
		</Draws>
		<Behaviors>
		<FXListBehavior
				id="ModuleTag_FXList" xai:joinAction="Replace">
				<DieMuxData
					DeathTypes="ALL" />
				<Event
					Index="onTransitionToDamaged"
					FX="FX_BigBen_Damaged" />
				<Event
					Index="onTransitionToReallyDamaged"
					FX="FX_BigBen_Damaged" />
				<Event
					Index="onTransitionToRubble"
					FX="FX_BigBen_Damaged" />
				<Event
					Index="onDeath"
					ForceUseDoFXObj="true"
					FX="FX_BaseCivilianStructureNoGarrisonDestructible_Die" />
			</FXListBehavior>
		</Behaviors>
		<Body>
			<ActiveBody
				id="ModuleTag_Body"
				MaxHealth="6000.0"
				InitialHealth="6000.0" />
		</Body>
		<Geometry
			IsSmall="false">
			<Shape
				Type="BOX"
				MajorRadius="130.966"
				MinorRadius="75.2942"
				Height="94.0036"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-201.568"
					y="-54.6218"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="22.3601"
				MinorRadius="23.7291"
				Height="177.968"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-312.0"
					y="-0.318707"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="31.4867"
				MinorRadius="17.7968"
				Height="123.209"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-301.048"
					y="-143.149"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="19.1658"
				MinorRadius="18.2531"
				Height="118.645"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-155.479"
					y="30.7116"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="17.3405"
				MinorRadius="18.2531"
				Height="117.733"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="-88.8551"
					y="-142.693"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="130.054"
				MinorRadius="53.8467"
				Height="66.6239"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="53.9757"
					y="-75.1565"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="20.9911"
				MinorRadius="21.4474"
				Height="249.155"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="196.806"
					y="-36.3685"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="43.3512"
				MinorRadius="17.7968"
				Height="121.383"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="173.534"
					y="-142.237"
					z="0.0" />
			</Shape>
			<Shape
				Type="BOX"
				MajorRadius="77.5758"
				MinorRadius="47.9145"
				Height="80.3138"
				ContactPointGeneration="STRUCTURE">
				<Offset
					x="0.585266"
					y="22.0415"
					z="0.0" />
			</Shape>
			<Shape
				Type="CYLINDER"
				MajorRadius="13.2748"
				MinorRadius="13.2748"
				Height="166.989"
				ContactPointGeneration="INFANTRY">
				<Offset
					x="-65.2334"
					y="-22.5152"
					z="0.0" />
			</Shape>
		</Geometry>
		<ShadowInfo
			Type="VOLUME" />
		<VisionInfo
			VisionRange="100"
			ShroudClearingRange="200" />
	</GameObject>
</AssetDeclaration>