SpecialAbilityUpdate.xsd 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. <xs:simpleType name="SpecialAbilityUpdateOptionsType" >
  4. <xs:restriction base="xs:string">
  5. <xs:enumeration value="CHECK_SPECIALPOWER_REQUIREMENTS_DURING_UPDATE" />
  6. <xs:enumeration value="SKIP_PACKING_WITH_NO_TARGET" />
  7. <xs:enumeration value="SPECIAL_OBJECTS_PERSISTENT" />
  8. <xs:enumeration value="UNIQUE_SPECIAL_OBJECT_TARGETS" />
  9. <xs:enumeration value="SPECIAL_OBJECTS_PERSIST_WHEN_OWNER_DIES" />
  10. <xs:enumeration value="ALWAYS_VALIDATE_SPECIAL_OBJECTS" />
  11. <xs:enumeration value="FLIP_OWNER_AFTER_PACKING" />
  12. <xs:enumeration value="FLIP_OWNER_AFTER_UNPACKING" />
  13. <xs:enumeration value="DO_CAPTURE_FX" />
  14. <xs:enumeration value="LOSE_STEALTH_ON_TRIGGER" />
  15. <xs:enumeration value="APPROACH_REQUIRES_LINE_OF_SIGHT" />
  16. <xs:enumeration value="CHARGE_ATTACK_SPEED_BOOST" />
  17. <xs:enumeration value="MUST_FINISH_ABILITY" />
  18. <xs:enumeration value="KILL_ATTRIBUTE_MODIFIER_ON_EXIT" />
  19. <xs:enumeration value="KILL_ATTRIBUTE_MODIFIER_ON_REJECTED" />
  20. <xs:enumeration value="INSTANT" />
  21. <xs:enumeration value="NEED_COLLISION_BEFORE_TRIGGER" />
  22. <xs:enumeration value="SUPPRESS_FOR_HORDES" />
  23. <xs:enumeration value="APPROACH_UNTIL_MEMBERS_IN_RANGE" />
  24. <xs:enumeration value="IGNORE_FACING_CHECK" />
  25. <xs:enumeration value="USE_OBJECT_GEOMETRY_FOR_WITHIN_RANGE_CHECK" />
  26. <xs:enumeration value="CHECK_CHAINED_COMMAND" />
  27. <xs:enumeration value="SHOW_PREPARATION_PROGRESS" />
  28. <xs:enumeration value="DESTROY_OCL_REGISTERED_OBJECTS_ON_EXIT"/>
  29. <xs:enumeration value="UPDATE_REQUIRES_LINE_OF_SIGHT"/>
  30. <xs:enumeration value="CHECK_PREVENT_CONDITIONS"/>
  31. <xs:enumeration value="RECONSTITUTE_STORED_COMMAND"/>
  32. <xs:enumeration value="DO_NOT_DO_AI_SPECIAL_POWER"/>
  33. <xs:enumeration value="BUSY_DURING_UNPACK"/>
  34. <xs:enumeration value="BUSY_DURING_PACK"/>
  35. <!-- This will cancel the Special Ability if after the approach the unit is not in range to cast the special ability -->
  36. <xs:enumeration value="FAIL_WITH_INVALID_APPROACH" />
  37. <!-- Force the unpack to take at least the minimum specified time after the special power is selected -->
  38. <xs:enumeration value="MINIMUM_UNPACK_TIME_AFTER_SPECIAL_POWER_SELECTION" />
  39. </xs:restriction>
  40. </xs:simpleType>
  41. <xs:simpleType name="SpecialAbilityUpdateOptionsTypeBitFlags">
  42. <xs:list itemType="SpecialAbilityUpdateOptionsType"></xs:list>
  43. </xs:simpleType>
  44. <xs:simpleType name="ConditionsType" >
  45. <xs:restriction base="xs:string">
  46. <xs:enumeration value="MOUNTED" />
  47. <xs:enumeration value="WEAPON_TOGGLE" />
  48. <xs:enumeration value="MOVING" />
  49. </xs:restriction>
  50. </xs:simpleType>
  51. <xs:simpleType name="ConditionsBitFlags">
  52. <xs:list itemType="ConditionsType"></xs:list>
  53. </xs:simpleType>
  54. <xs:complexType name="SpecialAbilityUpdateModuleData">
  55. <xs:complexContent>
  56. <xs:extension base="UpdateModuleData">
  57. <xs:sequence>
  58. <xs:element name="CustomAnimAndDuration" type="AnimAndDuration" minOccurs="0" maxOccurs="1" />
  59. </xs:sequence>
  60. <xs:attribute name="SpecialPowerTemplate" type="SpecialPowerTemplateRef" />
  61. <xs:attribute name="StartAbilityRange" type="SageReal" default="10000000.0" />
  62. <xs:attribute name="AbilityAbortRange" type="SageReal" default="10000000.0" />
  63. <xs:attribute name="PreparationTime" type="Time" default="0s" />
  64. <xs:attribute name="PersistentPrepTime" type="Time" default="0s" />
  65. <xs:attribute name="PersistentCount" type="SageInt" default="-1" />
  66. <xs:attribute name="PackTime" type="Time" default="0s" />
  67. <xs:attribute name="UnpackTime" type="Time" default="0s" />
  68. <xs:attribute name="PreTriggerUnstealthTime" type="Time" default="0s" />
  69. <xs:attribute name="Options" type="SpecialAbilityUpdateOptionsTypeBitFlags" />
  70. <xs:attribute name="PackUnpackVariationFactor" type="SageReal" default="0.0" />
  71. <xs:attribute name="ParalyzeDurationWhenCompleted" type="Time" default="0s" />
  72. <xs:attribute name="ParalyzeDurationWhenAborted" type="Time" default="0s" />
  73. <xs:attribute name="SpecialObject" type="GameObjectWeakRef" />
  74. <xs:attribute name="SpecialObjectAttachToBone" type="xs:string" />
  75. <xs:attribute name="MaxSpecialObjects" type="SageUnsignedInt" default="1" />
  76. <xs:attribute name="EffectDuration" type="Time" default="0s" />
  77. <xs:attribute name="EffectValue" type="SageInt" default="1" />
  78. <xs:attribute name="EffectRange" type="SageReal" default="0" />
  79. <xs:attribute name="FleeRangeAfterCompletion" type="SageReal" default="0.0" />
  80. <xs:attribute name="DisableFXParticleSystem" type="FXParticleSystemRef" />
  81. <xs:attribute name="PackSound" type="AudioEventInfoRef" />
  82. <xs:attribute name="UnpackSound" type="AudioEventInfoRef" />
  83. <xs:attribute name="PrepSoundLoop" type="AudioEventInfoRef" />
  84. <xs:attribute name="TriggerSound" type="AudioEventInfoRef" />
  85. <xs:attribute name="ActiveLoopSound" type="AudioEventInfoRef" />
  86. <xs:attribute name="AwardXPForTriggering" type="SageInt" default="0" />
  87. <xs:attribute name="SkillPointsForTriggering" type="SageInt" default="-1" />
  88. <xs:attribute name="UnpackingVariation" type="SageInt" default="0" />
  89. <xs:attribute name="FreezeAfterTriggerDuration" type="Time" default="0s" />
  90. <xs:attribute name="RequiredConditions" type="ConditionsBitFlags" />
  91. <xs:attribute name="RejectedConditions" type="ConditionsBitFlags" />
  92. <xs:attribute name="SetObjectStatusOnTrigger" type="ObjectStatusBitFlags" />
  93. <xs:attribute name="ClearObjectStatusOnExit" type="ObjectStatusBitFlags" />
  94. <xs:attribute name="ContactPointOverride" type="xs:string" />
  95. <xs:attribute name="TriggerAttributeModifier" type="AttributeModifierRef" />
  96. <xs:attribute name="AttributeModifierDuration" type="Time" default="0s" />
  97. <xs:attribute name="ChainedButton" type="LogicCommandRef" />
  98. <xs:attribute name="StartRechargeOnExit" type="SageBool" default="false" />
  99. <xs:attribute name="RequireAndSpendTiberiumOnCaster" type="SageUnsignedInt" default="0" />
  100. <xs:attribute name="GoIdleInStartPreparation" type="SageBool" default="true" />
  101. <xs:attribute name="FaceTarget" type="SageBool" default="true" />
  102. <xs:attribute name="DisabledTypesToProcess" type="DisabledBitFlags" default="HELD"/>
  103. <xs:attribute name="DisabledTypesToContinueSoundsFor" type="DisabledBitFlags"/>
  104. <xs:attribute name="ActiveModelCondition" type="ModelConditionFlagType" />
  105. <xs:attribute name="MinimumUnpackTimeAfterSpecialPowerInitiation" type="Time" default="0s" />
  106. </xs:extension>
  107. </xs:complexContent>
  108. </xs:complexType>
  109. </xs:schema>