DB/WorldMapArea: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


''Is it used to define the area zone lines as well when switching between zones?''  
''Is it used to define the area zone lines as well when switching between zones?''  
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 ==
==Header Info ==
Line 21: Line 23:
  7 X1 Float Upper Left X Coord of Box  
  7 X1 Float Upper Left X Coord of Box  
  8 X2 Float Lower Right X Coord of Box  
  8 X2 Float Lower Right X Coord of Box  
  9 Unknown Integer
  9 iRefID_[[Map.dbc|Map]] Integer Virtual Map ID


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


[[Category:DBC]]
[[Category:DBC]]

Revision as of 14:39, 3 August 2007

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).

Is it used to define the area zone lines as well when switching between zones?

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

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 	
5 	Y1 			Float 		Upper left Y Coord of Box 
6 	Y2 			Float 		Lower Right Y Coord of Box 
7 	X1 			Float 		Upper Left X Coord of Box 
8 	X2 			Float 		Lower Right X Coord of Box 
9 	iRefID_Map 		Integer 	Virtual Map ID

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