mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ef4d289836
* Initial commit * Revert unrelated changes * Add newline * Fix undefined var, localize text * Shorten strings, add missing parameters * Fix logical error * Fix capitalization, Update string, Only add EH on server * Add missing uses of the private command * Remove excess formatting * Add module category
65 lines
1.8 KiB
C++
65 lines
1.8 KiB
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
name = COMPONENT_NAME;
|
|
units[] = {
|
|
QGVAR(moduleDefendArea),
|
|
QGVAR(moduleEditableObjects),
|
|
QGVAR(moduleGlobalSetSkill),
|
|
QGVAR(moduleGroupSide),
|
|
QGVAR(modulePatrolArea),
|
|
QGVAR(moduleSearchArea),
|
|
QGVAR(moduleSearchNearby),
|
|
QGVAR(moduleSimulation),
|
|
QGVAR(moduleTeleportPlayers)
|
|
};
|
|
weapons[] = {};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ace_common"};
|
|
author = ECSTRING(common,ACETeam);
|
|
authors[] = {"SilentSpike"};
|
|
url = ECSTRING(main,URL);
|
|
VERSION_CONFIG;
|
|
};
|
|
// Use additional CfgPatches to contextually remove modules from zeus
|
|
class GVAR(captives): ADDON {
|
|
units[] = {
|
|
QGVAR(moduleCaptive),
|
|
QGVAR(moduleSurrender)
|
|
};
|
|
};
|
|
class GVAR(medical): ADDON {
|
|
units[] = {
|
|
QGVAR(moduleUnconscious),
|
|
QGVAR(moduleSetMedic),
|
|
QGVAR(moduleSetMedicalVehicle),
|
|
QGVAR(moduleSetMedicalFacility)
|
|
};
|
|
};
|
|
class GVAR(cargoAndRepair): ADDON {
|
|
units[] = {
|
|
QGVAR(moduleAddSpareTrack),
|
|
QGVAR(moduleAddSpareWheel)
|
|
};
|
|
};
|
|
class GVAR(fastroping): ADDON {
|
|
units[] = {
|
|
QGVAR(moduleAddOrRemoveFRIES)
|
|
};
|
|
};
|
|
};
|
|
|
|
class ACE_Curator {
|
|
GVAR(captives) = "ace_captives";
|
|
GVAR(medical) = "ace_medical";
|
|
GVAR(cargoAndRepair)[] = {"ace_cargo", "ace_repair"};
|
|
GVAR(fastroping) = "ace_fastroping";
|
|
};
|
|
|
|
#include "CfgFactionClasses.hpp"
|
|
#include "CfgEventHandlers.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "ACE_Settings.hpp"
|
|
#include "ui\RscAttributes.hpp"
|