OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Hoyt on 16 Aug 2005, 18:21:10

Title: weapon sound, silent
Post by: Hoyt on 16 Aug 2005, 18:21:10
Ive tryed making shooting sound for my weapon, it sounds great on winamp but I canÂ't seem to get it ingame.

Code: [Select]
sound[]={"\hoyt_sv98\firecock.wav",db+30, 1.0};
I have tryed wav and .ogg. Neither work, in game the sound is silent when shooting.
soundfile properties:

2,2 sec long
44100Hz
tryed both 16-bit and 32-bit

oh, yes I did try to search the forums but didnÂ't find any that had this sort of problem.
Title: Re:weapon sound, silent
Post by: Pilot on 16 Aug 2005, 22:05:29
Is the sound stero or mono?  Whatever it is, try changing it to the other.  I have had problems in the past because of this, although I don't remember which one was the problem ::)

-Student Pilot
Title: Re:weapon sound, silent
Post by: Hoyt on 16 Aug 2005, 22:20:39
tryed that aswell, allthough I did manage to make the sound work. Only by converting to .wss , yet the pitch was totally off.