Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: mrAnomalyy on April 12, 2014, 10:01:44 am

Title: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 12, 2014, 10:01:44 am
Hello, guys. I found how to draw worldmap, but I can't find tutorial "How to add in game" this map. Please, if someone can give link or tell how put WorldMap in game, help me! Thanks :)
Title: Re: [QUESTION] How to WorldMap?
Post by: Filipsons on April 12, 2014, 12:35:03 pm
Hello, on custom or Blizz exist map?
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 14, 2014, 03:13:38 pm
Filipsons, on custom, of course :)
Title: Re: [QUESTION] How to WorldMap?
Post by: schlumpf on April 14, 2014, 03:29:12 pm
If you have an own continent (e.g. Kalimdor), start at http://pxr.dk/wowdev/wiki/index.php?tit ... tinent.dbc (http://pxr.dk/wowdev/wiki/index.php?title=WorldMapContinent.dbc" onclick="window.open(this.href);return false;). Add sub-areas (e.g. Durotar) to http://pxr.dk/wowdev/wiki/index.php?tit ... apArea.dbc (http://pxr.dk/wowdev/wiki/index.php?title=WorldMapArea.dbc" onclick="window.open(this.href);return false;). Add points of interest (e.g. Razor Hill) in http://pxr.dk/wowdev/wiki/index.php?tit ... verlay.dbc (http://pxr.dk/wowdev/wiki/index.php?title=WorldMapOverlay.dbc" onclick="window.open(this.href);return false;).
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 14, 2014, 04:26:22 pm
Wait, but how add map image. Ex. click "M" and open Durotar's Map.


P.S. Sorry, If my English bad :)
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 14, 2014, 04:29:03 pm
Awwww, Sorry. I found it on (pxr.dk/wowdev/wiki/index.php?title=WorldMapArea.dbc)

Very big thanks for help ;)
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 14, 2014, 06:24:27 pm
Okey, guys. I made it! Now, map is shows on World Map in need location. But two things...

1) I can't see myself on map
2) How add on Azeroth's map clickable continent like Kalimdor?
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 14, 2014, 06:37:16 pm
It(second attachment) is shows on clicking "M"(World Map)

And it's good. But there is no player icon.


And it(first attachment) image of location in Noggit. What I must doing to see myself on World map?
Title: Re: [QUESTION] How to WorldMap?
Post by: schlumpf on April 14, 2014, 07:32:51 pm
1) as described in the documentation. add correct coordinates.
2) either it was  WorldMapContinent.dbc or hardcoded in the interface. if hardcoded, it is somewhere in interface/framexml/worldmap or something like that.
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 15, 2014, 09:03:55 am
I can't understand, whats coords I must input. From .gps? Or what?
Title: Re: [QUESTION] How to WorldMap?
Post by: schlumpf on April 15, 2014, 02:31:25 pm
No idea what .gps outputs.
Title: Re: [QUESTION] How to WorldMap?
Post by: Ascathos on April 15, 2014, 03:31:53 pm
For reference:

Code: [Select]
       handler->PSendSysMessage(LANG_MAP_POSITION,
            mapId, (mapEntry ? mapEntry->name[handler->GetSessionDbcLocale()] : "<unknown>"),
            zoneId, (zoneEntry ? zoneEntry->area_name[handler->GetSessionDbcLocale()] : "<unknown>"),
            areaId, (areaEntry ? areaEntry->area_name[handler->GetSessionDbcLocale()] : "<unknown>"),
            object->GetPhaseMask(),
            object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), object->GetOrientation(),
            cell.GridX(), cell.GridY(), cell.CellX(), cell.CellY(), object->GetInstanceId(),
            zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap, haveMMap);
Title: Re: [QUESTION] How to WorldMap?
Post by: mrAnomalyy on April 15, 2014, 07:30:32 pm
Okay, guys. Thanks for your help. I'll try to do it fcnst