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