DB/WorldMapArea: Difference between revisions

From wowdev
Jump to navigation Jump to search
(→‎Structure: X and Y coords has other order (now right))
m (visualisation)
Line 9: Line 9:
  Record Size................36
  Record Size................36
  String Block Size.........770
  String Block Size.........770
    x
  / A
y-+--
/ ################ x
  ##### MAP ####### /
############### y-+--
/ B


==Structure==
==Structure==
Line 17: Line 26:
  3 iRefID_[[AreaTable.dbc|AreaTable]] Integer
  3 iRefID_[[AreaTable.dbc|AreaTable]] Integer
  4 sRefCon String Name of the Worldmap-Files (Interface\WorldMap\ ... \ ...x.blp [1 < x < 12 {4*3}]
  4 sRefCon String Name of the Worldmap-Files (Interface\WorldMap\ ... \ ...x.blp [1 < x < 12 {4*3}]
  5 Y1 Float Upper / Left Y Coord on the Map  
  5 A.y Float <.. Coords on the Map  
  6 Y2 Float Lower / Right Y Coord on the Map
  6 B.y Float ..
  7 X1 Float Upper / Left X Coord on the Map
  7 A.x Float ..
  8 X2 Float Lower / Right X Coord on the Map
  8 B.x Float ..>
  9 iRefID_[[Map.dbc|Map]] Integer Virtual Map ID
  9 iRefID_[[Map.dbc|Map]] Integer Virtual Map ID



Revision as of 19:40, 6 April 2009

Used to create the zones on the overhead world map. If your mouse falls inside one of the defined boxes... you're looking at that zone. Assumed to be layered based upon ID (ie If Mulgore overlaps Durotar, Mulgore has a higher ID, so Mulgore will come up instead of Durotar).

The Virtual Map ID (see below) is used for zones such as Exodar or Silvermoon, which resides in a map and are virtually shown in another. You see Exodar in map 1 (Kalimdor) in-game, while it is really in map 530 (Outland). Virtual map id is -1 when the Map ID is always correct.

Header Info

Records....................67
Fields......................9
Record Size................36
String Block Size.........770


	    x
	   / A
	y-+--
	 / ################ x
 	 ##### MAP ####### /
	############### y-+--
			 / B

Structure

Column 	Field 			Type 		Notes 
1 	ID 			Integer 	
2 	iRefID_Map 		Integer 	Possible reference to WorldMapContinent.dbc column 2. 
3 	iRefID_AreaTable 	Integer 	
4 	sRefCon 		String 		Name of the Worldmap-Files (Interface\WorldMap\ ... \ ...x.blp [1 < x < 12 {4*3}]
5 	A.y 			Float 		<.. Coords on the Map 
6 	B.y 			Float 		 ..
7 	A.x 			Float 		 ..
8 	B.x 			Float 		 ..>
9 	iRefID_Map 		Integer 	Virtual Map ID

--Schlumpf 19:48, 9 August 2007 (CEST)