ACE3/addons/microdagr/CfgVehicles.hpp

81 lines
3.2 KiB
C++
Raw Normal View History

2015-03-09 18:52:15 +00:00
class CfgVehicles {
2015-03-18 18:46:39 +00:00
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(configure) {
//Opens the dialog
displayName = CSTRING(configure);
condition = QUOTE(([DISPLAY_MODE_DIALOG] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DIALOG});
statement = QUOTE([DISPLAY_MODE_DIALOG] call FUNC(openDisplay));
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\icon_microDAGR.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
2015-06-06 00:46:19 +00:00
class GVAR(show) {
//Opens the mini map
displayName = CSTRING(show);
condition = QUOTE(([DISPLAY_MODE_DISPLAY] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DISPLAY});
statement = QUOTE([DISPLAY_MODE_DISPLAY] call FUNC(openDisplay));
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\icon_microDAGR.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
};
class GVAR(close) {
displayName = CSTRING(closeUnit);
condition = QUOTE(GVAR(currentShowMode) != DISPLAY_MODE_CLOSED);
statement = QUOTE([DISPLAY_MODE_CLOSED] call FUNC(openDisplay));
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\icon_microDAGR.paa);
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
};
2015-03-18 18:46:39 +00:00
};
};
2015-03-09 18:52:15 +00:00
};
};
2015-03-18 18:46:39 +00:00
class ACE_Module;
class GVAR(dagrModule): ACE_Module {
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
2015-03-18 18:46:39 +00:00
category = "ACE";
displayName = CSTRING(Module_DisplayName);
2015-03-18 18:46:39 +00:00
function = QFUNC(moduleMapFill);
scope = 2;
2015-08-26 16:00:59 +00:00
isGlobal = 0;
isSingular = 1;
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\Icon_Module_microDAGR_ca.paa);
2015-03-18 18:46:39 +00:00
functionPriority = 0;
class Arguments {
class MapDataAvailable {
displayName = CSTRING(MapDataAvailable_DisplayName);
description = CSTRING(MapDataAvailable_Description);
typeName = "NUMBER";
2015-03-18 18:46:39 +00:00
class values {
2015-08-26 16:00:59 +00:00
class Full {name = CSTRING(MapFill_Full); value = MAP_DETAIL_SAT; default = 1;};
class Roads {name = CSTRING(MapFill_OnlyRoads); value = MAP_DETAIL_TOPOROADS;};
class Disabled {name = CSTRING(MapFill_None); value = MAP_DETAIL_NONE;};
2015-03-18 18:46:39 +00:00
};
};
};
class ModuleDescription {
description = CSTRING(Module_Description);
2015-03-18 18:46:39 +00:00
};
2015-03-09 18:52:15 +00:00
};
2015-03-25 05:06:04 +00:00
class Box_NATO_Support_F;
2015-03-25 05:05:06 +00:00
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
MACRO_ADDITEM(ACE_microDAGR,10);
};
};
class Item_Base_F;
class ACE_microDAGR_Item: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = CSTRING(itemName);
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
vehicleClass = "Items";
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\icon_microDAGR.paa);
class TransportItems {
MACRO_ADDITEM(ACE_microDAGR,1);
};
};
};