Blockland Forums > Modification Help
Soundpack Annoyance
Pages: (1/1)
Sheath:
I was whipping up a sound pack. I converted the audio from MP3 to WAV and compressed it and made it mono, to lower file size. I then changed the cs to this...
datablock AudioProfile(Example_Audio)
{
filename = "./example.wav";
description = AudioClosest3d;
preload = false;
};
datablock AudioProfile(Example_Two_Audio : Example_Audio)
{
filename = "./exampletwo.wav";
};
datablock AudioProfile(Example_Sound_Cake : Example_Audio)
{
filename = "./cake.wav";
};
The datablocks load fine according to console, but when I made a brick and evented it to play a sound, Blockland would lag slightly and play no sound. What did I do wrong, this is suppose to be easy. :I
pecon7:
I think Preload needs to be true.
Im not an expert, but Ive made soundpacks before.
Sheath:
--- Quote from: pecon7 on October 05, 2010, 11:29:52 PM ---I think Preload needs to be true.
Im not an expert, but Ive made soundpacks before.
--- End quote ---
Gonna give it a shot.
EDIT: Damn its still not working. Eh...
EDIT 2: I think its the sound file itself.
Pages: (1/1)