ACE3/addons/zeus/config.cpp

46 lines
1.2 KiB
C++
Raw Normal View History

2015-05-09 19:24:39 +00:00
#include "script_component.hpp"
class CfgPatches {
class ADDON {
2015-05-18 19:43:02 +00:00
units[] = {};
2015-05-09 19:24:39 +00:00
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author = ECSTRING(common,ACETeam);
authors[] = {"SilentSpike"};
url = ECSTRING(main,URL);
2015-05-09 19:24:39 +00:00
VERSION_CONFIG;
};
2015-05-18 19:43:02 +00:00
// Use additional cfgPatches to contextually remove modules from zeus
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)
2015-05-18 19:43:02 +00:00
};
};
class GVAR(cargoAndRepair): ADDON {
units[] = {
QGVAR(moduleAddSpareTrack),
QGVAR(moduleAddSpareWheel)
};
};
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(cargoAndRepair)[] = {"ace_cargo", "ace_repair"};
2015-05-18 21:50:36 +00:00
};
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"