ACE3/addons/zeus/config.cpp

63 lines
1.7 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(moduleDefendArea),
2016-05-15 20:02:40 +00:00
QGVAR(moduleGlobalSetSkill),
QGVAR(moduleGroupSide),
QGVAR(modulePatrolArea),
QGVAR(moduleSearchArea),
2016-05-18 20:19:52 +00:00
QGVAR(moduleSearchNearby),
2016-05-15 20:02:40 +00:00
QGVAR(moduleTeleportPlayers)
};
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"
#include "ui\RscAttributes.hpp"
2016-05-24 13:13:11 +00:00
class ACE_newEvents {
zeusUnitAssigned = QGVAR(zeusUnitAssigned);
2016-05-25 18:23:53 +00:00
SetSurrendered = QEGVAR(captives,setSurrendered);
SetHandcuffed = QEGVAR(captives,setHandcuffed);
AddCargoByClass = "ace_addCargo";
2016-05-24 14:06:17 +00:00
};