DB/WorldMapTransforms: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'' '''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==
==Header Info==
  Records.....................2
  Records.....................2
Line 8: Line 10:
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 ID Integer
  1 ID Integer
  2 Unknown Integer Ref to [[Map.dbc]]?
  2 iRefID_[[Map.dbc|Map]] Integer Source map
  3 Unknown Float
  3 posx1 Float X1 | upper left corner
  4 Unknown Float
  4 posy1 Float Y1 | upper left corner
  5 Unknown Float
  5 posx2 Float X2 | lower right corner
  6 Unknown Float
  6 posy2 Float Y2 | lower right corner
  7 Unknown Boolean
  7 iRefID_[[Map.dbc|Map]] Integer Destination map
  8 Unknown Float
  8 Unknown Float
  9 Unknown Float
  9 Unknown Float

Revision as of 14: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 	posx1 		Float 		X1 | upper left corner
4 	posy1 		Float 		Y1 | upper left corner
5 	posx2 		Float 		X2 | lower right corner
6 	posy2 		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"