Forum > Texturing and 2D Art

[QUESTION] Automatic detect where you are for WORLDMAP

(1/3) > >>

Gomb:
Hey guys, well this is my question, I have this:



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:



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?

schlumpf:
[paragraph:1b8rl4ao]It looks like you already have managed to implement having a world map. Thus, you likely have touched WorldMapContinent and WorldMapArea, 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 and DungeonMapChunk. 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]

Gomb:
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?

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.

Gomb:

--- 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.
--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version