Vehicle.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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">
  3. <Tags></Tags>
  4. <Includes></Includes>
  5. <GameObject
  6. id="VehicleName"
  7. SelectPortrait="SAHummer_L"
  8. ButtonImage="SAHummer"
  9. Side="VehicleNameSide"
  10. EditorSorting="UNIT"
  11. TransportSlotCount="1"
  12. BuildTime="1.0"
  13. CommandSet="VehicleNameCommandSet"
  14. KindOf="PRELOAD SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS SCORE VEHICLE"
  15. RadarPriority="UNIT"
  16. EditorName="VehicleName">
  17. <DisplayName>NOD_VehicleName</DisplayName>
  18. <ArmorSet
  19. Armor="VehicleNameArmor"
  20. DamageFX="VehicleDamageFX" />
  21. <LocomotorSet
  22. Locomotor="VehicleNameLocomotor"
  23. Condition="NORMAL"
  24. Speed="60.0" />
  25. <Draws>
  26. <TruckDraw
  27. id="ModuleTag_Draw"
  28. OkToChangeModelColor="true"
  29. LeftFrontTireBone="Tire01"
  30. RightFrontTireBone="Tire02"
  31. LeftRearTireBone="Tire03"
  32. RightRearTireBone="Tire04"
  33. TireRotationMultiplier="0.2"
  34. PowerslideRotationAddition="1.25">
  35. <ModelConditionState
  36. ParseCondStateType="PARSE_DEFAULT">
  37. <Model
  38. Name="GUAPC" />
  39. </ModelConditionState>
  40. </TruckDraw>
  41. </Draws>
  42. <Behaviors>
  43. <WeaponSetUpdate
  44. id="ModuleTag_WeaponSetUpdate">
  45. <WeaponSlotHardpoint
  46. ID="1">
  47. <Weapon
  48. Ordering="PRIMARY_WEAPON"
  49. Template="VehicleNameWeapon" />
  50. </WeaponSlotHardpoint>
  51. </WeaponSetUpdate>
  52. <Physics
  53. id="ModuleTag_Physics" />
  54. <SlowDeath
  55. id="ModuleTag_Death"
  56. SinkDelay="0s"
  57. SinkRate="2.4"
  58. DestructionDelay="4s">
  59. <DieMuxData
  60. DeathTypes="ALL" />
  61. </SlowDeath>
  62. </Behaviors>
  63. <AI>
  64. <AIUpdate
  65. id="ModuleTag_AI"
  66. AutoAcquireEnemiesWhenIdle="YES">
  67. <Turret
  68. TurretTurnRate="180"
  69. ControlledWeaponSlots="PRIMARY_WEAPON" />
  70. </AIUpdate>
  71. </AI>
  72. <Body>
  73. <ActiveBody
  74. id="ModuleTag_Body"
  75. MaxHealth="500.0"
  76. InitialHealth="500.0" />
  77. </Body>
  78. <Geometry
  79. IsSmall="true">
  80. <Shape
  81. Type="BOX"
  82. MajorRadius="20.0"
  83. MinorRadius="10.0"
  84. Height="10.0"></Shape>
  85. </Geometry>
  86. <VisionInfo
  87. VisionRange="150"
  88. ShroudClearingRange="320" />
  89. <CrusherInfo
  90. id="id_CrusherInfo"
  91. CrusherLevel="2"
  92. CrushableLevel="2" />
  93. </GameObject>
  94. </AssetDeclaration>