MCNK.Position[3]: 068h, defining the offset in the world in all three dimensions. (Yes, you could position a chunk far off its normal position.) Just add that Z to your calculations.
Trade Feedbacks
Here is the deal folks
I coded a little tool to read a .adt file and load the MCVT (Vertice Height Data) into an empty plane. It loads all the data correctly and each chunk uses its own plane a 16x16 grid.
The problem i've run into is the map chunks are offset somehow and loads each chunk at a different height leaving gaps heightwise between each map chunk
It loads map vertice heights into an array VHeight(Mapchunks,X,Z) as FLOAT
The result is nice, it has the whole map loaded but i can't find the offset in the .adt file that raises or lowers the chunks to seal the gaps.
Any help would be nice and score a spot in the credits (yay, i see you jumpin for joy!! lol) not much but appreciated. The tool uses a LOT less memory than noggit and works fine on a laptop that doesnt even have RAM requirements for WoW itself met which is why i'm developing it. i dont like noggits memory **** :-)
Whoever shows me a proper solution to the problem i will rep as much as possible (for more than one day if you wish)
Last edited by DJRehab; 02-15-2009 at 10:34 PM.

Trade Feedbacks
MCNK.Position[3]: 068h, defining the offset in the world in all three dimensions. (Yes, you could position a chunk far off its normal position.) Just add that Z to your calculations.
Trade Feedbacks
hmmm maybe so but check this once:
I load planes all of them at Z of 0
when the heights are implemented into the planes there are still gaps between them map chunks....note that this loads a SINGLE adt file.... here is the result

Trade Feedbacks
Btw: Stop your project, join Taliis.
Bookmarks