MultiplayerBeacon.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="us-ascii"?>
  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" xmlns:xai="uri:ea.com:eala:asset:instance">
  3. <Tags></Tags>
  4. <Includes>
  5. <Include
  6. type="all"
  7. source="ART:MultiplayerBeacon.w3x" />
  8. </Includes>
  9. <GameObject
  10. id="MultiplayerBeacon"
  11. Side="Neutral"
  12. SubGroupPriority="950"
  13. EditorSorting="UNIT"
  14. CommandSet="EmptyCommandSet"
  15. IsTrainable="false"
  16. KindOf="CAN_CAST_REFLECTIONS BEACON NO_COLLIDE IGNORE_FOR_VICTORY UNATTACKABLE NOT_AUTOACQUIRABLE SELECTABLE ALWAYS_VISIBLE DO_NOT_CLASSIFY INERT"
  17. RadarPriority="NOT_ON_RADAR"
  18. EditorName="MultiplayerBeacon"
  19. Description="DESC:MultiplayerBeacon"
  20. SelectPortrait="Portrait_Neutral_Beacon"
  21. ButtonImage="Button_Neutral_Beacon">
  22. <DisplayName>CONTROLBAR:Beacon</DisplayName>
  23. <ArmorSet
  24. Armor="NoArmor" />
  25. <Draws>
  26. <ScriptedModelDraw
  27. id="ModuleTag_Draw"
  28. OkToChangeModelColor="true">
  29. <ModelConditionState
  30. ParseCondStateType="PARSE_DEFAULT">
  31. <Model
  32. Name="MultiplayerBeacon" />
  33. </ModelConditionState>
  34. <AnimationState
  35. ParseCondStateType="PARSE_DEFAULT">
  36. <Animation
  37. AnimationName="MultiplayerBeacon"
  38. AnimationMode="LOOP" />
  39. </AnimationState>
  40. </ScriptedModelDraw>
  41. </Draws>
  42. <Behaviors>
  43. <SelectiveVisibilityBehavior
  44. id="ModuleTag_SelectiveVisibility"
  45. UpdateRate="0.5s"
  46. AllowedPlayers="ALLIES" />
  47. </Behaviors>
  48. <Body>
  49. <ActiveBody
  50. id="ModuleTag_Body"
  51. MaxHealth="100.0" />
  52. </Body>
  53. <Geometry
  54. IsSmall="true">
  55. <Shape
  56. Type="CYLINDER"
  57. MajorRadius="7.0"
  58. Height="38.0"/>
  59. </Geometry>
  60. <CrusherInfo
  61. id="id_CrusherInfo"
  62. CrushableLevel="0" />
  63. </GameObject>
  64. <GameObject
  65. id="MultiplayerBeaconAttached"
  66. Side="Neutral"
  67. EditorSorting="UNIT"
  68. CommandSet="EmptyCommandSet"
  69. IsTrainable="false"
  70. KindOf="CAN_CAST_REFLECTIONS BEACON NO_COLLIDE IGNORE_FOR_VICTORY UNATTACKABLE NOT_AUTOACQUIRABLE SELECTABLE ALWAYS_VISIBLE"
  71. RadarPriority="NOT_ON_RADAR"
  72. EditorName="MultiplayerBeaconAttached">
  73. <DisplayName>CONTROLBAR:Beacon</DisplayName>
  74. <ArmorSet
  75. Armor="NoArmor" />
  76. <EquivalentTo>MultiplayerBeacon</EquivalentTo>
  77. <Draws>
  78. <ScriptedModelDraw
  79. id="ModuleTag_Draw"
  80. OkToChangeModelColor="true">
  81. <ModelConditionState
  82. ParseCondStateType="PARSE_DEFAULT">
  83. <Model
  84. Name="MultiplayerBeacon" />
  85. </ModelConditionState>
  86. <AnimationState
  87. ParseCondStateType="PARSE_DEFAULT">
  88. <Animation
  89. AnimationName="MultiplayerBeacon"
  90. AnimationMode="LOOP" />
  91. </AnimationState>
  92. </ScriptedModelDraw>
  93. </Draws>
  94. <Behaviors>
  95. <AttachUpdate
  96. id="ModuleTag_Attach"
  97. Range="10.0"
  98. Flags="STICK_TO_PARENT TELEPORT USE_GEOMETRY DIE_WHEN_DETACH_ALWAYS" >
  99. </AttachUpdate>
  100. <DestroyDie
  101. id="ModuleTag_Die">
  102. <DieMuxData
  103. DeathTypes="ALL" />
  104. </DestroyDie>
  105. <SelectiveVisibilityBehavior
  106. id="ModuleTag_SelectiveVisibility"
  107. UpdateRate="0.5s"
  108. AllowedPlayers="ALLIES" />
  109. </Behaviors>
  110. <Body>
  111. <ActiveBody
  112. id="ModuleTag_Body"
  113. MaxHealth="100.0" />
  114. </Body>
  115. <Geometry
  116. IsSmall="true">
  117. <Shape
  118. Type="CYLINDER"
  119. MajorRadius="7.0"
  120. Height="38.0"/>
  121. </Geometry>
  122. <CrusherInfo
  123. id="id_CrusherInfo"
  124. CrushableLevel="0" />
  125. </GameObject>
  126. </AssetDeclaration>