ObservationPostTechStructure.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude">
  3. <Tags></Tags>
  4. <Includes>
  5. <Include
  6. type="all"
  7. source="ART:NUObservationPostTechStructure.w3x" />
  8. <Include
  9. type="instance"
  10. source="DATA:BaseObjects/BaseTechStructure.xml" />
  11. <Include type="instance" source="DATA:Civilian/Yucatan_YU/Props/YU_HotelDebris.xml" />
  12. <Include type="instance" source="DATA:Neutral/Props/ObservationPostTechStructure_Collapse.xml" />
  13. <Include type="all" source="ART:ABBarracks_particles.w3x" />
  14. </Includes>
  15. <GameObject
  16. id="ObservationPostTechStructure"
  17. inheritFrom="BaseTechStructure"
  18. SelectPortrait="Portrait_Neutral_ObservationPost"
  19. ButtonImage="Button_Neutral_ObservationPost"
  20. EditorName="ObservationPostTechStructure"
  21. Description="DESC:ObservationPostTechBuilding"
  22. TypeDescription="TYPE:TechStructure"
  23. HealthBoxHeightOffset="30">
  24. <DisplayName
  25. xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">NAME:ObservationPostTechBuilding</DisplayName>
  26. <ObjectResourceInfo>
  27. <BuildCost Account="=$ACCOUNT_ORE" Amount="=$TECH_STRUCTURE_EFFECTIVE_COST"/>
  28. </ObjectResourceInfo>
  29. <ArmorSet
  30. Armor="AlliedBarracksArmor"
  31. DamageFX="FactionStructureDamageFX" />
  32. <Draws>
  33. <ScriptedModelDraw
  34. id="ModuleTag_Draw"
  35. OkToChangeModelColor="true"
  36. 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">
  37. <ModelConditionState
  38. ParseCondStateType="PARSE_DEFAULT">
  39. <Model
  40. Name="NUObservationPostTechStructure" />
  41. </ModelConditionState>
  42. <ModelConditionState
  43. ParseCondStateType="PARSE_NORMAL"
  44. ConditionsYes="RUBBLE">
  45. <Model
  46. Name="NUObservationPostTechStructure" />
  47. </ModelConditionState>
  48. <AnimationState
  49. ParseCondStateType="PARSE_DEFAULT"
  50. Flags="START_FRAME_FIRST">
  51. <Animation
  52. AnimationName="NUObservationPostTechStructure"
  53. AnimationMode="LOOP"
  54. AnimationBlendTime="0" />
  55. </AnimationState>
  56. </ScriptedModelDraw>
  57. <xi:include
  58. href="DATA:Includes/TechBuildingFlagDraw.xml"
  59. xpointer="xmlns(n=uri:ea.com:eala:asset) xpointer(/n:CommonFlagDraws/child::*)" />
  60. </Draws>
  61. <Behaviors>
  62. <xi:include
  63. href="../../Includes/GenericEngineerContain.xml" />
  64. <xi:include
  65. href="../../Includes/GenericBuildingRepair.xml" />
  66. <LUAEventList
  67. id="ModuleTag_LUAEventList"
  68. EventListName="BuildingPowerFunctions"/>
  69. <Physics
  70. id="ModuleTag_Physics"/>
  71. <BuildingDestructionBehavior
  72. id="ModuleTag_BuildingDestruction">
  73. <DieMuxData
  74. DeathTypes="ALL" />
  75. <Item
  76. BonePrefix="BONE_CONTACT_POINT_"
  77. FX="SovietRefineryHit"
  78. CreationObject="AlliedBarracks_Debris"
  79. FlingVelocity="100.0"/>
  80. </BuildingDestructionBehavior>
  81. <FXListBehavior
  82. xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_FXList">
  83. <DieMuxData
  84. DeathTypes="ALL" />
  85. <Event
  86. Index="onDeath"
  87. FX="FX_MediumBuildingDieExplosion" />
  88. </FXListBehavior>
  89. <CreateObjectDie
  90. id="ModuleTag_CreateObjectDie"
  91. CreationList="NUObservationPostTechstructure_Die_OCL">
  92. <DieMuxData
  93. DeathTypes="ALL" />
  94. </CreateObjectDie>
  95. <DestroyDie
  96. id="ModuleTag_Die">
  97. <DieMuxData
  98. DeathTypes="ALL" />
  99. </DestroyDie>
  100. </Behaviors>
  101. <Body>
  102. <ActiveBody
  103. id="ModuleTag_Body"
  104. MaxHealth="3000.0"
  105. InitialHealth="3000.0" />
  106. </Body>
  107. <Geometry
  108. IsSmall="false">
  109. <Shape
  110. Type= "BOX"
  111. MajorRadius = "46.9036"
  112. MinorRadius = "38.9538"
  113. Height = "17.3025"
  114. ContactPointGeneration = "STRUCTURE" >
  115. <Offset
  116. x = "3.74109"
  117. y = "-6.07927"
  118. z = "0.741066" />
  119. </Shape>
  120. <Shape
  121. Type= "BOX"
  122. MajorRadius = "10.0"
  123. MinorRadius = "10.0"
  124. Height = "114.543"
  125. ContactPointGeneration = "STRUCTURE" >
  126. <Offset
  127. x = "-7.88565"
  128. y = "3.9683"
  129. z = "0.741066" />
  130. </Shape>
  131. <Shape
  132. Type= "BOX"
  133. MajorRadius = "20.0"
  134. MinorRadius = "20.0"
  135. Height = "25.1994"
  136. ContactPointGeneration = "STRUCTURE" >
  137. <Offset
  138. x = "-7.88565"
  139. y = "3.96829"
  140. z = "52.7524" />
  141. </Shape>
  142. </Geometry>
  143. <AudioArrayVoice>
  144. <AudioEntry EvaEvent="ObservationPostCaptured" AudioType="voiceDefectingTowards" />
  145. <AudioEntry Sound="TEC_ObservationPost_Select" AudioType="voiceSelect" />
  146. </AudioArrayVoice>
  147. <AudioArraySound>
  148. <AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
  149. <AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
  150. </AudioArraySound>
  151. <VisionInfo
  152. VisionRange="1250"
  153. ShroudClearingRange="1250"
  154. ShroudClearingHeight="500"/>
  155. <ProjectedBuildabilityInfo
  156. Radius="0.0"
  157. BuildPlacementTypes="MAIN_STRUCTURE OTHER_STRUCTURE" />
  158. </GameObject>
  159. <ObjectCreationList
  160. id="NUObservationPostTechstructure_Die_OCL">
  161. <CreateObject
  162. Options="IGNORE_ALL_OBJECTS"
  163. Disposition="LIKE_EXISTING RANDOM_FORCE"
  164. Count="1"
  165. MinForceMagnitude="1.0"
  166. MaxForceMagnitude="2.0"
  167. MinForcePitch="90d"
  168. MaxForcePitch="75d">
  169. <CreateObject>NUObservationPostTechstructure_Collapse</CreateObject>
  170. </CreateObject>
  171. </ObjectCreationList>
  172. </AssetDeclaration>