AREA is the root element of all RPGDML documents inside the folder "data/map". It defines all data such as the map, events and encounters used in a specific area of the game.
In RPG Director, the whole game world is made up of a certain number of smaller areas, and each area is defined by its own AREA document.
Generally, an AREA document is named as *.xml inside the folder "data/map", but notice the use and naming of the following AREA documents.
- start.xml - It defines the data of the startup area of the game. A game must contain one (and only one) start.xml.
- map[yy][xx].xml - For any area on the world map of the game, the filename of the AREA document of that area must be named as map[yy][xx].xml, with [yy] and [xx] being the y and x coordinates of that area on the world map respectively. For any single-digit coordinate, add a zero (0) in front. Examples of valid world-map AREA documents are "map1415.xml", "map0218.xml", "map1607.xml" and "map0300.xml".
For other areas in the game, the AREA documents can be named as anything you like. Examples are "dungeon01.xml", "ice_castle.xml" and "dead_sea.xml".
AREA supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.
- <AREA>
- <MAP>
- ......
- </MAP>
- ......
- <STARTUP_EVENT>
- ......
- </STARTUP_EVENT>
- </AREA>