Home   Help Search Login Register  

Author Topic: Sound help!  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

dragonshinobi03

  • Guest
Sound help!
« on: 24 Oct 2003, 14:30:31 »
Hi i have made a sound and i want to know how do i upload or use the sound in the game

Komuna

  • Guest
Re:Sound help!
« Reply #1 on: 24 Oct 2003, 15:48:34 »
Hi mate!

First, you must have your sound converted into .ogg format for space sparing. Wave is just too big... (unless you're refering to a 5s sound file :D)

Then, you'll have to configure the Description.ext - if you haven't done it, create this file at your mission's directory (Users\You\Missions\Your_mission) - with the CfgSounds class.

I'm not a sound expert, but you will get a tutorial about this very quickly if you go to the Editors Depot.


Example:

class CfgSounds
{
sounds[] = { CustomSound };
class CustomSound
{
name = "MySound";
sound[] = {"mysound.ogg", db+10, 1.0};
titles[] =
{
0, "Text label"
};
};


Note: Above I've added a link for a OGG convertion tool. If you want a more reliable one go to the Vorbis site