ACE3/addons/map/CfgVehicles.hpp

97 lines
3.6 KiB
C++
Raw Normal View History

2015-01-15 09:51:18 +00:00
class CfgVehicles {
2015-08-11 17:49:39 +00:00
class Man;
class CAManBase: Man {
class ACE_SelfActions {
class ACE_MapFlashlight {
displayName = CSTRING(Action_Flashlights);
icon = QUOTE(\a3\ui_f\data\IGUI\Cfg\VehicleToggles\lightsiconon_ca.paa);
condition = QUOTE(GVAR(mapIllumination) && visibleMap && (count ([ACE_player] call FUNC(getUnitFlashlights)) > 0));
statement = "true";
exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
insertChildren = QUOTE(_this call DFUNC(compileFlashlightMenu));
showDisabled = 0;
priority = 99;
};
};
};
class ACE_Module;
class ACE_ModuleMap: ACE_Module {
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
2015-03-16 23:24:53 +00:00
category = "ACE";
displayName = CSTRING(Module_DisplayName);
2015-03-16 23:24:53 +00:00
function = QFUNC(moduleMap);
scope = 2;
isGlobal = 1;
2015-03-23 19:02:35 +00:00
icon = PATHTOF(UI\Icon_Module_Map_ca.paa);
2015-03-16 23:24:53 +00:00
class Arguments {
class MapIllumination {
displayName = CSTRING(MapIllumination_DisplayName);
description = CSTRING(MapIllumination_Description);
2015-03-16 23:24:53 +00:00
typeName = "BOOL";
defaultValue = 1;
2015-03-16 23:24:53 +00:00
};
2015-08-11 17:49:39 +00:00
class MapGlow {
displayName = CSTRING(MapGlow_DisplayName);
description = CSTRING(MapGlow_Description);
typeName = "BOOL";
defaultValue = 1;
};
2015-03-16 23:24:53 +00:00
class MapShake {
displayName = CSTRING(MapShake_DisplayName);
description = CSTRING(MapShake_Description);
2015-03-16 23:24:53 +00:00
typeName = "BOOL";
defaultValue = 1;
2015-03-16 23:24:53 +00:00
};
class MapLimitZoom {
displayName = CSTRING(MapLimitZoom_DisplayName);
description = CSTRING(MapLimitZoom_Description);
2015-03-16 23:24:53 +00:00
typeName = "BOOL";
defaultValue = 0;
};
class MapShowCursorCoordinates {
displayName = CSTRING(MapShowCursorCoordinates_DisplayName);
description = CSTRING(MapShowCursorCoordinates_Description);
typeName = "BOOL";
defaultValue = 0;
2015-03-16 23:24:53 +00:00
};
};
class ModuleDescription {
description = CSTRING(Module_Description);
2015-03-16 23:24:53 +00:00
};
};
2015-08-11 17:49:39 +00:00
class Module_F;
class ACE_ModuleBlueForceTracking: Module_F {
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
category = "ACE";
displayName = CSTRING(BFT_Module_DisplayName);
function = QFUNC(blueForceTrackingModule);
scope = 2;
2015-08-11 17:49:39 +00:00
isGlobal = 1;
2015-03-23 19:02:35 +00:00
icon = PATHTOF(UI\Icon_Module_BFTracking_ca.paa);
class Arguments {
class Enabled {
displayName = CSTRING(BFT_Enabled_DisplayName);
description = CSTRING(BFT_Enabled_Description);
typeName = "BOOL";
defaultValue = 0;
};
class Interval {
displayName = CSTRING(BFT_Interval_DisplayName);
description = CSTRING(BFT_Interval_Description);
typeName = "NUMBER";
defaultValue = 1;
};
class HideAiGroups {
displayName = CSTRING(BFT_HideAiGroups_DisplayName);
description = CSTRING(BFT_HideAiGroups_Description);
typeName = "BOOL";
defaultValue = 0;
};
};
class ModuleDescription {
description = CSTRING(BFT_Module_Description);
2015-01-15 09:51:18 +00:00
};
};
2015-08-11 17:49:39 +00:00
};