Author Topic: Need help packaging sounds.  (Read 1372 times)

I'm making a soundpack for something i'm making and i have all the sounds ready, but i can't package them correctly. I've looked at the other soundpacks and i tried to fit mine in but it didn't work.

Can someone either write up a quick guide for the server.cs or i can upload the sounds to mediafire and you can do it for me?

I want to know how too, because I plan on makeing a TF2 UI soundpack.

Bump, because I REALLY need to know.



Oh, that's easy.


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


Oh, that's easy.


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


So  just copy and paste that in your server.cs for however many sounds you have, then replace the namnes?

So  just copy and paste that in your server.cs for however many sounds you have, then replace the namnes?
And be sure you have description.txt and the sounds in the addon, yes.

And be sure you have description.txt and the sounds in the addon, yes.
Well duh I'm not completely illiterate. Anyway thanks! The prefix is Sounds_ right?

Well duh I'm not completely illiterate. Anyway thanks! The prefix is Sounds_ right?
Doesn't really matter.

You can name it Monkey_Butt. doesn't matter.

But for sake of organization, have it like Sounds_MonkeyButt please.

Doesn't really matter.

You can name it Monkey_Butt. doesn't matter.

But for sake of organization, have it like Sounds_MonkeyButt please.
Well thanks. Orion should lock the topic now :P
Also that made me lol.

Thanks Otto. Locking.

Damnit, just tried it and it didn't work.

Contents of Sound_Pacman:

description.txt
Code: [Select]
Title: Pacman Sounds
Author: Orion
A neat jumble of sounds from the classic game Pacman.
namecheck.txt
Code: [Select]
Sound_Pacman
Pacman_Death.wav
Pacman_ExtraLife.wav
Pacman_Fruit.wav
Pacman_Intermission.wav
Pacman_Opening.wav
Pacman_Waka.wav
Server.CS
Code: [Select]
datablock AudioProfile(Pacman_Death)
{
   filename = "./Pacman_Death.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_ExtraLife)
{
   filename = "./Pacman_ExtraLife.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Fruit)
{
   filename = "./Pacman_Fruit.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Intermission)
{
   filename = "./Pacman_Intermission.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Opening)
{
   filename = "./Pacman_Opening.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Waka)
{
   filename = "./Pacman_Waka.wav";
   description = AudioClosest3d;
   preload = false;
};

Eh?


That's odd.

What do you mean by it isn't working? Does it not load? Does it use a different sound? Does it do a dance? What?

Sorry, double post.


Try lowercasing the "Server" in "Server.CS". Probably won't do anything, but work a try.

Try having it like this:

Code: [Select]
datablock AudioProfile(Pacman_Death)
{
   filename = "./Pacman_Death.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_ExtraLife)
{
   filename = "./Pacman_ExtraLife.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_Fruit)
{
   filename = "./Pacman_Fruit.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_Intermission)
{
   filename = "./Pacman_Intermission.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_Opening)
{
   filename = "./Pacman_Opening.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_Waka)
{
   filename = "./Pacman_Waka.wav";
   description = AudioClosest3d;
   preload = false;
};


Try deleting namecheck.txt