| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <?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:VeterancyGranterTechStructure.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/VeterancyTechStructure_Collapse.xml" />
- <Include type="all" source="ART:ABBarracks_particles.w3x" />
- </Includes>
- <GameObject
- id="VeterancyTechStructure"
- inheritFrom="BaseTechStructure"
- SelectPortrait="Portrait_Neutral_VeterancyBuilding"
- ButtonImage="Button_Neutral_VeterancyBuilding"
- EditorName="VeterancyTechStructure"
- Description="DESC:VeterancyTechStructure"
- TypeDescription="Type:TechStructure"
- KindOf="+GRANTS_VETERANCY"
- HealthBoxHeightOffset="45">
- <DisplayName
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">NAME:VeterancyTechStructure</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="VeterancyGranterTechStructure" />
- </ModelConditionState>
- </ScriptedModelDraw>
- <xi:include
- href="DATA:Includes/TechBuildingFlagDraw.xml"
- xpointer="xmlns(n=uri:ea.com:eala:asset) xpointer(/n:CommonFlagDraws/child::*)" />
- </Draws>
- <Behaviors>
- <CaptureAndGiveUpgradeBehavior
- id="ModuleTag_CaptureAndGiveUpgrade"
- UnificationType="ALLIED_PLAYERS">
- <UpgradeMap OwnershipAmount="1" ProvidedUpgrade="Upgrade_ProductionVeterancy_VETERAN" />
- <UpgradeMap OwnershipAmount="2" ProvidedUpgrade="Upgrade_ProductionVeterancy_ELITE" />
- <UpgradeMap OwnershipAmount="3" ProvidedUpgrade="Upgrade_ProductionVeterancy_HEROIC" />
- </CaptureAndGiveUpgradeBehavior>
- <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="NUVeterancyTechStructure_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 = "105.114"
- MinorRadius = "50.000"
- Height = "85.2283"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "0.215218"
- y = "52.3765"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "75.4885"
- MinorRadius = "65.8824"
- Height = "8.63995"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "0.215218"
- y = "-34.9084"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "14.6528"
- MinorRadius = "15.4483"
- Height = "82.6126"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "0.215218"
- y = "-60.9318"
- z = "7.089" />
- </Shape>
- <ContactPoint>
- <Pos
- x="-40.0"
- y="40.0"
- z="26" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="40.0"
- y="40.0"
- z="0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="40.0"
- y="-40.0"
- z="26" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="40.0"
- y="40.0"
- z="0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="-40.0"
- y="-40.0"
- z="26" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="40.0"
- y="40.0"
- z="0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="-40.0"
- y="-40.0"
- z="26" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="-40.0"
- y="40.0"
- z="0" />
- </ContactPoint>
- </Geometry>
- <AudioArrayVoice>
- <AudioEntry EvaEvent="VeteranAcademyCaptured" AudioType="voiceDefectingTowards" />
- <AudioEntry Sound="TEC_VeteranAcademy_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="NUVeterancyTechStructure_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>NUVeterancyTechStructure_Collapse</CreateObject>
- </CreateObject>
- </ObjectCreationList>
- </AssetDeclaration>
|