OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Old_Man on 09 Apr 2003, 02:43:22
-
Ok,Ok,
I've managed to get the description and stringable files written,but my radio won't work. I call the the first one with a waypoint and the second with a trigger. when both are tripped I get the static and text but not the speech. Also both are supposed to play during a cutscene with background music.
//Made with OP:DLC Radio
class CfgRadio
{
class Helo1
{
name = "Helo1";
sound[] = {"Helo1.ogg", db+85, 1.0};
title = $STRM_Helo1;
};
class Helo2
{
name = "Helo2";
sound[] = {"Helo2.ogg", db+85, 1.0};
title = $STRM_Helo2;
};
};
Old_Man
-
I'm not a "Sound" expert, but it's not much difficult to work with it... First ensure yourself you're putting the "Helo1.ogg" into /Sounds subdirectory. Then use a waypoint/trigger/script/whatever to make a unit radio: Unit sideradio "Helo1" [i'm not sure if "" are realy needed]. Your descript....ext seems fine. If you get the text it means that stringtable.csv is also fine... Can't see no more problems with it... ;)
-
Thanks MorMel,
Did that, I think the files are fine also, But it really bothers me about no sound. Any one else have a suggestion.
Old_Man
-
Try this, instead:
class CfgRadio
{
class Helo1
{
name = "";
sound[] = {"Helo1.ogg", db-10, 1.0};
title = $STRM_Helo1;
};
[The same for Helo2]
As you see, I didn't change almost nothing! But it works with mine...
Then put "Helo1.ogg" into /sounds subdirectory (in the same mission folder).
At Activ. field type this: player sideradio "Helo1"
Don't forget to put all sound effects at maximum in the "Options"menu!
Just don't know what to tell you more... ???
-
Hi
If ur stuck try looking at my topic on "big tropuble wiv radio".......
if it don help then let me know whta the prob is (if there stilll is one) and ill help........
RHYS