AssetTypeEmotionTemplate.xsd 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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"
  3. xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified"
  4. xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
  5. <xs:simpleType name="EmotionTemplateThreatComparisonType" xas:targetNamespace="" xas:enumItemPrefix="COMPARISON_" xas:useEnumPrefix="false" >
  6. <xs:restriction base="xs:string">
  7. <xs:enumeration value="NONE" />
  8. <xs:enumeration value="VALID_IF_BELOW" />
  9. <xs:enumeration value="VALID_IF_ABOVE" />
  10. </xs:restriction>
  11. </xs:simpleType>
  12. <xs:simpleType name="EmotionTemplateOptions" xas:targetNamespace="" xas:enumItemPrefix="EMOTIONOPTION_" xas:useEnumPrefix="false" >
  13. <xs:restriction base="xs:string">
  14. <xs:enumeration value="IGNORE_IF_IDLE" />
  15. <xs:enumeration value="IGNORE_IF_BUSY" />
  16. <xs:enumeration value="IGNORE_IF_AI" />
  17. <xs:enumeration value="IGNORE_IF_HUMAN" />
  18. <xs:enumeration value="ATTRIBUTEMODIFIER_WHILE_EMOTION_ACTIVE" />
  19. <xs:enumeration value="PREVENT_PLAYER_COMMANDS" />
  20. </xs:restriction>
  21. </xs:simpleType>
  22. <xs:simpleType name="EmotionTemplateOptionsBitFlags">
  23. <xs:list itemType="EmotionTemplateOptions" />
  24. </xs:simpleType>
  25. <xs:complexType name="EmotionTemplate" xas:runtimeWrapper="::EmotionNuggetTemplate" xas:typeGroup="Xml">
  26. <xs:complexContent>
  27. <xs:extension base="BaseAssetType">
  28. <xs:sequence>
  29. </xs:sequence>
  30. <xs:attribute name="Type" type="EmotionType" use="required" />
  31. <xs:attribute name="Options" type="EmotionTemplateOptionsBitFlags" />
  32. <xs:attribute name="DurationActive" type="Time" />
  33. <xs:attribute name="DurationInactive" type="Time" />
  34. <xs:attribute name="DurationInactiveObject" type="Time" />
  35. <xs:attribute name="DurationInactiveType" type="Time" />
  36. <xs:attribute name="EnemyThreatComparison" type="EmotionTemplateThreatComparisonType" />
  37. <xs:attribute name="EnemyThreat" type="SageInt" />
  38. <xs:attribute name="FriendlyThreatComparison" type="EmotionTemplateThreatComparisonType" />
  39. <xs:attribute name="FriendlyThreat" type="SageInt" />
  40. <xs:attribute name="StartFX" type="FXListRef" />
  41. <xs:attribute name="UpdateFX" type="FXListRef" />
  42. <xs:attribute name="EndFX" type="FXListRef" />
  43. <xs:attribute name="AttributeModifier" type="AttributeModifierRef" />
  44. <xs:attribute name="AttributeModifierStartDelay" type="Time" />
  45. <xs:attribute name="AttributeModifierDuration" type="Time" />
  46. <xs:attribute name="AIStateLockDuration" type="Time" />
  47. <xs:attribute name="AIState" type="EmotionAIType" />
  48. <xs:attribute name="ModelConditionsSetOnStart" type="ModelConditionBitFlags" />
  49. <xs:attribute name="ModelConditionsSetOnEnd" type="ModelConditionBitFlags" />
  50. <xs:attribute name="ModelConditionsClearOnStart" type="ModelConditionBitFlags" />
  51. <xs:attribute name="ModelConditionsClearOnEnd" type="ModelConditionBitFlags" />
  52. <xs:attribute name="AILuaEventsList" type="xs:string" />
  53. </xs:extension>
  54. </xs:complexContent>
  55. </xs:complexType>
  56. </xs:schema>