NeutralDefensiveStructureProjectile.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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
  6. type="all"
  7. source="ART:FXAlliedShell.w3x" />
  8. <Include
  9. type="instance"
  10. source="DATA:BaseObjects/BaseProjectile.xml"/>
  11. </Includes>
  12. <GameObject
  13. id="NeutralDefensiveStructureProjectile"
  14. inheritFrom="BaseProjectile"
  15. Side="Neutral"
  16. EditorName="NeutralDefensiveStructureProjectile">
  17. <Draws>
  18. <ScriptedModelDraw
  19. id="ModuleTag_ScriptedModelDraw">
  20. <ModelConditionState
  21. ParseCondStateType="PARSE_DEFAULT">
  22. <Model
  23. Name="FXAlliedShell" />
  24. </ModelConditionState>
  25. </ScriptedModelDraw>
  26. </Draws>
  27. <Behaviors>
  28. <ProjectileUpdate
  29. id="ModuleTag_ProjectileUpdate"
  30. StateMachine="StraightLineProjectile"
  31. MinTargetDistance="5">
  32. <Movement>
  33. <MoveInStraightLine
  34. MuzzleVelocity="40.0" />
  35. </Movement>
  36. </ProjectileUpdate>
  37. <FXListBehavior
  38. id="ModuleTag_FXLists">
  39. <DieMuxData
  40. DeathTypes="ALL" />
  41. <Event
  42. Index="onTerrainCollision"
  43. FX="FX_TankImpactMed"/>
  44. </FXListBehavior>
  45. </Behaviors>
  46. </GameObject>
  47. </AssetDeclaration>