PDA

View Full Version : Azone2


Randymarsh9
07-16-2009, 12:48 PM
Can anyone tell me what this does and how you use it?

Derision
07-16-2009, 01:41 PM
It creates the .map files that zone uses to know where the ground and walls are so it can determine such things as whether you have line-of-sight to a target when casting spells.

If you have the azone2 executable in the same directory as eqgame.exe and run it, specifying a zone short name, it will create a .map which you can then copy over to your server Maps directory:

M:\titanium>azone2 qeynos2
AZONE2: EQEmu .MAP file generator with placeable object support.
There are 58410 vertices and 19470 faces.
Processing azone.ini for placeable models.
No azone.ini entry found for zone qeynos2.s3d
After processing placeable objects, there are 58410 vertices and 19470 faces.
Bounding box: -1099.56 < x < 1099.56, -258.91 < y < 1999.19
Building quadtree.
Done building quad tree...
Match counters: 107825 easy in, 299917 easy out, 2686 hard in, 0 hard out.
Writing map file.
Map header: Version: 0x01000000. 19470 faces, 245 nodes, 26676 facelists
Done writing map (1.07MB).

M:\titanium>dir qeynos2.map
Volume in drive M has no label.
Volume Serial Number is C80A-2DCA

Directory of M:\titanium

16/07/2009 18:30 1,125,283 qeynos2.map
1 File(s) 1,125,283 bytes
0 Dir(s) 132,522,459,136 bytes free

M:\titanium>


One thing to be aware of is if for zones that have two versions, e.g. arena, it will look for the .s3d file first, so if you want to create a .map for arena.eqg, you need to rename arena.s3d to arena.s3d.old or something before running azone2.

I don't think it comes ready compiled in the Windows executable package on the source code SVN, so your best bet is to get a copy from the Maps SVN that Angelox set up:

http://eqemumaps.googlecode.com/svn/trunk/azone_utils/

Randymarsh9
07-16-2009, 02:10 PM
Thanks derision. That worked perfectly and got rid of the problems I was having with the arena.