Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#200092 Posted at 2019-01-15 00:52        
     
CfgSounds is not working for me. the sound name does show up but it doesn't play it. Please tell if you find something wrong.

// Custom Game Functions

// Added Music ---------------------

class CfgMusic
{
tracks[]={};

class creepy1
{
name = "Creepy1";
sound[] = {"sounds\creepy.ogg", db+1, 1.0};
};

class creepy2
{
name = "Creepy2";
sound[] = {"sounds\creepy2.ogg", db+1, 1.0};
};

class creepy3
{
name = "Creepy3";
sound[] = {"sounds\creepy3.ogg", db+1, 1.0};
};
};

// Added Sounds

class CfgSounds
{
sounds[] = {};

class boneBreak1
{
name = "Bone Breaking 1";
sound[] = {"sounds\bone_break1.ogg", 10, 1};
titles[] = {};
};

class boneBreak2
{
name = "Bone Breaking 2";
sound[] = {"sounds\bone_break2.ogg", 10, 1};
titles[] = {};
};

class monsterGrunt
{
name = "Monster Grunt";
sound[] = {"sounds\monster_grunt.ogg", 10, 1};
titles[] = {};
};

class monsterScream1
{
name = "Monster Scream 1";
sound[] = {"sounds\monster_scream1.ogg", 10, 1};
titles[] = {};
};

class monsterScream2
{
name = "Monster Scream 2";
sound[] = {"sounds\monster_scream2.ogg", 1, 1};
titles[] = {};
};

class monsterScream3
{
name = "Monster Scream 3";
sound[] = {"sounds\monster_scream2.ogg", 1, 1};
titles[] = {};
};

class bushRustle1
{
name = "Bush Rustle 1";
sound[] = {"sounds\bush_rustle1.ogg", 1, 1};
titles[] = {};
};

class bushRustle2
{
name = "Bush Rustle 2";
sound[] = {"sounds\bush_rustle2.ogg", 1, 1};
titles[] = {};
};

class mp5
{
name = "mp5";
sound[] = {"sounds\mp5.ogg", 1, 1};
titles[] = {};
};

class scream1
{
name = "Scream 1";
sound[] = {"sounds\scream1.ogg", 1, 1};
titles[] = {};
};

class scream2
{
name = "Scream 2";
sound[] = {"sounds\scream2.ogg", 1, 1};
titles[] = {};
};
};

class CfgFunctions
{
class scripts
{
file = "scripts";
class scripts {};
};
};

This post was edited by Stud_Muffin (2019-01-15 23:54, 182 days ago)