Jump to content

Recommended Posts

I’m simply trying to modify the A-164’s 30mm impact sound, but I have no idea what to do because modding this game seems to be extremely difficult. The only thing I’ve been able to find and successfully change was the sound of the 30mm firing, but I can’t find the bullet impact sound files. I haven’t found any tutorial on YouTube yet (at least at the moment of posting this), but any help is appreciated. Thanks.

Share this post


Link to post
Share on other sites

At a guess, that's probably a config entry for the ammunition, not the aircraft. 

Share this post


Link to post
Share on other sites

The following is from Weapons_F.pbo's config.cpp's cfgAmmo section:

	class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase
	{
		model="\A3\Weapons_f\Data\bullettracer\tracer_red.p3d";
		cost=20;
		hit=180;
		indirectHit=4;
		indirectHitRange=3;
		caliber=5;
		explosive=0.40000001;
		warheadName="AP";
		airlock=1;
		deflecting=5;
		airFriction=-0.00036000001;
		typicalSpeed=960;
		visibleFire=32;
		audibleFire=250;
		visibleFireTime=3;
		fuseDistance=10;
		dangerRadiusBulletClose=20;
		dangerRadiusHit=60;
		suppressionRadiusBulletClose=12;
		suppressionRadiusHit=24;
		tracerScale=2.5;
		tracerStartTime=0.1;
		tracerEndTime=4.6999998;
		soundFly[]=
		{
			"",
			1,
			1,
			50
		};
		explosionSoundEffect="DefaultExplosion";
		explosionEffects="ExploAmmoExplosionPlaneCAS";
		craterEffects="ExploAmmoCrater";
		soundSetSonicCrack[]=
		{
			"BulletSonicCrack_Gatling_SoundSet"
		};
		soundHit1[]=
		{
			"A3\Sounds_F\arsenal\explosives\Grenades\Explosion_gng_grenades_01",
			3.1622777,
			1,
			1300
		};
		soundHit2[]=
		{
			"A3\Sounds_F\arsenal\explosives\Grenades\Explosion_gng_grenades_02",
			3.1622777,
			1,
			1300
		};
		soundHit3[]=
		{
			"A3\Sounds_F\arsenal\explosives\Grenades\Explosion_gng_grenades_03",
			3.1622777,
			1,
			1300
		};
		soundHit4[]=
		{
			"A3\Sounds_F\arsenal\explosives\Grenades\Explosion_gng_grenades_04",
			3.1622777,
			1,
			1300
		};
		multiSoundHit[]=
		{
			"soundHit1",
			0.25,
			"soundHit2",
			0.25,
			"soundHit3",
			0.25,
			"soundHit4",
			0.25
		};
		class CamShakeExplode
		{
			power=6;
			duration=1;
			frequency=20;
			distance=67.817802;
		};
		class CamShakeHit
		{
			power=30;
			duration=0.40000001;
			frequency=20;
			distance=1;
		};
		class CamShakeFire
		{
			power=2.2360699;
			duration=1;
			frequency=20;
			distance=40;
		};
		class CamShakePlayerFire
		{
			power=0.0099999998;
			duration=0.1;
			frequency=20;
			distance=1;
		};
		class HitEffects
		{
			Hit_Foliage_green="ImpactLeavesGreen";
			Hit_Foliage_Dead="ImpactLeavesDead";
			Hit_Foliage_Green_big="ImpactLeavesGreenBig";
			Hit_Foliage_Palm="ImpactLeavesPalm";
			Hit_Foliage_Pine="ImpactLeavesPine";
			hitFoliage="ImpactLeaves";
			hitGlass="";
			hitGlassArmored="";
			hitWood="ImpactWood";
			hitHay="ImpactHay";
			hitMetal="";
			hitMetalPlate="";
			hitBuilding="";
			hitPlastic="";
			hitRubber="";
			hitConcrete="";
			hitMan="";
			hitGroundSoft="";
			hitGroundHard="";
			hitWater="ImpactEffectsWater";
			hitVirtual="";
		};
	};

More specifically, look at the soundHit1/2/3/4 paths. You'll need to make a new config that patches these, though beware this will affect all aircraft/vehicles using the 30mm cannon, not just the 'A10'

The only way to make it only change the sounds for just the 'A10' are to make a new ammo class and a new weapon that uses it, then 'patch' the game to have the 'A10' use the new weapon instead of the current 30mm. AFAIK anyway, I'm not a vehicles guy...

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

×