PDA

View Full Version : l337 scripting skills needed



Black Op
Nov 11 2001, 00:25
ive got some music i want to play in a mission. ive converted it from a .wav file to .ogg

what do i do next?

RED
Nov 11 2001, 08:45
take a look at :

http://members.tripod.co.uk/redofp/Voices.htm

and

http://members.tripod.co.uk/redofp/Voices.htm

RED

Black Op
Nov 11 2001, 11:43
the tutorial is for voices http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif, i want to put music in

Damage Inc
Nov 11 2001, 12:39
http://www.ofpeditingcenter.com/Tutorials/SoundTute/sound_tute.shtml

RED
Nov 11 2001, 13:13
whoops i gave u the wrong one lol :

http://members.tripod.co.uk/redofp/music.htm

RED

Black Op
Nov 11 2001, 13:30
its not working http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif, i follow the tutorial, make the descritption.ext, made a trigger to play the music, but it says music not found, i changed the jimi to the name of my track

http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif

Black Op
Nov 11 2001, 13:33
the file is called platoon.ogg

could you show me what i need to put in the descritption.ext

RED
Nov 11 2001, 14:05
well when u get the original file name, don't change it ! after u convert it mucks it up 4 me, try that

RED

Black Op
Nov 11 2001, 14:36
i dont understand http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif

Damage Inc
Nov 11 2001, 14:39
Are you sure it's the right bitrate and mono channel?

RED
Nov 11 2001, 14:39
the sound if it is called say jimi.mp3 before u convert it, leave it as jimi.ogg after u converted it don't change the name

RED

Damage Inc
Nov 11 2001, 14:40
Oops, music doesn't have to be mono channel.

Black Op
Nov 11 2001, 14:47
i have the .ogg file, but i havent got a clue what im suppose to do to get it to play, the tutorials are really complicated and i dont understand scripts http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif

RED
Nov 11 2001, 14:52
........ok try this : class CfgMusic
{
tracks[]=
{
Jimi
};



class Jimi
{
name = "Jimi ";
sound[] = {\music\Jimi .ogg, db+130, 1.0};
};

};

put this in the description.ext file

then toget it to play u put : playmusic "jimi"

if the sound was origonaly called plooton keep it as that and change all the jimi's to platoon's http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif

understand that ?

RED