Forum > Tools

[TOOL] Convert WoD adts to Legion (010Editor script)

(1/3) > >>

Arektor:
Hello there, modcraft community!

I have for a while been looking for a tool to convert WoD (or even wotlk) adts to Legion, as you could no longer see any object, and after a whole day of research without any result, I decided to take a look at the wiki and try to do it by myself. Which I somehow succeeded to.

I then decided to write a 010Editor script so I could at least give people something usable and let the hope of modern modding shine.

I doesn't do everything it should, could cause some errors, isn't fully optimal but it works - at least for me.
Tried it on lostisles adts that have been ported on WotLK for noggit, then verted to WoD with PhilipTNG 010Editor scripts, and haven't got any problem yet.

Further "technical" details below, here is the link for the impatient folks: https://www.dropbox.com/s/gspldv71wdx5q10/ADT-Legion-Conversion.1sc?dl=1
You need to apply the script on the _obj1.adt file ONLY. If you don't have one, simply copy the _obj0.adt, rename it to the _obj1 part and use the script on it.




Bad things that I'm aware of:

* The m2 models never had a CAaBox in the adt, so I created one from the object coords with a default radius of 300, which you can change at the very beginning of the script, in the "configuration part"
* The WMO models got their CAaBox moved and they are now written the same way as m2s. The thing is I messed up the "cut/paste" part of this and went on completely removing the old CAaBox and creating a new one with a default radius of 300, exactly like I did for m2s
* The MLFD chunk is not added, because the _lod.adt part is not created as it seems optionnal and I first of all wanted something working.
If this script can help some people to make their own converter with better and smoother results, then I'd be happy to know about!
This is completely free of any exigence, I do not ask for any credit if you plan to reuse this or anything. You do your own business, I do mine, if you want to "steal" it and claim it as yours, well, this is the almighty internet and I won't care much!

schlumpf:
I haven’t checked the script, but have you found anything that’s not on the wiki?

Arektor:

--- Quote from: schlumpf on December 25, 2017, 03:30:21 pm ---I haven’t checked the script, but have you found anything that’s not on the wiki?

--- End quote ---
Unfortunally not, I am far from having a solid experience with all of this, and it was an enormous surprise to me when I managed to do this conversion. All I did was looking at the wiki, compare a wod obj1 adt to a legion one and theorize on what should be done step-by-step, which I then reproduced within the script.

Mr. DK:
Hey,

tried your script today I converted both obj (o and 1) becasue otherwise i got a streaming error. Now when I enter the map I have no ground as you can see on the screenshot. Any idea what might cause this?

Arektor:
Most probably because you used the legion conversion on the obj0 part. If I said that it is only for the obj1, it is because only the obj1 adt part has changed.
About the streaming error, are the adts working on WoD (without legion conversion)? If not, then the problem doesn't come from here.

Navigation

[0] Message Index

[#] Next page

Go to full version