Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: Gomb on July 13, 2014, 06:31:16 pm

Title: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Gomb on July 13, 2014, 06:31:16 pm
Hey guys, well this is my question, I have this:

(http://i.imgur.com/xODVqDK.png)

I'll make maps for this zones, the zones are separated by AreaID's
(the zone is an instance)

I have made a test, and now i have this:

(http://i.imgur.com/nACNJP5.jpg)

I had created a "continent" for the zone, and this "continent" have subzones (areaids)

So now my question, is there any possibility to autodetect where "areaid" are you located, and when you open the map, automatic open your zone map?

If this is not possible, any help to do the same thing, but no with "areaid", with dungeon floors?
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: schlumpf on July 13, 2014, 07:16:46 pm
[paragraph:1b8rl4ao]It looks like you already have managed to implement having a world map. Thus, you likely have touched WorldMapContinent (http://pxr.dk/wowdev/wiki/index.php?title=WorldMapContinent.dbc) and WorldMapArea (http://pxr.dk/wowdev/wiki/index.php?title=WorldMapArea.dbc), which is what you need.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]There is a problem though: As your "continent" is not continuous, using a continent+areas will be a bad result: You will have a lot of empty, unreachable space on your world map, obviously undesirable.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]If you can live with that, you are almost done: Just add the correct values for boundaries in both and you are done.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]If you don't want to do that, but don't want a overview map and "floors" only, you will want to use DungeonMap (http://pxr.dk/wowdev/wiki/index.php?title=DungeonMap.dbc) and DungeonMapChunk (http://pxr.dk/wowdev/wiki/index.php?title=DungeonMapChunk.dbc). I sadly can't tell much about it except for that the wiki has full information, which I just added for WoD as well.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]II hope it will work out for you. If it does, do us all a favor and do a little write-up on what you needed to do, maybe documenting the individual variables of those DBCs.[/paragraph:1b8rl4ao]
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Gomb on July 13, 2014, 07:46:36 pm
I have put the correct boundaries, but, ingame, ever opens the main map, the continent, never subzone maps, I will have to do it with dungeonmap i think.

On dungeonmap.dbc, how i put coords?

On worlmaparea are Y1, Y2, X1, X2, and in dungeonmap?
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Steff on July 14, 2014, 10:47:24 am
The area ids mist be set in noggit and you need the serverside maps generated for you custom map.  What needs a changed extractor.
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Gomb on July 14, 2014, 09:07:42 pm
Quote from: "Steff"
The area ids mist be set in noggit and you need the serverside maps generated for you custom map.  What needs a changed extractor.

The areaids are set in noggit, and the zone has the maps, vmaps etc.. extracted, what do you mean with "changed" extractor?

Still not automatic display your zone map.
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Steff on July 14, 2014, 09:19:18 pm
The normal extractor do not handle custom maps.
It just ignore them.
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Gomb on July 14, 2014, 09:23:55 pm
Quote from: "Steff"
The normal extractor do not handle custom maps.
It just ignore them.

Well i don't extracted the maps and vmaps, but i know that someone of our server extracted mmaps and vmaps, they always extract them.
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: schlumpf on July 14, 2014, 10:19:22 pm
This issue has _nothing_ to do with the server.

I sadly don't have more knowledge about dungeonmap.dbc.
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: deep6ixed on July 18, 2014, 04:21:03 am
We had this issue with ceril on maruum, and it did turn out to be maps serverside.  Do a .gps command in game on your custom map.  if your zone or area id shows as a zero (unknown) the client wont know what map to pull up and will display the continent map for what map id you are on.

We didnt use dungeonmap, just 'normal' map.dbc and areatable
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Gomb on July 18, 2014, 12:57:01 pm
Quote from: "deep6ixed"
We had this issue with ceril on maruum, and it did turn out to be maps serverside.  Do a .gps command in game on your custom map.  if your zone or area id shows as a zero (unknown) the client wont know what map to pull up and will display the continent map for what map id you are on.

We didnt use dungeonmap, just 'normal' map.dbc and areatable


mmm, ingame it shows where area or zone I'am, is it possible because we put al areas as subzones of a zone? For example, the map is Asedio al Olympo, the zone Asedio al Olympo, and the area, Asentamientro drakoniano for example, i will test it to eliminate zone and put the areas as zones, or nope? xD
Title: Re: [QUESTION] Automatic detect where you are for WORLDMAP
Post by: Steff on July 25, 2014, 06:44:51 am
Make a gbs.  The on screen view of the zone and area work.  But gps and also map fetching get the imfos where you are from the server. Ask the extractor ghy if he changed the extractor.  Else it will not work.