ArmA 2 DtaExt
ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools
ArmA 2 DtaExt directory is used to have global music and sound files for campaigns, so the music/sound files are available in all missions.
First you need to create “DtaExt” dir in the campaign root, then you create “Music” and “Sound” dirs into “DtaExt” dir.
Then in the campaign root description.ext file you specify the configs like the following.
Music:
class cfgMusic { class PMC_allflesh1 { name = "PMC Baltic Command - Allflesh 1"; sound[] = {"\Music\allflesh1.ogg", 1, 1};
Sounds:
class CfgSounds { class ping1 { name = "ping1"; sound[] = {"\Sound\ping1.wss", 1, 1};
Radio:
class CfgRadio { class Rfail { name = "Rfail"; sound[] = {"\Sound\Rfail.wss", 1, 1};
To illustrate as directories, it would look like this:
<campaign_root>\DtaExt\Music\ <campaign_root>\DtaExt\Sound\ <campaign_root>\Missions\ <campaign_root>\Scripts\
This way, you can play music and sounds specified here in any of your campaign missions without having to store (and dupe) the audio files in the mission dirs. It saves space, is much easier and nicer to use.