2016-05-04 07:56:33 +00:00
|
|
|
class CfgVehicles {
|
2016-05-17 09:21:48 +00:00
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2016-06-12 22:08:28 +00:00
|
|
|
class GVAR(weaponTo) {
|
2016-06-12 21:56:00 +00:00
|
|
|
displayName = CSTRING(ToGunbag);
|
2016-06-12 17:58:39 +00:00
|
|
|
condition = QUOTE(([_target] call FUNC(hasGunbag)) && {[ARR_2(_player,_target)] call FUNC(canInteract) == 0});
|
2016-05-17 09:21:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(toGunbag));
|
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
2016-06-12 22:08:28 +00:00
|
|
|
class GVAR(weaponOff) {
|
2016-06-12 21:56:00 +00:00
|
|
|
displayName = CSTRING(OffGunbag);
|
2016-06-12 17:58:39 +00:00
|
|
|
condition = QUOTE(([_target] call FUNC(hasGunbag)) && {[ARR_2(_player,_target)] call FUNC(canInteract) == 1});
|
2016-05-17 09:21:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(offGunbag));
|
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
2016-06-12 22:08:28 +00:00
|
|
|
class GVAR(status) {
|
2016-05-17 09:21:48 +00:00
|
|
|
displayName = CSTRING(Status);
|
2016-06-12 11:51:23 +00:00
|
|
|
condition = QUOTE([_target] call FUNC(hasGunbag));
|
2016-05-17 09:21:48 +00:00
|
|
|
statement = QUOTE([_target] call FUNC(status));
|
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
|
|
|
};
|
2016-05-04 07:56:33 +00:00
|
|
|
};
|
2016-05-03 08:21:21 +00:00
|
|
|
|
2016-05-17 09:21:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
|
|
|
class GVAR(actions) {
|
2016-06-12 21:56:00 +00:00
|
|
|
displayName = CSTRING(Displayname);
|
2016-06-12 11:51:23 +00:00
|
|
|
condition = QUOTE([_player] call FUNC(hasGunbag));
|
2016-05-17 09:21:48 +00:00
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-06-12 22:08:28 +00:00
|
|
|
class GVAR(weaponTo) {
|
2016-06-12 21:56:00 +00:00
|
|
|
displayName = CSTRING(ToGunbag);
|
2016-05-17 09:21:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_player)] call FUNC(canInteract) == 0);
|
|
|
|
statement = QUOTE([ARR_2(_player,_player)] call FUNC(toGunbag));
|
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
2016-06-12 22:08:28 +00:00
|
|
|
class GVAR(weaponOff) {
|
2016-06-12 21:56:00 +00:00
|
|
|
displayName = CSTRING(OffGunbag);
|
2016-05-17 09:21:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_player)] call FUNC(canInteract) == 1);
|
|
|
|
statement = QUOTE([ARR_2(_player,_player)] call FUNC(offGunbag));
|
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
2016-06-12 22:08:28 +00:00
|
|
|
class GVAR(status) {
|
2016-05-17 09:21:48 +00:00
|
|
|
displayName = CSTRING(Status);
|
2016-06-12 11:51:23 +00:00
|
|
|
condition = QUOTE([_player] call FUNC(hasGunbag));
|
2016-05-17 09:21:48 +00:00
|
|
|
statement = QUOTE([_player] call FUNC(status));
|
|
|
|
showDisabled = 0;
|
2016-06-12 21:56:00 +00:00
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-03 08:21:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-05-17 09:21:48 +00:00
|
|
|
class Bag_Base;
|
2016-06-12 22:03:33 +00:00
|
|
|
class ADDON: Bag_Base {
|
|
|
|
_generalMacro = QUOTE(ADDON);
|
2016-05-17 09:21:48 +00:00
|
|
|
author = "Ir0n1E";
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(Displayname);
|
2016-06-12 22:03:33 +00:00
|
|
|
model = QPATHTOF(data\ace_gunbag.p3d);
|
|
|
|
picture = QPATHTOF(ui\gunbag_ca.paa);
|
|
|
|
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
|
|
|
|
hiddenSelections[] = {"Camo", "insignia"};
|
|
|
|
hiddenSelectionsTextures[] = {QPATHTOF(data\gunbag_co.paa)};
|
2016-05-17 09:21:48 +00:00
|
|
|
maximumLoad = 80;
|
|
|
|
mass = 11;
|
2019-06-05 01:00:55 +00:00
|
|
|
ADDON = 1;
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
2016-05-04 07:56:33 +00:00
|
|
|
|
2016-06-12 22:03:33 +00:00
|
|
|
class GVAR(Tan): ADDON {
|
|
|
|
_generalMacro = QGVAR(Tan);
|
2016-06-12 11:51:23 +00:00
|
|
|
author = "Ir0n1E";
|
2016-05-17 09:21:48 +00:00
|
|
|
displayName = CSTRING(Displayname_Tan);
|
2016-06-12 22:03:33 +00:00
|
|
|
picture = QPATHTOF(ui\gunbag_tan_ca.paa);
|
|
|
|
hiddenSelectionsTextures[] = {QPATHTOF(data\gunbag_tan_co.paa)};
|
2016-05-17 09:21:48 +00:00
|
|
|
};
|
2016-05-17 10:56:48 +00:00
|
|
|
|
|
|
|
class Box_NATO_Support_F;
|
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
|
|
class TransportBackpacks {
|
2016-06-12 22:03:33 +00:00
|
|
|
MACRO_ADDBACKPACK(ADDON,3);
|
|
|
|
MACRO_ADDBACKPACK(GVAR(Tan),3);
|
2016-05-17 10:56:48 +00:00
|
|
|
};
|
|
|
|
};
|
2016-05-03 08:21:21 +00:00
|
|
|
};
|