| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?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:AutoPartsStoreTechStructure.w3x" />
- <Include
- type="instance"
- source="DATA:BaseObjects/BaseTechStructure.xml" />
- <Include type="instance" source="DATA:Civilian/Yucatan_YU/Props/YU_HotelDebris.xml" />
- <Include type="all" source="ART:ABBarracks_particles.w3x" />
- <Include type="instance" source="DATA:Neutral/Props/GarageTechStructure_Collapse.xml" />
- </Includes>
- <GameObject
- id="GarageTechStructure"
- inheritFrom="BaseTechStructure"
- KindOf="+DONT_UNATTACH_WHEN_HEALING"
- SelectPortrait="Portrait_Neutral_Garage"
- ButtonImage="Button_Neutral_Garage"
- EditorName="GarageTechStructure"
- Description="DESC:GarageTechStructure"
- TypeDescription="TYPE:TechStructure"
- HealthBoxHeightOffset="60">
-
- <DisplayName
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">NAME:GarageTechStructure</DisplayName>
- <ObjectResourceInfo>
- <BuildCost Account="=$ACCOUNT_ORE" Amount="=$TECH_STRUCTURE_EFFECTIVE_COST"/>
- </ObjectResourceInfo>
- <ArmorSet
- Armor="StructureArmor"
- DamageFX="FactionStructureDamageFX" />
- <Draws>
- <ScriptedModelDraw
- id="ModuleTag_Draw"
- OkToChangeModelColor="true"
- ExtraPublicBone="BoneFlag01 BONE_CONTACT_POINT_01 BONE_CONTACT_POINT_02 BONE_CONTACT_POINT_03 BONE_CONTACT_POINT_04 BONE_CONTACT_POINT_05 BONE_CONTACT_POINT_06 BONE_CONTACT_POINT_07 BONE_CONTACT_POINT_08 BONE_CONTACT_POINT_09 BONE_CONTACT_POINT_10 BONE_CONTACT_POINT_11 BONE_CONTACT_POINT_12 BONE_CONTACT_POINT_13 BONE_CONTACT_POINT_14 BONE_CONTACT_POINT_15 BONE_CONTACT_POINT_16 BONEGARRISON01 BONEGARRISON02 BONEGARRISON03 BONEGARRISON04 BONEGARRISON05 BONEGARRISON06 BONEGARRISON07 BONEGARRISON08 BONEGARRISON09 BONEGARRISON10 BONEGARRISON11 BONEGARRISON12">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="AutoPartsStoreTechStructure" />
- </ModelConditionState>
- </ScriptedModelDraw>
- <xi:include
- href="DATA:Includes/TechBuildingFlagDraw.xml"
- xpointer="xmlns(n=uri:ea.com:eala:asset) xpointer(/n:CommonFlagDraws/child::*)" />
- </Draws>
- <Behaviors>
- <!-- This Passive Area Effect Behaviour is what gives the Tech Structure its Unit healing ability -->
- <PassiveAreaEffectBehavior
- id="ModuleTag_PassiveAreaEffect"
- EffectRadius="-1"
- NonStackable="true"
- AffectUnderAttack="true"
- HealingPercentPerSecond="2%" >
- <AllowFilter
- Rule="ANY"
- Include="VEHICLE HUGE_VEHICLE"
- Relationship="ALLIES"
- StatusBitFlagsExclude="AIRBORNE_TARGET WATER_LOCOMOTOR_ACTIVE"/>
- </PassiveAreaEffectBehavior>
- <Physics
- id="ModuleTag_Physics"/>
- <BuildingDestructionBehavior
- id="ModuleTag_BuildingDestruction"
- FillerMesh="NEWSKIN_FILL">
- <DieMuxData
- DeathTypes="ALL" />
- <Item
- BonePrefix="BONE_CONTACT_POINT_"
- FX="SovietRefineryHit"
- CreationObject="AlliedBarracks_Debris"
- FlingVelocity="100.0"/>
- </BuildingDestructionBehavior>
- <FXListBehavior
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_FXList">
- <DieMuxData
- DeathTypes="ALL" />
- <Event
- Index="onDeath"
- FX="FX_MediumBuildingDieExplosion" />
- </FXListBehavior>
- <CreateObjectDie
- id="ModuleTag_CreateObjectDie"
- CreationList="GarageTechStructure_Die_OCL">
- <DieMuxData
- DeathTypes="ALL" />
- </CreateObjectDie>
- <DestroyDie
- id="ModuleTag_Die">
- <DieMuxData
- DeathTypes="ALL" />
- </DestroyDie>
- <xi:include
- href="../../Includes/GenericEngineerContain.xml" />
- <xi:include
- href="../../Includes/GenericBuildingRepair.xml" />
- <LUAEventList
- id="ModuleTag_LUAEventList"
- EventListName="BuildingPowerFunctions"
- />
- </Behaviors>
- <Body>
- <ActiveBody
- id="ModuleTag_Body"
- MaxHealth="3000.0"
- InitialHealth="3000.0" />
- </Body>
- <Geometry
- IsSmall="false">
- <Shape
- Type= "BOX"
- MajorRadius = "60"
- MinorRadius = "65"
- Height = "11.3312" >
- <Offset
- x = "0.0557117"
- y = "0.0"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "22.9771"
- MinorRadius = "32.328"
- Height = "17.2551" >
- <Offset
- x = "0.0557117"
- y = "12.0303"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "6.8014"
- MinorRadius = "23.2289"
- Height = "34.386" >
- <Offset
- x = "-2.25994"
- y = "12.0303"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "7.20948"
- MinorRadius = "9.29157"
- Height = "13.9511" >
- <Offset
- x = "-2.25994"
- y = "-24.9826"
- z = "17.2743" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "14.419"
- MinorRadius = "14.8665"
- Height = "1.2401" >
- <Offset
- x = "-2.25994"
- y = "-24.9826"
- z = "17.2743" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "12.5445"
- MinorRadius = "4.04369"
- Height = "17.6714" >
- <Offset
- x = "-2.25994"
- y = "-20.6552"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "31.0323"
- MinorRadius = "42.5007"
- Height = "2.69846" >
- <Offset
- x = "5.37453"
- y = "5.68195"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "4.83035"
- MinorRadius = "5.06483"
- Height = "22.8798" >
- <Offset
- x = "21.7146"
- y = "54.0889"
- z = "-0.00733656" />
- </Shape>
- <ContactPoint>
- <Pos
- x= "-13.8169"
- y = "-13.7301"
- z = "0.0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "13.7173"
- y = "-13.7301"
- z = "19.0023" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "13.7173"
- y = "35.3835"
- z = "0.0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "-13.8169"
- y = "35.3835"
- z = "19.0023" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "-13.8169"
- y = "-13.7301"
- z = "19.0023" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "13.7173"
- y = "-13.7301"
- z = "0.0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "13.7173"
- y = "35.3835"
- z = "19.0023" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x= "-13.8169"
- y = "35.3835"
- z = "0.0" />
- </ContactPoint>
- </Geometry>
- <AudioArrayVoice>
- <AudioEntry EvaEvent="GarageCaptured" AudioType="voiceDefectingTowards" />
- <AudioEntry Sound="TEC_Garage_Select" AudioType="voiceSelect" />
- </AudioArrayVoice>
- <AudioArraySound>
- <AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
- <AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
- </AudioArraySound>
- <VisionInfo
- VisionRange="100"
- ShroudClearingRange="200" />
- <ProjectedBuildabilityInfo
- Radius="0.0"
- BuildPlacementTypes="MAIN_STRUCTURE OTHER_STRUCTURE" />
- </GameObject>
- <ObjectCreationList
- id="GarageTechStructure_Die_OCL">
- <CreateObject
- Options="IGNORE_ALL_OBJECTS"
- Disposition="LIKE_EXISTING RANDOM_FORCE"
- Count="1"
- MinForceMagnitude="1.0"
- MaxForceMagnitude="2.0"
- MinForcePitch="90d"
- MaxForcePitch="75d">
- <CreateObject>GarageTechStructure_Collapse</CreateObject>
- </CreateObject>
- </ObjectCreationList>
- </AssetDeclaration>
|