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: [QUESTION] [WotLk] give sound to npc?  (Read 912 times)

Thoraric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 53
    • View Profile
[QUESTION] [WotLk] give sound to npc?
« on: May 11, 2016, 11:53:52 pm »
I created new line in Soundentries.dbc and added some new sound.wav file.
How to add my soundentries.dbc ID-s to specific NPC-s in the game?
For example i spawn an npc which doesn't have any voice or sound, and I want to give him sound if i left-click him he should say greetings or something.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] [WotLk] give sound to npc?
« Reply #1 on: May 12, 2016, 12:08:25 am »
CreatureSoundData.dbc
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] [WotLk] give sound to npc?
« Reply #2 on: May 12, 2016, 11:12:12 am »
https://wowdev.wiki/DB/CreatureDisplayInfo
Field #13. Reffers to:
https://wowdev.wiki/DB/NPCSounds
Which reffers to sound entries you've made.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] [WotLk] give sound to npc?
« Reply #3 on: May 12, 2016, 11:19:02 am »
Note that there are multiple ways to NPCSounds: Either via CreatureDisplayInfo or via CreatureSoundData which is referenced from either CreatureDisplayInfo or CreatureModelData. It depends on how specifically you want to override them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Thoraric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 53
    • View Profile
[SOLVED] Re: [QUESTION] [WotLk] give sound to npc?
« Reply #4 on: May 12, 2016, 01:10:39 pm »
Thank you guys
« Last Edit: January 01, 1970, 01:00:00 am by Admin »