mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Better module naming convention
This commit is contained in:
parent
8fe1a65207
commit
a30f6be713
@ -81,29 +81,19 @@ class CfgVehicles {
|
||||
category = "ACE";
|
||||
scopeCurator = 2;
|
||||
};
|
||||
class GVAR(moduleCapture): GVAR(moduleBase) {
|
||||
class GVAR(moduleCaptive): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "Capture Unit";
|
||||
function = QFUNC(moduleCapture);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Capture_ca.paa));
|
||||
displayName = "Toggle Captive";
|
||||
function = QFUNC(moduleCaptive);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Captive_ca.paa));
|
||||
class ModuleDescription {
|
||||
description = "Flips the capture state of the specified unit.";
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
class GVAR(moduleKnockout): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "Knockout Unit";
|
||||
function = QFUNC(moduleKnockout);
|
||||
//icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Knockout_ca.paa));
|
||||
class ModuleDescription {
|
||||
description = "Flips the unconscious state of the specified unit.";
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
class GVAR(moduleSurrender): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "Surrender Unit";
|
||||
displayName = "Toggle Surrender";
|
||||
function = QFUNC(moduleSurrender);
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Surrender_ca.paa));
|
||||
class ModuleDescription {
|
||||
@ -111,4 +101,14 @@ class CfgVehicles {
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
class GVAR(moduleUnconscious): GVAR(moduleBase) {
|
||||
curatorCanAttach = 1;
|
||||
displayName = "Toggle Unconscious";
|
||||
function = QFUNC(moduleUnconscious);
|
||||
//icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Unconscious_ca.paa));
|
||||
class ModuleDescription {
|
||||
description = "Flips the unconscious state of the specified unit.";
|
||||
sync[] = {};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -7,9 +7,9 @@ PREP(bi_moduleMine);
|
||||
PREP(bi_moduleProjectile);
|
||||
PREP(bi_moduleRemoteControl);
|
||||
PREP(handleZeusUnitAssigned);
|
||||
PREP(moduleCapture);
|
||||
PREP(moduleKnockout);
|
||||
PREP(moduleCaptive);
|
||||
PREP(moduleSurrender);
|
||||
PREP(moduleUnconscious);
|
||||
PREP(moduleZeusSettings);
|
||||
|
||||
if (isServer) then {
|
||||
|
@ -13,13 +13,13 @@ class CfgPatches {
|
||||
// Use additional cfgPatches to contextually remove modules from zeus
|
||||
class GVAR(captives): ADDON {
|
||||
units[] = {
|
||||
QGVAR(moduleCapture),
|
||||
QGVAR(moduleCaptive),
|
||||
QGVAR(moduleSurrender)
|
||||
};
|
||||
};
|
||||
class GVAR(medical): ADDON {
|
||||
units[] = {
|
||||
QGVAR(moduleKnockout)
|
||||
QGVAR(moduleUnconscious)
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user