DB/WorldMapTransforms: Difference between revisions
mNo edit summary |
Chuanhsing (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
==Header Info== | ==Header Info== | ||
Records..................... | Records.....................8 | ||
Fields..................... | Fields.....................10 | ||
Record Size................ | Record Size................40 | ||
String Block Size...........1 | String Block Size...........1 | ||
Revision as of 02:33, 17 September 2009
This is used for displaying the world map UI. Some zones (like draenei and boold elves starting zones in the current data files) are physically stored in a map (ADT, Expansion01) different from the map where they are shown on the world map UI (Azeroth / Kalimdor). Therefore in order to display zones, and likely player positions, correctly on the world map UI (global continent maps), their coordinates must be mapped from physical map to virtual map (add x and y offsets from this dbc to their position and then you can transform coordinates to display it on new map). When a virtual map is identified in WorldMapArea.dbc the data for transforming coordinates between the two maps is found here in WorldMapTransforms.dbc. - From Source Peek Wiki
Header Info
Records.....................8 Fields.....................10 Record Size................40 String Block Size...........1
Structure
Column Field Type Notes 1 ID Integer 2 iRefID_Map Integer Source map 3 pos_x1 Float X1 | upper left corner 4 pos_y1 Float Y1 | upper left corner 5 pos_x2 Float X2 | lower right corner 6 pos_y2 Float Y2 | lower right corner 7 iRefID_Map Integer Destination map 8 x_offset Float 9 y_offset Float
Retrieved from "http://www.sourcepeek.com/wiki/WorldMapTransforms.dbc"