2015-01-13 03:23:14 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
2016-03-06 02:33:30 +00:00
|
|
|
class GVAR(UnJam) {
|
2016-02-20 23:19:56 +00:00
|
|
|
displayName = CSTRING(UnjamWeapon);
|
2023-11-01 01:29:59 +00:00
|
|
|
condition = QUOTE(GVAR(enabled) && {[_player] call FUNC(canUnjam)});
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2023-11-05 18:36:00 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,currentMuzzle _player)] call FUNC(clearJam));
|
2016-02-20 23:19:56 +00:00
|
|
|
showDisabled = 0;
|
2017-09-21 14:22:28 +00:00
|
|
|
icon = QPATHTOEF(common,UI\repack_ca.paa);
|
2016-02-20 23:19:56 +00:00
|
|
|
};
|
2016-03-06 02:33:30 +00:00
|
|
|
class GVAR(SwapBarrel) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(SwapBarrel);
|
2023-11-05 18:36:00 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,currentWeapon _player)] call FUNC(canSwapBarrel));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2023-11-05 18:36:00 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,_player,currentWeapon _player)] call FUNC(swapBarrel));
|
2015-01-13 03:23:14 +00:00
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\spare_barrel_ca.paa);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
2016-03-06 02:33:30 +00:00
|
|
|
class GVAR(CheckTemperature) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(CheckTemperatureShort);
|
2023-11-01 01:29:59 +00:00
|
|
|
condition = QUOTE(GVAR(enabled) && {switch (currentWeapon _player) do {case (''): {false}; case (primaryWeapon _player); case (handgunWeapon _player): {true}; default {false}}});
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2023-11-05 18:36:00 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,_player,currentWeapon _player)] call FUNC(checkTemperature));
|
2015-04-11 22:34:29 +00:00
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\temp_ca.paa);
|
2015-04-11 22:34:29 +00:00
|
|
|
};
|
2016-03-06 02:33:30 +00:00
|
|
|
class GVAR(CheckTemperatureSpareBarrels) {
|
2016-02-27 04:46:27 +00:00
|
|
|
displayName = CSTRING(CheckTemperatureSpareBarrelsShort);
|
2023-11-01 01:29:59 +00:00
|
|
|
condition = QUOTE((_player) call FUNC(canCheckSpareBarrelsTemperatures));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2023-11-01 01:29:59 +00:00
|
|
|
statement = QUOTE([_player] call FUNC(checkSpareBarrelsTemperatures));
|
2016-02-27 04:46:27 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
icon = QUOTE(PATHTOF(UI\temp_ca.paa));
|
|
|
|
};
|
2021-10-14 15:47:52 +00:00
|
|
|
class GVAR(CoolWeaponWithItem) {
|
|
|
|
displayName = CSTRING(CoolWeaponWithItem);
|
2021-11-08 18:06:31 +00:00
|
|
|
condition = QUOTE(call FUNC(canCoolWeaponWithItem));
|
2021-10-14 15:47:52 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
|
|
|
statement = "true";
|
|
|
|
showDisabled = 0;
|
|
|
|
insertChildren = QUOTE(_player call FUNC(getConsumableChildren));
|
|
|
|
icon = QPATHTOF(UI\pour_water_ca.paa);
|
|
|
|
};
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
2016-03-06 02:33:30 +00:00
|
|
|
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_Weapon {
|
|
|
|
class GVAR(SwapBarrel) {
|
|
|
|
displayName = CSTRING(SwapBarrel);
|
2023-11-05 18:36:00 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,currentWeapon _target)] call FUNC(canSwapBarrel));
|
|
|
|
statement = QUOTE([ARR_3(_player,_target,currentWeapon _target)] call FUNC(swapBarrelAssistant));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2016-03-06 02:33:30 +00:00
|
|
|
icon = QUOTE(PATHTOF(UI\spare_barrel_ca.paa));
|
|
|
|
};
|
|
|
|
class GVAR(CheckTemperature) {
|
|
|
|
displayName = CSTRING(CheckTemperatureShort);
|
2023-11-01 01:29:59 +00:00
|
|
|
condition = QUOTE(GVAR(enabled) && {switch (currentWeapon _target) do {case ('ACE_FakePrimaryWeapon'); case (''): {false}; case (primaryWeapon _target); case (handgunWeapon _target): {true}; default {false}}});
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2023-11-05 18:36:00 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,_target,currentWeapon _target)] call FUNC(checkTemperature));
|
2016-03-06 02:33:30 +00:00
|
|
|
icon = QUOTE(PATHTOF(UI\temp_ca.paa));
|
|
|
|
};
|
2021-10-14 15:47:52 +00:00
|
|
|
class GVAR(CoolWeaponWithItem) {
|
|
|
|
displayName = CSTRING(CoolWeaponWithItem);
|
2021-11-08 18:06:31 +00:00
|
|
|
condition = QUOTE(call FUNC(canCoolWeaponWithItem));
|
2021-10-14 15:47:52 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
|
|
|
statement = "true";
|
|
|
|
showDisabled = 0;
|
|
|
|
insertChildren = QUOTE(_player call FUNC(getConsumableChildren));
|
|
|
|
icon = QPATHTOF(UI\pour_water_ca.paa);
|
|
|
|
};
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class B_supplyCrate_F: ReammoBox_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_East_Support_F: EAST_Box_Base {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class O_supplyCrate_F: B_supplyCrate_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_IND_Support_F: IND_Box_Base {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_FIA_Support_F: FIA_Box_Base_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class I_supplyCrate_F: B_supplyCrate_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class IG_supplyCrate_F: ReammoBox_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class C_supplyCrate_F: ReammoBox_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,2);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
2017-05-18 22:23:01 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_SpareBarrel,6);
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
2015-12-30 10:23:52 +00:00
|
|
|
};
|