Page MenuHomeFeedback Tracker

Triggers will not play a Custom Sound defined in description.ext as CfgSFX Class !!!
Closed, ResolvedPublic

Description

Triggers will not Play a custom defined CfgSFX class sound but play included sounds in the release like Alarm and other with no problems.

Attached with the report is a simple Test Mission (includes custom description.ext and custom Sound File). {F18727}

Details

Legacy ID
3823383736
Severity
Major
Resolution
Fixed
Reproducibility
Always
Category
Engine
Steps To Reproduce
  1. Download the Attached Mission and And Load It into the Game.
  2. walk into the Left Hangar to hear an ALARM sound that's included in the game by the DEVS.
  3. walk into the Right Hangar and you should hear a Custom Sound (DOESN'T WORK ATM).
Additional Information

Got It Finally Working !!!

It seems that the Parameters inside a definition of CfgSFX Class have changed, that's why I was unable to get it working.

At the moment BI Studio WIKI doesn't include an overview of CfgSFX Class for ARMA in description.ext!

http://community.bistudio.com/wiki/Description.ext

Users are forced to use the only Official available reference to CfgSFX Class @ http://resources.bisimulations.com/wiki/CfgSFX_Config_Reference which is not correct and won't work in ARMA3.

To get it working, there is an additional parameter that needs to be added to the definition. Sound Attenuation or Max hearing distance from the source!

Here's what works in the given example.

class CfgSFX
{
//This class name is used in the type parameter of the effect.
class Transformer_SFX
{

TransformerSFX;
sounds[]={"sound1"};
// soundName[] = {"path to file", volume, pitch, max sound reach distance, probability of being played, min delay, average delay, maximum delay after the sound};
sound1[]={"sounds\Trans_SFX.ogg",10,1,100,1,0,0,0};
//empty[] = {not used, not used, not used, not used, not used, minimum pause, average pause, maximum pause};
empty[]={"","","","","",0,0,0};

};
};

Can we have someone create an Overview of CfgSFX Class on BI Wiki Description.ext page.

Thank You

Sincerely
Lt Lyko

Event Timeline

Lt_Lyko edited Steps To Reproduce. (Show Details)Apr 7 2013, 1:28 PM
Lt_Lyko edited Additional Information. (Show Details)
Lt_Lyko set Category to Engine.
Lt_Lyko set Reproducibility to Always.
Lt_Lyko set Severity to Major.
Lt_Lyko set Resolution to Fixed.
Lt_Lyko set Legacy ID to 3823383736.May 7 2016, 1:29 PM

Got It Finally Working !!!

It seems that the Parameters inside a definition of CfgSFX Class have changed, that's why I was unable to get it working.

At the moment BI Studio WIKI doesn't include an overview of CfgSFX Class for ARMA in description.ext!

http://community.bistudio.com/wiki/Description.ext

Users are forced to use the only Official available reference to CfgSFX Class @ http://resources.bisimulations.com/wiki/CfgSFX_Config_Reference which is not correct and won't work in ARMA3.

To get it working there is an additional parameter that needs to be added to the definition. Sound Attenuation or Max hearing distance from the source!

Here's what works in the given example.

class CfgSFX
{
//This class name is used in the type parameter of the effect.
class Transformer_SFX
{

TransformerSFX;
sounds[]={"sound1"};
// soundName[] = {"path to file", volume, pitch, max sound reach distance, probability of being played, min delay, average delay, maximum delay after the sound};
sound1[]={"sounds\Trans_SFX.ogg",10,1,100,1,0,0,0};
//empty[] = {not used, not used, not used, not used, not used, minimum pause, average pause, maximum pause};
empty[]={"","","","","",0,0,0};

};
};

Can we have someone create an Overview of CfgSFX Class on BI Wiki Description.ext page.

Thank You

Sincerely
Lt Lyko

We can Close this Report.
Thank You

Lt Lyko

working

description needs to be updated on BI wiki