2015-01-13 04:17:52 +00:00
|
|
|
class CfgWeapons {
|
|
|
|
class ACE_ItemCore;
|
2017-09-13 04:23:45 +00:00
|
|
|
class CBA_MiscItem_ItemInfo;
|
2015-01-13 04:17:52 +00:00
|
|
|
|
2015-03-16 15:56:05 +00:00
|
|
|
class ACE_EarPlugs: ACE_ItemCore {
|
2017-11-13 22:54:34 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(EarPlugs_Name);
|
|
|
|
descriptionShort = CSTRING(EarPlugs_Description);
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ace_earplugs.p3d);
|
|
|
|
picture = QPATHTOF(UI\ACE_earplugs_x_ca.paa);
|
2015-01-13 04:17:52 +00:00
|
|
|
scope = 2;
|
2017-09-13 04:23:45 +00:00
|
|
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
2015-01-13 04:17:52 +00:00
|
|
|
mass = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-07-01 19:21:09 +00:00
|
|
|
|
2017-05-17 02:40:07 +00:00
|
|
|
#define HEARING_PROTECTION_VICCREW EGVAR(hearing,protection) = 0.85; EGVAR(hearing,lowerVolume) = 0.6;
|
|
|
|
#define HEARING_PROTECTION_EARMUFF EGVAR(hearing,protection) = 0.75; EGVAR(hearing,lowerVolume) = 0.5;
|
|
|
|
#define HEARING_PROTECTION_PELTOR EGVAR(hearing,protection) = 0.75; EGVAR(hearing,lowerVolume) = 0;
|
|
|
|
|
2015-07-01 19:21:09 +00:00
|
|
|
class H_HelmetB;
|
|
|
|
class H_HelmetCrew_B: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 19:21:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class H_CrewHelmetHeli_B: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 19:21:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class H_PilotHelmetHeli_B: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 19:21:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class H_PilotHelmetFighter_B: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 19:21:09 +00:00
|
|
|
};
|
|
|
|
|
2015-11-21 05:27:29 +00:00
|
|
|
class HelmetBase;
|
|
|
|
class H_Cap_headphones: HelmetBase {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_EARMUFF
|
2015-07-01 19:21:09 +00:00
|
|
|
};
|
2015-07-04 17:56:54 +00:00
|
|
|
|
2018-01-31 22:19:28 +00:00
|
|
|
class H_Construction_earprot_base_F: HelmetBase {
|
|
|
|
HEARING_PROTECTION_EARMUFF
|
|
|
|
};
|
|
|
|
|
|
|
|
class H_Construction_headset_base_F: HelmetBase {
|
|
|
|
HEARING_PROTECTION_EARMUFF
|
|
|
|
};
|
|
|
|
|
|
|
|
class H_EarProtectors_base_F: HelmetBase {
|
|
|
|
HEARING_PROTECTION_EARMUFF
|
|
|
|
};
|
|
|
|
|
|
|
|
class H_HeadSet_base_F: HelmetBase {
|
|
|
|
HEARING_PROTECTION_EARMUFF
|
|
|
|
};
|
|
|
|
|
2015-08-28 07:05:31 +00:00
|
|
|
class H_HelmetB_light: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class H_HelmetB_camo: H_HelmetB {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
2015-08-28 07:05:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class H_HelmetB_plain_mcamo;
|
|
|
|
class H_HelmetSpecB: H_HelmetB_plain_mcamo {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_PELTOR
|
2015-08-28 07:05:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
};
|