2024-01-07 18:02:05 +00:00
|
|
|
#define EXCEPTIONS exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"}
|
|
|
|
|
2015-03-14 19:58:05 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
2016-06-02 19:36:25 +00:00
|
|
|
class ACE_MapGpsShow {
|
|
|
|
displayName = CSTRING(MapGpsShow);
|
2024-01-07 18:02:05 +00:00
|
|
|
condition = QUOTE(!GVAR(mapGpsShow) && {call FUNC(canUseMapGPS)});
|
|
|
|
statement = QUOTE(GVAR(mapGpsShow) = true);
|
|
|
|
EXCEPTIONS;
|
2016-06-02 19:36:25 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_MapGpsHide {
|
|
|
|
displayName = CSTRING(MapGpsHide);
|
2024-01-07 18:02:05 +00:00
|
|
|
condition = QUOTE(GVAR(mapGpsShow) && {call FUNC(canUseMapGPS)});
|
|
|
|
statement = QUOTE(GVAR(mapGpsShow) = false);
|
|
|
|
EXCEPTIONS;
|
2016-06-02 19:36:25 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
class ACE_MapTools {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapTools_Menu);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(call FUNC(canUseMapTools));
|
2015-03-14 19:58:05 +00:00
|
|
|
statement = "";
|
2024-01-07 18:02:05 +00:00
|
|
|
EXCEPTIONS;
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 0;
|
2024-01-07 18:02:05 +00:00
|
|
|
|
2015-03-14 19:58:05 +00:00
|
|
|
class ACE_MapToolsHide {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsHide);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0);
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(GVAR(mapTool_Shown) = 0);
|
|
|
|
EXCEPTIONS;
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsShowNormal {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsShowNormal);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 1);
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(if (GVAR(mapTool_Shown) == 0) then {GVAR(mapTool_moveToMouse) = true}; GVAR(mapTool_Shown) = 1);
|
|
|
|
EXCEPTIONS;
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsShowSmall {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MapToolsShowSmall);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 2);
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(if (GVAR(mapTool_Shown) == 0) then {GVAR(mapTool_moveToMouse) = true}; GVAR(mapTool_Shown) = 2);
|
|
|
|
EXCEPTIONS;
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
2024-01-07 18:02:05 +00:00
|
|
|
class ACE_MapToolsAlign {
|
|
|
|
displayName = CSTRING(AlignTo);
|
2016-06-02 19:36:25 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0);
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = "";
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
|
|
|
|
class ACE_MapToolsAlignToPlottingBoardRuler {
|
|
|
|
displayName = CSTRING(ToPlottingBoardRulerLabel);
|
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && GVAR(plottingBoard_Shown) == 2);
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = GVAR(plottingBoard_rulerAngle));
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignToPlottingBoardAcrylic {
|
|
|
|
displayName = CSTRING(ToPlottingBoardAcrylicLabel);
|
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && GVAR(plottingBoard_Shown) != 0);
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = GVAR(plottingBoard_acrylicAngle));
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignToPlottingBoard {
|
|
|
|
displayName = CSTRING(ToPlottingBoardLabel);
|
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && GVAR(plottingBoard_Shown) != 0);
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = GVAR(plottingBoard_angle));
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignCompass {
|
|
|
|
displayName = CSTRING(ToCompassLabel);
|
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && {ACE_player getSlotItemName TYPE_COMPASS != ''});
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = getDir ACE_player);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_MapToolsAlignNorth {
|
|
|
|
displayName = CSTRING(ToNorthLabel);
|
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0);
|
|
|
|
statement = QUOTE(GVAR(mapTool_angle) = 0);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoard {
|
|
|
|
displayName = CSTRING(ShowPlottingBoard);
|
2024-02-03 18:48:21 +00:00
|
|
|
condition = QUOTE(GVAR(plottingBoard_Shown) == 0 && {call FUNC(canUsePlottingBoard)});
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(GVAR(plottingBoard_Shown) = 1);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardHide {
|
|
|
|
displayName = CSTRING(HidePlottingBoard);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_Shown) != 0 && {call FUNC(canUsePlottingBoard)});
|
|
|
|
statement = QUOTE(GVAR(plottingBoard_Shown) = 0);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
|
|
|
|
class ACE_PlottingBoardRulerShow {
|
|
|
|
displayName = CSTRING(TogglePlottingBoardRuler);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_Shown) == 1);
|
|
|
|
statement = QUOTE(GVAR(plottingBoard_Shown) = 2);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 1;
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardRulerHide {
|
|
|
|
displayName = CSTRING(TogglePlottingBoardRuler);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_Shown) == 2);
|
|
|
|
statement = QUOTE(GVAR(plottingBoard_Shown) = 1);
|
|
|
|
EXCEPTIONS;
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
2024-01-07 18:02:05 +00:00
|
|
|
class ACE_PlottingBoardWipe {
|
|
|
|
displayName = CSTRING(WipeBoard);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_markers) isNotEqualTo createHashMap);
|
|
|
|
statement = QUOTE(call FUNC(wipeMarkers));
|
|
|
|
EXCEPTIONS;
|
2015-03-14 19:58:05 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
};
|
2024-01-07 18:02:05 +00:00
|
|
|
class ACE_PlottingBoardAlign {
|
|
|
|
displayName = CSTRING(AlignTo);
|
2024-02-03 18:48:21 +00:00
|
|
|
condition = QUOTE(GVAR(plottingBoard_Shown) != 0);
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = "";
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
|
|
|
|
class ACE_PlottingBoardAlignBoard {
|
|
|
|
displayName = CSTRING(PlottingBoardLabel);
|
|
|
|
condition = QUOTE(true);
|
|
|
|
statement = "";
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
|
|
|
|
class ACE_PlottingBoardAlignBoardMaptool {
|
2024-01-09 01:53:25 +00:00
|
|
|
displayName = CSTRING(ToMapToolLabel);
|
2024-02-03 18:48:21 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && GVAR(plottingBoard_angle) != GVAR(mapTool_angle));
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(GVAR(plottingBoard_angle) = GVAR(mapTool_angle));
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardAlignBoardUp {
|
|
|
|
displayName = CSTRING(ToUpLabel);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_angle) != 0);
|
|
|
|
statement = QUOTE(GVAR(plottingBoard_angle) = 0);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardAlignAcrylic {
|
|
|
|
displayName = CSTRING(PlottingBoardAcrylicLabel);
|
|
|
|
condition = QUOTE(true);
|
|
|
|
statement = "";
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
|
|
|
|
class ACE_PlottingBoardAlignAcrylicMaptool {
|
2024-01-09 01:53:25 +00:00
|
|
|
displayName = CSTRING(ToMapToolLabel);
|
2024-02-03 18:48:21 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && GVAR(plottingBoard_acrylicAngle) != GVAR(mapTool_angle));
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(GVAR(plottingBoard_acrylicAngle) = GVAR(mapTool_angle));
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardAlignAcrylicUp {
|
|
|
|
displayName = CSTRING(ToUpLabel);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_acrylicAngle) != 0);
|
|
|
|
statement = QUOTE(GVAR(plottingBoard_acrylicAngle) = 0);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardAlignRuler {
|
|
|
|
displayName = CSTRING(PlottingBoardRulerLabel);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_Shown) == 2);
|
|
|
|
statement = "";
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
|
|
|
|
class ACE_PlottingBoardAlignRulerMaptool {
|
2024-01-09 01:53:25 +00:00
|
|
|
displayName = CSTRING(ToMapToolLabel);
|
2024-02-03 18:48:21 +00:00
|
|
|
condition = QUOTE(GVAR(mapTool_Shown) != 0 && GVAR(plottingBoard_rulerAngle) != GVAR(mapTool_angle));
|
2024-01-07 18:02:05 +00:00
|
|
|
statement = QUOTE(GVAR(plottingBoard_rulerAngle) = GVAR(mapTool_angle));
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_PlottingBoardAlignRulerUp {
|
|
|
|
displayName = CSTRING(ToUpLabel);
|
|
|
|
condition = QUOTE(GVAR(plottingBoard_rulerAngle) != 0);
|
|
|
|
statement = QUOTE(GVAR(plottingBoard_rulerAngle) = 0);
|
|
|
|
EXCEPTIONS;
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class NATO_Box_Base;
|
|
|
|
class EAST_Box_Base;
|
|
|
|
class IND_Box_Base;
|
|
|
|
class FIA_Box_Base_F;
|
|
|
|
|
|
|
|
class Box_NATO_Support_F: NATO_Box_Base {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2024-01-07 18:02:05 +00:00
|
|
|
MACRO_ADDITEM(ACE_PlottingBoard,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_East_Support_F: EAST_Box_Base {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2024-01-07 18:02:05 +00:00
|
|
|
MACRO_ADDITEM(ACE_PlottingBoard,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_IND_Support_F: IND_Box_Base {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2024-01-07 18:02:05 +00:00
|
|
|
MACRO_ADDITEM(ACE_PlottingBoard,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Box_FIA_Support_F: FIA_Box_Base_F {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2024-01-07 18:02:05 +00:00
|
|
|
MACRO_ADDITEM(ACE_PlottingBoard,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
|
|
class TransportItems {
|
2015-03-15 02:38:16 +00:00
|
|
|
MACRO_ADDITEM(ACE_MapTools,12);
|
2024-01-07 18:02:05 +00:00
|
|
|
MACRO_ADDITEM(ACE_PlottingBoard,12);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|