ACE3/addons/hearing/config.cpp

45 lines
1008 B
C++
Raw Normal View History

2015-01-13 04:17:52 +00:00
#include "script_component.hpp"
2015-01-13 04:17:52 +00:00
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {"ACE_EarPlugs"};
2015-01-13 04:17:52 +00:00
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"};
2015-03-24 04:18:00 +00:00
author[] = {"KoffeinFlummi", "esteldunedain", "HopeJ", "commy2"};
2015-01-13 04:17:52 +00:00
authorUrl = "https://github.com/KoffeinFlummi/";
VERSION_CONFIG;
};
};
2015-01-13 04:17:52 +00:00
#include "CfgEventHandlers.hpp"
2015-01-13 04:17:52 +00:00
#include "CfgVehicles.hpp"
2015-01-13 04:17:52 +00:00
#include "CfgSounds.hpp"
2015-01-13 04:17:52 +00:00
#include "CfgWeapons.hpp"
2015-01-13 04:17:52 +00:00
#include "CfgAmmo.hpp"
2015-01-14 03:29:01 +00:00
2015-01-30 22:19:45 +00:00
class ACE_Settings {
class GVAR(EnableCombatDeafness) {
value = 1;
typeName = "BOOL";
};
class GVAR(EarplugsVolume) {
value = 0.5;
typeName = "SCALAR";
};
class GVAR(UnconsciousnessVolume) {
value = 0.4;
typeName = "SCALAR";
};
2015-01-30 22:19:45 +00:00
class GVAR(DisableEarRinging) {
value = 0;
2015-01-30 22:19:45 +00:00
typeName = "BOOL";
2015-04-14 19:43:19 +00:00
isClientSettable = 1;
2015-01-30 22:19:45 +00:00
displayName = "$STR_ACE_Hearing_DisableEarRinging";
};
};