Blockland Forums > Help
Can someone link me to a tutorial for sounds?
(1/1)
Freek:
Can someone link me to a tutorial for making sound packs? I couldn't find any.
Doomonkey:
I checked the list of tutorials and couldn't find any. I would suggest downloading a few sound packs and then taking them apart to figure this out.
Doomonkey:
Here is how to do it:

Insert the regular files like namecheck and description.

Insert the sounds.

Create a server.cs file with the following block: (The things in all caps should be replaced with the actual names)

--- Code: ---datablock AudioProfile(FILE1NAME)
{
filename = "./FILE1NAME.wav";
description = AudioClosest3d;
preload = false;
};

--- End code ---
Use this block for the first file in your pack.

For all other files use:

--- Code: ---datablock AudioProfile(FILE2NAME : FILE1NAME)
{
filename = "./FILE2NAME.wav";
};

--- End code ---

So a pack might look like this:

--- Code: ---datablock AudioProfile(DoggyBark)
{
filename = "./DoggyBark.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(CatMeow : DoggyBark)
{
filename = "./CatMeow.wav";
};

--- End code ---
Navigation
Message Index

Go to full version