BaseOreNode.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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="instance"
  7. source="DATA:BaseObjects/BaseObject.xml" />
  8. <Include
  9. type="all"
  10. source="DATA:GlobalData/GlobalDefines.xml" />
  11. </Includes>
  12. <!-- base interface object for all ore nodes, should not be created directly. -->
  13. <GameObject
  14. id="BaseOreNode"
  15. inheritFrom="BaseObject"
  16. SelectPortrait="Portrait_Neutral_OreNode"
  17. ButtonImage="Button_Neutral_OreNode"
  18. Side="Neutral"
  19. BuildTime="15"
  20. EditorSorting="STRUCTURE"
  21. CommandSet="EmptyCommandSet"
  22. KindOf="STRUCTURE SELECTABLE IMMOBILE UNATTACKABLE CAN_CAST_REFLECTIONS FS_TECHNOLOGY NOT_AUTOACQUIRABLE NOT_SELLABLE ORE_NODE CAN_BUILD_ON_WATER CAN_BUILD_ON_DEEP_WATER ALWAYS_VISIBLE_IN_RADAR IMMUNE_TO_CAPTURE"
  23. RadarPriority="STRUCTURE"
  24. ProductionQueueType="MAIN_STRUCTURE"
  25. EditorName="BaseOreNode"
  26. Description="Desc:TechBuildingOreNode">
  27. <DisplayName
  28. xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:TechBuildingOreNode</DisplayName>
  29. <ArmorSet
  30. Armor="TechStructureArmor"
  31. DamageFX="FactionStructureDamageFX" />
  32. <Draws/>
  33. <Behaviors>
  34. <QueueDockBehavior
  35. id="ModuleTag_QueueDockBehavior"
  36. DockStartBoneName="DockStart"
  37. DockActionBoneName="DockAction"
  38. DockEndBoneName="DockEnd"
  39. QueueBonePrefix="Que"
  40. TurnTableBoneName="BONE_TABLE"/>
  41. <!-- DeliveryAmount is likely to match the ore miner behavior DeliveryCapacity -->
  42. <!-- MovetoExtractTime is the time on the node arm to get into position to pick up a new load. -->
  43. <!-- ExtractTime is the time it takes the arm to pick up a new load -->
  44. <!-- MoveToDeliverTime is the time on the arm from picking up more ore to be ready to dump ore -->
  45. <!-- DeliveryTime is the time it takes to dump the ore into the miner -->
  46. <OreNodeBehavior
  47. id="ModuleTag_OreNodeBehavior"
  48. MoveToExtractTime="=$MOVE_TO_EXTRACT_TIME"
  49. ExtractTime="=$EXTRACT_TIME"
  50. MoveToDeliverTime="=$MOVE_TO_DELIVER_TIME"
  51. DeliveryAmount="250"
  52. DeliveryAmountWhenEmpty="60"
  53. DeliveryTime="=$DELIVERY_TIME"
  54. DeliveryAnimation="DOCKING_ACTIVE"
  55. ReturnAnimation="DOCKING_RETURN"
  56. ExtractAnimation="DOCKING_EXTRACT"
  57. MoveBackAnimation="DOCKING_MOVEBACK"
  58. MaximumGatheredValue="30000"
  59. LowNotificationPercentage="10%"
  60. LowNotificationEvaEventRef="OreMineLow"
  61. DepletedNotificationEvaEventRef="OreMineDepleted"
  62. DepletedNotificationAudioEventInfoRef="OreNodeDepleted" />
  63. <!-- Added to allow the Ore Nodes to be placed on water and function correctly -->
  64. <StructureUnpackUpdate
  65. id="ModuleTag_StructureUnpackUpdate"
  66. UnpackTime="0.0s" />
  67. </Behaviors>
  68. <Body>
  69. <ActiveBody
  70. id="ModuleTag_Body"
  71. MaxHealth="10000.0" />
  72. </Body>
  73. <AI>
  74. <AIUpdate
  75. id="ModuleTag_AI"
  76. StateMachine="OreNodeStateMachine"/>
  77. </AI>
  78. <!-- <AudioArrayVoice>
  79. <AudioEntry
  80. Sound="OreNode_Select"
  81. AudioType="voiceSelect" />
  82. </AudioArrayVoice> -->
  83. <AudioArraySound>
  84. <AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
  85. <AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
  86. </AudioArraySound>
  87. <VisionInfo
  88. VisionRange="100"
  89. ShroudClearingRange="200" />
  90. <ProjectedBuildabilityInfo
  91. Radius="120.0"
  92. RadiusY="105.0"
  93. BuildPlacementTypes="BLOCKED">
  94. <AllowedObjectFilter
  95. Rule="ALL">
  96. <ExcludeThing>AlliedRefinery</ExcludeThing>
  97. <ExcludeThing>SovietRefinery</ExcludeThing>
  98. <ExcludeThing>JapanRefinery</ExcludeThing>
  99. </AllowedObjectFilter>
  100. </ProjectedBuildabilityInfo>
  101. </GameObject>
  102. </AssetDeclaration>