ACE3/addons/minedetector/CfgVehicles.hpp

69 lines
2.6 KiB
C++
Raw Normal View History

2016-05-03 20:37:02 +00:00
class CfgVehicles {
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportWeapons {
MACRO_ADDWEAPON(ACE_VMM3,4);
MACRO_ADDWEAPON(ACE_VMH3,4);
2016-05-03 20:37:02 +00:00
};
};
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(metalDetector) {
displayName = CSTRING(MetalDetector);
condition = QUOTE([ACE_player] call FUNC(hasDetector));
statement = "";
2016-07-09 17:11:58 +00:00
icon = QPATHTOF(ui\icon_mineDetector.paa);
2016-05-03 20:37:02 +00:00
exceptions[] = {};
class GVAR(activate) {
displayName = CSTRING(ActivateDetector);
condition = QUOTE(call FUNC(canActivateDetector));
statement = QUOTE(call FUNC(activateDetector));
icon = QPATHTOF(ui\icon_mineDetectorOn.paa);
exceptions[] = {};
};
class GVAR(deactivate) {
displayName = CSTRING(DeactivateDetector);
condition = QUOTE(call FUNC(canDeactivateDetector));
statement = QUOTE(call FUNC(deactivateDetector));
icon = QPATHTOF(ui\icon_mineDetectorOff.paa);
exceptions[] = {};
};
class GVAR(connectHeadphones) {
displayName = CSTRING(ConnectHeadphones);
condition = QUOTE(call FUNC(canConnectHeadphones));
statement = QUOTE([ARR_2(ACE_player, true)] call FUNC(connectHeadphones));
2016-07-09 17:11:58 +00:00
icon = ""; //TODO
exceptions[] = {};
};
class GVAR(disconnectHeadphones) {
displayName = CSTRING(DisconnectHeadphones);
condition = QUOTE(call FUNC(canDisconnectHeadphones));
statement = QUOTE([ARR_2(ACE_player, false)] call FUNC(connectHeadphones));
2016-07-09 17:11:58 +00:00
icon = ""; //TODO
exceptions[] = {};
};
2016-05-03 20:37:02 +00:00
};
};
};
};
class Items_base_F;
class ACE_Explosives_Place: Items_base_F {
GVAR(detectable) = 1;
};
// Editor placed mines
class Static;
2016-06-21 17:24:31 +00:00
class MineGeneric: Static {
2016-05-03 20:37:02 +00:00
GVAR(detectable) = 1;
};
2016-05-03 20:37:02 +00:00
// Zeus placed mines
class ModuleEmpty_F;
class ModuleMine_F: ModuleEmpty_F {
GVAR(detectable) = 1;
};
};