-
Notifications
You must be signed in to change notification settings - Fork 54
Custom Music
Kex edited this page Jul 15, 2018
·
19 revisions
- You can add custom music, which is available in the "Music" module. In order to get it working properly, you have to define the "name", "duration" and "musicClass" attributes in your custom music class.
- The code below can either be in the config.cpp of your addon or the description.ext of your mission. Note the difference in the path syntax for each case.
- More information about custom music in missions is available on the BIKI.
class cfgMusic { tracks[] = {}; class ArmA2_Reforger { // Display Name name = "ArmA2 Reforger"; // Given in seconds; Is converted to mm:ss format when displayed in the Zeus interface. duration = 155; // Music category (default available: "Lead", "Action", "Stealth" or "Calm") musicClass = "Lead"; // Use this path syntax when you refer to a file in the music folder of your mission. sound[] = {"music\Ambient08_Reforger.ogg", db+10, 1.0}; // Use this path syntax when you refer to a file in the music folder of your addon. sound[] = {"\<pbo prefix>\music\Ambient08_Reforger.ogg", db+10, 1.0}; }; };
Achilles
Discuss topic | BIS forum | Create an issue
- Home
- About the Add-on (external link)
- Add-on Configuration
- Ares Wiki (external link)
Considerations for Reinforcement Module- Custom Modules
- Custom Music
- Execute Code
- FAQ
- Informative Module Icons
- Key Assignements
- Module Information
- Recommended Add-ons
- Restrict Code Execute
- Selection Option
Tips and Tricks- Using ACE3
- Zeus Guides
- Zeus Setup