BridgeBuilderBehavior.xsd 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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="BridgeBuilderModuleData">
  4. <xs:annotation><xs:documentation>
  5. This module provides basic information needed for a logical bridge to create actual bridge objects.
  6. The bridge builder object is similar to the horde brain in nature in that it does not exist as
  7. a visual object but rather as a container grouping together all the logical subobjects.
  8. </xs:documentation></xs:annotation>
  9. <xs:complexContent>
  10. <xs:extension base="UpdateModuleData">
  11. <xs:sequence></xs:sequence>
  12. <xs:attribute name="EndCap" type="GameObjectRef" use="required">
  13. <xs:annotation><xs:documentation>
  14. Object that is used for the bridge end caps.
  15. </xs:documentation></xs:annotation>
  16. </xs:attribute>
  17. <xs:attribute name="EndCap2" type="GameObjectRef" use="optional">
  18. <xs:annotation>
  19. <xs:documentation>
  20. Object that is used for the 'right' bridge end cap. If not
  21. specified the EndCap object is used for this as well, except
  22. it is rotated 180 degrees.
  23. </xs:documentation>
  24. </xs:annotation>
  25. </xs:attribute>
  26. <xs:attribute name="EndCapLen" type="xs:float" use="required">
  27. <xs:annotation><xs:documentation>
  28. Length of end caps in world units.
  29. </xs:documentation></xs:annotation>
  30. </xs:attribute>
  31. <xs:attribute name="CenterPiece" type="GameObjectRef" use="required">
  32. <xs:annotation><xs:documentation>
  33. Object that is used repeatedly between the end caps.
  34. </xs:documentation></xs:annotation>
  35. </xs:attribute>
  36. <xs:attribute name="CenterPieceLen" type="xs:float" use="required">
  37. <xs:annotation><xs:documentation>
  38. Length of center piece in world units.
  39. </xs:documentation></xs:annotation>
  40. </xs:attribute>
  41. <xs:attribute name="CenterPieceB" type="GameObjectRef" use="optional">
  42. <xs:annotation><xs:documentation>
  43. Optional 'B' center piece. If present CenterPiece and CenterPieceB are
  44. used alternatingly.
  45. </xs:documentation></xs:annotation>
  46. </xs:attribute>
  47. <xs:attribute name="CenterPieceBLen" type="xs:float" use="optional">
  48. <xs:annotation><xs:documentation>
  49. Length of center piece B in world units.
  50. </xs:documentation></xs:annotation>
  51. </xs:attribute>
  52. <xs:attribute name="Width" type="xs:float" use="required">
  53. <xs:annotation><xs:documentation>
  54. Width of bridge in world units.
  55. </xs:documentation></xs:annotation>
  56. </xs:attribute>
  57. <xs:attribute name="GateHouse" type="GameObjectRef" use="required">
  58. <xs:annotation><xs:documentation>
  59. Object that will be used as gate house.
  60. </xs:documentation></xs:annotation>
  61. </xs:attribute>
  62. <xs:attribute name="GateHouse2" type="GameObjectRef" use="optional">
  63. <xs:annotation>
  64. <xs:documentation>
  65. Object that will be used as gate house at the 'right' end
  66. of the bridge. If not specified the GateHouse object will
  67. be used instead, rotated by 180 degrees.
  68. </xs:documentation>
  69. </xs:annotation>
  70. </xs:attribute>
  71. <xs:attribute name="DamageNeighborSegementsAtHealthPercent" type="Percentage" default="66.66666">
  72. <xs:annotation>
  73. <xs:documentation>
  74. When bridge segments get damaged, they can damage their neighboring
  75. segments. This percentage is the threshold for a particular segment
  76. before its damage carries to adjacent segments. Adjacent segments
  77. have their health set to this level when this event is triggered.
  78. </xs:documentation>
  79. </xs:annotation>
  80. </xs:attribute>
  81. </xs:extension>
  82. </xs:complexContent>
  83. </xs:complexType>
  84. </xs:schema>