Maps
Revision as of 20:25, 12 December 2010 by 72.12.102.3 (talk) (Created page with "There are three kinds of files in the MAP directory: # GNS files, which tell the game where to look for map data given a certain set of criteria. (Weather, day/nigh...")
There are three kinds of files in the MAP directory:
- GNS files, which tell the game where to look for map data given a certain set of criteria. (Weather, day/night, room arrangement.)
- Texture files, which are always 131072 bytes.
- Mesh files, which contain:
- XYZ/UV Vertices of the map's polygons
- Normal vectors of map's vertices
- Texture palettes (in color)
- Ambient light color and directional light positions
- Background gradient colors
- Terrain data (tile heights, slopes, and surface type for Geomancy purposes)
- Texture animation data
- Palette animation data
- Texture palettes (grayscale)
- Vertex animation data
- Eight sets of animated vertex data
- Polygon visibility angle data (for removing obstructions from the camera's line of sight when the camera is facing in different directions)
Here is a list of mesh files in the MAP directory and how many bytes can safely be added to each one.