2015-05-09 19:24:39 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
class CfgPatches {
|
|
|
|
class ADDON {
|
2016-06-19 07:12:25 +00:00
|
|
|
name = COMPONENT_NAME;
|
2016-05-15 20:02:40 +00:00
|
|
|
units[] = {
|
2017-10-11 19:05:54 +00:00
|
|
|
QGVAR(moduleConfigurePylons),
|
2016-05-18 23:16:50 +00:00
|
|
|
QGVAR(moduleDefendArea),
|
2016-11-15 12:07:48 +00:00
|
|
|
QGVAR(moduleEditableObjects),
|
2016-05-15 20:02:40 +00:00
|
|
|
QGVAR(moduleGlobalSetSkill),
|
2016-05-17 22:31:10 +00:00
|
|
|
QGVAR(moduleGroupSide),
|
2017-09-21 14:19:49 +00:00
|
|
|
QGVAR(moduleLoadIntoCargo),
|
2016-05-18 23:16:50 +00:00
|
|
|
QGVAR(modulePatrolArea),
|
|
|
|
QGVAR(moduleSearchArea),
|
2016-05-18 20:19:52 +00:00
|
|
|
QGVAR(moduleSearchNearby),
|
2017-10-10 16:06:37 +00:00
|
|
|
QGVAR(moduleGarrison),
|
|
|
|
QGVAR(moduleUnGarrison),
|
2017-09-21 18:43:35 +00:00
|
|
|
QGVAR(moduleTeleportPlayers),
|
|
|
|
QGVAR(moduleToggleNvg),
|
|
|
|
QGVAR(moduleToggleFlashlight),
|
2016-11-15 12:07:48 +00:00
|
|
|
QGVAR(moduleSimulation),
|
2017-05-10 16:29:04 +00:00
|
|
|
QGVAR(moduleSuppressiveFire),
|
2017-05-31 13:42:45 +00:00
|
|
|
QGVAR(AddFullArsenal),
|
|
|
|
QGVAR(RemoveFullArsenal),
|
2018-02-24 17:44:57 +00:00
|
|
|
QGVAR(moduleTeleportPlayers),
|
|
|
|
QGVAR(moduleHeal),
|
|
|
|
QGVAR(moduleSuicideBomber),
|
2018-02-09 20:30:37 +00:00
|
|
|
QGVAR(AddFullAceArsenal),
|
2018-02-24 17:44:57 +00:00
|
|
|
QGVAR(RemoveFullAceArsenal)
|
2016-05-15 20:02:40 +00:00
|
|
|
};
|
2015-05-09 19:24:39 +00:00
|
|
|
weapons[] = {};
|
|
|
|
requiredVersion = REQUIRED_VERSION;
|
2017-10-10 16:06:37 +00:00
|
|
|
requiredAddons[] = {"ace_common", "ace_ai"};
|
2016-05-31 19:14:43 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2023-08-17 10:02:17 +00:00
|
|
|
authors[] = {"kymckay", "mharis001"};
|
2016-06-01 21:45:51 +00:00
|
|
|
url = ECSTRING(main,URL);
|
2015-05-09 19:24:39 +00:00
|
|
|
VERSION_CONFIG;
|
|
|
|
};
|
2017-09-21 14:19:49 +00:00
|
|
|
|
2016-12-15 05:55:06 +00:00
|
|
|
// Use additional CfgPatches to contextually remove modules from zeus
|
2015-05-18 19:43:02 +00:00
|
|
|
class GVAR(captives): ADDON {
|
|
|
|
units[] = {
|
2015-05-19 11:23:18 +00:00
|
|
|
QGVAR(moduleCaptive),
|
2015-05-18 19:43:02 +00:00
|
|
|
QGVAR(moduleSurrender)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class GVAR(medical): ADDON {
|
|
|
|
units[] = {
|
2015-08-15 16:25:48 +00:00
|
|
|
QGVAR(moduleUnconscious),
|
|
|
|
QGVAR(moduleSetMedic),
|
|
|
|
QGVAR(moduleSetMedicalVehicle),
|
2023-11-20 21:52:29 +00:00
|
|
|
QGVAR(moduleSetMedicalFacility),
|
|
|
|
QGVAR(moduleMedicalMenu)
|
2015-05-18 19:43:02 +00:00
|
|
|
};
|
|
|
|
};
|
2017-09-21 14:19:49 +00:00
|
|
|
class GVAR(cargo): ADDON {
|
|
|
|
units[] = {
|
2019-01-31 00:30:42 +00:00
|
|
|
QGVAR(moduleLoadIntoCargo),
|
2023-11-21 23:44:08 +00:00
|
|
|
QGVAR(moduleUnloadFromCargo),
|
2019-01-31 00:30:42 +00:00
|
|
|
QGVAR(moduleCargoParadrop)
|
2017-09-21 14:19:49 +00:00
|
|
|
};
|
|
|
|
};
|
2018-02-24 17:44:57 +00:00
|
|
|
class GVAR(repair): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(moduleSetEngineer),
|
|
|
|
QGVAR(moduleSetRepairVehicle),
|
|
|
|
QGVAR(moduleSetRepairFacility)
|
|
|
|
};
|
|
|
|
};
|
2015-09-26 22:29:19 +00:00
|
|
|
class GVAR(cargoAndRepair): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(moduleAddSpareTrack),
|
|
|
|
QGVAR(moduleAddSpareWheel)
|
|
|
|
};
|
|
|
|
};
|
2016-12-15 05:55:06 +00:00
|
|
|
class GVAR(fastroping): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(moduleAddOrRemoveFRIES)
|
|
|
|
};
|
|
|
|
};
|
2017-10-11 19:05:54 +00:00
|
|
|
class GVAR(pylons): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(moduleConfigurePylons)
|
|
|
|
};
|
|
|
|
};
|
2018-02-09 20:30:37 +00:00
|
|
|
class GVAR(arsenal): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(AddFullAceArsenal),
|
|
|
|
QGVAR(RemoveFullAceArsenal)
|
|
|
|
};
|
|
|
|
};
|
2021-11-07 16:52:47 +00:00
|
|
|
class GVAR(fire): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(moduleBurn)
|
|
|
|
};
|
|
|
|
};
|
2023-10-04 18:21:50 +00:00
|
|
|
class GVAR(trenches): ADDON {
|
|
|
|
units[] = {
|
|
|
|
QGVAR(moduleLayTrench)
|
|
|
|
};
|
|
|
|
};
|
2015-05-09 19:24:39 +00:00
|
|
|
};
|
|
|
|
|
2015-05-18 21:50:36 +00:00
|
|
|
class ACE_Curator {
|
|
|
|
GVAR(captives) = "ace_captives";
|
|
|
|
GVAR(medical) = "ace_medical";
|
2017-09-21 14:19:49 +00:00
|
|
|
GVAR(cargo) = "ace_cargo";
|
2018-02-24 17:44:57 +00:00
|
|
|
GVAR(repair) = "ace_repair";
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(cargoAndRepair)[] = {"ace_cargo", "ace_repair"};
|
2016-12-15 05:55:06 +00:00
|
|
|
GVAR(fastroping) = "ace_fastroping";
|
2017-10-11 19:05:54 +00:00
|
|
|
GVAR(pylons) = "ace_pylons";
|
2018-02-09 20:30:37 +00:00
|
|
|
GVAR(arsenal) = "ace_arsenal";
|
2021-11-07 16:52:47 +00:00
|
|
|
GVAR(fire) = "ace_fire";
|
2023-10-04 18:21:50 +00:00
|
|
|
GVAR(trenches) = "ace_trenches";
|
2015-05-18 21:50:36 +00:00
|
|
|
};
|
|
|
|
|
2016-11-15 12:07:48 +00:00
|
|
|
#include "CfgFactionClasses.hpp"
|
2015-05-09 19:24:39 +00:00
|
|
|
#include "CfgEventHandlers.hpp"
|
2015-05-11 15:30:46 +00:00
|
|
|
#include "CfgVehicles.hpp"
|
2015-05-11 17:06:01 +00:00
|
|
|
#include "ACE_Settings.hpp"
|
2016-05-15 17:08:54 +00:00
|
|
|
#include "ui\RscAttributes.hpp"
|