Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: Kiun on June 07, 2014, 09:43:18 pm

Title: [QUESTION] Add Doodads/Doodads Set to custom wmo
Post by: Kiun on June 07, 2014, 09:43:18 pm
I'm looking a way to add doodads to my custom wmos.
The programs for adding doodads that I've found doesn't support custom wmos so I tried to add it manually editing hex code but I can't get it working.
For what I know, I have to edit MODS, MODN, MODD chunks + nDoodads, nSets and nModels in header.
I'm just adding 1 simple doodad and everything looks how they are supposed to look for working:

(http://imageshack.com/a/img850/3002/fdkv.png)

However, when I enter in the map where the wmo is, WoW crashes giving the next error:

(http://imagizer.imageshack.us/a/img855/6320/b3zr.png)

I don't know what I'm missing, maybe bad code writing with 010 editor though running the template gives no errors.

If anyone knows how to add doodads to custom wmos or can enlighten me with manually adding through hex edit would help me a lot!

Thanks.