OBD:AKVA/0x24: Difference between revisions

m
short strips wrap around too
(fixed hex view)
m (short strips wrap around too)
Line 11: Line 11:


The grid data is stored in strips, each strip consisting of tiles of a certain type.
The grid data is stored in strips, each strip consisting of tiles of a certain type.
:A strip can have any length between 1 and 255, and a width of 1.
:A strip can have any length between 1 and 255 (along x), and a width of 1 (along z).
:A strip runs along z for fixed x, and can wrap around to the next x if it's longer than the grid.
:A strip runs along x for fixed z, and can wrap around to the next z if it's longer than the grid.


Tile types are (appearance as visible with '''ai2_showgrids=1'''):
Tile types are (appearance as visible with '''ai2_showgrids=1'''):
Line 51: Line 51:
:stands for a strip of XX tiles of type Y
:stands for a strip of XX tiles of type Y
The leading zero tells you if you're looking at a long or short strip.
The leading zero tells you if you're looking at a long or short strip.
I'm not sure if short strips can wrap around grid borders or not.


;Example (BNV 32 from '''level1_Final''')
;Example (BNV 32 from '''level1_Final''')