A Proposal for a Shadowrun XML Standard

vehicledef

root/geardeflist/vehicledef
Back

Namespace:
Filename:

Extends: geardef

Appends: handling (Type: byte) , offroadhandling (Type: byte) ?, speed (Type: byte) , stall (Type: byte) ?, acceleration (Type: byte) , body (Type: byte) , armor (Type: byte) ?, sig (Type: byte) , sigsonar (Type: byte) ?, ( pilot (Type: byte) | autonav (Type: byte) ), sensor (Type: byte) , cargo (Type: byte) , load (Type: byte) , depth (Type: byte) ?, chassis (Type: chassistype) , fuelsource +, ltprofile (Type: ltprofiletype) ?, ed (Type: byte) ?, ecd (Type: byte) ?, adaption (Type: byte) ?, seating (Type: string) ?, entry (Type: string) ?, included (Type: reflist) ?

Description: The vehicledef tag defines a standard vehicle from a rulebook. This schema does not describe a specific useage of the vehcile, merely the generic attributes of it.

The category tag must contain one of the following:


Code Fragment

<xs:elementtype name="vehicledef">
  <xs:extends type="geardef">
    <xs:model>
      <xs:sequence>
        <xs:element type="xs:byte" name="handling"/>
        <xs:element type="xs:byte" name="offroadhandling" occurs="?"/>
        <xs:element type="xs:byte" name="speed"/>
        <xs:element type="xs:byte" name="stall" occurs="?"/>
        <xs:element type="xs:byte" name="acceleration"/>
        <xs:element type="xs:byte" name="body"/>
        <xs:element type="xs:byte" name="armor" occurs="?"/>
        <xs:element type="xs:byte" name="sig"/>
        <xs:element type="xs:byte" name="sigsonar" occurs="?"/>
        <xs:choice>
          <xs:element type="xs:byte" name="pilot"/>
          <xs:element type="xs:byte" name="autonav"/>
        </xs:choice>
        <xs:element type="xs:byte" name="sensor"/>
        <xs:element type="xs:byte" name="cargo"/>
        <xs:element type="xs:byte" name="load"/>
        <xs:element type="xs:byte" name="depth" occurs="?"/>
        <xs:element type="chassistype" name="chassis"/>
        <xs:element type="fuelsource" occurs="+"/>
        <xs:element type="ltprofiletype" name="ltprofile"/ occurs="?">
        <xs:element type="xs:byte" name="ed" occurs="?"/>
        <xs:element type="xs:byte" name="ecd" occurs="?"/>
        <xs:element type="xs:byte" name="adaption" occurs="?"/>
        <xs:element type="xs:string" name="seating" occurs="?"/>
        <xs:element type="xs:string" name="entry" occurs="?"/>
        <xs:element type="reflist" name="included" occurs="?"/>
      </xs:sequence>
    </xs:model>
  </xs:extends>
</xs:elementtype>