BaseWallPiece.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xai="uri:ea.com:eala:asset:instance">
  3. <Tags></Tags>
  4. <Includes>
  5. <Include type="all" source="DATA:GlobalData/GlobalDefines.xml" />
  6. <!-- Base Object -->
  7. <Include
  8. type="instance"
  9. source="DATA:BaseObjects/BaseStructure.xml" />
  10. </Includes>
  11. <!-- Wall Piece (these alternate between Wall hubs and Wall segments on a case by case basis) -->
  12. <GameObject
  13. id="BaseWallPiece"
  14. inheritFrom="BaseStructure"
  15. KindOf="STRUCTURE SELECTABLE IMMOBILE WALL_PIECE NOT_AUTOACQUIRABLE AUTO_ACQUIRABLE_BY_AI COVER IGNORE_FOR_VICTORY CAN_CAST_REFLECTIONS RESIST_EMP CLASSIFY_ENTIRE_FOOTPRINT ACTIVATE_AFTER_UNPACK"
  16. RadarPriority="NOT_ON_RADAR"
  17. CampnessValue="=$CAMPNESS_WALL">
  18. <Behaviors>
  19. <SquishCollide
  20. id ="DefaultSquishCollide"
  21. AllowAllyCrush="true"/>
  22. <Physics
  23. id="ModuleTag_Physics" />
  24. <xi:include
  25. href="DATA:Includes/GenericBuildingRepair.xml" />
  26. <xi:include
  27. href="DATA:Includes/GenericAlliedBuildingDestructionNoSpawn.xml" />
  28. <xi:include
  29. href="DATA:Includes/GenericAlliedBuildingSuicideNoSpawn.xml" />
  30. <FXListBehavior xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_DieSound">
  31. <DieMuxData DeathTypes="ALL" />
  32. <Event Index="onDeath" FX="FX_WallDieExplosion" />
  33. </FXListBehavior>
  34. </Behaviors>
  35. <AudioArraySound>
  36. <AudioEntry Sound="HumanFaction_SmallBuilding_LightDamageMS" AudioType="soundOnDamaged" />
  37. <AudioEntry Sound="HumanFaction_SmallBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
  38. </AudioArraySound>
  39. <!-- Curshable level should be the same across factions so no one has an advantage -->
  40. <CrusherInfo
  41. id="id_CrusherInfo"
  42. CrushableLevel="25" />
  43. </GameObject>
  44. </AssetDeclaration>