Basic Game XML - Scenario

Quote:
<scenario name="Assault on Fortress Kid'Kit" rules="Basic">
  <side name="UPF">
    <ships>
      <ship name="UPFS Scimitar" adfF="5" mr="4" hullPoint="15">
        <weapons>
          <weapon name="Laser Battery" ammunition="-1" />
          <weapon name="Assault Rocket" ammunition="4" />
        </weapons>
        <defenses>
          <defense name="Reflective Hull" isActive="-1" isLimited="0" />
        </defenses>
      </ship>
    </ships>
  </side>
  <side name="Sathar">
    <ships>
      <ship name="Fighter A" adfF="5" mr="5" hullPoint="8">
        <weapons>
          <weapon name="Assault Rocket" ammunition="3" />
        </weapons>
        <defenses>
          <defense name="Reflective Hull" isActive="-1" isLimited="0" />
        </defenses>
      </ship>
    </ships>
  </side>
</scenario>


Notes:
  1. scenario/rules designates which rules assembly to use. Valid values are:
    1. Basic: use KnightHawks.Rules.Basic
    2. Advanced: use KnightHawks.Rules.Advanced
    3. RolePlaying: use KnightHawks.Rules.RolePlaying
  2. defense/isActive of -1 means always on, 0 means off, 1 means on.
  3. weapon/ammunition < 0 means unlimitted; all others are the ammunition count.

Related Forum Discussions

TopicRepliesCreatedLast Replysort icon
GUI or straight XML?417 years 12 weeks ago17 years 12 weeks ago