ACE3/addons/zeus/config.cpp

122 lines
3.4 KiB
C++
Raw Normal View History

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[] = {
QGVAR(moduleConfigurePylons),
QGVAR(moduleDefendArea),
QGVAR(moduleEditableObjects),
2016-05-15 20:02:40 +00:00
QGVAR(moduleGlobalSetSkill),
QGVAR(moduleGroupSide),
QGVAR(moduleLoadIntoCargo),
QGVAR(modulePatrolArea),
QGVAR(moduleSearchArea),
2016-05-18 20:19:52 +00:00
QGVAR(moduleSearchNearby),
QGVAR(moduleGarrison),
QGVAR(moduleUnGarrison),
QGVAR(moduleTeleportPlayers),
QGVAR(moduleToggleNvg),
QGVAR(moduleToggleFlashlight),
QGVAR(moduleSimulation),
QGVAR(moduleSuppressiveFire),
QGVAR(AddFullArsenal),
QGVAR(RemoveFullArsenal),
QGVAR(moduleTeleportPlayers),
QGVAR(moduleHeal),
QGVAR(moduleSuicideBomber),
QGVAR(AddFullAceArsenal),
QGVAR(RemoveFullAceArsenal)
2016-05-15 20:02:40 +00:00
};
2015-05-09 19:24:39 +00:00
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common", "ace_ai"};
author = ECSTRING(common,ACETeam);
authors[] = {"kymckay", "mharis001"};
url = ECSTRING(main,URL);
2015-05-09 19:24:39 +00:00
VERSION_CONFIG;
};
// 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[] = {
QGVAR(moduleUnconscious),
QGVAR(moduleSetMedic),
QGVAR(moduleSetMedicalVehicle),
QGVAR(moduleSetMedicalFacility),
QGVAR(moduleMedicalMenu)
2015-05-18 19:43:02 +00:00
};
};
class GVAR(cargo): ADDON {
units[] = {
QGVAR(moduleLoadIntoCargo),
QGVAR(moduleUnloadFromCargo),
QGVAR(moduleCargoParadrop)
};
};
class GVAR(repair): ADDON {
units[] = {
QGVAR(moduleSetEngineer),
QGVAR(moduleSetRepairVehicle),
QGVAR(moduleSetRepairFacility)
};
};
class GVAR(cargoAndRepair): ADDON {
units[] = {
QGVAR(moduleAddSpareTrack),
QGVAR(moduleAddSpareWheel)
};
};
class GVAR(fastroping): ADDON {
units[] = {
QGVAR(moduleAddOrRemoveFRIES)
};
};
class GVAR(pylons): ADDON {
units[] = {
QGVAR(moduleConfigurePylons)
};
};
class GVAR(arsenal): ADDON {
units[] = {
QGVAR(AddFullAceArsenal),
QGVAR(RemoveFullAceArsenal)
};
};
class GVAR(fire): ADDON {
units[] = {
QGVAR(moduleBurn)
};
};
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";
GVAR(cargo) = "ace_cargo";
GVAR(repair) = "ace_repair";
GVAR(cargoAndRepair)[] = {"ace_cargo", "ace_repair"};
GVAR(fastroping) = "ace_fastroping";
GVAR(pylons) = "ace_pylons";
GVAR(arsenal) = "ace_arsenal";
GVAR(fire) = "ace_fire";
GVAR(trenches) = "ace_trenches";
2015-05-18 21:50:36 +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"
#include "ACE_Settings.hpp"
#include "ui\RscAttributes.hpp"