Own sound when a zombie dog dies.

Stexder

New member
Hey, it's been a while since the last time we discussed the topic of "integrating your own sound".

Now I hope there is some help for me with this topic:

I have a WAV file that I want to play when a zombie dog dies.

Now I've come across the following in the Sound.xml:

<AudioClip ClipName="DirectoryPathFromAssets/WaveFileName" AudioSource="DirectoryPathFromAssets/AudioSourceName"/>

<AudioClip ClipName="DirectoryPathFromAssets/WaveFileName" DistantClip="DirectoryPathFromAssets/WaveFileName"

I thought that I could play the WAV file directly with this, but unfortunately that's not the case.

I might be doing something wrong. this is what my path currently looks like:

<SoundDataNode name="zombiedogdeath"> <AudioSource name="Sounds/AudioSource_Pain"/>
<AudioClip ClipName="/Bad_Dog"/>
<Channel name="Mouth"/>
<Priority name="0"/>
<maxVoicesPerEntity value="1"/>
<LowestPitch name="0.95"/>
<HighestPitch name="1.05"/>
<LocalCrouchVolumeScale value="1.0"/> <CrouchNoiseScale value="0.5"/> <NoiseScale value="1"/> <MaxVoices value="10"/> <MaxRepeatRate value="1.111"/> </SoundDataNode>

Unfortunately it doesn't work.

can someone PLEASE PLEASE tell me how I insert my file and replace the old death sound? With an example path or something?

or do I have to save the file to a specific location?
help. :/?)

 
Basically, you need to put the sound file you want into Unity and export it as a unity3d file. Then you need to create a folder for it and put it in your mods folder. Then you need to create the proper XML document that directs the sound to the dog while making sure you have all the other basics in place for a properly functioning mod. 

 
Last edited by a moderator:
Back
Top