Jump to content
Sign in to follow this  
AveryTheKitty

Grenade pin pulling sound not working?

Recommended Posts

Hello. I'm trying to make the grenades play a pin pulling sound when you throw them. This is what I have:


 

Spoiler

 

Weapon::


	class Throw: GrenadeLauncher
	{
		class ThrowMuzzle;
		class HandGrenadeMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class MiniGrenadeMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellYellowMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellRedMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellGreenMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellPurpleMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellBlueMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
		class SmokeShellOrangeMuzzle: ThrowMuzzle
		{
			sounds[] = {StandardSound};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {Throw_Shot_SoundSet};
			};
		};
	};

Sound set:


	class Throw_Shot_SoundSet: Rifle_Shot_Base_SoundSet
	{
		soundShaders[] = {Throw_pullPin_SoundShader};
	};

Sound shader:


	class Throw_pullPin_SoundShader
	{
		samples[] =
		{
			{"\Sounds_F\weapons\Grenades\Grenade_PullPin",1}
		};
		range = 5;
		volume = 1;
	};


 

 

But for some reason it doesn't seem to be playing. Can anyone spot something wrong here or help me out?

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  

×