This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] In which DBC are mount sounds defined?  (Read 1151 times)

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
[SOLVED] In which DBC are mount sounds defined?
« 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 :
  • 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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [SOLVED] In which DBC are mount sounds defined?
« Reply #1 on: November 18, 2015, 10:29:52 pm »
SOLVED:

Mount sounds are defined in the ObjetEffectPackageID field of the CreatureDIsplayInfo.dbc! :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Namok

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 85
    • View Profile
Re: [SOLVED] In which DBC are mount sounds defined?
« Reply #2 on: November 18, 2015, 11:34:56 pm »
I was looking for where the sounds were stored, thank man ! :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Food, food, food.

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [SOLVED] In which DBC are mount sounds defined?
« Reply #3 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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »