Blockland Forums > Help
Help with making sounds
Planr:
I don't see how that could work. The way I have the code in my soundpacks is very different:
--- Code: ---datablock AudioProfile(STTOS_Button1)
{
filename = "./STTOS_Button1.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Button2)
{
filename = "./STTOS_Button2.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Button3)
{
filename = "./STTOS_Button3.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Button4)
{
filename = "./STTOS_Button4.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Button5)
{
filename = "./STTOS_Button5.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Button6)
{
filename = "./STTOS_Button6.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_PhaserSwitch)
{
filename = "./STTOS_PhaserSwitch.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Boatswain_Whistle)
{
filename = "./STTOS_Boatswain_Whistle.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Door_Swish)
{
filename = "./STTOS_Door_Swish.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Bridge_Whistle)
{
filename = "./STTOS_Bridge_Whistle.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Red_Alert)
{
filename = "./STTOS_Red_Alert.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Sick_Patient)
{
filename = "./STTOS_Sick_Patient.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Well_Patient)
{
filename = "./STTOS_Well_Patient.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Dying_Patient)
{
filename = "./STTOS_Dying_Patient.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Transporter_Activate)
{
filename = "./STTOS_Transporter_Activate.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_TransporterPrep)
{
filename = "./STTOS_TransporterPrep.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_TransporterReady)
{
filename = "./STTOS_TransporterReady.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_Button7)
{
filename = "./STTOS_Button7.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_IntercomChat1)
{
filename = "./STTOS_IntercomChat1.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_IntercomChat2)
{
filename = "./STTOS_IntercomChat2.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_IntercomChat3)
{
filename = "./STTOS_IntercomChat3.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(STTOS_IntercomChat4)
{
filename = "./STTOS_IntercomChat4.wav";
description = AudioClosest3d;
preload = false;
};
--- End code ---
hankyje:
Did you put it in the music folder within your addons folder?
SPooK:
--- Quote from: hankyje on June 04, 2012, 09:15:25 PM ---Did you put it in the music folder within your addons folder?
--- End quote ---
Are you saying that he should or he shouldn't? Because he isn't supposed to.
AQuietBadger:
--- Quote from: SPooK on June 04, 2012, 06:34:51 PM ---Try changing the server.cs to this.
--- Code: ---code
--- End code ---
I am no expert. But that has seemed to work for me in the past.
--- End quote ---
thanks, that fixed it