Jump to content

Recommended Posts

Title says it !

 

Please take a look and help if you can help !

 

Addon Builder say it's at " class PG_4FIVE_mid_Shot_SoundShader"

 

If you can spot the problem, your help is appreciated. 

 

class CfgPatches 
{
	class Pistols_Rook18s
	{
		units[] = { };
		weapons[] = { };
		requiredVersion = 0.100000;
		requiredAddons[] = {"A3_Sounds_F","A3_Weapons_F"};
		version = "3";
		projectName = "Project Genesis";
		author = "Project Genesis Team";
	};
};
class Mode_SemiAuto;
class Mode_FullAuto;
class CfgWeapons
{
	class Pistol_Base_F;
	
	class hgun_Rook18_Select_F : Pistol_Base_F
	{
	
		class Single: Mode_SemiAuto
		{
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {"PG_4FIVE_Shot_SoundSet","PG_4FIVE_Shell_SoundSet","PG_4FIVE_DIST_TAILS"};
			};
			class SilencedSound: BaseSoundModeType
			{
				soundSetShot[] = {"PG_4FIVE_Shot_Silenced_SoundSet","PG_4FIVE_Shell_SoundSet","PG_4FIVE_SILENCED_SOUNDSET"};
			};
		};
		
		class FullAuto: Mode_FullAuto
		{
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {"PG_4FIVE_Shot_SoundSet","PG_4FIVE_Shell_SoundSet","PG_4FIVE_DIST_TAILS"};
			};
			class SilencedSound: BaseSoundModeType
			{
				soundSetShot[] = {"PG_4FIVE_Shot_Silenced_SoundSet","PG_4FIVE_Shell_SoundSet","PG_4FIVE_SILENCED_SOUNDSET"};
			};
		};
	};
};
class CfgSoundSets
{
	class PG_4FIVE_Shot_SoundSet
	{
		soundShaders[] = {"PG_4FIVE_Closure_SoundShader","PG_4FIVE_close_Shot_SoundShader","PG_4FIVE_Interior_Shot_SoundShader","PG_4FIVE_mid_Shot_SoundShader","PG_4FIVE_far_Shot_SoundShader"};
		volumeFactor = 1.495;
		volumeCurve = "InverseSquare2Curve";
		sound3DProcessingType = "WeaponMediumShot3DProcessingType";
		spatial = 1;
		doppler = 0;
		loop = 0;
		distanceFilter = "weaponShotDistanceFreqAttenuationFilter";
		occlusionFactor = 0.45;
		obstructionFactor = 0.35;
		frequencyRandomizer = 1;
	};
	class PG_4FIVE_Shell_SoundSet
	{
		soundShaders[] = {"PG_4FIVE_Shell_Inroom_SoundShader"};
		volumeFactor = 1;
		volumeCurve = "InverseSquare2Curve";
		sound3DProcessingType = "WeaponMediumShot3DProcessingType";
		spatial = 1;
		doppler = 0;
		loop = 0;
		soundShadersLimit = 3;
		distanceFilter = "weaponShotDistanceFreqAttenuationFilter";
		frequencyRandomizer = 3;
	};
	class PG_4FIVE_Shot_Silenced_SoundSet
	{
		soundShaders[] = {"PG_4FIVE_Closure_SoundShader","PG_4FIVE_Interior_Silenced_SoundShader","PG4_FIVE_Silenced_SoundShader"};
		volumeFactor = 1.495;
		volumeCurve = "InverseSquare2Curve";
		occlusionFactor = 0.5;
		obstructionFactor = 0.5;
		sound3DProcessingType = "WeaponMediumShot3DProcessingType";
		spatial = 1;
		doppler = 0;
		loop = 0;
		distanceFilter = "weaponShotDistanceFreqAttenuationFilter";
		frequencyRandomizer = 1;
	};
};
class CfgSoundShaders
{
	class PG_4FIVE_Interior_Silenced_SoundShader
	{
		samples[] = {
		{ "\A3\sounds_f\weapons\Pistols\Silencer_Rook40_1",1 },
		{ "\A3\sounds_f\weapons\Pistols\Silencer_Rook40_1",1 }};
		volume = 1.3*interior;
		range = 65;
	};
	class PG_4FIVE_Interior_Shot_SoundShader
	{
		samples[] = {
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 }};
		volume = 1.8*interior;
		range = 65;
		rangeCurve[] = {{ 0,1 },{ 20,1 },{ 40,0 },{ 2500,0 }};
	};
	
//----------------------------------------------------------------------------------------//
	
	class PG_4FIVE_Closure_SoundShader
	{
		samples[] = {
		{ "A3\Sounds_F\arsenal\weapons\Pistols\Rook40\Closure_Rook40_01",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\Rook40\Closure_Rook40_02",1 }};
		volume = 2;
		range = 5;
	};
	class PG_4FIVE_close_Shot_SoundShader
	{
		samples[] = {
		{ "Rook18s\Auto\sounds\Pistol_S1",1 },
		{ "Rook18s\Auto\sounds\Pistol_S1",1 },
		{ "Rook18s\Auto\sounds\Pistol_S1",1 }};
		volume = 1.8*(1-interior/1.4);
		range = 2500;
		rangeCurve[] = {{ 0,1 },{ 20,1 },{ 40,0 },{ 2500,0 }};
	};
	
	class PG_4FIVE_mid_Shot_SoundShader
	{
		samples[] = {
		{ "\Rook18s\Auto\sounds\Shots\Pistol_S1_Mid",1 },
		{ "\Rook18s\Auto\sounds\Shots\Pistol_S2_Mid",1 },
		{ "\Rook18s\Auto\sounds\Shots\Pistol_S3_Mid",1 }};
		volume = 2.00;
		range = 2500;
		rangeCurve[] = {{ 0,0 },{ 40,0 },{ 145,1 },{ 300,0 },{ 2500,0 }};
	};
	
	class PG_4FIVE_far_Shot_SoundShader
	{
		samples[] = {
		{ "\Rook18s\Auto\sounds\Shots\B_9x21_Ball_Dist_1",1 },
		{ "\Rook18s\Auto\sounds\Shots\B_9x21_Ball_Dist_2",1 },
		{ "\Rook18s\Auto\sounds\Shots\B_9x21_Ball_Dist_3",1 },
		{ "\Rook18s\Auto\sounds\Shots\B_9x21_Ball_Dist_4",1 },
		{ "\Rook18s\Auto\sounds\Shots\B_9x21_Ball_Dist_5",1 },
		{ "\Rook18s\Auto\sounds\Shots\B_9x21_Ball_Dist_6",1 }};
		volume = 2.50;
		range = 2500;
		rangeCurve[] = {{ 0,0 },{ 145,0 },{ 300,1 },{ 1000,0 },{ 2500,0 }};
	};
	
	class PG_4FIVE_tailInterior_SoundShader
	{
		samples[] = {
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 },
		{ "A3\Sounds_F\arsenal\weapons\Pistols\4-Five\4-Five_tail_interior",1 }};
		volume = "interior";
		range = 65;
		limitation = 1;
	};
	
//----------------------------------------------------------------------------------------//
	
	class PG_4FIVE_Shot_Silenced_SoundShader
	{
		samples[] = {
		{ "\A3\sounds_f\weapons\Pistols\Silencer_Rook40_1",1 },
		{ "\A3\sounds_f\weapons\Pistols\Silencer_Rook40_2",1 }};
		volume = 1.8*(1-interior/1.4);
		range = 250;
	};
	class PG_4FIVE_tailInterior_Silenced_SoundShader
	{
		samples[] = {
		{ "\Rook18s\Auto\sounds\SD_Interior_1",1 },
		{ "\Rook18s\Auto\sounds\SD_Interior_2",1 },
		{ "\Rook18s\Auto\sounds\SD_Interior_3",1 }};
		volume = "interior";
		range = 50;
		limitation = 1;
	};
};

 

Share this post


Link to post
Share on other sites

Sorry about the double post.  Please Close.

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

×