BuildSystemSettings.xsd 1.7 KB

12345678910111213141516171819202122
  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="BuildSystemSettings" xas:typeGroup="Xml">
  4. <xs:complexContent>
  5. <xs:extension base="BaseSingletonSettings">
  6. <xs:sequence />
  7. <xs:attribute name="AllowedHeightVariationForBuildingPlacement" type="SageReal" default="3.0"/>
  8. <xs:attribute name="RotationalSnapIterations" type="SageReal" default="4.0" />
  9. <xs:attribute name="BuildabilityDisplayRadius" type="SageReal" default="90.0" />
  10. <xs:attribute name="BuildabilityDisplayShape" type="GeometryType" default="CYLINDER" />
  11. <xs:attribute name="BuildabilityDecalMargin" type="SageReal" default="0.142857" /> <!-- This is a fudge value that represents the percent of the decal that is used for the margin. Decals cannot stretch from edge to edge of the image so there is a blank border necessary. This value accounts for the border to make the image in the decals line up exactly in-game -->
  12. <xs:attribute name="BuildabilityUsesStaticDecalSize" type="SageBool" default="true" /> <!-- If this is false, then it will use a percentage of the build radius of the structure to compute the size -->
  13. <xs:attribute name="BuildabilityDecalSize" type="SageReal" default="30.0" />
  14. <xs:attribute name="BuildabilityDecalRadiusPercent" type="Percentage" default="18.5185" /> <!-- This is used to compute the decal size based off of the object's build radius -->
  15. </xs:extension>
  16. </xs:complexContent>
  17. </xs:complexType>
  18. </xs:schema>