Vehicle statistics (Dirtside)

The <vehicle> element is used to describe a vehicle, such as a tank, car or plane. It is of most use when game statistics are provided for the vehicle in question - currently only Dirtside is supported but other systems may be added later.

Features Supported

Currently there is basic support for calculating the points value of a vehicle given an XML description. This can also be extended to working out the points value of a whole army, by making use of the <import-army-list> tag.

Capacity calculation and validating the design are not yet supported, but they are planned features. However, they are not considered to be high priority.

Example

<statistics xmlns="http://yagsbook.sourceforge.net/xml/dirtside">

<size> 4 </size>

<stealth> 1 </stealth>

<mobility type="grav">

</mobility>

<power type="fgp">

</power>

<elint>

<firecon quality="enhanced">

</firecon>

<ecm quality="basic">

</ecm>

</elint>

<armour front="4">

</armour>

<weapons>

<weapon type="MDC" class="4">

<turret/>

</weapon>

<weapon type="APSW" number="2">

</weapon>

</weapons>

<equipment>

<item name="pds" quality="enhanced">

</item>

</equipment>

</statistics>

Definition

statistics

The <statistics> element is the parent of all the Dirtside specific vehicle information. It will often have a single namespace attribute, which must be:

xmlns="http://yagsbook.sourceforge.net/xml/dirtside"

Basic Vehicle Definition

The following elements describe basic statistics for the vehicle, and are generally simple name, value pairs.

statistics/size

The size class of the vehicle. This will range from 1 to 5 for most vehicles. Note that there is no special support for oversize (6+) vehicles. This attribute is required.

e.g.: <size> 3 </size>

statistics/stealth

The number of levels of stealth on the vehicle. This will range from 0 up to the size class of the vehicle. It is required.

e.g.: <stealth> 1 </stealth>

statistics/armour

The armour rating of the vehicle, together with any special properties of the armour. There may be future support for specific values for side and rear armour, but currently only front armour is supported, which is set with the @front attribute.

<armour front="3">

<reactive/>

</armour>

The armour element may optionally include one special property, which will be either <reactive> or <ablative> . If both are included, the results are undefined.

statistics/mobility

Defines the mobility type of the vehicle. The format of this is as follows:

<mobility type="grav">

</mobility>

The allowed mobility types are: lowWheeled, highWheeled, slowTracked, fastTracked, slowGev, fastGev, grav, slowVtol, fastVtol.

Other mobility types are not currently supported.

statistics/power

Defines the power type of the vehicle.

<power type="cfe">

</power>

The allowed power plant types are: cfe, hmt, fgp.

statistics/elint

The <elint> element contains information on fire controls and ECM systems. it is an optional element.

<elint>

<firecon quality="enhanced">

</firecon>

<ecm quality="basic">

</ecm>

</elint>

firecon

The <firecon> element has a single attribute named @quality. This is set to the quality of the firecon, and can be one of none, basic, enhanced, superior.

It is an optional element, and defaults to 'none'.

ecm

The <ecm> element has a single attribute named @quality. This is set to the quality of the ECM system, and can be one of none, basic, enhanced, superior.

It is an optional element, and defaults to 'none'.

statistics/weapons

The <weapons> element contains a list of all the direct fire weapons fitted on the vehicle. For example, a vehicle with a double MDC and a light GMS system would be described as follows:

<weapons>

<weapon type="MDC" class="4" number="2">

<turret/>

</weapon>

<weapon type="GMS/L" number="1" quality="basic">

</weapon>

</weapons>

Each individual type of weapon has its own <weapon> description. Multiple instances of the same type of weapon can be denoted using the @number attribute.

The weapon @type attribute should be one of the following values. The other attributes depend on the type of weapon, as described below.

APSW
Uses the @number attribute only. Note that this should include the 'free' APSW that all vehicles have, so all vehicles should have at least one APSW listed.
DFFG
Uses the @class and @number attributes. The class should be between 1 and 5.
GMS/H
Uses the @quality and @number attributes. The quality should be one of 'basic', 'enhanced' and 'superior'.
GMS/L
Uses the @quality and @number attributes. The quality should be one of 'basic', 'enhanced' and 'superior'.
HEL
Uses the @class and @number attributes. The class should be between 1 and 5.
HKP
Uses the @class and @number attributes. The class should be between 3 and 5.
HVC
Uses the @class and @number attributes. The class should be between 3 and 5.
MDC
Uses the @class and @number attributes. The class should be between 1 and 5.
RFAC
Uses the @class and @number attributes. The class should be between 1 and 2.
SLAM
Uses the @class and @number attributes. The class should be between 3 and 5.

statistics/equipment

The equipment element is parent to zero or more <item> elements, each of which describes one item of non-direct fire equipment that the vehicle carries.

Some types of equipment will have a quality associated with it - this quality will define the mass and cost of the item. In all cases, the @quality attribute should be one of basic, enhanced or superior.

Infantry is simply listed as to whether it is standard or powered infantry. The cost of infantry is not included in the vehicle cost, and it is expected that infantry units will be listed (and costed) seperately in army lists.

ads
Area defence systems. It requires a @quality attribute.
apfc
Anti-Personnel fragmentation charges.
cargo
A capacity 4 cargo hold.
cbr
Counter battery radar. It requires a @quality attribute.
commandSystems
Command and control systems.
engineering
An engineering thing.
heavyArtillery
A (class 6) heavy artillery.
infantry
Line or milita infantry (non-powered, e.g. 4 capacity).
lad
Local air defence.
lightArtillery
A (class 2) light artillery.
mediumArtillery
A (class 4) medium artillery.
pds
Point defence system. It requires a @quality attribute.
poweredInfantry
Powered infantry (e.g. 8 capacity).
repair
A repair thing.

Sourceforge.net Valid XHTML Valid CSS