BaseMountRushmoreHead.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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="DATA:GlobalData/GlobalDefines.xml" />
  8. <Include
  9. type="all"
  10. source="ART:FXPrisimLaser01.xml" />
  11. <Include
  12. type="all"
  13. source="ART:FXPrisimLaser01b.xml" />
  14. <Include
  15. type="all"
  16. source="ART:FXRailDistort.xml" />
  17. <!-- Base Object -->
  18. <Include type="instance" source="DATA:BaseObjects/BaseCivilianStructureNoGarrison.xml" />
  19. <Include
  20. type="instance"
  21. source="DATA:GlobalData/Weapon.xml" />
  22. </Includes>
  23. <!--Eye weapon-->
  24. <WeaponTemplate
  25. id="MountRushmoreHeadEyeWeapon"
  26. AttackRange="9999.0"
  27. CanFireWhileMoving="false"
  28. WeaponSpeed="999999.0"
  29. AcceptableAimDelta="30d"
  30. FireSound="A06_RushmoreLaserFire5"
  31. FireFX="FX_AlliedPrismTowerFire"
  32. FireVeteranFX="FX_AlliedPrismTowerFire"
  33. RadiusDamageAffects="ENEMIES"
  34. ClipSize="1"
  35. Flags="NONE"
  36. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER ANTI_SUBMERGED"
  37. AutoReloadsClip="AUTO"
  38. ReAcquireDetailType="PER_CLIP">
  39. <!-- PreAttackDelay needed for NotifyWhenAttackingBehavior (hackish) -->
  40. <PreAttackDelay
  41. MinSeconds="1.0s"
  42. MaxSeconds="1.0s" />
  43. <FiringDuration
  44. MinSeconds="1.0s"
  45. MaxSeconds="1.0s" />
  46. <ClipReloadTime
  47. MinSeconds="5.0s"
  48. MaxSeconds="5.0s" />
  49. <Nuggets>
  50. <ActivateLaserNugget
  51. Lifetime="1s"
  52. LaserId="1"/>
  53. <ActivateLaserNugget
  54. Lifetime="1s"
  55. LaserId="2"/>
  56. <WeaponOCLNugget
  57. WeaponOCL="OCL_AlliedAntiVehicleVehicleTech3CannonNodeRegular"
  58. ForbiddenTargetObjectStatus="HAS_SECONDARY_DAMAGE"/>
  59. <DamageNugget
  60. Damage="750.0"
  61. Radius="0.0"
  62. DelayTimeSeconds="0.1s"
  63. DamageType="PRISM"
  64. DeathType="LASERED"
  65. ForbiddenTargetObjectStatus="HAS_SECONDARY_DAMAGE"/>
  66. <SecondaryDamageNugget
  67. Amount="=$FACTION_WEAPON_SECONDARY_DAMAGE_AMOUNT"/>
  68. </Nuggets>
  69. </WeaponTemplate>
  70. <GameObject
  71. id="BaseMountRushmoreHead"
  72. inheritFrom="BaseCivilianStructureNoGarrison"
  73. SelectPortrait="Portrait_AlliedBaseDefenseAdvanced"
  74. KindOf="STRUCTURE SELECTABLE IMMOBILE CAN_CAST_REFLECTIONS FS_BASE_DEFENSE UNATTACKABLE NOT_AUTOACQUIRABLE CAN_ATTACK CAN_SEE_THROUGH_STRUCTURE LINE_OF_SIGHT_IGNORES_BUILDINGS"
  75. RadarPriority="STRUCTURE"
  76. WeaponCategory="CANNON"
  77. PlacementViewAngle="225d">
  78. <Behaviors>
  79. <WeaponSetUpdate
  80. id="ModuleTag_WeaponSetUpdate">
  81. <WeaponSlotTurret
  82. ID="1">
  83. <Weapon
  84. Ordering="PRIMARY_WEAPON"
  85. Template="MountRushmoreHeadEyeWeapon"/>
  86. <TurretSettings
  87. TurretTurnRate="360"
  88. MinimumPitch="-20d"
  89. AllowsPitch="true"
  90. TurretPitchRate="180"
  91. MinIdleScanTime="1.0s"
  92. MaxIdleScanTime="5.0s"
  93. MinIdleScanAngle="10.0"
  94. MaxIdleScanAngle="90.0"
  95. ComeToHaltJiggle="0d"
  96. MaxDeflectionClockwise="15d"
  97. MaxDeflectionAntiClockwise="15d">
  98. <TurretAITargetChooserData
  99. IdleScanDelay="=$FAST_IDLE_SCAN_DELAY"
  100. CanAcquireDynamicIfAssignedOutOfRange="true" />
  101. </TurretSettings>
  102. </WeaponSlotTurret>
  103. </WeaponSetUpdate>
  104. <SlowDeath
  105. id="ModuleTag_Death"
  106. SinkDelay="3.0s"
  107. SinkRate="4.0"
  108. DestructionDelay="8.0s">
  109. <Sound Type="INITIAL" List="HumanFaction_SmallBuilding_DieMS" />
  110. <DieMuxData
  111. DeathTypes="ALL" />
  112. </SlowDeath>
  113. <StructureUnpackUpdate
  114. id="StructureUnpackUpdate"
  115. UnpackTime="1.5s" />
  116. </Behaviors>
  117. <AI>
  118. <AIUpdate
  119. id="ModuleTag_AIUpdate"
  120. AutoAcquireEnemiesWhenIdle="YES"
  121. StateMachine="OffensiveStructureAIStateMachine">
  122. <UnitAITargetChooserData/>
  123. </AIUpdate>
  124. </AI>
  125. <Body>
  126. <HighlanderBody
  127. id="DefaultBody"
  128. MaxHealth="1.0" />
  129. </Body>
  130. <ClientBehaviors>
  131. <ModelConditionAudioLoopClientBehavior id="ModuleTag_Underpowered">
  132. <ModelConditionSound Sound="A06_RushmoreHead_PowerDown" RequiredFlags="UNDERPOWERED" />
  133. </ModelConditionAudioLoopClientBehavior>
  134. </ClientBehaviors>
  135. <AudioArraySound>
  136. <AudioEntry Sound="HumanFaction_SmallBuilding_LightDamageMS" AudioType="soundOnDamaged" />
  137. <AudioEntry Sound="HumanFaction_SmallBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
  138. </AudioArraySound>
  139. <VisionInfo
  140. VisionRange="9999"
  141. ShroudClearingRange="9999" />
  142. </GameObject>
  143. </AssetDeclaration>