Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: fightermedic on October 02, 2013, 12:38:17 pm

Title: play-sound-from-file not loud enough, disabling briefing music
Post by: fightermedic on October 02, 2013, 12:38:17 pm
hi there,
i'm trying to play a sound file with the play-sound-from-file command in fred, and have a problem with the volume
the sound is played with what sounds like only about half it's actual volume
is there a way to control the volume of sounds played this way?

also, is there a quick way to completely disable command brifing, and normal briefing music? setting musik to "none" in fred for the briefing still plays some default music ...
Title: Re: play-sound-from-file not loud enough, disabling briefing music
Post by: niffiwan on October 02, 2013, 04:07:19 pm
I don't know about the volume, but to disable music completely could you just assign "empty.wav" to the briefing music?
Title: Re: play-sound-from-file not loud enough, disabling briefing music
Post by: fightermedic on October 02, 2013, 05:30:58 pm
that would require the setup of a new or change of an old briefing music entry in some table, that's why i'm checking out if there is a quick way
it strikes me as especially odd that the briefing music named "none" still plays music..
i'll have to check the default table out i guess
Title: Re: play-sound-from-file not loud enough, disabling briefing music
Post by: Axem on October 02, 2013, 05:39:32 pm
play-sound-from-file uses the music volume, so see if your music volume is high enough in options. As well sound effects are typically done so their volume is maximized, while music might or might not have its volume maximized. And the newer sound code can cause sound effects to really overpower music.
Title: Re: play-sound-from-file not loud enough, disabling briefing music
Post by: fightermedic on October 02, 2013, 05:46:04 pm
strange, i've set all sound sliders to minimum in game options, but unless i did mess something up, that did not make any difference
i guess i will just have to create a table and see if that works

edit: seems like i've indeed messed something up, now it's just as you say Axem, thanks