mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
3a1dba4486
Using a shared `radius` attribute for all of these displays so a generalized method of initializing and retrieving the value associated that was implemented.
54 lines
1.4 KiB
C++
54 lines
1.4 KiB
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
units[] = {
|
|
QGVAR(moduleDefendArea),
|
|
QGVAR(moduleGlobalSetSkill),
|
|
QGVAR(moduleGroupSide),
|
|
QGVAR(modulePatrolArea),
|
|
QGVAR(moduleSearchArea),
|
|
QGVAR(moduleSearchNearby),
|
|
QGVAR(moduleTeleportPlayers)
|
|
};
|
|
weapons[] = {};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ace_common"};
|
|
author[] = {"SilentSpike"};
|
|
authorUrl = "https://github.com/SilentSpike";
|
|
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 ACE_Curator {
|
|
GVAR(captives) = "ace_captives";
|
|
GVAR(medical) = "ace_medical";
|
|
GVAR(cargoAndRepair[]) = {"ace_cargo", "ace_repair"};
|
|
};
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "ACE_Settings.hpp"
|
|
#include "ui\RscAttributes.hpp"
|