So we all know about Chrono's 2D Music system that plays music to the client through events.
What about 2D sounds? The music system only shows the music files in the music folder. I have music files that are > 1 MB, so I made this nice script that allowed me to use them as sound effects:
datablock AudioProfile(Music_1_Sound)
{
filename = "./Music_1.ogg";
description = AudioClose3D;
preload = false;
};
datablock AudioProfile(Music_2_Sound : Music_1_Sound)
{
filename = "./Music_2.ogg";
};
datablock...etc.
Now that I have that, how would I play it to the client? (I want it to loop, too. When I changed the description to AudioCloseLooping3D, the music didn't show up in the playSound list.)