squad.xml

From Bohemia Interactive Community
Revision as of 01:05, 24 January 2007 by TomNedry (talk | contribs) (created and added main content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

Example of a logo, provided by "squad.xml"

To support the Multiplayer-Community in their effort to play as teams, like many ArmA-clans and squads are trying, its possible to create a common information file - the "squad.xml" -, which is stored on a personal webspace and loaded by the ArmA-Gameserver, if a member of this team will there.

Beside detailed informations about the single player and its team which can be gained by pressing "P" ingame, the feature supports also a common logo, which will be displayed on vehicles, if such team has boarded it.


How to create a "squad.xml"

The file consist of three main parts:


1. Head: defines the doctype. Just leave it!

<?xml version="1.0"?> <!DOCTYPE squad SYSTEM "squad.dtd"> <?xml-stylesheet href="squad.xsl?" type="text/xsl"?>


2. Squad properties

<squad nick="[cHoe]"> <name>Chaos-Hoernchen</name> <email>admin@chaos-hoernchen.de</email> <web>www.chaos-hoernchen.de</web> <picture>choe_logo.paa</picture> <title>Chaos-Hoernchen</title>

nick The clan-tag, is displayed together with players nickname. Attention: Don't use reserved XML tags -> Link
name Squad name
email Your contact email
picture Your logo, it has to in the same folder as the "squad.xml" file
title Squad name, displayed on vehicles manned by squad members


3. Member list

<member id="123456" nick="John"> <name>John Doe</name> <email>john.doe@anymail.com</email> <icq>N/A</icq> <remark>Mostly harmless</remark> </member>

id your ArmA-UID, always the same and irrespective of your selected character
nick your nick, the same as used with your selected character
name your "real" name...
email your personal email
icq your personal icq number
remark as the name says it...


Remarks:

  • You can leave any field blank, but it's recommended to fill it with a "N/A" instead.
  • Extend the members list by adding another XML-"Member" block