LBA2:Island objects info: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "{{Infobox format | extension = LOI | lba2 = true | colour = FF99FF }} This file contains a list of the static 3D objects present on a particular island section. The objects a..." |
(No difference)
|
Revision as of 14:48, 17 February 2017
Island objects info | ||
---|---|---|
Extension |
LOI |
|
Occurence |
LBA2 |
|
Colour |
|
|
Programs supporting this format | ||
(none) |
||
References | ||
This file contains a list of the static 3D objects present on a particular island section. The objects are mostly buildings, but also everything that doesn't move on an island. The actual model is stored in the island's OBL file.
Specification
The whole file is an array of object entries.
The number of entries in this file can be found in the corresponding section info file.
Object information entry
An entry is exactly 48 bytes long.
- Offset 0: UNSIGNED DWORD (u32): Index of the model in the OBL file
- Offset 4: DWORD (s32): X
- Offset 8: DWORD (s32): Y
- Offset 12: DWORD (s32): Z
- Offset 21: BYTE (u8): Orientation flags
The orientation of the model can be found by looking at the bits 2->4 (0000XX00) of the orientation flags.
- 00: 0°,
- 01: 270°
- 10: 180°
- 11: 90°
Information provided by: Lupin