View Single Post
  #16  
Old 10-14-2010, 09:36 PM
Shadows91
Fire Beetle
 
Join Date: Jun 2009
Location: ..nosey!
Posts: 7
Default

Strip AZone2 (the source code is included in eqemu's svn package) for zone file parsing.

As an example, I wrote a small zone viewer. you can find the source code: HERE

To build the zone viewer, open the 'EQNavigation' solution file (it's located in the 'EQNavigation' folder) using Visual Studio, then build and run the project (press 'F5').

You'll be prompted for an output folder (it asks about something not so kosher). Just ignore that bit, since you don't really care about navmesh generation.

Once the GUI is up, Click the 'Choose Zone...' button to open the zone list and select a zone from the zone list to load the geometry. Your zone will then load and render (sorry, it doesn't render textures -- yet!..anyways, it'd be nice if you added such a feature and shared your source code).

Hold right mouse button to pan the camera and W,A,S,D keys to move around. To increase the speed of the camera, hold shift and\or alt.
Reply With Quote