DB/WorldMapOverlay: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
''Used to display the different zone overlays in blizzard's world map UI. Overlays are positionned in a rectangle whose coordinates are specified here in pixels (relative to the map pixel size). The bounding box uses the same coordinates (though not stored the same way) but is used for mouse-hovering instead of map drawing. The texture for the overlay is split in a varying number of textures. Each texture can not exceed the size of 256x256. Therefore you can deduce the number of textures used with width and height. Textures are found in the zone directory which itself resides in the "Interface\WorldMap" directory. To the base texture name you have to append an 1-based index corresponding to the subtexture you are looking for. (e.g. "Interface\WorldMap\Tirisfal\Monastery1.blp" Here the zone directory is "Tirisfal", the base texture name is "Monastery", with subtexture index of 1) The Zone (World Map Area) where the overlay is used can be found in field 2. The Area corresponding to the overaly is referenced in field 3 (no real idea about 4-5-6 for now), meaning you can find its localized name.''
-- Sourcepeek.Wiki
==Header Info==
==Header Info==



Revision as of 14:49, 3 August 2007

Used to display the different zone overlays in blizzard's world map UI. Overlays are positionned in a rectangle whose coordinates are specified here in pixels (relative to the map pixel size). The bounding box uses the same coordinates (though not stored the same way) but is used for mouse-hovering instead of map drawing. The texture for the overlay is split in a varying number of textures. Each texture can not exceed the size of 256x256. Therefore you can deduce the number of textures used with width and height. Textures are found in the zone directory which itself resides in the "Interface\WorldMap" directory. To the base texture name you have to append an 1-based index corresponding to the subtexture you are looking for. (e.g. "Interface\WorldMap\Tirisfal\Monastery1.blp" Here the zone directory is "Tirisfal", the base texture name is "Monastery", with subtexture index of 1) The Zone (World Map Area) where the overlay is used can be found in field 2. The Area corresponding to the overaly is referenced in field 3 (no real idea about 4-5-6 for now), meaning you can find its localized name. -- Sourcepeek.Wiki

Header Info

Records...................797
Fields.....................17
Record Size................68
String Block Size.......10656

Structure

Column 	Field 			Type 		Notes 
1 	ID 			Integer 	Internal overlay id, probably not used anywhere (?) 	
2 	iRefID_WorldMapArea 	Integer 	Zone ID 	
3 	iRefID_AreaTable 	Integer 	Area ID 	
4 	iRefID_AreaTable 	Integer 	
5 	iRefID_AreaTable 	Integer 	
6 	iRefID_AreaTable 	Integer 	
7 	Unknown 		NULL 	
8 	Unknown 		NULL 	
9 	sRefPath 		String 		Base texture name 
10 	Width 			Integer 	Width of overlay patch 
11 	Height 			Integer 	Height of overlay patch 
12 	Left 			Integer 	X coordinate of overlay patch 
13 	Top 			Integer 	Y coordinate of overlay patch 
14 	Y1 			Integer 	Bounding Box Top 
15 	X1 			Integer 	Bounding Box Left 
16 	Y2 			Integer 	Bounding Box Bottom 
17 	X2 			Integer 	Bounding Box Right

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