Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Roarl on November 17, 2015, 10:46:38 pm

Title: [SOLVED] In which DBC are mount sounds defined?
Post by: Roarl on November 17, 2015, 10:46:38 pm
Hi everyone,

A very short and precise question :
In which DBC are mount sounds defined?

I mean, I added a custom mount in spell.dbc, works allright...
But it doesn't make any sound while at rest or moving...

So I went into creaturemodeldata.dbc to check how things worked for the chopper (iD 2862), saw it was linked to ID 2694 in CreatureSoundData.dbc and... Well it's a dratting dead end : EVERY column of this row is 0.
Not feeling discouraged yet, I still create a row in the latter DBC for my custom mount, fill SoundStandID and SoundFootstepID with references to two rows in SoundEntries.dbc and still no sound in-game.

Rows created in SoundEntries.dbc
Code: [Select]
18031,27,"SubaruImpreza-Standing","Standing.mp3","","","","","","","","","",1,1,1,1,1,1,1,1,1,1,"SoundCreatureSubaruImpreza",1.79999995232,0x0,7.0,30.0,0x0,0,
18032,27,"SubaruImpreza-Driving","Driving.mp3","","","","","","","","","",1,1,1,1,1,1,1,1,1,1,"SoundCreatureSubaruImpreza",1.79999995232,0x0,7.0,30.0,0x0,0,

Rows Created in CreatureSoundData.dbc
Code: [Select]
3109,0,0,0,0,,0,0,18031,18032,0,0,0,0,0,0,0,0,0,0,0,0x0,0x0,,0,0,0,0,0,0,0,0.0,0.0,0,0,0,0,0,

Of course, I did set the SoundData field of my custom mount's creaturemodeldata.dbc row to 3109.

Would someone bother telling me what I am doing wrong, pretty please?  =3 *pouts*

Regards.

UPDATE :
Title: Re: [SOLVED] In which DBC are mount sounds defined?
Post by: Roarl on November 18, 2015, 10:29:52 pm
SOLVED:

Mount sounds are defined in the ObjetEffectPackageID field of the CreatureDIsplayInfo.dbc! :D
Title: Re: [SOLVED] In which DBC are mount sounds defined?
Post by: Namok on November 18, 2015, 11:34:56 pm
I was looking for where the sounds were stored, thank man ! :)
Title: Re: [SOLVED] In which DBC are mount sounds defined?
Post by: Roarl on November 19, 2015, 04:16:41 am
My pleasure! :D

Well, I think you have to use the ObjetEffect dbc's for "mechanical" mounts (you only find mechanical sounds in these dbc's),
but I guess you still have to use CreatureSoundData.dbc for "standard" mounts.

[confirmed]

(Mine was a mechanical one sooo haven't tested it for other mounts. I'll test the "standard" mount part tomorrow though coz it's pretty late here :3)