OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: TH on 02 Jul 2004, 21:59:49
-
i read the first post through and it i did what it said.. my music still isnt loud enough but when i try the regular ofp music it comes in loud and clear, heres my description
class CfgMusic
{
// List of music tracks (.ogg files without the .ogg extension)
tracks[] = {rolling};
// Class definition needed for each music track
class rolling
{
// Name to display in mission editor
name = "rolling";
// Music path, volume, pitch
sound[] = {\music\rolling.ogg, db + 1.0, 1.0};
};
};
i tried making 1.0 higher but it doesnt work.
-
if that doesn't work, you prolly should edit the file in a sound program to add volume. Plenty of programs out there to help you.
-
which 1.0 do i make higher? the first one right?
-
yeah. Try changing it to +20 or so.
I never really noticed a difference, so I always use Acoustica MP3 editor to manipulate the sound files I use.
-
ive tried to cahnge it.. barely any difference i guess ill try that music editor u have
-
check your pm plz ;)
-
:) hey m8.
If you don't wanna fiddle around with all them sound files then just use
the "volume command" in a trigger/waypoint :
(volume up) :
0 fadeMusic 1.8
(..and down) :
25 fadeMusic 0.0 which will fade the music to null in 25 seconds :-* :)
use "FadeSound" for sounds btw. Default volume is "1" for both sound & music.
Now that we're at it:
EnableRadio False ..will switch off all radio talk. (use "true" to get it back)
:D simple and good to know when making cutscenes.
-
/me grabs Tomb by the balls
Where did you get that information?!
I was under the impression that
a) default volume was 0.5 and
b) the scale was between 0 and 1
:o
/edit
aha! I checked the comref. Somehow it seems illogical. I'm gonna spam it here.
time fadeMusic volume
Operand types:
time: Number
volume: Number
Type of returned value:
Nothing
Description:
Smooth change in music volume. Change duration is given by time, target volume by volume. Default music volume is 0.5.
Example:
5 fadeMusic 0
time fadeSound volume
Operand types:
time: Number
volume: Number
Type of returned value:
Nothing
Description:
Smooth change in all sounds volume. Change duration is given by time, target volume by volume. Default sounds volume is 1.0.
Example:
5 fadeSound 0.1
According to BIS, the default volume for music is 0.5 and for sounds 1.0.
Doh!
"But Kirk, if we reason this further we can only come to the assumption that the default volumes for music and sounds differ from each other."
"By God Spock, you're right! However confusing, the minimum volume must still be 0, right?"
"You are correct, Captain. My indicators read that the maximum volume remains unclear to us at this time."
/edit
ps.
:hmm:
word has it the TMCM has actually being unleashed... Howsabout that. It took half the community & 2 years!! And its definately not worth the wait... unless off course yer a sucker for bikes, hehe!!
-
TMCM is a biker gang pack.. ::)