Difference between revisions of "Maps"
Jump to navigation
Jump to search
(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...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ''This page is about the structure of maps. For the list of maps, see [[Template:Map List|Map List]].'' | ||
+ | ---- | ||
There are three kinds of files in the MAP directory: | There are three kinds of files in the MAP directory: | ||
Latest revision as of 15:42, 10 June 2022
This page is about the structure of maps. For the list of maps, see Map List.
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.