PhysicsBehavior.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" 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="PhysicsBehaviorModuleData">
  4. <xs:complexContent>
  5. <xs:extension base="UpdateModuleData">
  6. <xs:sequence></xs:sequence>
  7. <xs:attribute name="TumbleRandomly" type="SageBool" default="false" />
  8. <xs:attribute name="MaxXRotationVelocity" type="SageReal" default="360.0" />
  9. <xs:attribute name="MaxYRotationVelocity" type="SageReal" default="360.0" />
  10. <xs:attribute name="MaxZRotationVelocity" type="SageReal" default="360.0" />
  11. <xs:attribute name="AllowBouncing" type="SageBool" default="false" />
  12. <xs:attribute name="KillWhenRestingOnGround" type="SageBool" default="false" />
  13. <xs:attribute name="GravityMultiplier" type="SageReal" default="1.0" />
  14. <xs:attribute name="OrientToFlightPath" type="SageBool" default="false" />
  15. <xs:attribute name="ShockStunnedTimeLow" type="Time" default="1s" />
  16. <xs:attribute name="ShockStunnedTimeHigh" type="Time" default="1s" />
  17. <xs:attribute name="ShockStandingTime" type="Time" default="1.5s" />
  18. <!-- These four data define a Bezier curve.
  19. The first and last control points are the firer and victim. -->
  20. <xs:attribute name="FirstHeight" type="SageReal" default="1.3" />
  21. <xs:attribute name="SecondHeight" type="SageReal" default="1.3" />
  22. <xs:attribute name="FirstPercentIndent" type="Percentage" default="33" />
  23. <xs:attribute name="SecondPercentIndent" type="Percentage" default="66" />
  24. <xs:attribute name="BounceCount" type="SageInt" default="2" />
  25. <xs:attribute name="BounceDistance" type="SageReal" default="5.0" />
  26. <xs:attribute name="BounceFirstHeight" type="SageReal" default="1.3" />
  27. <xs:attribute name="BounceSecondHeight" type="SageReal" default="1.3" />
  28. <xs:attribute name="BounceFirstPercentIndent" type="Percentage" default="33" />
  29. <xs:attribute name="BounceSecondPercentIndent" type="Percentage" default="66" />
  30. <xs:attribute name="GroundHitFX" type="FXListRef" />
  31. <xs:attribute name="GroundBounceFX" type="FXListRef" />
  32. <xs:attribute name="IgnoreTerrainHeight" type="SageBool" default="false" />
  33. <xs:attribute name="FirstPercentHeight" type="Percentage" default="33" />
  34. <xs:attribute name="SecondPercentHeight" type="Percentage" default="66" />
  35. <xs:attribute name="CurveFlattenMinDist" type="SageReal" default="0" />
  36. </xs:extension>
  37. </xs:complexContent>
  38. </xs:complexType>
  39. </xs:schema>