Reference: MapDef.txt

Purpose

A list of regions within the game, and the data associated with presenting the world map. The client has its own source file with this exact information, so many properties in this file are ignored by the server.

At the time, the data's purpose in the client wasn't known. There was also no other reference mapping player coordinates to regions. The single bounding box here is not accurate, (most regions in game are irregularly shaped, after all) but was all that existed. With nothing better, this was used.

The server code related to this file is very old, poorly written, and poorly implemented. The data as it related to tiles was not understood so the server-side calculations are most likely garbage.

These bounding boxes are only used as a fallback approach if there are no regions defined elsewhere (see MapLocations.txt), but the region names defined in this file hold some significance for that file as well.

File Format

Resembles INI format with structured blocks.
Comment character: semicolon (;)
Each line is split into Key=Value pairs at the first "=" symbol.

Block Format

Property Parameters Description
[ENTRY] N/A Begin a new block.
Name String Sets the internal name of the region. The value is sent to the client as part of the zone's map information.
Primary String Parent map of the region (when zoomed out).
Type String Should be one of the following three values (Region, World, Local).
image String Name of the image resource that the client uses. This value is sent to the client as part of the zone's map information.
parentMapImage String Name of the image resource that the client uses for the parent map (when zoomed out). Not used by the server.
numPagesAcross Float Determines how many "tiles" span the bounding box coordinates below. Note that these tiles are arbitrary and are NOT related to scenery or terrain tiles. Instead, these tiles determine marker locations on the minimap. Not used by the server.
numPagesDown Float Determines how many "tiles" span the bounding box coordinates below. Note that these tiles are arbitrary and are NOT related to scenery or terrain tiles. Instead, these tiles determine marker locations on the minimap. Not used by the server.
u0 Integer Left edge (X coordinate) of the bounding box.
v0 Integer Top edge (Z coordinate) of the bounding box.
u1 Integer Right edge (X coordinate) of the bounding box.
v1 Integer Bottom edge (Z coordinate) of the bounding box.
priority Integer Helps determine which region to use when the player's position is inside multiple bounding boxes. Higher values mean lower priority for consideration.
scale_width Float Unknown. Not used by the server.
scale_height Float Unknown. Not used by the server.