ZMP: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Reverted edits by Chuanhsing (Talk); changed back to last version by Tigurius)
No edit summary
Line 5: Line 5:
*Interface\WorldMap\Northrend.zmp
*Interface\WorldMap\Northrend.zmp


The code to read these files is also probably located within one of the mpq files. These files seem to hold tile data (as the WoWEmu program uses them to extract tile data to output a rough hightmap of the world). Anyway, this would seem to be very logical, because ZMP would stand for Z-Map (Z, of which is the hight axis in 3D).
ZMP files are a 128x128 array of 32-bit integer height values. All data in these files is location_id's (see: [[AreaTable.dbc]]).  


It appears that ZMP files are a 128x128 array of 32-bit integer height values.
They are used on parsing WorldMapArea.dbc. The values get copied and then get overwritten with the WorldMapArea-id the areaid they referenced is in. It will hold a zero or the WMA-id depending on if the area and the map that's currently parsed match. This also takes the virtual map id into account.
 
*'''note from wad:''' all data in these files is location_id's (see: [[AreaTable.dbc]]).

Revision as of 04:44, 11 July 2009

There are only four of these files in the World of Warcraft MPQs. They are located inside "Interface\WorldMap\".

  • Interface\WorldMap\Azeroth.zmp
  • Interface\WorldMap\Expansion01.zmp
  • Interface\WorldMap\Kalimdor.zmp
  • Interface\WorldMap\Northrend.zmp

ZMP files are a 128x128 array of 32-bit integer height values. All data in these files is location_id's (see: AreaTable.dbc).

They are used on parsing WorldMapArea.dbc. The values get copied and then get overwritten with the WorldMapArea-id the areaid they referenced is in. It will hold a zero or the WMA-id depending on if the area and the map that's currently parsed match. This also takes the virtual map id into account.