ZMP

From wowdev
Revision as of 04:44, 11 July 2009 by Schlumpf (talk | contribs)
Jump to navigation Jump to search

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.