Author Topic: how to get a sound in BL?  (Read 1713 times)

OK, so Im trying to get some sounds in BL, and Ive been looking at other ones to know what to put in the folder. Ive put in the wave file and the description txt file, and I see other files like rtbInfo, namecheck and server.cs. Do I need those, and if I do would someone be kind enough to tell me what to do?

Thanks.

all this help is amazing. thanks guys!

all this help is amazing. thanks guys!
Hah! You're very welcome! If you have any more questions, feel free to PM me.


No one will wan't to explain it to you just go in the blockland folder and look how to other ones are made then copy them.Thats how i learned

rtbinfo.txt is a file that is added to an add-on when put through the Return to Blockland process (in other words, not required). Don't make one yourself, it's pointless.
namecheck.txt, although not required, basically just won't allow the add-on to execute if the name is changed to something different from what is inside the .txt file. I believe the Return to Blockland process adds one if you don't, but I don't remember.

server.cs is used to execute the add-on, I am quite sure description.txt is required.

server.cs generally looks like this:
Quote from: server.cs
datablock AudioProfile(datablockNameHere)
{
   filename = "./nameHere.wav";
   description = AudioClosest3d;
   preload = false;
};

description.txt generally looks like this:
Quote
Title: Add-on Name
Author: Me
Description

obviously you also include the sound file in the .zip, which I believe is required to be a .wav file, which should be named "Sound_NameHere".


If you look inside the default add-on "Sounds_Beeps", you get the general idea of how it works.
« Last Edit: July 04, 2011, 09:27:46 PM by Blastdown »

namecheck.txt is made automatically by the game.


We have a brick creator why not a sound creator where you just put in a mp3. 

We have a brick creator why not a sound creator where you just put in a mp3. 
why make a .mp3 converter built in when you can just convert it to .wav yourself