project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
22 Oct 2021, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2020-11-08, 12:04   #1
Multi

Multi's Avatar
Exclamation Need help with distant sounds!

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?




"Supimos dar la vida por nuestras Malvinas, y sabremos dar muerte a quien pretenda arrebatarlas."
Multi is offline Reply With Quote
Old 2020-11-09, 06:01   #2
[R-DEV]​Arab
PR:BF2 Developer
Supporting Member

Arab's Avatar
Default Re: Need help with distant sounds!

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.

Arab is offline Reply With Quote
Old 2020-11-15, 18:25   #3
Multi

Multi's Avatar
Default Re: Need help with distant sounds!

Quote:
Originally Posted by Arab View Post
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?




"Supimos dar la vida por nuestras Malvinas, y sabremos dar muerte a quien pretenda arrebatarlas."
Multi is offline Reply With Quote
Old 2020-11-15, 19:24   #4
Multi

Multi's Avatar
Default Re: Need help with distant sounds!

Quote:
Originally Posted by Arab View Post
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




"Supimos dar la vida por nuestras Malvinas, y sabremos dar muerte a quien pretenda arrebatarlas."
Multi is offline Reply With Quote
Reply


Tags
bitrate, distant, format, sound, sounds
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 19:32.