add custom sounds support
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 42s

This commit is contained in:
2024-06-15 16:43:56 -07:00
parent db7bdf1ecd
commit 7322799b78
2 changed files with 12 additions and 0 deletions

8
custom_sounds.hpp Normal file
View File

@@ -0,0 +1,8 @@
// EXAMPLE
// class uncon_alarm
// {
// name = "uncon_alarm";
// sound[] = {"AJ_CBRN_V2\sounds\AJ_warning_1.ogg", 0.9, 1, 5}; //directory, volume, pitch, range
// titles[]={};
// };

View File

@@ -96,6 +96,10 @@ class CfgFunctions {
#include "custom_scripts.hpp" #include "custom_scripts.hpp"
}; };
class CfgSounds {
#include "custom_sounds.hpp"
};
class CfgLeaflets { class CfgLeaflets {
#include "custom_leaflets.hpp" #include "custom_leaflets.hpp"
}; };