- Joined
- Apr 12, 2022
- Messages
- 32
- Reaction score
- 24
- First Language
- English
- Primarily Uses
- RMMV
Any documentation on how the structure of the map json in RPG Maker MZ?
Specifically, I want to manipulate the data attribute within the Map###.json file.
Here are my observations that I am hoping someone can confirm:
0 1 2
3 4 5
6 7 8
Specifically, I want to manipulate the data attribute within the Map###.json file.
Here are my observations that I am hoping someone can confirm:
- Data is always a massive single dimension array.
- The amount of values in the array will be Width*Height*6.
- The data array is divided into 6 layers
- Layer 1 - will be first [width*height] values
- Layer 2 - will be second [width*height] values
- Layer 3 - will be third[width*height] values
- Layer 4 - will be fourth [width*height] values
- Shadow Layer - will be fifth[width*height] values
- Region Layer - will be sixth[width*height] values
- Within each layer the values represent the tile number within a tile set.
- The array for each layer will be used to populate the map from the upper left to right then go to the next line and repeats.
0 1 2
3 4 5
6 7 8