DB/WorldMapTransforms

From wowdev
Revision as of 14:08, 7 August 2007 by Schlumpf (talk | contribs) (-> _)
Jump to navigation Jump to search

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"