Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Getting started the WoTtLK tutorial => Workboard => Topic started by: Steff on December 08, 2012, 01:03:55 am

Title: 12 - Move maptiles on a map or to another map
Post by: Steff on December 08, 2012, 01:03:55 am
Move ADTs on a map or to another map
Title: Re: 12 - Move maptiles on a map or to another map
Post by: Steff on June 07, 2013, 01:28:04 pm

Description



Sometimes you have to move some adts on a map or even move them to another one.
This is very easy. You just have to rename the adts, Offsetfix them and rebuild the WDT file(s).
I will descripe here to move to another map. The move on a map task is nearly the same but you don´t need to change the mapname.  And you have only to update the WDT for one map.


Moving means renaming



The position of an ADT on the map is defined by it´s name and the values inside.
To move it we now first need to rename it.
Move the ADT files you want to move from the map folder to the Tools/ADTAdder folder.



Offset fix



Now if you have renamed all the files right, we need to update the model positions inside the ADTs.
For this taks just run the fix.bat included in the ADTAdder folder. It will run the CMD tool OffsetFix on every adt and fix the valus inside the ADT to its new position taken from its name.


WDT update



Next you need to update or create the WDT file like