OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: HOBOMAN on 06 Jul 2004, 21:09:59
-
Well i was working on one of my missions and the sound files just will not play, here is part of the Description.ext, i dont see any problems!
class CfgSounds
{
sounds[] = { };
class spark
{
name = "spark"
sound[] = {\sound\spark.wav, db + 5, 1.0};
titles[] = {0, ""};
};
class Wind
{
name = "Wind";
sound[] = {\sound\Wind.wav, db + 40, 5.0};
titles[] = {0, ""};
};
};
class CfgMusic
{
tracks[] = { };
class ironman
{
name = "ironman";
sound[] = {\music\ironman.wav, db + 5, 1.0};
};
class ussr
{
name = "ussr";
sound[] = {\music\ussr.wav, db + 5, 1.0};
};
};
Can somebody please helping find the problem, the auido files are .wav, which works with opf.
Thx
-
class CfgSounds
{
sounds[] = {spark, wind };
class spark
{
name = "spark"
sound[] = {\sound\spark.wav, db + 5, 1.0};
titles[] = {0, ""};
};
class Wind
{
name = "Wind";
sound[] = {\sound\Wind.wav, db + 40, 5.0};
titles[] = {0, ""};
};
};
class CfgMusic
{
tracks[] = {ironman, ussr };
class ironman
{
name = "ironman";
sound[] = {\music\ironman.wav, db + 5, 1.0};
};
class ussr
{
name = "ussr";
sound[] = {\music\ussr.wav, db + 5, 1.0};
};
};
-
could this info help?
Bit rate 20kps
channels 1
audio sample rate 16hz
audio format mpeg layer-3
-
Please help!!! ??? I have no clue what is wrong ???
-
from the sticky post at the top of this forum :
U can leave the channels: stereo, Bit rate must be 128kbps-standard and BIS used it too, Encoding
should be Constant Bitrate (a must) and Frequency-44100hz
-
I think the real problem is wav files - they must be .ogg files! Check out Sound tute here are OFPEC, and various free conversation programs. Vorbizz Ogg Drop (or something like that) is easy, just drag and drop wav files and they convert to OFP .ogg files.
-
No, it works with .wav, but it's not recommended due the filesize, use .ogg or even .wss.
Read Bloodmixer's soundtutorial 1.3, it's all there...
http://members.lycos.co.uk/bloodmixer/
btw : your description.ext was wrong, see the 2th post.
-
Thanks!
-
So one final, question: I cant get the sound the stop playing ! :) (well atleast they are playing :P)