related:
http://www.mmowned.com/forums/wow-me...n-editing.html
I was going to do a quick update of my Terrain Management UDF for 3.1.0.
But I quickly figured something was wrong.
ADT's and WMO's are like normal, a few offsets have changed and the structure have been reworked a bit like it usually do but its peanuts.
However the M2 format have been COMPLETELY remade.
A few sub strucs seem intact (position and rotation) but the rest is completely new.
I must say the pre 3.1.0 structure was a mess and filled with redundant data so i can clearly understand that they decided to redo it.
The new structure is based upon the same structure they use for Terrain with a linked list with both links to next and previous object (before they only had link to next)
Collision, and render offsets have now moved to a dedicated structure while the object position and flags are located in the main structure.
The main structure is a mix of all the object managers so now there are not 1 structure for serverside object, 1 for client side, 1 for "items" etc..
They are now all added to the same structure.
It appears that this new structure also links to each individual object's sub structure. If so it would really ease up ingame object manipulation as the new structure could server as a hub for everything.
Im a bit too drunk to sit and reverse the new strcture and the sub strucs, but if someone are interested feel free this early version of the 3.1.0 terrain manager.
http://www.madx.dk/files/TerrainManagementV3.rar