WLQ: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
 
Line 3: Line 3:
One of these files exist for each WLW file in the game. They are also located at the same path and filename as each's .wlw counterpart.
One of these files exist for each WLW file in the game. They are also located at the same path and filename as each's .wlw counterpart.
==Header==
==Header==
<pre>Type Name Descrition
Type           Name           Descrition
char * 4 id always 2QIL
uint32        magic          always 2QIL
uint16[15] unk ?
uint16        version
uint32 nChunks number of chunks in the file</pre>
uint16        unk06          always 1
char           unk08[4]        always 0
uint32?        liquidType      0 = river, 1 = ocean, 2 = magma, 3 = slime (same as WMO liquid_basic_types)
uint16[9]     unk10
uint32         block_count    same format as [[WLW#Structure|WLW blocks]]
 
==Data==
==Data==
Following the header are nChunks 360 byte blocks ( see [[WLW|WLW]] )
Following the header are nChunks 360 byte blocks ( see [[WLW|WLW]] )
[[Category:Format]]
[[Category:Format]]

Latest revision as of 19:21, 16 December 2019

WLQ Files

One of these files exist for each WLW file in the game. They are also located at the same path and filename as each's .wlw counterpart.

Header

Type           Name            Descrition
uint32         magic           always 2QIL
uint16         version
uint16         unk06           always 1
char           unk08[4]        always 0
uint32?        liquidType      0 = river, 1 = ocean, 2 = magma, 3 = slime (same as WMO liquid_basic_types)
uint16[9]      unk10
uint32         block_count     same format as WLW blocks

Data

Following the header are nChunks 360 byte blocks ( see WLW )