Arma 3
How to add custom music for mission?
Trying to make a mission using editor. How can i add my own custom music i want to use it for a specific part of the mission. Thanks in advance
< >
Showing 1-15 of 22 comments
Daankeeper Jan 20, 2017 @ 1:52am 
Whit the obects on the spawn list
LaVNDR Jan 20, 2017 @ 3:50am 
How does that work? I would also like to know how to add music to missions, ur what do objects have to do with it?
Puppet Pal Clem Jan 20, 2017 @ 4:18am 
Originally posted by Aug Bond:
How does that work? I would also like to know how to add music to missions, ur what do objects have to do with it?

after 6 hours of searching through peoples faulty work and errors and the youtube videos that dont work i finally found it..... I didnt sleep all night until i found the proper script and steps to get it to work.

class CfgMusic
{
sounds[] = {01,02};
class 01
{
name = "01";
sound[] = {"music\sound1.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 02
{
name = "02";
sound[] = {"music\sound2.ogg", db+10, 1.0};
titles[] = {0,""};
};


};

Place this in your description.ext in your documentary>arma3>mission>YOURMISSIONFILE

"Then place your music files in your mission folder in a subfolder named music, so sound1.ogg would be placed "C:\Users\YOURPCNAME\Documents\Arma 3\missions\YOURMISSIONNAME.Stratis\music\sound1.ogg"

Then to trigger the sound create a trigger in the editor, choose effects and music. scroll down to the bottom of the music list and you will see 01 and 02 the names of my music files as defined above, choose which one you want. Then just set your trigger to what ever you want to trigger your sound and preview your mission. You should hear your music files when you activate the trigger. you can adjust the volume of your music by editing the bit in description.ext "db+10".

Set your trigger condition to true to just activate your music straight from mission start.

Hope that helps "

you have to use trigger to make it work! I can't believe i stayed up all night doing this crap. I was getting a bunch of errors with what other people were telling me to do. It was saying missing files and crap... Also convert your mp3 file into OGG (free easy and fast) then put it in a folder called "music" within your mission folder.
Last edited by Puppet Pal Clem; Jan 20, 2017 @ 4:21am
Puppet Pal Clem Jan 20, 2017 @ 11:18am 
Originally posted by Aug Bond:
How does that work? I would also like to know how to add music to missions, ur what do objects have to do with it?

tell me if it works for you, i will help if it doesn't
Laqueesha Jul 14, 2018 @ 9:39am 
Works for me!
Puppet Pal Clem Jul 24, 2018 @ 7:01am 
Originally posted by Laqueesha:
Works for me!

Sweet, glad it helped you out buddy ;)
Floppy May 18, 2020 @ 10:42am 
I'm having some trouble. I tried both with ogg and wav files, but the game doesn't find the tracks I add.
RainyXml Dec 13, 2020 @ 12:14am 
Originally posted by Floppy:
I'm having some trouble. I tried both with ogg and wav files, but the game doesn't find the tracks I add.
Make sure you don't do a direct conversion of the file format(e.g. directly converting a mp3 file into an ogg file by renaming it.), it considers it as an unrecognized format and will not play the track. Make sure you do the conversion via online engines. Also make sure you give your track a name(e.g. name = "Run Through The Jungle") then only you'd be able to find where your track goes.
BurnerTactical Dec 30, 2020 @ 2:48pm 
thanks for helping out the community OP.
Alaskan Glitch Dec 31, 2020 @ 8:43am 
Messing around with the CfgMusic is the only way to add new music to the game. However, if you wish to use existing music, there are easier ways.

If you are looking to play music at a particular point in a mission, or when players reach a particular position consider using a trigger. Select the music to be played when the Condition of the trigger is true.

I will often have the trigger play "Mission Accomplished" music whenever a player completes a task.

Or if you want more dynamic music, to change whenever the Mode of the player changes, consider using the BIS_fnc_jukebox function. When players are in Stealth mode you can have the mission play one type of music, and when they switch into Combat mode play a completely different type of music.

Run from your init.sqf for example,
private ["_stealth","_combat","_safe","_param","_val"]; _stealth = ["Track11_StageB_stealth","BackgroundTrack01_F_EPB"]; _combat = ["Track_O_16","LeadTrack05_F","Track10_StageB_action"]; _safe = ["Track_C_03","Track_C_12","Track_C_20","Track_O_08"]; _param = [_stealth, _combat, _safe, 1, 3, 10, 1, false]; _val = ["initialize", _param] call BIS_fnc_jukebox;

The list of music titles was kept short for example purposes. If your music title list is long enough, it could play different music for the entire duration of the mission without repeating.
Last edited by Alaskan Glitch; Dec 31, 2020 @ 8:56am
gbr000 Sep 15, 2022 @ 8:34am 
You guys don't explain well your tutorials. What this is intetended for: Zeus mode. Single Missions, Multiplayer, Editor? By the way how do I play my song anytime I want, is there "press a button and it will play" also change tracks. I really don't get it with this tutorial
Alaskan Glitch Sep 15, 2022 @ 9:06am 
Originally posted by gbr000:
You guys don't explain well your tutorials. What this is intetended for: Zeus mode. Single Missions, Multiplayer, Editor? By the way how do I play my song anytime I want, is there "press a button and it will play" also change tracks. I really don't get it with this tutorial

First, this is a thread about adding custom music to missions, not a tutorial. It doesn't matter if the mission uses Zeus, is single-player, or multiplayer.

Second, Doldrey explained how to add new custom music to your missions very well. So well, in fact, that all I could contribute was how to play existing music in your missions.

As far as playing your song anytime you want, if it doesn't already exist in the game I would advise following Doldrey's example, and then learn how to write scripts in order to develop your own audio-player user-interface.
gbr000 Sep 15, 2022 @ 3:26pm 
I'm programmer so I know how to write a language, since I'm new to Arma I have to know where to start. Apex there's a radio which plays no music. I was thinking about modifying its folder. idk which language Arma uses. Is it Open Source? Or is it pure hackery ppl are making.

2nd options would be using Steam Overlay
Alaskan Glitch Sep 15, 2022 @ 8:21pm 
Originally posted by gbr000:
I'm programmer so I know how to write a language, since I'm new to Arma I have to know where to start. Apex there's a radio which plays no music. I was thinking about modifying its folder. idk which language Arma uses. Is it Open Source? Or is it pure hackery ppl are making.

2nd options would be using Steam Overlay
I would start here, with the Eden Editor:

https://community.bistudio.com/wiki/Category:Eden_Editor

BIS has developed the scripting language for Arma III since 2000, beginning with Operation Flashpoint released in 2001. It is a culmination of 20+ years of development. There are 2,500+ commands, and 2,000+ functions in their scripting language.

The Description.ext file that Doldrey mentioned above controls the information about your mission, and the init.sqf file initializes your mission. Other script files can also be called through event handlers or triggers.

This is the core of Arma III. What the game is all about - The Eden Editor. Granted, you can simply play missions already created by others and never create one yourself, but that is a waste of Arma III's capabilities.

Arma III is not a first-person shooter game. It is platform from which first-person shooter games are created.

Concerning your radio suggestion, this 12 minute YouTube video may be of some assistance:
Make a multiplayer radio play music with say3D
Last edited by Alaskan Glitch; Sep 15, 2022 @ 8:31pm
BloodBomb Dec 6, 2022 @ 3:09am 
Set it up as instructed, can see my .ogg file in the list under music in triggers, select it and nothing plays, silence. it plays all other in game music fine, but not my custom song, despite it being there in the list, advice?
< >
Showing 1-15 of 22 comments
Per page: 1530 50

Date Posted: Jan 19, 2017 @ 10:50pm
Posts: 22