Jump to content
  • 0

cfg sounds


S3M4J

Question

i am doing this mod but its asking to add

class CfgSounds
{
    sounds[] = {};
    class NoSound
    {
    name = "NoSound";
    sound[] = {"", 0, 1};
    titles[] = {};
};
#include "Train\sounds.hpp"
};

But i have this

class CfgSounds
{
    sounds[] =
    {
    fox
    };
    class fox
    {
    name="fox";
    sound[]={fox.ogg,0.9,1};
    titles[] = {};
    };
};

How do i combine the to

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

class CfgSounds
{
    sounds[] = {fox,NoSound};

    class fox
    {
    name="fox";
    sound[]={fox.ogg,0.9,1};
    titles[] = {};
};
    class NoSound
    {
    name = "NoSound";
    sound[] = {"", 0, 1};
    titles[] = {};
    };
#include "Train\sounds.hpp"
};

Link to comment
Share on other sites

  • 0

class CfgSounds
{
    sounds[] =
    {
        fox, NoSound
    };
    class fox
   
{
    name="fox";
    sound[]={fox.ogg,0.9,1};
    titles[] = {};

    };
    class NoSound
    {
    name = "NoSound";
    sound[] = {"", 0, 1};
    titles[] = {};
};
#include "Train\sounds.hpp"
};

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...