SpecialPower.xsd 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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:complexType name="SpecialPowerModuleData">
  4. <xs:complexContent>
  5. <xs:extension base="BehaviorModuleData">
  6. <xs:sequence>
  7. <xs:element name="AttributeModifierAffects" type="ObjectFilter" xas:byValue="true" minOccurs="0" maxOccurs="1" />
  8. <xs:element name="RequirementsFilterMP" type="ObjectFilter" xas:byValue="true" minOccurs="0" maxOccurs="1" />
  9. <xs:element name="RequirementsFilterStrategic" type="ObjectFilter" xas:byValue="true" minOccurs="0" maxOccurs="1" />
  10. <xs:element name="InitiateSound" type="SoundOrEvaEvent" minOccurs="0" maxOccurs="1" />
  11. </xs:sequence>
  12. <xs:attribute name="SpecialPowerTemplate" type="SpecialPowerTemplateRef" use="required" />
  13. <xs:attribute name="UpdateModuleStartsAttack" type="SageBool" default="false" />
  14. <xs:attribute name="StartsPaused" type="SageBool" default="false" />
  15. <xs:attribute name="AntiFX" type="FXListRef" />
  16. <xs:attribute name="AttributeModifier" type="AttributeModifierRef" />
  17. <xs:attribute name="AttributeModifierRange" type="SageReal" default="0.0" />
  18. <xs:attribute name="AttributeModifierAffectsSelf" type="SageBool" default="false" />
  19. <xs:attribute name="AttributeModifierFX" type="FXListRef" />
  20. <xs:attribute name="AttributeModifierWeatherBased" type="SageBool" default="false" />
  21. <xs:attribute name="WeatherDuration" type="DurationUnsignedInt" default="0" />
  22. <xs:attribute name="RequirementsFilterMPSkirmish" type="StringList" />
  23. <xs:attribute name="InitiateFX" type="FXListRef" />
  24. <xs:attribute name="TriggerFX" type="FXListRef" />
  25. <xs:attribute name="SetModelCondition" type="ModelConditionFlagType" />
  26. <xs:attribute name="SetModelConditionTime" type="Time" default="0s" />
  27. <xs:attribute name="GiveLevels" type="SageInt" default="0" />
  28. <xs:attribute name="DisableDuringAnimDuration" type="SageBool" default="false" />
  29. <xs:attribute name="IdleWhenStartingPower" type="SageBool" default="false" />
  30. <xs:attribute name="AffectGood" type="SageBool" default="false" />
  31. <xs:attribute name="AffectEvil" type="SageBool" default="false" />
  32. <xs:attribute name="AffectAllies" type="SageBool" default="true" />
  33. <xs:attribute name="AvailableAtStart" type="SageBool" default="true" />
  34. <xs:attribute name="ChangeWeather" type="WeatherType" />
  35. <xs:attribute name="AdjustVictim" type="SageBool" default="false" />
  36. <xs:attribute name="OnTriggerRechargeSpecialPower" type="SpecialPowerWeakRef" />
  37. <xs:attribute name="BurnDecayModifier" type="SageUnsignedInt" default="0" />
  38. <xs:attribute name="UseDistanceFromCommandCenter" type="SageBool" default="false" />
  39. <xs:attribute name="MaxDistanceFromCommandCenter" type="SageReal" default="0" />
  40. <xs:attribute name="ChildModuleHandlesFX" type="SageBool" default="false" />
  41. <xs:attribute name="LeechRechargePercentPlayerTechTrigger" type="PlayerTechRef"/>
  42. <xs:attribute name="LeechRechargePercentFromSpecialPower" type="SpecialPowerRef"/>
  43. <!-- if there is a SpecialAbilityUpdate module with this special power, you probably want to set its DisabledTypesToProcess to match -->
  44. <xs:attribute name="DisabledTypesToIgnore" type="DisabledBitFlags" default="HELD"/>
  45. <xs:attribute name="CanAffectObjectFilter" type="ObjectFilterAssetRef" default="GenericSpecialPowerObjectFilter" />
  46. <xs:attribute name="ObjectFilterDistType" type="PartitionManagerDistTestType" default="CENTER_2D" />
  47. </xs:extension>
  48. </xs:complexContent>
  49. </xs:complexType>
  50. </xs:schema>