adding addon sounds to mission description.ext CfgSounds does not work.
Description
Details
- Legacy ID
- 2418742987
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Config
Lets take A3 addon sound "click" defined in A3 addon
class CfgSounds
{
class border_out
{
sound[] = {"A3\missions_f\data\sounds\border_out.ogg",0.56234133,1}; titles[] = {};
};
class border_in
{
sound[] = {"A3\missions_f\data\sounds\border_in.ogg",0.56234133,1}; titles[] = {};
};
class click
{
sound[] = {"A3\missions_f\data\sounds\click.wss",0.91201085,1}; titles[] = {};
};
};
execute playSound "click" in debug console and it works
define own click sound click2 in mission config (description.ext) identical to A3 one
class CfgSounds
{
class click2
{
sound[] = {"A3\missions_f\data\sounds\click.wss",0.91201085,1}; titles[] = {};
};
};
execute playSound "click2" in debug console and it DOESN'T work.
So if I want to use A3 sounds I have to copy them to my mission. This is very inefficient, please fix this.
Event Timeline
Still an issue on 1.40 stable :( Ticket was created in 2013 and it's not fixed in 2015? C'mon! Please fix it.
I am not good at scripting but I think click2 is the classname and "Click" is the sound name.
Does it work if you execute playSound "Click2" and rename the sound to "Click2"?
I've tried it to be sure, not working. But I think it is correct to use classname, like in this example: https://community.bistudio.com/wiki/Description.ext#cfgSounds
resolved with todays dev https://community.bistudio.com/wiki/Description.ext#cfgSounds