HordeContain.xsd 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="uri:ea.com:eala:asset" xmlns:at="uri:ea.com:eala:asset:type" xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified" xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
  3. <!-- ENUMS -->
  4. <xs:simpleType name="FormationType">
  5. <xs:restriction base="xs:string">
  6. <xs:enumeration value="MAIN" />
  7. </xs:restriction>
  8. </xs:simpleType>
  9. <!-- AUXILIARY TYPES -->
  10. <xs:complexType name="PositionAndLeaderType">
  11. <xs:attribute name="X" type="SageReal" default="0" />
  12. <xs:attribute name="Y" type="SageReal" default="0" />
  13. <xs:attribute name="LeaderRank" type="SageInt" default="-1" />
  14. <xs:attribute name="LeaderIndex" type="SageInt" default="0" />
  15. </xs:complexType>
  16. <xs:complexType name="RankInfoType">
  17. <xs:sequence>
  18. <xs:element name="Position" type="PositionAndLeaderType" minOccurs="0" maxOccurs="unbounded" />
  19. </xs:sequence>
  20. <xs:attribute name="RankID" type="SageInt" default="0" />
  21. <xs:attribute name="UnitType" type="GameObjectWeakRef" />
  22. </xs:complexType>
  23. <xs:complexType name="BannerCarrierPosType">
  24. <xs:sequence>
  25. <xs:element name="UnitType" type="GameObjectWeakRef" />
  26. <xs:element name="Pos" type="Vector2" />
  27. </xs:sequence>
  28. </xs:complexType>
  29. <!-- HordeContainModuleData -->
  30. <xs:complexType name="HordeContainModuleData">
  31. <xs:complexContent>
  32. <xs:extension base="TransportContainModuleData">
  33. <xs:sequence>
  34. <xs:element name="RandomOffset" type="Vector2" minOccurs="0" maxOccurs="1" />
  35. <xs:element name="RankInfo" type="RankInfoType" minOccurs="0" maxOccurs="unbounded" />
  36. <xs:element name="RankThatStopsAdvance" type="SageInt" minOccurs="0" maxOccurs="unbounded" />
  37. <xs:element name="RankToReleaseWhenAttacking" type="SageInt" minOccurs="0" maxOccurs="unbounded" />
  38. <xs:element name="LeaderPosition" type="Vector2" minOccurs="0" maxOccurs="1" />
  39. <xs:element name="BannerCarrierPosition" type="BannerCarrierPosType" minOccurs="0" maxOccurs="unbounded" />
  40. <xs:element name="BannerCarriersAllowed" type="GameObjectWeakRef" minOccurs="0" maxOccurs="unbounded" />
  41. <xs:element name="LeadersAllowed" type="GameObjectWeakRef" minOccurs="0" maxOccurs="unbounded" />
  42. <xs:element name="AttributeModifier" type="AttributeModifierRef" minOccurs="0" maxOccurs="unbounded" />
  43. </xs:sequence>
  44. <xs:attribute name="Formation" type="FormationType" />
  45. <xs:attribute name="AlternateFormation" type="GameObjectWeakRef" />
  46. <xs:attribute name="ForcedLocomotorSet" type="LocomotorSetType" />
  47. <xs:attribute name="UseSlowHordeMovement" type="SageBool" default="true"/>
  48. <xs:attribute name="MeleeAttackLeashDistance" type="SageReal" default="60.0"/>
  49. <xs:attribute name="GeometryFrontAngleRadians" type="SageReal" default="0.0"/>
  50. <xs:attribute name="EvaEventLastMemberDeath" type="EvaEventRef" default="" />
  51. <xs:attribute name="FrontAngle" type="SageReal" default="6.283"/> <!-- TWO PI -->
  52. <xs:attribute name="FlankedDelaySeconds" type="SageReal" default="0"/>
  53. <xs:attribute name="FlankedDurationSeconds" type="SageReal" default="5.0"/>
  54. <xs:attribute name="MinimumHordeSize" type="SageUnsignedInt" default="0"/>
  55. <xs:attribute name="BackupMinDelayTime" type="Time" default="0s"/>
  56. <xs:attribute name="BackupMaxDelayTime" type="Time" default="0s"/>
  57. <xs:attribute name="BackupMinDistance" type="SageReal" default="0"/>
  58. <xs:attribute name="BackupMaxDistance" type="SageReal" default="0"/>
  59. <xs:attribute name="BackupPercentage" type="SageReal" default="0"/>
  60. <xs:attribute name="RadiusCowerOverride" type="SageReal" default="0"/>
  61. <xs:attribute name="VisionOverrideRear" type="SageReal" default="0.0"/>
  62. <xs:attribute name="VisionOverrideSide" type="SageReal" default="0.0"/>
  63. <xs:attribute name="SpawnBannerCarrierImmediately" type="SageBool" default="false"/>
  64. <xs:attribute name="BannerCarrierByUpgradeOnly" type="SageBool" default="false"/>
  65. <xs:attribute name="ForbiddenCoverStatus" type="ObjectStatusBitFlags" />
  66. </xs:extension>
  67. </xs:complexContent>
  68. </xs:complexType>
  69. </xs:schema>