Need help with distant sounds!

Making or wanting help making your own asset? Check in here
Post Reply
Multi
PR:BF2 Contributor
Posts: 52
Joined: 2017-11-15 23:35

Need help with distant sounds!

Post by Multi »

Hello, i've been making a sound mod for the latest version of Project Reality, i made the gun sounds work properly, etc, the issue is related to the Distant Firing sounds, i replaced the original sounds (in this case the fal_far.ogg file) with the same format and bitrate, however the sound simply dissapears, i checked and realized distant sounds don't actually need loop regions

what am i doing wrong? same format and bitrate, but the sound simply dissapears

any idea? :m1helmet:
Image


"Supimos dar la vida por nuestras Malvinas, y sabremos dar muerte a quien pretenda arrebatarlas."
Arab
PR:BF2 Developer
Posts: 2898
Joined: 2012-05-18 03:37

Re: Need help with distant sounds!

Post by Arab »

Hi there :)

Make sure the distance sounds are mono and 44.1kHz as they will not play properly.
The distant sounds is added to the muzzle flash effect and that's how we achieve that effect, so if it says ObjectTemplate.is3DSound 1 then it means the engine must play the mono sound over both channels.

For making ogg work, exporting the .wav file as .ogg with Audacity for example will not work.
Instead, you need to download the BF2 Sound Tools.zip and extract it, then drag the .wav file into oggenc which will convert that file into a readable format for Battlefield 2.
Image
Multi
PR:BF2 Contributor
Posts: 52
Joined: 2017-11-15 23:35

Re: Need help with distant sounds!

Post by Multi »

Arab wrote:Hi there :)

Make sure the distance sounds are mono and 44.1kHz as they will not play properly.
The distant sounds is added to the muzzle flash effect and that's how we achieve that effect, so if it says ObjectTemplate.is3DSound 1 then it means the engine must play the mono sound over both channels.

For making ogg work, exporting the .wav file as .ogg with Audacity for example will not work.
Instead, you need to download the BF2 Sound Tools.zip and extract it, then drag the .wav file into oggenc which will convert that file into a readable format for Battlefield 2.
Thank you! but where is "ObjectTemplate.is3DSound 1" supposed to be?
Image


"Supimos dar la vida por nuestras Malvinas, y sabremos dar muerte a quien pretenda arrebatarlas."
Multi
PR:BF2 Contributor
Posts: 52
Joined: 2017-11-15 23:35

Re: Need help with distant sounds!

Post by Multi »

Arab wrote:Hi there :)

Make sure the distance sounds are mono and 44.1kHz as they will not play properly.
The distant sounds is added to the muzzle flash effect and that's how we achieve that effect, so if it says ObjectTemplate.is3DSound 1 then it means the engine must play the mono sound over both channels.

For making ogg work, exporting the .wav file as .ogg with Audacity for example will not work.
Instead, you need to download the BF2 Sound Tools.zip and extract it, then drag the .wav file into oggenc which will convert that file into a readable format for Battlefield 2.
NEVERMIND! made the sound work flawlessly, thank you! now i can finally start modding distant sounds now 8-)
Image


"Supimos dar la vida por nuestras Malvinas, y sabremos dar muerte a quien pretenda arrebatarlas."
Post Reply

Return to “PR:BF2 Community Modding”