Just as in previous versions of LIME, the data is separated into multiple files. However, the content and structure of the files has changed to be more flexible and force fewer assumptions upon level designers.
Both file types are tab-delimited as specified by the constant
MHMapFileInfo.MAP_FILE_DELIMITER
.The file types are as follows:
File Type | Extension | Description |
---|---|---|
Game World Metadata | .LIME | Summary data required to open, initialize, modify, and save game world data in a format recognized by LIME and MHFramework. This is the file type given to MHWorldLoader.loadGameWorld() and also the type that is opened by LIME's File | Open command. |
Tile Map | .LTM | A file containing the data for a single tile map, which may stand alone or as a layer in a layered tile map. This is the file type given to MHWorldLoader.loadTileMap() and also the type expected in the file name properties of a .LIME file. |
Game World Metadata (.LIME) File Format
- Map width (columns) : int
- Map height (rows) : int
- Tile width (pixels) : int
- Tile height (pixels) : int
- Tile set ID : String
- Floor map file name : String
- Floor details file name : String
- Wall map file name : String
- Wall details file name : String
Tile Map (.LTM) File Format
- Number of columns : int
- Number of rows : int
- Tile ID grid : int[][]