LBA2:Island layout info: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
Content deleted Content added
No edit summary |
|||
Line 21: | Line 21: | ||
* [[LBA2:Island section info|Section general info]]: offset +''ID'' * 6 |
* [[LBA2:Island section info|Section general info]]: offset +''ID'' * 6 |
||
* [[LBA2:Island objects info|Static 3D objects info]]: offset + ''ID'' * 6 + |
* [[LBA2:Island objects info|Static 3D objects info]]: offset + ''ID'' * 6 + 2 |
||
* [[LBA2:Island polygons|Ground polygons]]: offset + ''ID'' * 6 + 3 |
* [[LBA2:Island polygons|Ground polygons]]: offset + ''ID'' * 6 + 3 |
||
* [[LBA2:Island texture uvs|Texture UVs]]: offset + ''ID'' * 6 + 4 |
* [[LBA2:Island texture uvs|Texture UVs]]: offset + ''ID'' * 6 + 4 |
Revision as of 14:28, 26 June 2022
Island layout info | ||
---|---|---|
Extension |
LAY |
|
Occurence |
LBA2 |
|
Colour |
|
|
Programs supporting this format | ||
(none) |
||
References | ||
Island layout info files contain information about island sections. The sections are squares on a virtual grid of 16x16 possible sections.
Each section has 6 entries in the ILE file associated to it, as well as a scene from Scene.hqr.
Specification
The file contains 256 bytes (16x16).
The byte value is either 0 which means there is no section at that particular grid position or an ID which is used to find the 6 entries giving more information on that section.
Here is how to find the section's entries in the ILE file.
Offset from begin section = 3.
- Section general info: offset +ID * 6
- Static 3D objects info: offset + ID * 6 + 2
- Ground polygons: offset + ID * 6 + 3
- Texture UVs: offset + ID * 6 + 4
- Heightmap: offset + ID * 6 + 5
- Intensities: offset + ID * 6 + 6
Information provided by: Lupin