2015-02-20 05:45:17 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
2019-12-18 17:31:08 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
|
|
|
class GVAR(checkAmmo) {
|
|
|
|
displayName = CSTRING(checkAmmo);
|
|
|
|
condition = QUOTE(GVAR(showCheckAmmoSelf) && {_player call FUNC(canCheckAmmoSelf)});
|
|
|
|
statement = QUOTE(call FUNC(checkAmmo));
|
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-20 05:45:17 +00:00
|
|
|
class ACE_Actions {
|
2015-03-06 01:52:29 +00:00
|
|
|
class ACE_Weapon {
|
2023-08-28 17:26:24 +00:00
|
|
|
class GVAR(linkBelt) {
|
|
|
|
displayName = CSTRING(linkBelt);
|
|
|
|
distance = 2;
|
2023-11-05 18:36:00 +00:00
|
|
|
condition = QUOTE(([ARR_2(_player,_target)] call FUNC(getAmmoToLinkBelt)) > 0);
|
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(startLinkingBelt));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-02-20 05:45:17 +00:00
|
|
|
};
|
2023-08-28 17:26:24 +00:00
|
|
|
class GVAR(checkAmmo) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(checkAmmo);
|
2023-08-28 17:26:24 +00:00
|
|
|
distance = 2;
|
2019-06-08 04:47:39 +00:00
|
|
|
condition = QUOTE(call FUNC(canCheckAmmo));
|
|
|
|
statement = QUOTE(call FUNC(checkAmmo));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-03-06 04:34:38 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class LandVehicle;
|
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2023-08-28 17:26:24 +00:00
|
|
|
class GVAR(checkAmmo) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(checkAmmo);
|
2023-08-28 17:26:24 +00:00
|
|
|
distance = 2;
|
2019-06-08 04:47:39 +00:00
|
|
|
condition = QUOTE(call FUNC(canCheckAmmo));
|
|
|
|
statement = QUOTE(call FUNC(checkAmmo));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-03-06 04:34:38 +00:00
|
|
|
};
|
2015-02-20 05:45:17 +00:00
|
|
|
};
|
|
|
|
};
|
2024-02-06 23:14:25 +00:00
|
|
|
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class GVAR(reloadTurret) {
|
|
|
|
displayName = "$STR_controls_tooltips_RELOAD_MAGAZINE";
|
|
|
|
condition = QUOTE(call FUNC(canSwapTurretMagazine));
|
|
|
|
statement = QUOTE(call FUNC(swapTurretMagazine));
|
|
|
|
icon = "\A3\ui_f\data\igui\cfg\simpletasks\types\rearm_ca.paa";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Tank: LandVehicle {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class GVAR(reloadTurret) {
|
|
|
|
displayName = "$STR_controls_tooltips_RELOAD_MAGAZINE";
|
|
|
|
condition = QUOTE(call FUNC(canSwapTurretMagazine));
|
|
|
|
statement = QUOTE(call FUNC(swapTurretMagazine));
|
|
|
|
icon = "\A3\ui_f\data\igui\cfg\simpletasks\types\rearm_ca.paa";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Car: LandVehicle {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class GVAR(reloadTurret) {
|
|
|
|
displayName = "$STR_controls_tooltips_RELOAD_MAGAZINE";
|
|
|
|
condition = QUOTE(call FUNC(canSwapTurretMagazine));
|
|
|
|
statement = QUOTE(call FUNC(swapTurretMagazine));
|
|
|
|
icon = "\A3\ui_f\data\igui\cfg\simpletasks\types\rearm_ca.paa";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class GVAR(reloadTurret) {
|
|
|
|
displayName = "$STR_controls_tooltips_RELOAD_MAGAZINE";
|
|
|
|
condition = QUOTE(call FUNC(canSwapTurretMagazine));
|
|
|
|
statement = QUOTE(call FUNC(swapTurretMagazine));
|
|
|
|
icon = "\A3\ui_f\data\igui\cfg\simpletasks\types\rearm_ca.paa";
|
|
|
|
};
|
|
|
|
};
|
2015-02-20 05:45:17 +00:00
|
|
|
};
|
|
|
|
};
|