Jump to content

Recommended Posts

I sense I miss something in the config part of the weapon sound.

 

Here is the code :

class Single : Mode_SemiAuto
		{
			class BaseSoundModeType
			{	
				closure1[] = {"A3\Sounds_F\arsenal\weapons\SMG\Sting\closure_Sting_01",1,1,10};
				closure2[] = {"A3\Sounds_F\arsenal\weapons\SMG\Sting\closure_Sting_02",1,1.1,10};
				soundClosure[] = {"closure1",0.5,"closure2",0.5};
			};
			class StandardSound : BaseSoundModeType
			{
				//begin1[] = {"A3\Sounds_F\arsenal\weapons\SMG\Sting\Silencer_Sting_short_01",0.891251,1,400};
				//begin2[] = {"A3\Sounds_F\arsenal\weapons\SMG\Sting\Silencer_Sting_short_02",0.891251,1,400};
				//begin3[] = {"A3\Sounds_F\arsenal\weapons\SMG\Sting\Silencer_Sting_short_03",0.891251,1,400};
				begin1[] = {"\beppe_mod\sound\car15_sil.wss",0.891251,1,400};
				begin2[] = {"\beppe_mod\sound\car15_sil.wss",0.891251,1,400};
				begin3[] = {"\beppe_mod\sound\car15_sil.wss",0.891251,1,400};
				soundBegin[] = {"begin1",0.33,"begin2",0.33,"begin3",0.34};
			};
			class SilencedSound : BaseSoundModeType{
				begin1[] = {"\beppe_mod\sound\car15_sil.wss",0.891251,1,400};
				begin2[] = {"\beppe_mod\sound\car15_sil.wss",0.891251,1,400};
				begin3[] = {"\beppe_mod\sound\car15_sil.wss",0.891251,1,400};
				soundBegin[] = {"begin1",0.33,"begin2",0.33,"begin3",0.34};
			};
			sounds[] = {"StandardSound","SilencedSound"};
			dispersion = 0.00116;
			recoil = "recoil_single_smg_02";
			recoilProne = "recoil_single_prone_smg_02";
			minRangeProbab = 0.3;
			midRange = 100;
			midRangeProbab = 0.7;
			maxRange = 150;
			maxRangeProbab = 0.05;
			aiRateOfFire = 2;
			aiRateOfFireDistance = 300;
			reloadTime = 0.052;
			minRange = 50;
			
		};

When I try to shoot in game I hear only the closure sound. 

If I change the custom sound with the "vanilla" one I can hear the shot.

 

Don't know even if I miss something in the wavtowss conversion... 

 

Any thoughts?

 

Share this post


Link to post
Share on other sites

Does this happen to you on binarization?

 

I have a similar issue, works fine if I don't binarise, as soon as I do, the sound files stop working, apart from the "click" sound.

Share this post


Link to post
Share on other sites

Does this happen to you on binarization?

 

I have a similar issue, works fine if I don't binarise, as soon as I do, the sound files stop working, apart from the "click" sound.

In Addon Builder (or Mikero's Tools, whichever you use the same applies) go into the Options and add

*.wss;*.wav;*.ogg

to the "List of Files to Copy Directly" box.

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×