Author Topic: Help with making sounds  (Read 739 times)

Why, hello there.

I am experiencing technical difficulties with a sound pack I am trying to make.
I put the code in correctly (I believe I did), I followed the instructions from this topic: http://forum.blockland.us/index.php?topic=65500.0
It is in my addons, I enable it in the Add-Ons Menu, I start a game and they're not there.
What did I do wrong?


post the zip or whatever

Post the file so we can look at you packaging.


Try changing the server.cs to this.
Code: [Select]
datablock AudioProfile(ButtonSCP_Sound)
{
filename = "./ButtonSCP.wav";
description = AudioClosest3d;
  preload = false;
};

datablock AudioProfile(DoorCloseSCP_Sound : ButtonSCP_Sound)
{
filename = "./DoorCloseSCP.wav";
};

datablock AudioProfile(DoorOpenSCP_Sound : ButtonSCP_Sound)
{
filename = "./DoorOpenSCP.wav";
};

datablock AudioProfile(Horror3SCP_Sound : ButtonSCP_Sound)
{
filename = "./Horror3SCP.wav";
};

datablock AudioProfile(Horror4SCP_Sound : ButtonSCP_Sound)
{
filename = "./Horror4SCP.wav";
};

datablock AudioProfile(Horror7SCP_Sound : ButtonSCP_Sound)
{
filename = "./Horror7SCP.wav";
};

datablock AudioProfile(Shoot2_Sound : ButtonSCP_Sound)
{
filename = "./Shoot2.wav";
};

I am no expert. But that has seemed to work for me in the past.

Try changing the server.cs to this.
Code: [Select]
[b]datablock AudioProfile(ButtonSCP_Sound)
{
filename = "./ButtonSCP.wav";
description = AudioClosest3d;
  preload = false;
};[/b]
datablock AudioProfile(DoorCloseSCP_Sound : ButtonSCP_Sound)
{
filename = "./DoorCloseSCP.wav";
};

datablock AudioProfile(DoorOpenSCP_Sound : ButtonSCP_Sound)
{
filename = "./DoorOpenSCP.wav";
};

datablock AudioProfile(Horror3SCP_Sound : ButtonSCP_Sound)
{
filename = "./Horror3SCP.wav";
};

datablock AudioProfile(Horror4SCP_Sound : ButtonSCP_Sound)
{
filename = "./Horror4SCP.wav";
};

datablock AudioProfile(Horror7SCP_Sound : ButtonSCP_Sound)
{
filename = "./Horror7SCP.wav";
};

datablock AudioProfile(Shoot2_Sound : ButtonSCP_Sound)
{
filename = "./Shoot2.wav";
};

I am no expert. But that has seemed to work for me in the past.
You r gunna need that on ALL of them :P

I tried to make it bold :P
Try changing the server.cs to this.
datablock AudioProfile(ButtonSCP_Sound)
{
   filename = "./ButtonSCP.wav";
   description = AudioClosest3d;
    preload = false;
};

datablock AudioProfile(DoorCloseSCP_Sound : ButtonSCP_Sound)
{
   filename = "./DoorCloseSCP.wav";
};

datablock AudioProfile(DoorOpenSCP_Sound : ButtonSCP_Sound)
{
   filename = "./DoorOpenSCP.wav";
};

datablock AudioProfile(Horror3SCP_Sound : ButtonSCP_Sound)
{
   filename = "./Horror3SCP.wav";
};

datablock AudioProfile(Horror4SCP_Sound : ButtonSCP_Sound)
{
   filename = "./Horror4SCP.wav";
};

datablock AudioProfile(Horror7SCP_Sound : ButtonSCP_Sound)
{
   filename = "./Horror7SCP.wav";
};

datablock AudioProfile(Shoot2_Sound : ButtonSCP_Sound)
{
   filename = "./Shoot2.wav";
};


I am no expert. But that has seemed to work for me in the past.
You r gunna need that on ALL of them :P


I got this from an Alarm sound pack. This is how it was formatted and it was for all the sounds. It works fine.

I don't see how that could work. The way I have the code in my soundpacks is very different:

Code: [Select]
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;
};

Did you put it in the music folder within your addons folder?

Did you put it in the music folder within your addons folder?

Are you saying that he should or he shouldn't? Because he isn't supposed to.

Try changing the server.cs to this.
Code: [Select]
code

I am no expert. But that has seemed to work for me in the past.
thanks, that fixed it