I've been trying to implement manhit sounds (screams) as done in the ECP.
I have the following description.ext, code taken from ECP.
class CfgSounds
{
sounds[] = { ManHit0,ManHit1,ManHit2,ManHit3,ManHit4,ManHit5};
class ManHit0
{
sound[]={"voices\Hit11",0.056234,1.0};
name = "ManHit0";
titles[] = {};
};
class ManHit1
{
sound[]={"voices\Hit12",0.056234,1};
name = "ManHit1";
titles[] = {};
};
class ManHit2
{
sound[]={"voices\Hit13",0.056234,1};
name = "ManHit2";
titles[] = {};
};
class ManHit3
{
sound[]={"voices\Hit14",0.056234,1};
name = "ManHit3";
titles[] = {};
};
class ManHit4
{
sound[]={"voices\Hit15",0.056234,1};
name = "ManHit4";
titles[] = {};
};
class ManHit5
{
sound[]={"voices\Hit16",0.056234,1};
name = "ManHit5";
titles[] = {};
};
};
When I try:
PlaySound "ManHit0"
no sound is played and no error message is displayed. What am I doing wrong?