Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: nrj45 on September 14, 2013, 07:53:05 pm

Title: Sound for m2
Post by: nrj45 on September 14, 2013, 07:53:05 pm
I want to set up my object to put music to come up to him when playing certain music (the music is added to the dbc) please tell me how to model m2 it add?

Looked at a ready-made model with music in her structure differs from mine here it is:
(http://f.simka-wow.ws/uploads/imgs/thumb_pre_1379181022__122.png) (http://f.simka-wow.ws/uploads/imgs/pre_1379181022__122.png)

And my model is no such top entry struct sEvents _Events [2]:
(http://f.simka-wow.ws/uploads/imgs/thumb_pre_1379181081__123.png) (http://f.simka-wow.ws/uploads/imgs/pre_1379181081__123.png)


Help me please, what you need to do to add music to the created object?
Title: Re: Sound for m2
Post by: schlumpf on September 14, 2013, 11:22:59 pm
Sub-structures with a null size or offset are not shown. Add some null-bytes at the end and set offset to that address and count to 1. Also, I'd suggest using $SND.
Title: Re: Sound for m2
Post by: nrj45 on September 14, 2013, 11:30:50 pm
Can you give more detail, if possible with screenshots please?
Title: Re: Sound for m2
Post by: schlumpf on September 15, 2013, 12:11:33 am
Title: Re: Sound for m2
Post by: nrj45 on September 15, 2013, 12:37:06 am
Help please I still do not understand how to do, you can change the model here is that you need to add and where you want and I'll see?
Title: Re: Sound for m2
Post by: schlumpf on September 15, 2013, 01:09:49 am
I'd prefer of you try asking about the part you don't understand or even saying which one it is.
Title: Re: Sound for m2
Post by: nrj45 on September 15, 2013, 01:20:52 am
Please specify where and what do I need to put in, I do not understand this, and would love to add music to the objects created by me.