User Tools

Site Tools


ofp:missions:dtaext

OFP DtaExt

OFP Forum, OFP Home, OFP File Formats, OFP Tools, OFP Missions, OFP 3D Modeling, OFP Terrain

Operation Flashpoint (OFP) aka ArmA: Cold War Assault (CWA)

OFP 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", db+0, 1};

Sounds:

class CfgSounds
{
	class ping1
	{
		name = "ping1";
		sound[] = {"ping1.ogg", db+0, 1};

Radio:

class CfgRadio
{
	class Rfail
	{
		name = "Rfail";
		sound[] = {"Rfail.ogg", db+0, 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.

ofp/missions/dtaext.txt · Last modified: 2024/07/31 13:09 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.