TilesGroup.xml

This file contains tile lists and objects broken into groups and subgroups.
Layout: by default settles down in the folder of the client, but in case of desire it can be manually moved to the profile folder.

General structure of the file

 1<?xml version="1.0" ?>
 2<TilesGroup>
 3  <Group />
 4  <Group>
 5    <Group />
 6    <Group>
 7      <Group />
 8      <Group />
 9    </Group>    
10  </Group>
11  <Group />
12</TilesGroup>
Apparently the File consists of a set of the "sections" enclosed each other. These sections will be formed by the Group tags, the containing following not mandatory attributes:
  1. Name - the group Name that will be displayed in the list of groups if the name isn't specified group to be displayed as "NoName".
  2. Nodes - level of included attachments, defines depth of attachments of subgroups, tiles from which will be included in this group. By default value is equal 0 that speaks about that that tiles from subgroups won't join, any number is higher 0 sets depth of the maximum attachment of subgroups for switching on tile if value is equal "-1", in group will be included tiles from all subgroups of all subgroups.
  3. Id - Not the mandatory attribute setting a unique indifikator of group, indifikator of different groups shan't match. Indifikatora of groups serve only for links to groups.
  4. color - the Attribute of formatting of the text, sets color in the R8G8B8 format of the name of group in the list of groups, is by default equal to value @0х000000
  5. bold - the Attribute of formatting of the text, can accept True or False values, defines thickness of the name of group in the list of groups. "True" is by default equal if the group contains more 4х subgroups and "False" otherwise.
  6. ital - the Attribute of formatting of the text, can accept True or False values, defines use of italic type in the group name in the list of groups. "True" is by default equal if the group doesn't contain subgroups and "False" otherwise.

Admissible elements

1        <Land  ID="0x01B5"/>
2        <Item  ID="0x219C"/>
3        <Tile  ID="0x619C"/>
4        <Link  GroupID="0101"/>
5        <Link  BrushID="0045"/>
6        <Entry ID="0013"/>
7        <Brush ID="0002"/>

These tags describe any specific tile with the specified ID in the attribute with the same name (both in a hexadecimal look and in decimal). The Land tag describes land tiles and their textures, the Item tag describes a statics, and the Tile tag can describe both that and another at the same time, thanks to the general ID. Generally for tiles TileID relief = LandID, and for the subjects TileID = LandID + 0x4000. These elements are located in the tags described in the previous point, for the tiles description. The tag of Entry describes multi - the objects which have been set in TilesEntry.xml, similar to a tag of Brush describes the objects paintbrushes which have been set in TilesBrush.xml. And the tag of Link is reference type of data on group with an indifikator of GroupId or on a paintbrush with BrushId indifikator. Links display group contents without nested subgroups (Be limit are careful - cross-references to groups can hang up the editor) or tile paintbrushes, sorting them in a certain order.

Example of file content

  1<?xml version="1.0" ?>
  2<TilesGroup>
  3  <Group Name="Textures">
  4    <Land ID="0x0002" />
  5    <Land ID="0x346E" />
  6    <Land ID="0x3472" />
  7    <Land ID="0x3474" />
  8    <Land ID="0x3471" />
  9    <Tile GroupID="0x0001" />
 10    <Tile GroupID="0x392F" />
 11    <Link BrushID="114" />
 12  </Group>
 13
 14  <Group Name="Items">
 15    <Group Name="Decoration">
 16      <Group Name="Ankhs" Id="114">
 17        <Group Name="North">
 18          <Item ID="0x0004" />
 19          <Tile ID="0x4005" />
 20        </Group>
 21        <Group Name="West" Id="114">
 22          <Tile ID="0x4002" />
 23          <Item ID="0x0003" />
 24        </Group>
 25      </Group>
 26      <Group Name="Walls" Nodes="1" Id="114">
 27        <Group Name="Wooden">
 28          <Item ID="0x0006" />
 29          <Item ID="0x0007" />
 30          <Item ID="0x0008" />
 31          <Item ID="0x0009" />
 32          <Item ID="0x000A" />
 33          <Item ID="0x000B" />
 34          <Item ID="0x000C" />
 35          <Item ID="0x000D" />
 36          <Group Name="Windows">
 37            <Item ID="0x000E" />
 38            <Item ID="0x000F" />
 39          </Group>
 40          <Item ID="0x0010" />
 41          <Item ID="0x0011" />
 42          <Item ID="0x0012" />
 43          <Item ID="0x0013" />
 44          <Item ID="0x0014" />
 45          <Item ID="0x0015" />
 46          <Item ID="0x0016" />
 47          <Item ID="0x0017" />
 48          <Item ID="0x0018" />
 49          <Item ID="0x0019" />
 50        </Group>
 51      </Group>
 52      <Group Name="Roofs">
 53        <Group Name="Ceramic">
 54          <Item ID="0x23D3" />
 55          <Item ID="0x23D5" />
 56          <Item ID="0x23EB" />
 57        </Group>
 58        <Group Name="Ceramic">
 59          <Item ID="0x23D5" />
 60          <Item ID="0x23D3" />
 61          <Item ID="0x23EB" />
 62        </Group>
 63        <Group Name="Ceramic">
 64          <Item ID="0x23EB" />
 65          <Item ID="0x23D5" />
 66          <Item ID="0x23D3" />
 67        </Group>
 68      </Group>
 69    </Group>
 70  </Group>
 71
 72  <Group Name="Objects" color="0xFF8800" bold="True" ital="True">
 73    <Entry ID="0201" />
 74    <Entry ID="0002" />
 75    <Entry ID="0001" />
 76  </Group>
 77
 78  <Group Name="Brushes" color="0xFF0088" bold="True" ital="True">
 79    <Brush ID="0202" />
 80    <Brush ID="0002" />
 81    <Brush ID="0203" />
 82  </Group>
 83
 84  <Group Name="Banana!">
 85    <Group Name="node - level 1" Nodes="-1" Id="114">
 86      <Group Name="node - level 2" Nodes="5">
 87        <Group Name="node - level 3" Nodes="5">
 88          <Group Name="node - level 4" Nodes="1">
 89             <Group Name="node - level 5">
 90               <Group Name="node - level 6">
 91                 <Group Name="node - level 7">
 92                   <Group Name="node - level 8">
 93                     <Land ID="0x0001" />
 94                   </Group>
 95                 </Group>
 96               </Group>
 97             </Group>
 98          </Group>
 99        </Group>
100      </Group>
101    </Group>
102  </Group>
103
104  <Group Name="Empty Group" color="0x888888" bold="True" ital="True">
105  </Group>
106
107   <Group Name="Somthing else" color="0x444444">
108  </Group>
109</TilesGroup>