Blockland Forums > Modification Help

Need help packaging sounds.

Pages: (1/1)

Orion:

I'm making a soundpack for something i'm making and i have all the sounds ready, but i can't package them correctly. I've looked at the other soundpacks and i tried to fit mine in but it didn't work.

Can someone either write up a quick guide for the server.cs or i can upload the sounds to mediafire and you can do it for me?


Contents of Sound_Pacman:

description.txt

--- Code: ---Title: Pacman Sounds
Author: Orion
A neat jumble of sounds from the classic game Pacman.

--- End code ---
namecheck.txt

--- Code: ---Sound_Pacman

--- End code ---
Pacman_Death.wav
Pacman_ExtraLife.wav
Pacman_Fruit.wav
Pacman_Intermission.wav
Pacman_Opening.wav
Pacman_Waka.wav
Server.CS

--- Code: ---datablock AudioProfile(Pacman_Death)
{
   filename = "./Pacman_Death.wav";
   description = AudioClosest3d;
   preload = false;
};
datablock AudioProfile(Pacman_ExtraLife)
{
   filename = "./Pacman_ExtraLife.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Fruit)
{
   filename = "./Pacman_Fruit.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Intermission)
{
   filename = "./Pacman_Intermission.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Opening)
{
   filename = "./Pacman_Opening.wav";
   description = AudioClosest3d;
   preload = false;
};datablock AudioProfile(Pacman_Waka)
{
   filename = "./Pacman_Waka.wav";
   description = AudioClosest3d;
   preload = false;
};

--- End code ---


File : http://www.mediafire.com/?zct6wvm828li3yb

Orion:

brump

SPooK:

To be perfectly honest, I can not even get the package to show up in the game XD. All I could suggest to you is change your server.cs to this:

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

datablock AudioProfile(Pacman_ExtraLife_Sound : Pacman_Death_Sound)
{
    filename = "./Pacman_ExtraLife.wav";
};

datablock AudioProfile(Pacman_Fruit_Sound : Pacman_Death_Sound)
{
    filename = "./Pacman_Fruit.wav";
};

datablock AudioProfile(Pacman_Intermission_Sound : Pacman_Death_Sound)
{
    filename = "./Pacman_Intermission.wav";
};

datablock AudioProfile(Pacman_Opening_Sound : Pacman_Death_Sound)
{
    filename = "./Pacman_Opening.wav";
};

datablock AudioProfile(Pacman_Waka_Sound : Pacman_Death_Sound)
{
    filename = "./Pacman_Waka.wav";
};


--- End code ---


Pages: (1/1)

Go to full version