Author Topic: NEED HELP QUICK: Help with Sound File server.cs  (Read 971 times)

Alright here's the story, I go to Colorado for a 2 week vacation and I got Kalph server time running. I would like these sounds to be working in the server before I go.

Code: [Select]
datablock AudioProfile(CSS_CTwin)
{
filename = "./CSS_CTwin.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CSS_Headshot)
{
filename = "./CSS_Headshot.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CSS_Hostage)
{
filename = "./CSS_Hostage.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CSS_KillingSpree)
{
filename = "./CSS_KillingSpree.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CSS_Okletsgo)
{
filename = "./CSS_Okletsgo.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CSS_Prepare)
{
filename = "./CSS_Prepare.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CSS_Twin)
{
filename = "./CSS_Twin.wav";
description = AudioClosest3d;
preload = false;
};

Why doesn't this work? They show up in the list but I don't hear anything, I can hear other sounds though.(obviously not volume issue)

Please help fast! I know nothing about scripting. Feel free to laugh.

One last thing...I noticed that when I go to try them, I get a slight lag spike, where as other sound files do not do this. Why is this?
« Last Edit: August 11, 2012, 09:32:59 PM by Racerboy »