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: Model's sound  (Read 6394 times)

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Model's sound
« on: May 12, 2015, 08:45:40 pm »
Hey guys,

I've got a custom model and I don't know how to add sound effects to an animation. (I need to add a sound to the Run animation), the sound is already is in the soundentries.dbc.

Somebody know how to do this?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Model's sound
« Reply #1 on: May 12, 2015, 09:51:34 pm »
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #2 on: May 14, 2015, 06:34:22 pm »
Quote from: "Ascathos"
This is where http://wowdev.wiki/index.php?tit ... tLK#Events comes up.

Thank you but i need more info. (whick dbc-s i need or do something in the 010 editor..)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: Model's sound
« Reply #3 on: May 15, 2015, 01:47:14 am »
Look at an existing M2 in 010 editor combined with the link from Ascathos and actually learn it rather than have someone do you a disservice and just tell you to do steps a, b, and c.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #4 on: May 16, 2015, 11:09:20 am »
Quote from: "kojak488"
Look at an existing M2 in 010 editor combined with the link from Ascathos and actually learn it rather than have someone do you a disservice and just tell you to do steps a, b, and c.
yes, i see a row in the 010 editor:  strstruct sEvents _Events[11] , so i need to edit this? And please can you help me whick dbc's i need to edit?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: Model's sound
« Reply #5 on: May 17, 2015, 03:28:55 pm »
Quote from: "ladiszlai"
Quote from: "kojak488"
And please can you help me whick dbc's i need to edit?

If the sound is already in the dbc then you don't edit any dbcs...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #6 on: May 17, 2015, 11:07:37 pm »
Quote from: "kojak488"
Quote from: "ladiszlai"
Quote from: "kojak488"
And please can you help me whick dbc's i need to edit?

If the sound is already in the dbc then you don't edit any dbcs...

ok, so only  the soundentries.dbc, now i need help about how to add the sound's direction in the 010 editor( the run animation event id is $Rs0).

Please can you say me how can i do this?

Thank you
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Model's sound
« Reply #7 on: May 18, 2015, 04:07:56 am »
Quote from: "ladiszlai"
Quote from: "kojak488"
Quote from: "ladiszlai"
Quote from: "kojak488"
And please can you help me whick dbc's i need to edit?

If the sound is already in the dbc then you don't edit any dbcs...

ok, so only  the soundentries.dbc, now i need help about how to add the sound's direction in the 010 editor( the run animation event id is $Rs0).

Please can you say me how can i do this?

Thank you
You have the template, what more do you need ? oO
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #8 on: May 18, 2015, 05:22:20 pm »
Quote from: "Ascathos"
Quote from: "ladiszlai"
Quote from: "kojak488"
Quote from: "ladiszlai"
Quote from: "kojak488"
And please can you help me whick dbc's i need to edit?

If the sound is already in the dbc then you don't edit any dbcs...

ok, so only  the soundentries.dbc, now i need help about how to add the sound's direction in the 010 editor( the run animation event id is $Rs0).

Please can you say me how can i do this?

Thank you
You have the template, what more do you need ? oO

"i need help about how to add the sound's direction in the 010 editor." You can read? :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: Model's sound
« Reply #9 on: May 19, 2015, 03:11:12 am »
I'm sorry for the misinterpretation.  He was being sarcastic and saying that you have all the information available that's needed to complete this and that you should try to figure it out yourself rather than have someone give you the answer.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #10 on: May 19, 2015, 10:18:46 am »
Quote from: "kojak488"
I'm sorry for the misinterpretation.  He was being sarcastic and saying that you have all the information available that's needed to complete this and that you should try to figure it out yourself rather than have someone give you the answer.

Ok sorry , but i really i don't know how to do this in the 010 editor .

So nobody know how to do?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #11 on: May 20, 2015, 08:44:43 pm »
Quote from: "kojak488"
Many of us know how to do it.  Honestly, you're trying to run before you walk if this stuff is above your head.

you very helpfull....
« Last Edit: May 22, 2015, 11:25:09 pm by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Model's sound
« Reply #12 on: May 21, 2015, 08:48:44 am »
You need to add a $SND event. Do you mean direction a in relate to sound or as in related to how to add them?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #13 on: May 24, 2015, 12:16:37 pm »
Quote from: "schlumpf"
You need to add a $SND event. Do you mean direction a in relate to sound or as in related to how to add them?

I know but how?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Model's sound
« Reply #14 on: May 24, 2015, 01:14:14 pm »
Depends on how you edit the file.

Technically, move the entire events block to the end of the file, so you can extend it. Be sure to adjust the offset to the events block in the header. Then, add enough blank space behind it to hold one more record and increase the count in the header. At that point the template or whatever you are using will help you with filling out the event record. For the animation block / timestamp block, add free space again at the end of the file.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »