LEB: Difference between revisions

Glan (talk | contribs)
Grid Section: expanded info on grid data
m Change room ID to zone ID to be more accurate
 
(One intermediate revision by one other user not shown)
Line 80: Line 80:
There is one entry per point. Points have data blocks of 0x18 bytes each. This block consists of 3 floats (4 bytes each) representing the (X, Y, Z) of the point. It appears that this is always followed by 0xC bytes of FF to fill out the block, but the reason for this is not known.
There is one entry per point. Points have data blocks of 0x18 bytes each. This block consists of 3 floats (4 bytes each) representing the (X, Y, Z) of the point. It appears that this is always followed by 0xC bytes of FF to fill out the block, but the reason for this is not known.


=====Rail Section=====
====Rail Section====
This is another FixedHash child. The exact purpose of this section is not understand but it seems to work in conjunction with <code>point</code>. There is one entry per rail.
This is another FixedHash child. The exact purpose of this section is not understand but it seems to work in conjunction with <code>point</code>. There is one entry per rail.


Line 137: Line 137:
|0x10
|0x10
|u32
|u32
|'''Room ID'''. The actor loads when entering the specified room and unloads when leaving it. Generally this should be consistent across all actors in the file, since each room has its own file.
|'''Zone ID'''. The actor loads when entering the specified zone and unloads when leaving it
|-
|-
|0x14
|0x14