• Announcements

    • Jervant

      Bohemia Store Steam Redeem   06/24/17

      We started experiencing problems with the Steam redeem from our Store on Friday June 23rd.   For anyone that got affected by this, please go to your store account, after you select the product you purchased, you should see your steam key with a link to a how to article to activate it manually through Steam.   We apologize for the inconvenience.
megagoth1702

~ ArmA 3 Sound Modding 101 ~

194 posts in this topic

Hey, thanks for the quick reply buddy!

 

Didn't knew about the Discord channel, nice :)

 

So far I already studied some mod configs and also looked through the arma3 audio wiki. (thanks for that btw) Everything stated there makes perfectly sense to me, maybe because it's mostly audio related.

I didn't come across basic modding tutorials regarding audio, thats why I'm a little confused about dependencies and modding arma in general.

 

 

 

Basically, no matter how many PBOs the game loads, inside these PBOs are configs.

 

So that means the PBOs can be named like I wish but the config compiled into the PBO talks to arma, right?

 

 

 

SoundSet Z will be used, because it's last in the load order. This is how the game knows what to use.

 

Makes sense now :)

Share this post


Link to post
Share on other sites

Hallo

I noticed that LAxeman's sound mod was organised by the sound based on distance (0m, 50m, 150m, etc.). However the way I made my first sound mod was by taking the sounds_f_arsenal.pbo and then making my own folder, editing the sounds and exporting the final sound onto the files. I am noob.

~Few Problems~

  • I can't tweak the sound of the closure sounds as I want the mechanics to be more defined
  • I can't edit any DLC weapons D:
  • My file is made significantly larger due to the fact that the sounds_f_arsenal.pbo also has all vehicle sounds and other weapons that I do not want to edit
  • My files doesn't look as clean and polished as yours D:

I was wondering how you guys were able to setup a system where you can organize the files into simple folders with one folder for the tails.

-Thanks

Share this post


Link to post
Share on other sites

I have a basic question about Addon Builder and packing sound PBO's

 

First, can you use addon builder to pack custom WSS files via the P drive so they will work in game?

 

Second, if you can would you please give an example of how to do this successfully so the sounds can be heard in game. 

 

Thx in advance for your input and your help with this.

Share this post


Link to post
Share on other sites

Would it be possible to create a sound mod with sound effects, i have already a mod out with equipments but a friend of mine asked me to make sound effects like "Alpha In Position" how would make that into a mod? or is it possible just to make a folder "Sound_Effects" PBO that and place it the Mod - Addons like any other mod?

Share this post


Link to post
Share on other sites

Hi guys,

  I stumbled across this thread while searching for an answer to a question I had with regards to using sounds

which are part of a -mod- rather than those I've grabbed on the 'net and placed into my working mission folder.

  Okay, so, I've got a folder named "sound" which contains my custom sounds, and they're all specified in the

"description.ext" and play fine. As well, I can adjust the audio level within the desciption.ext for each one.

  The mission I'm working on uses the "Unsung 3.1 Delta" Vietnam mod. I've just discovered that when I lay

a trigger down that I can specify sound/voice files which are -embedded- within the Unsung mod as .PBO

files. This presents me with a plethora of additional sounds to use in the mission, which is wonderful.

  However...l (there's always a "however", right?) I see no way to set the volume of those "Unsung"

sounds which I can select via the trigger properties window. 

  So, my question is this: "Is there a way to set the volume property for any of those embedded "Unsung"

sound files?

  My thanks for any help/assistance you can provide me.

 

Regards, Odd

Share this post


Link to post
Share on other sites
On 1/10/2016 at 4:46 PM, megagoth1702 said:

 

inspired by the great MarkXIII and with a new audio engine around the corner here we go with
 

 

Thanks for that mate. 

I've been away dealing with real life for a long time but when you sent me the link to this page it cheered me up.

Keep up the good work dude. This is great to see!

5 people like this

Share this post


Link to post
Share on other sites

"Newbie" :D

1 person likes this

Share this post


Link to post
Share on other sites

Haha apparently so :)

Wanna get the band back together?

Or am I flying solo?

Share this post


Link to post
Share on other sites
6 hours ago, Mark XIII (DayZ) said:

Haha apparently so :)

Wanna get the band back together?

Or am I flying solo?

If you want your old account back, it can be merged. 

1 person likes this

Share this post


Link to post
Share on other sites
Just now, R0adki11 said:

If you want your old account back, it can be merged. 

Yes please!

Thank you very much :D

Share this post


Link to post
Share on other sites
Just now, Mark XIII (DayZ) said:

Yes please!

Thank you very much :D

Please post a formal request in this thread, with your old forum name etc 

Now perhaps we should get back on topic :f:

Share this post


Link to post
Share on other sites

Haha, ok back on topic!

Is there a way to stop the tails overlapping each other slightly when firing long bursts on full auto?

I've noticed this quite a bit and once it's noticed it is very hard to un-notice it :)

1 person likes this

Share this post


Link to post
Share on other sites
11 hours ago, Mark XIII (DayZ) said:

Haha apparently so :)

Wanna get the band back together?

Or am I flying solo?

Would love to but tbh I don't have much time for A3 anymore. And I know how time flies when I'm immersed in configs, so it would eat up time I don't have. So sorry....

I do miss our sessions.

Share this post


Link to post
Share on other sites

Hey guys, I've been trying to get some audio functions working with an ac130 mod I've been tweaking for personal use. I'd really like to have the vehicle's mounted weapon sounds muffled and more quite while in 1st person but normal when in 3rd person. I've managed to get some relatively good external audio muffling using these:

	attenuationEffectType="CarAttenuation";
	insideSoundCoef = 0.001;
	obstructSoundLFRatio = 1;
	obstructSoundsWhenIn = 0.001;
	occludeSoundLFRatio = 1;
	occludeSoundsWhenIn = 0.001;
	outsideSoundFilter = 1;

However while this seems to quieten external environmental sounds and explosions, they don't seem to have any effect on the audio of the vehicle's weapons when in 1st Person.

I've tried adding the camPos instead of the values in the sound class but aht doesn't seem to do anything.

Just wondering if anyone knew anything on this, it'd make vehicles a lot more immersive imo.

 

Share this post


Link to post
Share on other sites
5 minutes ago, pingopete said:

Hey guys, I've been trying to get some audio functions working with an ac130 mod I've been tweaking for personal use. I'd really like to have the vehicle's mounted weapon sounds muffled and more quite while in 1st person but normal when in 3rd person. I've managed to get some relatively good external audio muffling using these:


	attenuationEffectType="CarAttenuation";
	insideSoundCoef = 0.001;
	obstructSoundLFRatio = 1;
	obstructSoundsWhenIn = 0.001;
	occludeSoundLFRatio = 1;
	occludeSoundsWhenIn = 0.001;
	outsideSoundFilter = 1;

However while this seems to quieten external environmental sounds and explosions, they don't seem to have any effect on the audio of the vehicle's weapons when in 1st Person.

I've tried adding the camPos instead of the values in the sound class but aht doesn't seem to do anything.

Just wondering if anyone knew anything on this, it'd make vehicles a lot more immersive imo.

 

 

From what I know you cant have/do muffled interior audio has they haven't added, well, they did in 1.62 or someshit but then removed it again. 

Share this post


Link to post
Share on other sites
On 6/18/2017 at 3:12 AM, xxgetbuck123 said:

 

From what I know you cant have/do muffled interior audio has they haven't added, well, they did in 1.62 or someshit but then removed it again. 

ah right ok, thanks for the reply. Would there be anyway of hacking it by using the camPos value instead of a variable somewhere in the weapon's sound class to alter the frequency and/or volume of the shot sound when it's fired?

I tried adding these value below as it appears in the just class sounds section, but got nothing (I can barely find any info on the values in begin1 other than the adress)

	class StandardSound
	{
		weaponSoundEffect="DefaultRifle";
		begin1[]=
		{
			"USAF_AC130U\sounds\l60.wss",
			3,
			1,
			1000
		};
		frequency="(1-campos)";
		volume="(1-camPos)";
		soundBegin[]=
		{
			"begin1",
			1
		};
	};



OR Like this

class L60Fire_SoundShader
	{
		samples[]=
		{	
		
			{
				"USAF_AC130U\sounds\l60.wss",
				1
			},
			
			{
				"USAF_AC130U\sounds\l60.wss",
				1
			},
			
			{
				"USAF_AC130U\sounds\l60.wss",
				1
			},
			
			{
				"USAF_AC130U\sounds\l60.wss",
				1
			}
		};
		volume = 1; <<<<<<<<<< e.g. "(camPos*5)-3"
		range = 3500;
		limitation=1;
		rangeCurve[]=
		{
			{0,1},
			{1000,1},
			{3500,0}
		};
	};

EDIT: Just found this in the second most recent changelog (Jets Update):

 

"Added: An ability to split internal and external vehicle sounds"

 

I can't find any documentation though

 

Edit2: I've since tried making a custom sound shader as I saw they allow some variables and equations in place of arrays, however they apparently don't support camPos! Ah the frustration.

 

Share this post


Link to post
Share on other sites

Can anybody tell me how to get my custom sounds working in my pistol mod.

 

I have a working config.   It packs just fine and I can select the pistol in VA.

 

When I fire the weapon the default ARMA tails play just fine, it's my custom short sounds that don't play.

 

The directory structure is correct but no luck.

 

Is there a special procedure for converting stereo wav files to .wss or .ogg that need to be followed for them to work in game? Do I have to do all conversions on the P drive and pack the PBO there as well to get them to work?  

 

I'm at a loss.

 

Your help is appreciated.

 

Scott

Share this post


Link to post
Share on other sites

^Make sure you have the original pbo of the weapon you wish to override in requiredaddons.

Share this post


Link to post
Share on other sites

I have got the A3_weapon_f Pbo included in required addons section of the config.

 

Please take a look.

 

Everything packs and compiles fine but the short sounds don't work and the directory structure is correct.

 

I will be glad to upload the mod via Mega so you can check it out.  Any help with this is greatly appreciated.

 

class CfgPatches 
{
	class SWTX_Magnum 
	{
		authors[] = {"Project Genesis Team"};
		author = "SWTX";
		name = "Rhino .357 Magnum";
		requiredAddons[] = {"A3_Weapons_F", "A3_Sounds_F"};
		requiredVersion = 0.1;
		units[] = {};
		ammo[] = {"B_357_JHP"};
		magazines[] = {"6Rnd_357magnum_Cylinder"};
		weapons[] = {"hgun_Pistol_heavy_02_357_F", "hgun_Pistol_heavy_02_357_Yorris_F"};
	};
};

class CfgAmmo 
{
	class B_762x51_Ball;
	class B_357_JHP : B_762x51_Ball 
	{
		audibleFire = 50;
		typicalSpeed = 825;
	};
};

class CfgMagazines 
{
	class 6Rnd_45ACP_Cylinder;
	class 6Rnd_357magnum_Cylinder : 6Rnd_45ACP_Cylinder 
	{
		ammo = "B_357_JHP";
		authors[] = {"Project Genesis Team"};
		author = "SWTX";
		displayName = ".357 Magnum 6Rnd Speed Loader";
		descriptionShort = ".357 Speed Loader";
		initSpeed = 825;
		mass = 6;
	};
};
class Mode_SemiAuto; // external class reference
class BaseSoundModeType;    // external class reference
class CfgWeapons 
{
	class Pistol_Base_F;
	class hgun_Pistol_heavy_02_F : Pistol_Base_F 
	{
		class Single;
	};
	
	class hgun_Pistol_heavy_02_357_F : hgun_Pistol_heavy_02_F 
	{ 
		authors[] = {"Project Genesis Team"};
		author = "SWTX";
		_generalMacro = "hgun_Pistol_heavy_02_357_F";
		baseWeapon = "hgun_Pistol_heavy_02_357_F";
		scope = 2;
		magazines[] = {"6Rnd_357magnum_Cylinder"};
		displayname = "Rhino .357 Magnum";
		descriptionShort = ".357 Magnum";
		
		class Library {
			libTextDesc = "$STR_A3_CfgWeapons_hgun_Pistol_heavy_02_357_F_Library0";
		};
		
		class Single: Mode_SemiAuto
		{
			sounds[] = {"StandardSound"};
			class BaseSoundModeType;
			class StandardSound: BaseSoundModeType
			{
				soundSetShot[] = {"Pistol_357_F","Zubr_Tail_SoundSet","Zubr_InteriorTail_SoundSet"};   // Weapons use Sets now for sounds
			}; 
		};
	};
	
	class hgun_Pistol_heavy_02_357_Yorris_F : hgun_Pistol_heavy_02_357_F {
		authors[] = {"Project Genesis Team"};
		author = "SWTX";
		_generalMacro = "hgun_Pistol_heavy_02_Yorris_F";
		
		class LinkedItems {
			class LinkedItemsOptic {
				slot = "CowsSlot";
				item = "optic_Yorris";
			};			
		};
	};
};

class Pistol_Shot_Base_SoundSet; // external class reference
class CfgSoundSets   // There is a new superclass called soundsets and soundshaders
{
	class Pistol_357_F: Pistol_Shot_Base_SoundSet   // Here we define what soundshaders will be used in what soundset, a set can always have multiple shaders
	{
		soundShaders[] = {"Zubr_Closure_SoundShader","Zubr_closeShot_SoundShader","Zubr_midShot_SoundShader","Zubr_distShot_SoundShader"};
	};
};
class CfgSoundShaders   // These are the shaders, they tell the game how many sounds to use per shader groupd and where they are located
{
	class Zubr_closeShot_SoundShader
	{
		samples[] = {
			{ "PG_Zubr\sounds\Zubr_short (1)",1 },
			{ "PG_Zubr\sounds\Zubr_short (2)",1 },
			{ "PG_Zubr\sounds\Zubr_short (3)",1 }};
		volume = 1;   // Should be simple
		range = 50;   // Range depends on the other sounds that gets mixed into the sound set of sounds. In this case its only a "close shot" that gets mixed with "midShot" and "distShot" so we only have 50 meters here
		rangeCurve = "closeShotCurve";
	};
};

 

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