-
March 26, 2025 at 19:34 #5020
I know how to play wav files using wac commands, and I’ve even learned how to create custom ones. I also know that it’s possible to play multiple sounds simultaneously because as I said previously, but the only way to do this is by using sound sets defined in the .lwf files of the game. Alternatively, sounds can be played in Med using the ‘Play Dialogue’ event, which requires a .dbf file. For example, all the training missions utilize these files and play the wavs without relying on wac commands. When the game plays other sounds (like vehicle noises, gunshots, etc.), it’s using sound sets. These sound sets are defined in the LWF files of the game, which controls parameters such as volume, distance, and how many sound files are played within the set. I guess the game needs a program or something to make custom ones, just dont know how and can’t seem to find any information relevant to this.
Here is another example. Say I want a bot to play a soundset every 5 second. I can set up a wac event something like this:if eq(v1, 1) and elapse(5) then
ss2ssn ss_GS_M16AI,11
endifNow this sound can be heard as though the weapon is fired from that ssn and is not going to cut any wav file that might currently be playing, if it makes sense.
Latest 10 Comments