This shows you the differences between two versions of the page.
ofp:missions:dtaext [2011-08-15 09:21] snakeman created dtaext initial page. |
ofp:missions:dtaext [2011-08-15 11:01] snakeman added ofp tag. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== DtaExt ====== | + | ====== OFP DtaExt ====== |
- | DtaExt directory is used to have global music and sound files for campaigns, so the music/sound files are available in all missions. | + | 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. | First you need to create "DtaExt" dir in the campaign root, then you create "Music" and "Sound" dirs into "DtaExt" dir. | ||
Line 7: | Line 7: | ||
Then in the campaign root description.ext file you specify the configs like the following. | Then in the campaign root description.ext file you specify the configs like the following. | ||
- | Music: | + | **Music:** |
<code cpp> | <code cpp> | ||
class cfgMusic | class cfgMusic | ||
Line 17: | Line 17: | ||
</code> | </code> | ||
- | Sounds: | + | **Sounds:** |
<code cpp> | <code cpp> | ||
class CfgSounds | class CfgSounds | ||
Line 27: | Line 27: | ||
</code> | </code> | ||
- | Radio: | + | **Radio:** |
<code cpp> | <code cpp> | ||
class CfgRadio | class CfgRadio |