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-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(rangetable_action);
|
2015-04-05 23:05:23 +00:00
|
|
|
condition = QUOTE(_this call FUNC(rangeTableCanUse));
|
|
|
|
statement = QUOTE(_this call FUNC(rangeTableOpen));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icon_rangeTable.paa);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};
|
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 {
|
2015-07-26 21:45:29 +00:00
|
|
|
class MainTurret: MainTurret {};
|
2015-04-05 06:57:24 +00:00
|
|
|
};
|
2015-12-17 10:00:46 +00:00
|
|
|
class ACE_Actions;
|
2015-04-05 06:57:24 +00:00
|
|
|
};
|
|
|
|
class Mortar_01_base_F: StaticMortar {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {
|
|
|
|
turretInfoType = "ACE_Mk6_RscWeaponRangeArtillery";
|
2015-07-08 06:00:43 +00:00
|
|
|
discreteDistance[] = {};
|
|
|
|
discreteDistanceInitIndex = 0;
|
2015-04-05 06:57:24 +00:00
|
|
|
};
|
|
|
|
};
|
2015-12-16 19:22:18 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class GVAR(unloadMagazine) {
|
2015-12-16 22:47:14 +00:00
|
|
|
displayName = CSTRING(unloadMortar);
|
2015-12-17 10:00:46 +00:00
|
|
|
distance = 2;
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE(_this call FUNC(canUnloadMagazine));
|
|
|
|
statement = QUOTE([ARR_3(_target,_player,5)] call FUNC(unloadMagazineTimer));
|
2015-12-16 19:22:18 +00:00
|
|
|
icon = "";
|
|
|
|
selection = "usti hlavne";
|
|
|
|
};
|
|
|
|
class GVAR(LoadActions) {
|
|
|
|
displayName = CSTRING(loadMortar);
|
2015-12-17 10:00:46 +00:00
|
|
|
distance = 2;
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE([ARR_2(_target,_player)] call FUNC(canLoadMagazine));
|
2015-12-16 19:22:18 +00:00
|
|
|
statement = "";
|
|
|
|
icon = "";
|
|
|
|
selection = "usti hlavne";
|
|
|
|
class GVAR(loadMagazine_HE_Guided) {
|
|
|
|
displayName = CSTRING(loadMagazine_HE_Guided);
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_1Rnd_82mm_Mo_HE_Guided')] call FUNC(canLoadMagazine));
|
2015-12-31 21:26:04 +00:00
|
|
|
statement = QUOTE([ARR_4(_target,_player,8,'ACE_1Rnd_82mm_Mo_HE_Guided')] call FUNC(loadMagazineTimer));
|
2015-12-16 19:22:18 +00:00
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class GVAR(loadMagazine_HE_LaserGuided) {
|
|
|
|
displayName = CSTRING(loadMagazine_HE_LaserGuided);
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_1Rnd_82mm_Mo_HE_LaserGuided')] call FUNC(canLoadMagazine));
|
2015-12-31 21:26:04 +00:00
|
|
|
statement = QUOTE([ARR_4(_target,_player,8,'ACE_1Rnd_82mm_Mo_HE_LaserGuided')] call FUNC(loadMagazineTimer));
|
2015-12-16 19:22:18 +00:00
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class GVAR(loadMagazine_Illum) {
|
|
|
|
displayName = CSTRING(loadMagazine_Illum);
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_1Rnd_82mm_Mo_Illum')] call FUNC(canLoadMagazine));
|
|
|
|
statement = QUOTE([ARR_4(_target,_player,5,'ACE_1Rnd_82mm_Mo_Illum')] call FUNC(loadMagazineTimer));
|
2015-12-16 19:22:18 +00:00
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class GVAR(loadMagazine_Smoke) {
|
|
|
|
displayName = CSTRING(loadMagazine_Smoke);
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_1Rnd_82mm_Mo_Smoke')] call FUNC(canLoadMagazine));
|
2015-12-17 18:25:22 +00:00
|
|
|
statement = QUOTE([ARR_4(_target,_player,2.5,'ACE_1Rnd_82mm_Mo_Smoke')] call FUNC(loadMagazineTimer));
|
2015-12-13 17:27:13 +00:00
|
|
|
icon = "";
|
|
|
|
};
|
2015-12-16 19:22:18 +00:00
|
|
|
class GVAR(loadMagazine_HE) {
|
|
|
|
displayName = CSTRING(loadMagazine_HE);
|
2015-12-16 22:47:14 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_1Rnd_82mm_Mo_HE')] call FUNC(canLoadMagazine));
|
2015-12-17 18:25:22 +00:00
|
|
|
statement = QUOTE([ARR_4(_target,_player,2.5,'ACE_1Rnd_82mm_Mo_HE')] call FUNC(loadMagazineTimer));
|
2015-12-13 17:27:13 +00:00
|
|
|
icon = "";
|
|
|
|
};
|
2015-12-16 19:22:18 +00:00
|
|
|
};
|
2015-12-13 17:27:13 +00:00
|
|
|
};
|
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
|
|
|
|
2015-05-30 04:37:41 +00:00
|
|
|
class ACE_Module;
|
|
|
|
class GVAR(module): ACE_Module {
|
2015-06-02 20:36:06 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-04-05 07:18:51 +00:00
|
|
|
category = "ACE";
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Module_DisplayName);
|
2015-04-05 07:18:51 +00:00
|
|
|
function = QFUNC(moduleInit);
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
|
|
|
isGlobal = 1;
|
2015-10-19 04:34:11 +00:00
|
|
|
isSingular = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(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-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(airResistanceEnabled_DisplayName);
|
|
|
|
description = CSTRING(airResistanceEnabled_Description);
|
2015-04-05 07:18:51 +00:00
|
|
|
typeName = "BOOL";
|
2015-07-26 21:45:29 +00:00
|
|
|
defaultValue = 0;
|
2015-04-05 07:18:51 +00:00
|
|
|
};
|
2015-04-05 19:34:39 +00:00
|
|
|
class allowComputerRangefinder {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(allowComputerRangefinder_DisplayName);
|
|
|
|
description = CSTRING(allowComputerRangefinder_Description);
|
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 {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(allowCompass_DisplayName);
|
|
|
|
description = CSTRING(allowCompass_Description);
|
2015-04-05 19:34:39 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2015-12-17 10:00:46 +00:00
|
|
|
class useAmmoHandling {
|
|
|
|
displayName = CSTRING(useAmmoHandling_DisplayName);
|
|
|
|
description = CSTRING(useAmmoHandling_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
|
|
|
};
|
2015-04-05 07:18:51 +00:00
|
|
|
};
|
2015-05-30 04:37:41 +00:00
|
|
|
class ModuleDescription {
|
2015-05-27 17:04:25 +00:00
|
|
|
description = CSTRING(Module_Description);
|
2015-04-05 07:18:51 +00:00
|
|
|
};
|
|
|
|
};
|
2015-12-20 19:51:44 +00:00
|
|
|
|
|
|
|
class Box_NATO_AmmoOrd_F;
|
|
|
|
class ACE_Box_82mm_Mo_HE: Box_NATO_AmmoOrd_F {
|
|
|
|
displayName = CSTRING(HEBox_DisplayName);
|
|
|
|
author = ECSTRING(common,ACETeam);
|
2016-03-01 20:58:21 +00:00
|
|
|
maximumLoad = 400;
|
2015-12-20 19:51:44 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_1Rnd_82mm_Mo_HE,8);
|
|
|
|
};
|
|
|
|
class TransportItems {};
|
|
|
|
class TransportWeapons {};
|
|
|
|
};
|
|
|
|
class ACE_Box_82mm_Mo_Smoke: ACE_Box_82mm_Mo_HE {
|
|
|
|
displayName = CSTRING(SmokeBox_DisplayName);
|
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_1Rnd_82mm_Mo_Smoke,8);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_Box_82mm_Mo_Illum: ACE_Box_82mm_Mo_HE {
|
|
|
|
displayName = CSTRING(IllumBox_DisplayName);
|
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_1Rnd_82mm_Mo_Illum,8);
|
|
|
|
};
|
|
|
|
};
|
2016-02-04 19:35:00 +00:00
|
|
|
class ACE_Box_82mm_Mo_Combo: ACE_Box_82mm_Mo_HE {
|
|
|
|
displayName = CSTRING(ComboBox_DisplayName);
|
2016-03-01 20:58:21 +00:00
|
|
|
maximumLoad = 2400;
|
2016-02-04 19:35:00 +00:00
|
|
|
class TransportMagazines {
|
|
|
|
MACRO_ADDMAGAZINE(ACE_1Rnd_82mm_Mo_HE,32);
|
|
|
|
MACRO_ADDMAGAZINE(ACE_1Rnd_82mm_Mo_Smoke,8);
|
|
|
|
MACRO_ADDMAGAZINE(ACE_1Rnd_82mm_Mo_Illum,8);
|
|
|
|
};
|
|
|
|
};
|
2015-06-02 20:14:32 +00:00
|
|
|
};
|