Jump to content
Sign in to follow this  
Sherman -3rd ID-

A big problem modifying sound files.

Recommended Posts

For anyone out there who can mod sound files, I need your help.

My sounds work wonderful, but there is just one big problem, anything that has to do with the AK-101 doesn't even emit a sound! I made sure that the sound files were there, and every AKS weapon sound work, unfortunately the Russians all use the AK-101.

I'm very new to this, and I was using the VOP sound mod to kind of start me off and understand the process. If anyone can take a quick look at the mod files I would be forever in your debt, because at this point I am beyond stumped.

http://www.filefront.com/14796315/soundmod11.zip/

Share this post


Link to post
Share on other sites

check sound

must be mono 44 khz 16 bit

check config

=========

can you share only config.cpp???

are you make new one by youself or use config from vop???

Share this post


Link to post
Share on other sites

No wonder because ak-101 is not defined in config.

Share this post


Link to post
Share on other sites

If that's the case, wouldn't it use the default sound still?

Share this post


Link to post
Share on other sites

This is what he has for AK-107 in his config taken from VOPsound.

class AK_BASE : Rifle {
	drySound[] = {"ca\sounds\weapons\rifles\dry", 0.000316228, 1, 10};
	reloadMagazineSound[] = {"ca\sounds\weapons\rifles\reload-ak-2ivan", 0.0707946, 1, 20};
	modes[] = {"FullAuto", "Single", "Burst"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AKSD"};
	bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04", 0.177828, 1, 15};
	bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03", 0.177828, 1, 15};
	bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02", 0.177828, 1, 15};
	bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01", 0.177828, 1, 15};
	bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07", 0.316228, 1, 15};
	bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09", 0.316228, 1, 15};
	bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10", 0.316228, 1, 15};
	bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12", 0.316228, 1, 15};
	bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05", 0.177828, 1, 15};
	bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09", 0.177828, 1, 15};
	bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10", 0.177828, 1, 15};
	bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13", 0.177828, 1, 15};
	soundBullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083};

	class Single : Mode_SemiAuto {
		begin1[] = {"\Vops_s_Guns\ak74_snew2.wss", 1.77828, 1, 1300};
		soundBegin[] = {"begin1", 1};
	};

	class Burst : Mode_Burst {
		begin1[] = {"\Vops_s_Guns\ak74_snew2.wss", 1.77828, 1, 1300};
		soundBegin[] = {"begin1", 1};
		soundBurst = 0;
	};

	class FullAuto : Mode_FullAuto {
		begin1[] = {"\Vops_s_Guns\ak74_snew.wss", 1.77828, 1, 1300};
		soundBegin[] = {"begin1", 1};
	};

	class GP25Muzzle : GrenadeLauncher {
		displayName = $STR_DN_GP25;
		reloadMagazineSound[] = {"\Vops_s_Guns\m203reload.wss", 0.000316228, 1, 25};
	};
};
class AK_107_BASE : AK_BASE {
	modes[] = {"FullAuto", "Burst", "Single"};

	class Single : Single {
	};

	class Burst : Burst {
		soundBurst = 0;
	};

	class FullAuto : FullAuto {
	};
};
class AK_107_kobra : AK_107_BASE {
};

class AK_107_GL_kobra : AK_107_BASE {
};

class AK_107_GL_pso : AK_107_GL_kobra {
};

class AK_107_pso : AK_107_BASE {
};

He hasn't changed anything with the AK107 classes, so he could have left them out and they would take the values from the default config.

Even though he includes them and does not change any values, they will still take their values from the default config.

Correct me if I am wrong, but only values that he includes will overwrite the default and cause problems. Anything he leaves out, will be unaffected. Although, I don't see where his problem is.

Share this post


Link to post
Share on other sites

requiredAddons[] I guess you mean nikita :)

Share this post


Link to post
Share on other sites

Awww I forgot about the config aspect of this stuff..not looking forward to getting back into it. But, there's some great people around here that can help :) ^^

Share this post


Link to post
Share on other sites
This is what he has for AK-107 in his config taken from VOPsound.

class AK_BASE : Rifle {
	drySound[] = {"ca\sounds\weapons\rifles\dry", 0.000316228, 1, 10};
	reloadMagazineSound[] = {"ca\sounds\weapons\rifles\reload-ak-2ivan", 0.0707946, 1, 20};
	modes[] = {"FullAuto", "Single", "Burst"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AKSD"};
	bullet1[] = {"ca\sounds\weapons\shells\small_shell_metal_04", 0.177828, 1, 15};
	bullet2[] = {"ca\sounds\weapons\shells\small_shell_metal_03", 0.177828, 1, 15};
	bullet3[] = {"ca\sounds\weapons\shells\small_shell_metal_02", 0.177828, 1, 15};
	bullet4[] = {"ca\sounds\weapons\shells\small_shell_metal_01", 0.177828, 1, 15};
	bullet5[] = {"ca\sounds\weapons\shells\small_shell_dirt_07", 0.316228, 1, 15};
	bullet6[] = {"ca\sounds\weapons\shells\small_shell_dirt_09", 0.316228, 1, 15};
	bullet7[] = {"ca\sounds\weapons\shells\small_shell_dirt_10", 0.316228, 1, 15};
	bullet8[] = {"ca\sounds\weapons\shells\small_shell_dirt_12", 0.316228, 1, 15};
	bullet9[] = {"ca\sounds\weapons\shells\small_shell_soft_05", 0.177828, 1, 15};
	bullet10[] = {"ca\sounds\weapons\shells\small_shell_soft_09", 0.177828, 1, 15};
	bullet11[] = {"ca\sounds\weapons\shells\small_shell_soft_10", 0.177828, 1, 15};
	bullet12[] = {"ca\sounds\weapons\shells\small_shell_soft_13", 0.177828, 1, 15};
	soundBullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083};

	class Single : Mode_SemiAuto {
		begin1[] = {"\Vops_s_Guns\ak74_snew2.wss", 1.77828, 1, 1300};
		soundBegin[] = {"begin1", 1};
	};

	class Burst : Mode_Burst {
		begin1[] = {"\Vops_s_Guns\ak74_snew2.wss", 1.77828, 1, 1300};
		soundBegin[] = {"begin1", 1};
		soundBurst = 0;
	};

	class FullAuto : Mode_FullAuto {
		begin1[] = {"\Vops_s_Guns\ak74_snew.wss", 1.77828, 1, 1300};
		soundBegin[] = {"begin1", 1};
	};

	class GP25Muzzle : GrenadeLauncher {
		displayName = $STR_DN_GP25;
		reloadMagazineSound[] = {"\Vops_s_Guns\m203reload.wss", 0.000316228, 1, 25};
	};
};
class AK_107_BASE : AK_BASE {
	modes[] = {"FullAuto", "Burst", "Single"};

	class Single : Single {
	};

	class Burst : Burst {
		soundBurst = 0;
	};

	class FullAuto : FullAuto {
	};
};
class AK_107_kobra : AK_107_BASE {
};

class AK_107_GL_kobra : AK_107_BASE {
};

class AK_107_GL_pso : AK_107_GL_kobra {
};

class AK_107_pso : AK_107_BASE {
};

He hasn't changed anything with the AK107 classes, so he could have left them out and they would take the values from the default config.

Even though he includes them and does not change any values, they will still take their values from the default config.

Correct me if I am wrong, but only values that he includes will overwrite the default and cause problems. Anything he leaves out, will be unaffected. Although, I don't see where his problem is.

Can anyone tell me what "soundBurst = 0;" actually does?

Also is it possible to have/define a "link" sound for belt fed machine guns/auto weapons or two sounds at the same time?

So you got ( shot - link - shot - link - shot )

It seems the arma sound engine just uses the first ms or so of a sound clip & repeats that - until you stop firing and then it plays one full sound clip.

Like: "S S S SHOT"

Share this post


Link to post
Share on other sites

SoundBurst = 0; means that game uses 3x single shot sound instead 1x burst sound,which is soundburst=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
Sign in to follow this  

×