InfiltratorContain.xsd 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:include schemaLocation="InfiltratorEffectType.xsd"/>
  6. <!--
  7. Depending on the effect, the ObjectRef attribute may be used and the corresponding object may be manipulated in
  8. the engine. For example: for effect type ENERGY, the ObjectRef should refer to the EnergyDisabler object
  9. that disables a player's energy for it's lifetime. It's lifetime is calculated in engine and set at runtime.
  10. If you were to change the ObjectRef to an object without a LifetimeUpdate behavior, then it would never die.
  11. -->
  12. <xs:complexType name="InfiltratorContainModuleData">
  13. <xs:complexContent>
  14. <xs:extension base="ContainModuleData">
  15. <xs:sequence>
  16. </xs:sequence>
  17. <xs:attribute name="BlockedDuration" type="Time" default="2s"/>
  18. <xs:attribute name="InfiltratedStatusFilter" type="ObjectStatusBitFlags" default="DESTROYED UNDER_CONSTRUCTION SOLD UNPACKING" />
  19. <xs:attribute name="CanEnterFilter" type="ObjectFilterAssetRef" default="InfiltrationCanEnterObjectFilter" />
  20. <xs:attribute name="ImmediatelyEnabled" type="SageBool" default="false" />
  21. <xs:attribute name="ReplaceWith" type="ObjectCreationListRef" />
  22. <xs:attribute name="NameOfVoiceToUseForHostileEnter" type="StringHash" default="VoiceInfiltrate" />
  23. <xs:attribute name="NameOfVoiceToUseForInfiltrationDeath" type="StringHash" default="VoiceInfiltrateDeath" />
  24. <xs:attribute name="EvaEventForInfiltratingPlayer" type="EvaEventRef" default="EnemyBuildingInfiltrated" />
  25. <xs:attribute name="EvaEventForInfiltratedPlayer" type="EvaEventRef" default="OurBuildingInfiltrated" />
  26. <xs:attribute name="FXForInfiltrate" type="FXListRef" default="FX_Building_Infiltrated_Generic" />
  27. <xs:attribute name="Duration" type="Time" default="0s"/>
  28. <xs:attribute name="UnitDuration" type="Time" default="0s"/>
  29. <xs:attribute name="Amount" type="SageReal" default="0.0"/>
  30. <xs:attribute name="Effect" type="InfiltratorEffectType"/>
  31. <xs:attribute name="ObjectRef" type="GameObjectWeakRef" />
  32. <xs:attribute name="UnitFilter" type="ObjectFilterAssetRef" use="optional" />
  33. <xs:attribute name="StructureFilter" type="ObjectFilterAssetRef" use="optional" />
  34. <xs:attribute name="ObjectStatusToSet" type="ObjectStatusBitFlags" default="NO_REFUND" />
  35. </xs:extension>
  36. </xs:complexContent>
  37. </xs:complexType>
  38. </xs:schema>