Forum > "Retro-Porting"
[TUTORIAL] [VIDEO] How to Convert Cata/MoP WMOs to WoTLK
<< < (8/8)
Gurluas:
A little update: Certain textures in Cata/MOP/WOD wmos may have black textures in spite of you fixing everything. I have discovered that this is related to a version tag. For example: The WOD Townhall level 3 has black windows, and the window texture has a version 17. Change that to 0 and the texture works.
Shelldon:
--- Quote from: "Gurluas" ---Any luck remembering what some of those other steps may be? I looked through some of your converted wmos, and in many of them the UINT32_flags_2 is 10 While the UINT32_flags is usually a very odd number like "00000000 00000000 00000000 00001100,b"
I have set the long value to 0 every time it exceeded 110b because that's what was done in the others. I removed SBOM, yet it crashes immediately ingame.
EDIT: Both Flags 2 and flags 1 have to be set. So values like 1100b just change them to 0 --- End quote ---
Set them to 0 is not very good decision. You will lost a lot of wonderful effects of your wmo. Try to convert some cave or mine from MoP/Cata using this method and you'll get what I'm talking about. Few experiments with this values allowed me to make this script (most of textures' blending and effects will work, maybe not the same way they works on cata/mop, but better then setting them to 0).
You have to use wmo template on your root wmo using this.
uint32 i; for( i = 0; i < wmo_file.momt.i; i++ ) { if (wmo_file.momt.entry.flags == 7) { wmo_file.momt.entry.flags = 6; } else if (wmo_file.momt.entry.flags == 13) { wmo_file.momt.entry.flags = 6; } else if (wmo_file.momt.entry.flags == 6) { wmo_file.momt.entry.flags = 6; } else if (wmo_file.momt.entry.flags == 4) { wmo_file.momt.entry.flags = 4; } else if (wmo_file.momt.entry.flags == 3) { wmo_file.momt.entry.flags = 3; } else if (wmo_file.momt.entry.flags == 1) { wmo_file.momt.entry.flags = 1; } else if (wmo_file.momt.entry.flags == 2) { wmo_file.momt.entry.flags = 2; } else if (wmo_file.momt.entry.flags != 5) { wmo_file.momt.entry.flags = 0; } }
FileSave(); FileClose();
Looks not very good, made it long time ago, but works as it should.
darksoke:
Does anybody have by any chance working Mogu'Shan Vaults and Firelands ? I'm wiling to pay for working adts and wmos, having the dbc data is a plus :D thank you :)
Navigation
[0] Message Index
[*] Previous page
|