Author Topic: [fixed] my sounds aren't showing up in the soundlist  (Read 587 times)

i made an addon with alot of sounds from a game called kingpin. here are the names of them;
Quote
boardbreak
brickfall
can1
can2
canbeer
crate2
crate3
dog1
dog2
fence1
glasbrk
trash2

but when i look in the list, here's what i see:



none of them are showing up
did i goof up something in the .cs file? here it is if you need it
spoiler alert i'm not good at this

Code: [Select]
datablock AudioProfile(boardbreak_Sound)
{
filename = "./boradbreak.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(brickfall : boardbreak)
{
filename = "./brickfall.wav";
};

datablock AudioProfile(can1 : boardbreak)
{
filename = "./can1.wav";
};

datablock AudioProfile(can2 : boardbreak)
{
filename = "./can2.wav";
};

datablock AudioProfile(canbeer : boardbreak)
{
filename = "./canbeer.wav";
};

datablock AudioProfile(crate2 : boardbreak)
{
filename = "./crate2.wav";
};

datablock AudioProfile(crate3 : boardbreak)
{
filename = "./crate3.wav";
};

datablock AudioProfile(dog1 : boardbreak)
{
filename = "./dog1.wav";
};

datablock AudioProfile(dog2 : boardbreak)
{
filename = "./dog2.wav";
};

datablock AudioProfile(fence1 : boardbreak)
{
filename = "./fence1.wav";
};

datablock AudioProfile(glasbrk : boardbreak)
{
filename = "./glasbrk.wav";
};

datablock AudioProfile(trash2 : boardbreak)
{
filename = "./trash2.wav";
};

here's a download to the addon itself

edit: i made a typo in the server.cs file and added _Sound to boardbreak that fixed it i think i don't remember
« Last Edit: August 19, 2016, 04:13:03 AM by gebenuwell »

The datablock you initially made is called boardbreak_Sound, but then you try to clone it as just boardbreak.