Page 1 of 1

Modding sounds

Posted: Tue Aug 19, 2014 5:47 pm
by nootnoot8
So I would like to mod the various gun noises to be something different but I dont know how to do so. I though I did by going into resources, pak10-BaseSkin and changing the gun SMG noises fire1, fire2,fire3 and fire4 to my desired sound which I found of the internet and is someone saying *Pew* (Dont judge me :D) I then went into the game but it wasnt going Pew. :( Can someone give me a hand?

Re: Modding sounds

Posted: Thu Aug 21, 2014 2:51 pm
by tobi9sc
check if it's .wav and check the name of the sound file

Re: Modding sounds

Posted: Thu Aug 21, 2014 3:24 pm
by nootnoot8
It is .wav and i renamed it fire1 ,2, 3 ect ect....

Re: Modding sounds

Posted: Thu Aug 21, 2014 5:39 pm
by bloodfox
The .wav files might be corrupted.

Re: Modding sounds

Posted: Fri Aug 22, 2014 2:03 am
by Hot Dog
The reason why it didn't work is pretty simple once you figure it out. All that is wrong is you put in the incorrect names for the wav files. I quick way to check what the correct name of the .wav files are, is to go to the view.as script for whatever you want to mod. In your instance you would check the one for the smg. Here's the part of the script that you need to look at:
Code: Select all
             @fireSounds[0] = dev.RegisterSound
				("Sounds/Weapons/SMG/FireLocal1.wav");
			@fireSounds[1] = dev.RegisterSound
				("Sounds/Weapons/SMG/FireLocal2.wav");
			@fireSounds[2] = dev.RegisterSound
				("Sounds/Weapons/SMG/FireLocal3.wav");
			@fireSounds[3] = dev.RegisterSound
				("Sounds/Weapons/SMG/FireLocal4.wav");
			@fireFarSound = dev.RegisterSound
				("Sounds/Weapons/SMG/FireFar.wav");
			@fireStereoSound = dev.RegisterSound
				("Sounds/Weapons/SMG/FireStereo.wav");
			@reloadSound = dev.RegisterSound
				("Sounds/Weapons/SMG/ReloadLocal.wav");
This shows you all the sounds the script uses for sounds in the first person. The wavs you made are for the third person. If you stick 'Local' in-between the Fire and the Number it makes it into the first person sounds. If you hear popping or other peculiar sounds, add FireFar and FireStereo in there.

Re: Modding sounds

Posted: Fri Aug 22, 2014 11:34 am
by nootnoot8
Thanks! :D