2015-01-13 04:17:52 +00:00
|
|
|
|
|
|
|
#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \
|
|
|
|
name = #ITEM; \
|
|
|
|
count = COUNT; \
|
|
|
|
};
|
|
|
|
|
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
|
|
|
class ACE_PutInEarplugs {
|
|
|
|
displayName = "$STR_ACE_Hearing_Earbuds_On";
|
|
|
|
condition = QUOTE( !([_player] call FUNC(hasEarPlugsIn)) && {'ACE_EarBuds' in items _player} );
|
|
|
|
statement = QUOTE( [_player] call FUNC(putInEarPlugs) );
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.5;
|
2015-01-14 03:45:09 +00:00
|
|
|
icon = PATHTOF(UI\ACE_earplugs_x_ca.paa);
|
2015-01-13 04:17:52 +00:00
|
|
|
hotkey = "E";
|
|
|
|
enableInside = 1;
|
|
|
|
};
|
|
|
|
class ACE_RemoveEarplugs {
|
|
|
|
displayName = "$STR_ACE_Hearing_Earbuds_Off";
|
|
|
|
condition = QUOTE( [_player] call FUNC(hasEarPlugsIn) );
|
|
|
|
statement = QUOTE( [_player] call FUNC(removeEarPlugs) );
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.5;
|
2015-01-14 03:45:09 +00:00
|
|
|
icon = PATHTOF(UI\ACE_earplugs_x_ca.paa);
|
2015-01-13 04:17:52 +00:00
|
|
|
hotkey = "E";
|
|
|
|
enableInside = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ReammoBox_F;
|
|
|
|
class NATO_Box_Base;
|
|
|
|
class EAST_Box_Base;
|
|
|
|
class IND_Box_Base;
|
|
|
|
class FIA_Box_Base_F;
|
|
|
|
|
|
|
|
class Box_NATO_Support_F: NATO_Box_Base {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class B_supplyCrate_F: ReammoBox_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_East_Support_F: EAST_Box_Base {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class O_supplyCrate_F: B_supplyCrate_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_IND_Support_F: IND_Box_Base {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_FIA_Support_F: FIA_Box_Base_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class I_supplyCrate_F: B_supplyCrate_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class IG_supplyCrate_F: ReammoBox_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class C_supplyCrate_F: ReammoBox_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_EarBuds,12)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|