How to add Custom Sounds to PR

Making or wanting help making your own asset? Check in here
Post Reply
Tango Mike
Posts: 15
Joined: 2017-07-20 08:57

How to add Custom Sounds to PR

Post 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
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Post by Mineral »

Did you export using bf2 sound tools? I think that is necessary
Image
Tango Mike
Posts: 15
Joined: 2017-07-20 08:57

Re: How to add Custom Sounds to PR

Post 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.
Last edited by Tango Mike on 2017-07-20 13:37, edited 1 time in total.
Reason: Nevermind
Tango Mike
Posts: 15
Joined: 2017-07-20 08:57

Re: How to add Custom Sounds to PR

Post by Tango Mike »

-Still unsolved-
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: How to add Custom Sounds to PR

Post by Jabil_One »

Can you post the part of the tweak with the sounds in a codebox please?
Tango Mike
Posts: 15
Joined: 2017-07-20 08:57

Re: How to add Custom Sounds to PR

Post 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?
Jabil_One
Posts: 135
Joined: 2017-03-11 18:01

Re: How to add Custom Sounds to PR

Post 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.
Tango Mike
Posts: 15
Joined: 2017-07-20 08:57

Re: How to add Custom Sounds to PR

Post 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.
RUSSIAN147
Posts: 109
Joined: 2009-10-17 09:10

Re: How to add Custom Sounds to PR

Post 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.
Last edited by RUSSIAN147 on 2017-07-25 08:13, edited 1 time in total.
"I'd like to see you run faster than my 124gr JHP"
TBob
Posts: 75
Joined: 2013-07-10 01:18

Re: How to add Custom Sounds to PR

Post by TBob »

3p doesn't need 22khz, it should be mono though.
RUSSIAN147
Posts: 109
Joined: 2009-10-17 09:10

Re: How to add Custom Sounds to PR

Post 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.
"I'd like to see you run faster than my 124gr JHP"
Tango Mike
Posts: 15
Joined: 2017-07-20 08:57

Re: How to add Custom Sounds to PR

Post 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.
Post Reply

Return to “PR:BF2 Community Modding”