2015-04-05 06:57:24 +00:00
|
|
|
class CfgVehicles {
|
2015-04-05 20:48:56 +00:00
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
|
|
|
class GVAR(rangetable) {
|
2015-04-06 06:05:28 +00:00
|
|
|
displayName = "$STR_ACE_MK6MORTAR_rangetable_action";
|
2015-04-05 23:05:23 +00:00
|
|
|
condition = QUOTE(_this call FUNC(rangeTableCanUse));
|
|
|
|
statement = QUOTE(_this call FUNC(rangeTableOpen));
|
2015-04-05 20:48:56 +00:00
|
|
|
priority = 0;
|
|
|
|
icon = QUOTE(PATHTOF(UI\icon_rangeTable.paa));
|
2015-04-06 06:05:28 +00:00
|
|
|
exceptions[] = {"notOnMap", "isNotInside"};
|
2015-04-05 20:48:56 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-04-05 06:57:24 +00:00
|
|
|
class LandVehicle;
|
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class StaticMortar: StaticWeapon {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class Mortar_01_base_F: StaticMortar {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {
|
|
|
|
turretInfoType = "ACE_Mk6_RscWeaponRangeArtillery";
|
|
|
|
};
|
|
|
|
};
|
2015-04-05 20:00:59 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class GVAR(toggleMils) {
|
|
|
|
displayName = "Toggle MILS";
|
|
|
|
condition = QUOTE(true);
|
|
|
|
statement = QUOTE(_this call FUNC(toggleMils));
|
|
|
|
exceptions[] = {};
|
|
|
|
};
|
|
|
|
};
|
2015-04-05 06:57:24 +00:00
|
|
|
};
|
2015-04-05 07:18:51 +00:00
|
|
|
|
|
|
|
class Logic;
|
|
|
|
class Module_F: Logic {
|
|
|
|
class ModuleDescription {};
|
|
|
|
};
|
|
|
|
class GVAR(module): Module_F {
|
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
|
|
category = "ACE";
|
|
|
|
displayName = "MK6 Settings";
|
|
|
|
function = QFUNC(moduleInit);
|
|
|
|
scope = 2;
|
|
|
|
isGlobal = 0;
|
2015-04-08 00:37:46 +00:00
|
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_mk6_ca.paa));
|
2015-04-05 07:18:51 +00:00
|
|
|
functionPriority = 0;
|
|
|
|
class Arguments {
|
2015-04-05 17:40:48 +00:00
|
|
|
class airResistanceEnabled {
|
2015-05-01 23:21:49 +00:00
|
|
|
displayName = "Air Resistance";
|
2015-05-01 23:26:54 +00:00
|
|
|
description = "For Player Shots, Model Air Resistance and Wind Effects";
|
2015-04-05 07:18:51 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2015-04-05 19:34:39 +00:00
|
|
|
class allowComputerRangefinder {
|
2015-04-05 19:48:26 +00:00
|
|
|
displayName = "Allow MK6 Computer";
|
2015-04-08 00:37:46 +00:00
|
|
|
description = "Show the Computer and Rangefinder (these NEED to be removed if you enable air resistance)";
|
2015-04-05 19:34:39 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
2015-04-05 20:00:59 +00:00
|
|
|
};
|
2015-04-05 19:34:39 +00:00
|
|
|
class allowCompass {
|
|
|
|
displayName = "Allow MK6 Compass";
|
|
|
|
description = "Show the MK6 Digital Compass";
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2015-04-05 07:18:51 +00:00
|
|
|
};
|
|
|
|
class ModuleDescription: ModuleDescription {
|
|
|
|
description = "";
|
|
|
|
};
|
|
|
|
};
|
2015-04-05 06:57:24 +00:00
|
|
|
};
|