Page 1 of 1

How to add Custom Sounds to PR

Posted: 2017-07-20 09:40
by Tango Mike
Hello!

I'm new to this Form and I have no Idea where to post that Thread. I hope you are not going to delete this Thread just because I posted it at the wrong place.

Anyways, I need your help. I have the standalone version of PR and I've been playing it sience 3 years now.
BUT (for Singleplayer only,) I want to change some Weapon sounds. The G36 for exapmle.
So I found the Folder with all of the WAV files.

Volume D:>Programs>Project Reality BF2>Mods>PR>Content>objects_weapons_client.zip\weapons\handheld\gerrif_g36\sounds

There are Indoor, Outdoor (..) sounds of course. At first I only want to change the Outdoor sound.
So I created my own WAV File (my own G36 Sound) and renamed it g36_1p.wav. That way, I could simply Overwrite that sound.
I made Backups of course.

I Booted up PR, loaded a German Map (Lashkar Valley) and My G36 makes no sound. I have no Idea What I have to do in order to hear my custom sound ingame.
I also changed a TWEAK files, to make that sound louder, but that did not work too. I changed that TWEAK file to original after that.
Also, I know about this 'Looping effect' you have to add in order to hear your gun firing in Full Auto.

I hope you can help me with my Problem.
Cheers

Posted: 2017-07-20 09:52
by Mineral
Did you export using bf2 sound tools? I think that is necessary

Re: How to add Custom Sounds to PR

Posted: 2017-07-20 13:32
by Tango Mike
[R-DEV]Mineral wrote:Did you export using bf2 sound tools? I think that is necessary
No I did not use that Tool. Do you know where I can find it?
EDIT: I found it. Sorry.

Re: How to add Custom Sounds to PR

Posted: 2017-07-20 18:01
by Tango Mike
-Still unsolved-

Re: How to add Custom Sounds to PR

Posted: 2017-07-20 18:13
by Jabil_One
Can you post the part of the tweak with the sounds in a codebox please?

Re: How to add Custom Sounds to PR

Posted: 2017-07-22 13:09
by Tango Mike
Jabil_One wrote:Can you post the part of the tweak with the sounds in a codebox please?
I don't really know what you mean, sorry.
Do you know how to add sounds to PR?

Re: How to add Custom Sounds to PR

Posted: 2017-07-22 14:45
by Jabil_One
Ok, seems like you changed nothing in the tweakfile.
Did you export using bf2 sound tools? I think that is necessary
Than that is the problem. Your sound cant be played because of format or whatever.

Re: How to add Custom Sounds to PR

Posted: 2017-07-24 17:44
by Tango Mike
Jabil_One wrote:Ok, seems like you changed nothing in the tweakfile.


Than that is the problem. Your sound cant be played because of format or whatever.
Ok thank you. That already helped me a lot. I downloaded Bf2 sound tools and I'm honestly loosing my mind. It's so complicated. Nevermind, Thank you.

Re: How to add Custom Sounds to PR

Posted: 2017-07-25 05:13
by RUSSIAN147
Create your custom sound making sure to save it as a .wav file (44khz for first person 16 bit, and 22khz 16 bit for third person), take note of how fast you want the weapon to fire ie 600 rounds per minute etc, then you use the bf2 sound tools add region tool, put in your desired weapons fire rate and hit okay. In the folder you have specified to save to, you will now have your new weapon sound that will loop at the correct rate when firing. Place the new sound in the weapons sound folder and make sure the names match or edit the tweak file to point to your new custom sound ie "objects/weapons/handheld/gerrif_g36/sounds/g36_fire_1p.wav". Hope this helped you out.

Re: How to add Custom Sounds to PR

Posted: 2017-07-25 05:42
by TBob
3p doesn't need 22khz, it should be mono though.

Re: How to add Custom Sounds to PR

Posted: 2017-07-25 08:12
by RUSSIAN147
TBob wrote:3p doesn't need 22khz, it should be mono though.
I should have specified that it doesn't need it, but it does save space.

Re: How to add Custom Sounds to PR

Posted: 2017-07-27 18:39
by Tango Mike
RUSSIAN147 wrote:Create your custom sound making sure to save it as a .wav file (44khz for first person 16 bit, and 22khz 16 bit for third person), take note of how fast you want the weapon to fire ie 600 rounds per minute etc, then you use the bf2 sound tools add region tool, put in your desired weapons fire rate and hit okay. In the folder you have specified to save to, you will now have your new weapon sound that will loop at the correct rate when firing. Place the new sound in the weapons sound folder and make sure the names match or edit the tweak file to point to your new custom sound ie "objects/weapons/handheld/gerrif_g36/sounds/g36_fire_1p.wav". Hope this helped you out.
Yes, you defenetly helped me, Thank you!

But I still have some Problems:
I downloaded Bf2 sound Tools and there are a bunch of Files and Programs like:

Ogginfo.exe
Checkout_wav_setup_for_bf2_2 or
Compile_ogg_for_BF2

Now, I have no Idea where to start.

I'm sorry for being stupid, but I'm new to 'modding'.


I hope you help me.