Hello there.
Welcome to the first guide made by Newtech. Yes, THE Newtech =D
This guide, is made from pure experience, so if you dont believe in selftaught stuff, exit this topic now.
Before we begin, I'd like to say, this is only dedicated for people who knows:
Now, lets continue :>Code:How to open and use Noggit. How to use FileInfo.exe and LoadInfo.exe the structure of the TXT's created from dragging an ADT onto FileInfo
There is quite a few things that could go wrong, when editing a TXT created with FileInfo. In this guide I will be showing what the most common results of bugged files is. Lets begin with the first part.
First possible error
The TXT looks like this:
[SPOILER]MMDX 0
MWMO 0
MDDF 0
MODF 0
[/SPOILER]
Now, we'll look at the first line. 'MMDX 0'. We know, that for each Doodad, added, we need to take the current number, and plus with the amount of new lines we've added. If that number is lower than the lines, it will F*CK up the entire ADT when its loaded. Lets say we had the following line:
[SPOILER]MMDX 1
0 world\azeroth\elwynn\passivedoodads\elwynnfences\elwynnwoodfence01.mdx
1 world\azeroth\elwynn\passivedoodads\elwynnfences\elwynnwoodpost01.mdx
MWMO 1
0 World\Wmo\Azeroth\Buildings\Human_Farm\Farm.Wmo
MDDF 1
1 300107 1096.576172 13.998034 1594.182007 0.666666 -102.666702 -2.000001 1024
MODF 1
0 100100 1186.112427 28.847040 1179.097900 0.000000 -100.000000 0.999999 1185.112427 27.847040 1178.097900 1187.112427 29.847040 1180.097900 0
[/SPOILER]
The smart guy, will notice, that the first line is wrong, since it says 1 in count, but there is 2 lines. Now, if this is the case when you do LoadInfo, the result will become the fact, that all objects will be gone in Noggit, and if you dont make a backup of your TXT file before you do FileInfo again, that will be gone too. I dont know exactly why, but I'd assume its because when loading it into the ADT, the lines after the amount of paths, you tell it to load, then FileInfo expects it to be the 'MWMO' shown, but as it isnt, it just fcks it up, and deletes everything, except the first line.
Also said, when extracting the info from the ADT again, it will look like this:
[SPOILER]MMDX 1
0 world\azeroth\elwynn\passivedoodads\elwynnfences\elwynnwoodfence01.mdx
MWMO 0
MDDF 0
MODF 0[/SPOILER]
which we dont want (obviously)
The second possible error
This one is pretty basic. If you type something wrong in the treepaths, either Noggit will crash, or the object wont show up. The reason that Im not being 100% precise here, is cause the result is different here, depending on your Noggit revision. The result of the TXT file if you export it again, will be the same, as FileInfo doesnt check if the treepath is spelled correctly. It just loads it into the ADT anyway.
The third possible error
This one is pretty much like the first one. Now we have the 'MWMO 0' line. Like the first, if you type a number too low, it'll continue and delete the remaining text.
The fourth possible error
Its pretty much like the second possible error. If you type something wrong, Noggit will crash, or wont show the specific object. End of story x)
The fifth possible error
This is the part where we begin with debugging info about the placing and such, of the objects. Now, we go into the doodads information "box" (where is says 'MDDF' and look at that... There can be various issues here. Therefore we'll put it into different spoilers :>
[SPOILER]The first one is, make sure the first number is actually connected with the correct treepath. If it isnt, and isnt connected with any treepath at ALL, it will set to 0 all the way through the entire line.[/SPOILER]
[SPOILER]Second is, we all know that the second number in the line, is the unique ID (for private server DB editors, you can call it the EntryID).
Now, if that has the same number as another object on an ADT on the same map, it just wont load the TXT, understood in the way, that it will reject it. Simply wont update. Will remain, as if you havent tried to import the info from the TXt.[/SPOILER]
[SPOILER]Third. There isnt really much from here and further on, just make sure that the coords and rotations are correct, and the size is 1024. the size, you most likely want to edit in Noggit. You can also edit it in the TXT, if you know the exact size, but yeah. Suit yourself xD[/SPOILER]
The sixth possible error
The sixth reminds pretty much of the fifth error, so read it carefully, and I think you should be good :> Just read the fifth error report again, and replace every "doodad" with "WMO" or "OBJECT" or whatever you feel, is a good word for the WMO's :P
Last tip. FOR GOD SAKE! Dont make spaces in the TXT with the spacebutton, DO IT WITH THE TAP BUTTON >_< I didnt really fail much in that, cause I usually also skip to the next button and such in programs, but many might slip in a space instead of tab.
Thanks
Newtech