Jump to content
joostsidy

Config: replace SPAR 17 sound with SPAR 16 sound?

Recommended Posts

The APEX weapons are decrypted now so I want to take a shot at the Spar 17 sound. It currently has the sound of the Chinese rifle and I want to replace it with the Spar 16 sound or maybe the sound of another BI marksman rifle.

 

I looked at the configs in game where I thought these were relevant parts:

- configfile >> "CfgWeapons" >> "arifle_SPAR_03_base_F" >> "FullAuto" >> "StandardSound"

- soundSetShot[] = {"SPAR_17_Shot_SoundSet","SPAR_17_Tail_SoundSet","SPAR_17_interiorTail_SoundSet"};

 

I thought that with the Mikero tools I could find this in the config files and replace the "SPAR_17_Shot_SoundSet" with "SPAR_01_Shot_SoundSet".

 

I could not accomplish this last part. The best config I could devise is below. It doesn't work and I have the feeling I don't know what I'm doing. Any help is appreciated!

 

#define _ARMA_

//ndefs=13
enum {
	destructengine = 2,
	destructdefault = 6,
	destructwreck = 7,
	destructtree = 3,
	destructtent = 4,
	stabilizedinaxisx = 1,
	stabilizedinaxesxyz = 4,
	stabilizedinaxisy = 2,
	stabilizedinaxesboth = 3,
	destructno = 0,
	stabilizedinaxesnone = 0,
	destructman = 5,
	destructbuilding = 1
};

//Class weapons_f_exp : config.bin{
class CfgPatches
{
	class A3_Weapons_F_Exp
	{
		author = "$STR_A3_Bohemia_Interactive";
		name = "Arma 3 Apex - Weapons and Accessories";
		url = "https://www.arma3.com";
		requiredAddons[] = {"A3_Data_F_Exp","A3_Weapons_F_Exp"};
		requiredVersion = 0.1;
		units[] = {snip lots of items}
	};
};


class CfgWeapons
{
};

class arifle_SPAR_03_base_F: CfgWeapons
{
};

class FullAuto: arifle_SPAR_03_base_F
{
};

class StandardSound: FullAuto
{
	soundSetShot[] = {"SPAR01_Shot_SoundSet","SPAR01_Tail_SoundSet","SPAR01_InteriorTail_SoundSet"};
};

 

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

×