DB/WorldMapTransforms: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
m (-> _)
Line 11: Line 11:
  1 ID Integer
  1 ID Integer
  2 iRefID_[[Map.dbc|Map]] Integer Source map
  2 iRefID_[[Map.dbc|Map]] Integer Source map
  3 posx1 Float X1 | upper left corner
  3 pos_x1 Float X1 | upper left corner
  4 posy1 Float Y1 | upper left corner
  4 pos_y1 Float Y1 | upper left corner
  5 posx2 Float X2 | lower right corner
  5 pos_x2 Float X2 | lower right corner
  6 posy2 Float Y2 | lower right corner
  6 pos_y2 Float Y2 | lower right corner
  7 iRefID_[[Map.dbc|Map]] Integer Destination map
  7 iRefID_[[Map.dbc|Map]] Integer Destination map
  8 Unknown Float
  8 Unknown Float

Revision as of 13:08, 7 August 2007

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 pysical map to virtual 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.....................2
Fields......................9
Record Size................36
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 	Unknown 	Float 	
9 	Unknown 	Float 	

Retrieved from "http://www.sourcepeek.com/wiki/WorldMapTransforms.dbc"