OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: _hammy_ on 10 Nov 2002, 23:37:02

Title: Problems with the sounds for my addon
Post by: _hammy_ on 10 Nov 2002, 23:37:02
I have made a addon, and it needs new sounds, so i put the sound line in in the cpp file, get in the game and i cant hear teh sounds, i dont know whats wrong...
Title: Re:Problems with the sounds for my addon
Post by: Skaven on 11 Nov 2002, 10:56:09
A lot of things can be bad, like for example is the sound file .wav or .ogg ? not .mp3!
Also show us the cpp file it may be that too  ;)
Title: Re:Problems with the sounds for my addon
Post by: Marsuitor on 11 Nov 2002, 12:04:36
If you're using .wav files, make sure it's 22- or 44Khz 16-bit mono. If it's stereo, it won't work properly.
Also try to disable and then re-enable hardware and EAX under sound options, that works in some cases.

Cheers! ;)
Title: Re:Problems with the sounds for my addon
Post by: _hammy_ on 12 Nov 2002, 06:53:49
well if i turn the volume up all the way then i can hear it a little

Code: [Select]
      sound[]={"\gunny\shootsemi.wav",1.000000,1.000000};
      reloadMagazineSound[]={"\gunny\reload.wav",1.000000,1.000000};
      drySound[]={"\gunny\shootsemi2.wav",1.000000,1.000000};
Title: Re:Problems with the sounds for my addon
Post by: Marsuitor on 12 Nov 2002, 15:10:42
Wild guess:
try replacing the 1's with 2's

Also try to edit the soundfiles to have a higher volume.
Title: Re:Problems with the sounds for my addon
Post by: _hammy_ on 13 Nov 2002, 00:41:53
i have tryed editing the sound file and making the sound louder, but it ends up getting all distorted, ill try to change the 1s to 2s and see if that works