Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  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:xai="uri:ea.com:eala:asset:instance">
  3. <Tags></Tags>
  4. <Includes>
  5. <Include type="all" source="ART:ABSuperweaponAdvancedProjectile.w3x" />
  6. <!-- Base Object -->
  7. <Include type="instance" source="DATA:BaseObjects/BaseObject.xml" />
  8. </Includes>
  9. <GameObject
  10. id="BaseGDIMjolnirStrike"
  11. inheritFrom="BaseObject"
  12. Side="Japan"
  13. EditorSorting="SYSTEM"
  14. TransportSlotCount="0"
  15. IsTrainable="false"
  16. KindOf="UNATTACKABLE NOT_AUTOACQUIRABLE NO_COLLIDE INERT"
  17. EditorName="BaseBalloonBombEffect"
  18. Description="Desc:BaseBalloonBombEffect"
  19. TypeDescription="Type:BaseBalloonBombEffect"
  20. UnitTypeIcon="RiflemenIcon">
  21. <DisplayName>BaseBalloonBombEffect</DisplayName>
  22. <ArmorSet
  23. Armor="NoArmor" />
  24. <Draws>
  25. <ScriptedModelDraw
  26. id="ModuleTag_Draw">
  27. <ModelConditionState
  28. ParseCondStateType="PARSE_DEFAULT">
  29. <Model
  30. Name="" />
  31. <ParticleSysBone
  32. BoneName="None"
  33. FXParticleSystemTemplate="BeaconFlare"/>
  34. <ParticleSysBone
  35. BoneName="None"
  36. FXParticleSystemTemplate="BeaconSmoke"/>
  37. </ModelConditionState>
  38. </ScriptedModelDraw>
  39. </Draws>
  40. <Behaviors>
  41. <LifetimeUpdate
  42. id="ModuleTag_LifetimeUpdate"
  43. MinLifetime="30.0s"
  44. MaxLifetime="30.0s" />
  45. <DestroyDie
  46. id="ModuleTag_Die">
  47. <DieMuxData
  48. DeathTypes="ALL" />
  49. </DestroyDie>
  50. <BombardAreaUpdate
  51. id="ModuleTag_BalloonBombs"
  52. WeaponName="GDIMjolnirStrikeDropWeapon"
  53. MaxShots="6">
  54. <TimeDelayRange
  55. Low="0.5s"
  56. High="5.0s"/>
  57. <RadiusSpreadRange
  58. Low="0"
  59. High="90"/>
  60. </BombardAreaUpdate>
  61. </Behaviors>
  62. <AI>
  63. <AIUpdate
  64. id="ModuleTag_AI"
  65. AutoAcquireEnemiesWhenIdle="YES"
  66. StateMachine="UnitAIStateMachine"/>
  67. </AI>
  68. <Body>
  69. <PropBody
  70. id="ModuleTag_Body" />
  71. </Body>
  72. <Geometry
  73. IsSmall="true">
  74. <Shape
  75. Type="CYLINDER"
  76. MajorRadius="5.0"
  77. Height="5.0"/>
  78. </Geometry>
  79. <AudioArraySound>
  80. <AudioEntry Sound="JAP_BalloonBomb_Flare" AudioType="soundAmbient" />
  81. </AudioArraySound>
  82. <ShadowInfo
  83. Type="NONE" />
  84. <CrusherInfo
  85. id="id_CrusherInfo"
  86. CrushableLevel="0" />
  87. </GameObject>
  88.  
  89. <!-- Generates a bomb per shot -->
  90. <WeaponTemplate
  91. id="GDIMjolnirStrikeDropWeapon"
  92. ClipSize="1"
  93. AutoReloadsClip="NONE"
  94. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  95. AttackRange="10000"
  96. FireFX="FX_JAP_BalloonBomb_Drop"
  97. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS">
  98. <Nuggets>
  99. <WeaponOCLNugget
  100. WeaponOCL="OCL_GDIMjolnirRod" />
  101. </Nuggets>
  102. </WeaponTemplate>
  103.  
  104. <ObjectCreationList
  105. id="OCL_GDIMjolnirRod">
  106. <CreateObject
  107. Options="IGNORE_ALL_OBJECTS ISSUE_MOVE_AFTER_CREATION OFFSET_IN_LOCAL_SPACE CREATE_AT_TARGET"
  108. Disposition="FALL_TO_GROUND"
  109. Count="1">
  110. <Offset
  111. x="0"
  112. y="0"
  113. z="350" />
  114. <CreateObject>GDIMjolnirStrikeProjectile</CreateObject>
  115. </CreateObject>
  116. </ObjectCreationList>
  117.  
  118.  
  119.  
  120. <!-- GDI Mjolnir Strike Lvl 1 -->
  121. <GameObject
  122. id="GDIMjolnirStrikeLvl1"
  123. inheritFrom="BaseGDIMjolnirStrike"
  124. EditorName="GDIMjolnirStrikeLvl1">
  125. <DisplayName
  126. xai:joinAction="Replace">Name:BalloonBombEffectLvl1</DisplayName>
  127. <Behaviors>
  128.  
  129. </Behaviors>
  130. </GameObject>
  131.  
  132.  
  133.  
  134.  
  135. <GameObject
  136. id="GDIMjolnirStrikeProjectile"
  137. KindOf="SELECTABLE AIRCRAFT VEHICLE SKIRMISH_AI_DONT_CONSIDER_THREAT SKIRMISH_AI_ATTEMPT_TO_DODGE"
  138. Side="Japan"
  139. EditorSorting="SYSTEM"
  140. TransportSlotCount="0"
  141. IsTrainable="false"
  142. EditorName="GDIMjolnirStrikeProjectile"
  143. Description="Desc:GDIMjolnirStrikeProjectile"
  144. TypeDescription="Type:GDIMjolnirStrikeProjectile"
  145. SelectPortrait="Portrait_JapanBalloonBomb"
  146. ButtonImage="Button_JapanBalloonBomb">
  147. <DisplayName>NAME:GDIMjolnirStrikeProjectile</DisplayName>
  148. <ArmorSet
  149. Armor="JapanBalloonArmor"
  150. DamageFX="VehicleDamageFX" />
  151. <LocomotorSet
  152. id="defaultLocomotor"
  153. Locomotor="JapanBalloonBombBalloonLocomotor"
  154. Condition="NORMAL"
  155. Speed="550.0" />
  156. <SkirmishAIInformation
  157. DodgeSafetyDistance="100.0">
  158. <DodgeWithUnits Rule="ALL"
  159. StatusBitFlagsExclude="AIRBORNE_TARGET">
  160. </DodgeWithUnits>
  161. </SkirmishAIInformation>
  162. <Draws>
  163. <ScriptedModelDraw
  164. id="ModuleTag_FXDraw">
  165. <ModelConditionState
  166. ParseCondStateType="PARSE_DEFAULT">
  167. <Model
  168. Name="FXMJOLNIRPROJECTILE" />
  169. <ParticleSysBone
  170. BoneName="MISSLEFX"
  171. FXParticleSystemTemplate="GDIMStrikeProj_Trail"
  172. FollowBone="true"/>
  173. <ParticleSysBone
  174. BoneName="MISSLEFX"
  175. FXParticleSystemTemplate="GDIMStrikeProj_Smoke"
  176. FollowBone="true"/>
  177. <ParticleSysBone
  178. BoneName="MISSLEFX"
  179. FXParticleSystemTemplate="GDIMStrikeProj_Fire"
  180. FollowBone="true"/>
  181.  
  182. </ModelConditionState>
  183. </ScriptedModelDraw>
  184. </Draws>
  185. <Behaviors>
  186.  
  187. <DestroyDie
  188. id="ModuleTag_Die">
  189. <DieMuxData
  190. DeathTypes="ALL" />
  191. </DestroyDie>
  192.  
  193. <HeightDieUpdate
  194. id="ModuleTag_HeightDieUpdate"
  195. TargetHeight="2.0"
  196. TargetHeightIncludesStructures="true"/>
  197.  
  198. <!-- killed via collision. Just nuke ourselves and fire the AOE weapon. Don't spawn a falling bomb because we
  199. want to damage whatever hit us -->
  200. <FireWeaponWhenDead
  201. id="ModuleTag_BalloonBombDeathWeapon_Collided"
  202. InitiallyActive="true"
  203. DeathWeapon="JapanBalloonBombWarhead">
  204. <DieMuxData
  205. DeathTypes="SUICIDED"/>
  206. </FireWeaponWhenDead>
  207.  
  208. <!-- killed on the ground -->
  209. <FireWeaponWhenDead
  210. id="ModuleTag_BalloonBombDeathWeapon"
  211. InitiallyActive="true"
  212. DeathWeapon="JapanBalloonBombWarhead">
  213. <DieMuxData
  214. DeathTypes="ALL"
  215. DeathTypesForbidden="SUICIDED"
  216. ExemptStatus="AIRBORNE_TARGET"/>
  217. </FireWeaponWhenDead>
  218.  
  219. <!-- killed in the air -->
  220. <FireWeaponWhenDead
  221. id="ModuleTag_BalloonFallingBombDeathWeapon"
  222. InitiallyActive="true"
  223. FireAtGround="true"
  224. DeathWeapon="JapanBalloonFallingBombWeapon">
  225. <DieMuxData
  226. DeathTypes="ALL"
  227. DeathTypesForbidden="SUICIDED"
  228. RequiredStatus="AIRBORNE_TARGET"/>
  229. </FireWeaponWhenDead>
  230.  
  231. <!-- spawn a rising balloon as long as you were nuked in the air, regardless of
  232. whether you were shot down or hit an aircraft -->
  233.  
  234.  
  235. <FireWeaponCollide
  236. id="ModuleTag_FireWeaponCollide"
  237. CollideWeapon="JapanBalloonBombSuicideWeapon"
  238. FireOnce="true"
  239. Flags="DESTROY_SELF_ON_COLLIDE DO_NOT_COLLIDE_WITH_PRODUCER"
  240. WhereToFire="OWNER_POSITION"/>
  241.  
  242. <Physics
  243. id="ModuleTag_Physics" />
  244.  
  245. <FXListBehavior
  246. id="ModuleTag_FXList">
  247. <DieMuxData
  248. DeathTypes="ALL"
  249. ExemptStatus="AIRBORNE_TARGET"/>
  250. <Event
  251. Index="onDeath"
  252. FX="FX_JapanBalloon" />
  253. </FXListBehavior>
  254.  
  255. </Behaviors>
  256. <AI>
  257. <AIUpdate
  258. id="ModuleTag_AIUpdate"
  259. AutoAcquireEnemiesWhenIdle="NO"
  260. StateMachine="UnitAIStateMachine"/>
  261. </AI>
  262. <Body>
  263. <ActiveBody
  264. id="ModuleTag_Body"
  265. MaxHealth="1000"/>
  266. </Body>
  267. <Geometry
  268. IsSmall="true">
  269. <Shape
  270. Type="CYLINDER"
  271. MajorRadius="6.0"
  272. Height="30.0"/>
  273. </Geometry>
  274. <AudioArrayVoice>
  275. <AudioEntry Sound="JAP_BalloonBomb_VoiceSelect" AudioType="voiceSelect" />
  276. <AudioEntry Sound="JAP_BalloonBomb_VoiceAttack" AudioType="voiceAttack" />
  277. <AudioEntry Sound="JAP_BalloonBomb_VoiceMove" AudioType="voiceMove" />
  278. </AudioArrayVoice>
  279. <AudioArraySound>
  280. <AudioEntry Sound="JAP_BalloonBomb_Ambient" AudioType="soundAmbient" />
  281. </AudioArraySound>
  282. <VisionInfo
  283. VisionRange="100"
  284. ShroudClearingRange="100" />
  285. </GameObject>
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295. </AssetDeclaration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement