Ambient music functions

Abs

First time out of the vault
Firstly I have worked out how to get sound zones and general ambient sounds working, that's all good.

BUT I noticed there's a potential for an;

ambientMusic = {}

Line in a sounds.txt file. I just can't seem to get it working. To be clear my intent is to have certain maps play specific music tracks in the music category (as sound zones are considered "effects" in the volume control section of the options menu, instead of music).

I tried naming the file and putting it in the main music/mission folder, then referencing that file in the txt file. And I've tried putting the folder and file path in the brackets (like is done with ambient sounds) with no success. Am I using the wrong format? Or the wrong file type (I use mp3)?

Any advice?
 
Back
Top