ADT

Long awaited cleanup has arrived!

Well to those that keep an eye on IRC I posted a few updates to the SVN already that show the code cleanup (be aware it’s more or less a complete rewrite). The two biggest additions to this new code bank is the console (provided by arkwiw from IRC) and a new config file (named [...]


How about a programming structure you can follow?

I have mentioned many times over the last handful of posts that the code is being refactored because it has turned into a spaghetti monster (not the flying one in the sky, the one that lives inside of all of us and we must defend against when writing anything useful). Well as I’ve been working [...]


M2s have arrived! Behold the glorious trees!

Well that time is finally here. We are going to get the last remaining bit of data (at least right now) into the application. There may be other things we need later, and off the top of my head I can say for sure bounding boxes are needed which we don’t have in there all [...]


WMO is Me!

Back from a bit of a break (and a lot of pulling on my hair getting this ready) to show everybody here how to handle WMOs. You wouldn’t believe how much of a pain it was to convert my old junk code into quality looking code; however, I have done it just for you! (not [...]


Getting thirsty? Everything you wanted to know about WATER!

Well this next installment will be a bit easier (assuming you’ve been paying attention) and is going to cover only two areas. The first obviously will be adding water to our map. The second is going to be loading multiple ADT files (just a quicky on a hack method so you can play with it).


Getting the data out of the ADT Files - Part 5

With any luck this should be the last post in the ADT series. If not… well I’m sorry for lying to you this soon. In this post we are going to take all of our data and put it into a triangle list finally. We are also going to go through very quickly on how [...]


Getting the data out of the ADT Files - Part 4

I know this is pretty back-to-back from the last one, but I mainly didn’t want to have any overly long blog posts. At least not longer then they need to be. From our previous installment we created a ADTManager.cs file that we are going to be working on this time around.


Getting the data out of the ADT Files - Part 3

I started an IRC channel on irc.lavishsoft.com:6667 called #mpqnav if you would like to join!
Well I’ve done a lot more thinking and planning on how I wanted to carry on with this blog and as mentioned before the code has changed slightly. Don’t feel bad as we didn’t have that much code to begin with [...]


Getting the data out of the ADT Files - Part 1.

The first hurdle that I went with was getting the data out of the ADT files. I went with this first as it seemed like a good place to start and looked easy enough. Before diving into that we should go over some basic information about how WOW’s world is setup including their coordinate grid [...]


MPQ, ADT, WMO, M2, Oh My!

The first step in getting to a finished navigation mesh is to get the data that you need, but how? Well WOW has a collection of MPQ files found in the data sub-directory (under the main installation). These files are actual archives of many other files. The ones we are interested in are:

ADT
WMO
M2

These files contain [...]