Jump to content
Sign in to follow this  
Mr. Will

Custom Music and Sounds .ext help

Recommended Posts

I have created a description.ext file that adds custom music. I tried adding custom sounds as well so I could play them over the music. The titles show up in the trigger effects options, but no sound is played when I press the play button in the trigger menu. How do I get these sounds to work? Here is my ext file:

 

class CfgSounds
{
sounds[] = {01,02,03};
class 01
{
    name = "01";
    sound[] = {"sound\fuck1.ogg", db+10, 1.0};
    titles[] = {0,""};
};
class 02
{
    name = "02";
    sound[] = {"sound\fuck2.ogg", db+10, 1.0};
    titles[] = {0,""};
};
class 03
{
    name = "03";
    sound[] = {"sound\firing.ogg", db+10, 1.0};
    titles[] = {0,""};
};

};

class CfgMusic
{
sounds[] = {01,02,03,04,05,06,07,08,09,10,11};
class 01
{
name = "01";
sound[] = {"music\IRA.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 02
{
name = "02";
sound[] = {"music\quote.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 03
{
name = "03";
sound[] = {"music\medley.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 04
{
name = "04";
sound[] = {"music\10hours.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 05
{
name = "05";
sound[] = {"music\dead.ogg", db+10, 1.0};
titles[] = {0,""};
};

class 09
{
name = "09";
sound[] = {"music\gmen.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 10
{
name = "10";
sound[] = {"music\trench.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 11
{
name = "11";
sound[] = {"music\trousers.ogg", db+10, 1.0};
titles[] = {0,""};
};
};

Share this post


Link to post
Share on other sites

you are a gift to this earth oh stburr91. It works with that script.

  • Like 1

Share this post


Link to post
Share on other sites

 

To troubleshoot, ensure file paths are correct, sound files are in the correct format, and sound settings are properly configured within the game engine.

Share this post


Link to post
Share on other sites

Ensure the file paths for your custom sounds are correct and check the .ogg file format. If issues persist, try using db+0 instead of db+10 to test volume settings.

Share this post


Link to post
Share on other sites

Check the file paths and formats of your sound files.

Verify sound files are in the correct directories.

Ensure no typos in class names or array definitions.

Test sound files independently to ensure they play.

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
Sign in to follow this  

×