AssetTypeUpgradeTemplate.xsd 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:balance="uri:ea.com:eala:balance" 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="UpgradeTemplate" xas:runtimeWrapper="::UpgradeTemplate" xas:typeGroup="Xml">
  4. <xs:complexContent>
  5. <xs:extension base="BaseInheritableAsset">
  6. <xs:sequence>
  7. <!-- Nuked since we don't use it for CnC3, and it simplifies the override code
  8. If we need to bring this back, then uncomment the relevant code in the runtime
  9. object and fix the typehandler - asc oct 2006 -->
  10. <!--<xs:element name="SubUpgradeTemplate" type="UpgradeTemplateRef" minOccurs="0" maxOccurs="unbounded" />-->
  11. <xs:element name="GameDependency" type="GameDependencyType" minOccurs="0" maxOccurs="1"/>
  12. </xs:sequence>
  13. <xs:attribute name="DisplayName" balance:field="Name" type="xs:string" />
  14. <xs:attribute name="Description" balance:field="Description" type="xs:string" />
  15. <xs:attribute name="TypeDescription" balance:field="TypeDescription" type="xs:string" />
  16. <xs:attribute name="AcquireHint" balance:field="AcquireHint" type="xs:string" />
  17. <xs:attribute name="Type" balance:field="Type" type="UpgradeType" />
  18. <xs:attribute name="BuildTime" balance:field="BuildTime" type="Time" />
  19. <xs:attribute name="BuildCost" balance:field="BuildCost" type="SageInt" />
  20. <xs:attribute name="ResearchSound" type="AudioEventInfoRef" />
  21. <xs:attribute name="ResearchCompleteEvaEvent" type="EvaEventRef" default="" />
  22. <xs:attribute name="UnitSpecificSound" type="AudioEventInfoRef"/>
  23. <xs:attribute name="UpgradeFX" type="FXListRef" />
  24. <xs:attribute name="LocalPlayerGainsUpgradeEvaEvent" type="EvaEventRef" default="" />
  25. <xs:attribute name="AlliedPlayerGainsUpgradeEvaEvent" type="EvaEventRef" default="" />
  26. <xs:attribute name="EnemyPlayerGainsUpgradeEvaEvent" type="EvaEventRef" default="" />
  27. <xs:attribute name="LocalPlayerLosesUpgradeEvaEvent" type="EvaEventRef" default="" />
  28. <xs:attribute name="AlliedPlayerLosesUpgradeEvaEvent" type="EvaEventRef" default="" />
  29. <xs:attribute name="EnemyPlayerLosesUpgradeEvaEvent" type="EvaEventRef" default="" />
  30. <xs:attribute name="LocalPlayerProductionStartedEvaEvent" type="EvaEventRef" default="" use="optional" />
  31. <xs:attribute name="LocalPlayerBuildOnHoldEvaEvent" type="EvaEventRef" default="" use="optional" />
  32. <xs:attribute name="LocalPlayerBuildCancelledEvaEvent" type="EvaEventRef" default="" use="optional" />
  33. <xs:attribute name="UseObjectTemplateForCostDiscount" type="GameObjectWeakRef" />
  34. <!--<xs:attribute name="RequiredObjectFilter" type="ObjectFilter" />-->
  35. <xs:attribute name="GroupName" type="AssetId" />
  36. <xs:attribute name="GroupOrder" type="SageUnsignedInt" />
  37. <xs:attribute name="SkirmishAIHeuristic" type="AIUpgradeHeuristicType" />
  38. <xs:attribute name="Options" type="UpgradeOptions" />
  39. <xs:attribute name="IconImage" type="AssetId" />
  40. <xs:attribute name="WaypointQueueable" type="SageBool" default="false" />
  41. </xs:extension>
  42. </xs:complexContent>
  43. </xs:complexType>
  44. </xs:schema>