ShieldSphereUpdate.xsd 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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="ShieldSphereUpdateOption">
  4. <xs:restriction base="xs:string">
  5. <xs:enumeration value="ALLOW_ALLIES_PROJECTTILE_GOTHROUGH" />
  6. </xs:restriction>
  7. </xs:simpleType>
  8. <xs:simpleType name="ShieldSphereUpdateOptionFlag">
  9. <xs:list itemType="ShieldSphereUpdateOption"></xs:list>
  10. </xs:simpleType>
  11. <xs:complexType name="ShieldSphereUpdateModuleData">
  12. <xs:complexContent>
  13. <xs:extension base="UpdateModuleData">
  14. <xs:sequence>
  15. <xs:element name="PositionOffset" type="Vector3" minOccurs="0" maxOccurs="1" />
  16. <!--Object filter for the objects that the shield will protect.-->
  17. <xs:element name="ObjectFilter" type="ObjectFilter" minOccurs="1" maxOccurs="1"/>
  18. <!-- Normally attacks originating inside the shield targeting a point inside the shield are not
  19. absorbed by the shield (fictionally, the shield is a hollow sphere barrier - stuff inside is
  20. not affected). Attacks from these types of units are absorbed anyways.... -->
  21. <xs:element name="IgnoreInsideToInsideCheck" type="ObjectFilter" minOccurs="0" maxOccurs="1"/>
  22. </xs:sequence>
  23. <!--Radius of the shields sphere.-->
  24. <xs:attribute name="RadiusMax" type="SageReal" default="40"/>
  25. <xs:attribute name="RadiusMin" type="SageReal" default="10"/>
  26. <xs:attribute name="DamageTypesNotToAbsorb" type="DamageBitFlags" />
  27. <!-- Amount of time in seconds between partition filter scans.-->
  28. <xs:attribute name="ScanFrequency" type="Time" default="1s"/>
  29. <!--Number of seconds that the shield will last-->
  30. <xs:attribute name="Duration" type="Time" default="10s"/>
  31. <!--Maximum damage that the shield can absorb.-->
  32. <xs:attribute name="MaxDamage" type="SageReal" default="0"/>
  33. <!-- Status to set while active. Will remove object status on deactivation -->
  34. <xs:attribute name="ObjectStatus" type="ObjectStatusBitFlags" default=""/>
  35. <!-- Model Condition set while active. Will be removed on deactivation -->
  36. <xs:attribute name="ModelCondition" type="ModelConditionBitFlags" default="" />
  37. <!-- Determines whether or not this update begins running after being created or not -->
  38. <xs:attribute name="InitiallyActive" type="SageBool" default="false" />
  39. <!-- for the shield FX. -->
  40. <xs:attribute name="ShieldBoneName" type="xs:string" />
  41. <xs:attribute name="ShieldSizeMultiplier" type="SageReal" default="1.0" />
  42. <xs:attribute name="Options" type="ShieldSphereUpdateOptionFlag" />
  43. </xs:extension>
  44. </xs:complexContent>
  45. </xs:complexType>
  46. </xs:schema>