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 {
|
2015-03-24 08:50:06 +00:00
|
|
|
class GVAR(configure) {
|
2015-05-12 02:49:13 +00:00
|
|
|
//Opens the interactive dialog
|
2015-03-24 08:50:06 +00:00
|
|
|
displayName = "$STR_ACE_microdagr_configure";
|
2015-05-12 02:49:13 +00:00
|
|
|
condition = QUOTE([DISPLAY_MODE_DIALOG] call FUNC(canShow));
|
2015-03-24 08:50:06 +00:00
|
|
|
statement = QUOTE([DISPLAY_MODE_DIALOG] call FUNC(openDisplay));
|
2015-03-18 18:46:39 +00:00
|
|
|
showDisabled = 0;
|
2015-03-18 18:50:27 +00:00
|
|
|
priority = 0.1;
|
2015-03-25 13:57:44 +00:00
|
|
|
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa));
|
2015-04-04 19:35:24 +00:00
|
|
|
exceptions[] = {"notOnMap", "isNotInside"};
|
2015-05-12 02:49:13 +00:00
|
|
|
|
|
|
|
//Sub Actions:
|
|
|
|
class GVAR(show) {
|
|
|
|
//Opens the background display (minimap)
|
|
|
|
displayName = "$STR_ACE_microdagr_show";
|
|
|
|
condition = QUOTE(([DISPLAY_MODE_DISPLAY] call FUNC(canShow)) && {GVAR(currentShowMode) != DISPLAY_MODE_DISPLAY});
|
|
|
|
statement = QUOTE([DISPLAY_MODE_DISPLAY] call FUNC(openDisplay));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 0.2;
|
|
|
|
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa));
|
|
|
|
exceptions[] = {"notOnMap", "isNotInside"};
|
|
|
|
};
|
|
|
|
class GVAR(close) {
|
|
|
|
displayName = "$STR_ACE_microdagr_closeUnit";
|
|
|
|
condition = QUOTE(GVAR(currentShowMode) != DISPLAY_MODE_CLOSED);
|
|
|
|
statement = QUOTE([DISPLAY_MODE_CLOSED] call FUNC(openDisplay));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 0.3;
|
|
|
|
icon = QUOTE(PATHTOF(UI\icon_microDAGR.paa));
|
|
|
|
exceptions[] = {"notOnMap", "isNotInside"};
|
|
|
|
};
|
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 Logic;
|
|
|
|
class Module_F: Logic {
|
|
|
|
class ArgumentsBaseUnits {};
|
|
|
|
class ModuleDescription {};
|
|
|
|
};
|
|
|
|
class GVAR(dagrModule): Module_F {
|
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
|
|
category = "ACE";
|
2015-05-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_Dagr_Module_DisplayName";
|
2015-03-18 18:46:39 +00:00
|
|
|
function = QFUNC(moduleMapFill);
|
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
2015-03-25 05:32:08 +00:00
|
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_microDAGR_ca.paa));
|
2015-03-18 18:46:39 +00:00
|
|
|
functionPriority = 0;
|
|
|
|
class Arguments {
|
|
|
|
class MapDataAvailable {
|
2015-05-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_Dagr_MapDataAvailable_DisplayName";
|
|
|
|
description = "$STR_ACE_Dagr_MapDataAvailable_Description";
|
|
|
|
typeName = "NUMBER";
|
2015-03-18 18:46:39 +00:00
|
|
|
class values {
|
2015-05-11 22:24:12 +00:00
|
|
|
class None {name = "$STR_ACE_Dagr_None"; value = MAP_DETAIL_SAT; default = 1;};
|
|
|
|
class Side {name = "$STR_ACE_Dagr_Side"; value = MAP_DETAIL_TOPOROADS;};
|
|
|
|
class Unique {name = "$STR_ACE_Dagr_Unique"; value = MAP_DETAIL_NONE;};
|
2015-03-18 18:46:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription: ModuleDescription {
|
2015-05-11 22:24:12 +00:00
|
|
|
description = "$STR_ACE_Dagr_Module_Description";
|
2015-03-18 18:46:39 +00:00
|
|
|
};
|
2015-03-09 18:52:15 +00:00
|
|
|
};
|
2015-05-12 02:49:13 +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);
|
|
|
|
};
|
|
|
|
};
|
2015-03-09 18:52:15 +00:00
|
|
|
};
|