Author Topic: Sound pack.  (Read 573 times)

I'm working on a guitar sound pack, and I was wondering how you should package your sound packs. I know all sounds should be WAVs, but what should I name the add-on folder, and what should I put in the folder?


Is Server.CS something that has to be changed with each map pack, or is it a cookie-cutter thing that I can copy from his and put in mine?

He's putting a path for BL to enable the Audio files
Code: [Select]
datablock AudioProfile(Morse_Dash_Sound)
{
filename = "./Morse_Dash.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(Morse_Dot_Sound : Morse_Dash_Sound)
{
filename = "./Morse_Dot.wav";
};
So pretty much change the names to fit your needs.

Is Server.CS something that has to be changed with each map pack, or is it a cookie-cutter thing that I can copy from his and put in mine?
Server.cs can be one of two things, for the most part.

 - You can stick your add-ons in it
 - You can enable you add-ons through it

Some people prefer to put all their datablocks in the server.cs (which works fine, you just use it like your AddOn_Whatever.cs in v8). Others already have a (usually v8) script made, and just enable it through the server.cs. Take a look at some of the default vehicles for both of those.

I believe the jeep uses datablocks in server.cs and the magic carpet enables Vehicle_MagicCarpet.cs in the server.cs.

Hopefully that made sense.