Documentation on XML files that are required for each map added to the servers
XML files configure how the PGM plug-in manages the map during game-play. Any map released on the Lifeboat Network requires a XML file to function properly. The XML defines aspects of the game such as spawn points, teams, kits and more. Each file is unique to its map, however the individual components are generic and are used on many different maps.
Almost every generic text editor can create and edit XML files, however editors designed for XML can automatically indent and syntax hi-light your code to help spot mistakes.
We recommend that you use Sublime Text to create and edit XML files.
To keep your XML file clean & readable you should properly indent them using 4 spaces and only specify elements or attributes you intend to use.
Before releasing your map for the map developers to test, we strongly recommend you package your map following these guidelines. This will speed up the time it takes to get your map ready for testing.
This documentation is intended to list all currently available XML modules, their attributes & sub-elements; and describe how the modules work and interact with the player. It is intended to be used as a reference when coding the XML files accompanying a map to ensure that the XML is valid and works like it is supposed to.
All attributes or sub-elements for a element or module are listed in a table and required attributes or sub-elements are marked in red. In the following example the color
attribute is required but id
is not. The attribute or elements default value is also listed if there is one.
Attribute | Description | Value | Default |
---|---|---|---|
id
|
Unique identifier used to reference this element. | String | |
color
|
Required This examples color. | Dye Color Name | |
cow
|
This example has a pet cow. | true/false | false |