| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?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:ShipHangarTechStructure.w3x" />
- <Include
- type="all"
- source="ART:ShipHangarTechStructure_Anim.w3x" />
- <Include
- type="all"
- source="ART:ShipHangarTechStructure_Still.w3x" />
- <Include
- type="instance"
- source="DATA:BaseObjects/BaseTechStructure.xml" />
- <Include type="instance" source="DATA:Civilian/Yucatan_YU/Props/YU_HotelDebris.xml" />
- <Include type="instance" source="DATA:Neutral/Props/ShipYardTechStructure_Collapse.xml" />
- <Include type="all" source="ART:ABBarracks_particles.w3x" />
- </Includes>
- <GameObject
- id="ShipYardTechStructure"
- inheritFrom="BaseTechStructure"
- KindOf="+DONT_UNATTACH_WHEN_HEALING"
- SelectPortrait="Portrait_Neutral_DryDock"
- ButtonImage="Button_Neutral_DryDock"
- EditorName="ShipYardTechStructure"
- Description="DESC:ShipYardTechStructure"
- TypeDescription="TYPE:TechStructure"
- HealthBoxHeightOffset="45">
- <DisplayName
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">NAME:ShipYardTechStructure</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 BONE_CONTACT_POINT_17 BONE_CONTACT_POINT_18 BONE_CONTACT_POINT_19 BONE_CONTACT_POINT_20 BONEGARRISON01 BONEGARRISON02 BONEGARRISON03 BONEGARRISON04 BONEGARRISON05 BONEGARRISON06 BONEGARRISON07 BONEGARRISON08 BONEGARRISON09 BONEGARRISON10 BONEGARRISON11 BONEGARRISON12">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="ShipHangarTechStructure" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="RUBBLE">
- <Model
- Name="ShipHangarTechStructure" />
- </ModelConditionState>
-
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- <Animation
- AnimationName="ShipHangarTechStructure_Still"
- AnimationMode="ONCE"/>
- </AnimationState>
-
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="USER_1">
- <Animation
- AnimationName="ShipHangarTechStructure_Anim"
- AnimationMode="LOOP"/>
- </AnimationState>
- </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="SHIP VEHICLE HUGE_VEHICLE"
- Relationship="ALLIES"
- StatusBitFlags="WATER_LOCOMOTOR_ACTIVE" />
- </PassiveAreaEffectBehavior>
- <StructureUnpackUpdate
- id="ModuleTag_StructureUnpackUpdate"
- UnpackTime="0.0s" />
- <xi:include
- href="../../Includes/GenericEngineerContain.xml" />
- <xi:include
- href="../../Includes/GenericBuildingRepair.xml" />
- <LUAEventList
- id="ModuleTag_LUAEventList"
- EventListName="BuildingPowerFunctions"
- />
- <BuildingDestructionBehavior
- id="ModuleTag_BuildingDestruction">
- <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="ShipHangarTechStructure_Die_OCL">
- <DieMuxData
- DeathTypes="ALL" />
- </CreateObjectDie>
- <DestroyDie
- id="ModuleTag_Die">
- <DieMuxData
- DeathTypes="ALL" />
- </DestroyDie>
- </Behaviors>
- <Body>
- <ActiveBody
- id="ModuleTag_Body"
- MaxHealth="3000.0"
- InitialHealth="3000.0" />
- </Body>
- <Geometry
- IsSmall="false">
- <Shape
- Type= "BOX"
- MajorRadius = "44.825"
- MinorRadius = "95.5221"
- Height = "84.6979"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "35.9656"
- y = "11.1335"
- z = "1.26443" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "44.5234"
- MinorRadius = "95.4419"
- Height = "38.1858"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-43.887"
- y = "5.33652"
- z = "-11.2285" />
- </Shape>
- </Geometry>
- <AudioArrayVoice>
- <AudioEntry EvaEvent="DryDockCaptured" AudioType="voiceDefectingTowards" />
- <AudioEntry Sound="NEU_DryDockTechBuilding_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="ShipHangarTechStructure_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>ShipHangarTechStructure_Collapse</CreateObject>
- </CreateObject>
- </ObjectCreationList>
- </AssetDeclaration>
|