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
-
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
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
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 :
- Tried setting the SoundData field of CreatureModelData.dbc to 2694 (same as Mekgineer's Chopper) didn't change anything in-game
- Tried using all the same flags as Mekgineer's Chopper for my mount in creature_template (well, I now see the HUD of the chopper in the upper-left corner, as would be expected, but still no sound)
-
SOLVED:
Mount sounds are defined in the ObjetEffectPackageID field of the CreatureDIsplayInfo.dbc! :D
-
I was looking for where the sounds were stored, thank man ! :)
-
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)