UnitAISettings.xsd 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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="UnitAISettings" xas:typeGroup="Xml">
  4. <xs:complexContent>
  5. <xs:extension base="BaseSingletonSettings">
  6. <xs:sequence>
  7. <xs:element name="VictoryConditionUnitObjectFilter" type="ObjectFilter" minOccurs="1" maxOccurs="1"/>
  8. <xs:element name="VictoryConditionStructureObjectFilter" type="ObjectFilter" minOccurs="1" maxOccurs="1"/>
  9. </xs:sequence>
  10. <xs:attribute name="SupplyBoxesPerTree" type="SageInt" default="90"/>
  11. <xs:attribute name="ValuePerSupplyBox" type="SageInt" default="400"/>
  12. <xs:attribute name="MinDistFromEdgeOfMapForBuild" type="SageReal" default="30.0"/>
  13. <xs:attribute name="SupplyBuildBorder" type="SageReal" default="20.0"/>
  14. <xs:attribute name="MaxLineBuildObjects" type="SageInt" default="50"/>
  15. <xs:attribute name="MaxTunnelCapacity" type="SageInt" default="3"/>
  16. <xs:attribute name="MinLowEnergyProductionSpeed" type="SageReal" default="0.5"/>
  17. <xs:attribute name="MaxLowEnergyProductionSpeed" type="SageReal" default="0.8"/>
  18. <xs:attribute name="LowEnergyPenaltyModifier" type="SageReal" default="1.0"/>
  19. <xs:attribute name="DamageRadiusMinimumForSplash" type="SageReal" default="0.0"/>
  20. <xs:attribute name="SellPercentage" type="Percentage" default="50%"/>
  21. <xs:attribute name="UnlookPersistDuration" type="Time" default="10s"/>
  22. <xs:attribute name="DefaultStructureRubbleHeight" type="SageReal" default="8.0"/>
  23. <xs:attribute name="TimeAfterDamageUntilRepairAllowed" type="SageInt" default="0"/>
  24. <xs:attribute name="SelectionFlashSaturationFactor" type="SageReal" default="0.5"/>
  25. <xs:attribute name="SelectionFlashHouseColor" type="SageBool" default="false"/>
  26. <xs:attribute name="EnableHouseColor" type="SageBool" default="true"/>
  27. <xs:attribute name="GarrisonedRangeMultiplier" type="SageReal" default="1.5"/>
  28. <xs:attribute name="GroupMoveClickToGatherAreaFactor" type="SageReal" default="0.5"/>
  29. <xs:attribute name="FormationMoveClusterRange" type="SageReal" default="200.0"/>
  30. <xs:attribute name="InvisibilityOpacityCycleFrames" type="SageInt" default="60"/>
  31. <xs:attribute name="BuilderFadeOutTime" type="Time" default="1s"/>
  32. <xs:attribute name="BuilderFadeInTime" type="Time" default="1s"/>
  33. <xs:attribute name="BuilderMoveFromNewStructureDistance" type="SageReal" default="10.0"/>
  34. <xs:attribute name="PartitionCellSize" type="SageReal" default="40.0"/>
  35. <xs:attribute name="TerrainResourceCellSize" type="SageReal" default="20.0"/>
  36. <xs:attribute name="DefaultStartingCash" type="SageInt" default="1500"/>
  37. <xs:attribute name="MovementPenaltyDamageState" type="BodyDamageType" default="REALLY_DAMAGED"/>
  38. <xs:attribute name="ParachuteDriftSpeed" type="SageReal" default="2.0"/>
  39. <xs:attribute name="ParachuteLandTime" type="Time" default="1.5s"/>
  40. <xs:attribute name="LinearDragSubmerged" type="SageReal" default="0.85"/>
  41. <xs:attribute name="AutomaticReverseAngle" type="Angle" default="10d" />
  42. <xs:attribute name="AutomaticReverseDistance" type="SageReal" default="40" />
  43. <!-- unit will not move if given a move order within this distance -->
  44. <xs:attribute name="SkipMoveMinDistance" type="SageReal" default="10.0" />
  45. <xs:attribute name="CompleteTargetingCompareList" type="TargetingCompareListRef" />
  46. <xs:attribute name="ScatterDistance" type="SageReal" default="100.0" />
  47. <!-- if we stop moving whilst attacking, keep the 'moving' model condition for this many frames, prevents stuttering when chasing slow targets -->
  48. <xs:attribute name="AttackMovementPersistFrames" type="SageInt" default="2" />
  49. <!-- move commands are ignored if AI controlled units are issued to move within this value -->
  50. <xs:attribute name="AIIgnoreDuplicateMoveCommandDistance" type="SageReal" default="20.0" />
  51. <!-- move commands are ignored if Human controlled units are issued to move within this value -->
  52. <xs:attribute name="HumanIgnoreDuplicateMoveCommandDistance" type="SageReal" default="5.0" />
  53. <!-- only consider to use HumanIgnoreDuplicateMoveCommandDistance if the move command takes us no further than this
  54. this allows us to cull more moves because we use the AI (larger) ignore distance for long moves. -->
  55. <xs:attribute name="ConsiderHumanDuplicateMoveCommandDistance" type="SageReal" default="100.0" />
  56. <!-- distance an engineer will wait outside a structure before capturing -->
  57. <xs:attribute name="CaptureWaitDistance" type="SageReal" default="20.0" />
  58. <!-- time an engineer will wait outside a structure before capturing -->
  59. <xs:attribute name="CaptureWaitTime" type="Time" default="2s" />
  60. <!-- model state added to an engineer during waiting before capturing -->
  61. <xs:attribute name="CaptureWaitModelConditions" type="ModelConditionBitFlags" />
  62. </xs:extension>
  63. </xs:complexContent>
  64. </xs:complexType>
  65. </xs:schema>