Lineage 2 - L2J geodriver map format: Unterschied zwischen den Versionen

Aus Notebook
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 14: Zeile 14:
  
 
Default sea floor is at '''-3720''', but there are places on the map which go way below that.
 
Default sea floor is at '''-3720''', but there are places on the map which go way below that.
 +
 +
Extreme values over all map: Min: '''-16352''' (=absolute zero), Max: '''15000''', total value range: 3919 * 8 = 31352
 +
 +
Sea level (average, guessed): 1574 above absolute zero, '''-3760''', max height above that 2345

Aktuelle Version vom 6. März 2015, 15:49 Uhr

File name: xx_yy.l2j

Blocks of 256x256 data (little-endian)

1. byte: block type

0 - "flat" block, bytes 2+3 -> height (short)
1 - "complex" block, bytes 2-129: array of 8x8 two-byte height (short) values, double of the flat block value
2 - "multilayer" block, 256 (8x8) variable-length blocks of data:
byte - amount of layers (1-125)
array of two-byte height (short) values, one per layer, double of the flat block value

All values seem to be clamped to the nearest multiple of 8.

Default sea floor is at -3720, but there are places on the map which go way below that.

Extreme values over all map: Min: -16352 (=absolute zero), Max: 15000, total value range: 3919 * 8 = 31352

Sea level (average, guessed): 1574 above absolute zero, -3760, max height above that 2345