Adding custom sounds to Arma 3 is not too hard at all. I am adding a sound in this example to play when a mission is complete.
Add this code to your description.ext file and change the classname and path to suit.
class CfgSounds { sounds[] = { }; class mw2 { name = "mw2"; sound[] = {"media\mil_mission_complete.ogg",1, 1,100}; titles[] = {0, ""}; }; }; |
Now that the sound file is properly defined, add this code where you wish the sound to play.
"mw2" remoteExec ["playSound"]; |
Then the chosen sound file will play on every player`s computer. This is a great way to announce that a mission is complete and adds another dimension to your mission.
This is another example, this is a built-in Arma 3 sound, a great one to play when you complete a mission.
"cp_mission_accomplished_3" remoteExec ["playSound"]; |
This is how easy it is to play a custom sound in an Arma 3 mission, this really helps to make your scenario more interesting.