Added Mark Entity curator module to add entities in game

This commit is contained in:
Valmo Trindade
2025-05-20 21:40:27 -03:00
parent 67fa1cfe52
commit 2e2a321006
2 changed files with 54 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ class CfgVehicles {
scope = 1; scope = 1;
scopeCurator = 2; scopeCurator = 2;
function = ""; function = "";
displayName = "CoT Router (Zeus)";
curatorInfoType = "armatak_zeus_core_module_dialog"; curatorInfoType = "armatak_zeus_core_module_dialog";
class AttributesValues { class AttributesValues {
@@ -125,4 +126,55 @@ class CfgVehicles {
}; };
}; };
}; };
class GVAR(markEntity): GVAR(coreModuleCurator) {
scope = 1;
scopeCurator = 2;
displayname = "Mark Entity";
isDisposable = 1;
curatorInfoType = "RscDisplayAttributeModuleNuke";
curatorCanAttach = 1;
author = "Valmo Trindade";
category = QEGVAR(main,moduleCategory);
function = QFUNC(routerEntityAdd);
functionPriority = 1;
isGlobal = 1;
isTriggerActivated = 0;
icon = "\a3\Modules_F_Curator\Data\iconRadio_ca.paa";
class AttributesValues {
size3[] = { 1, 1, -1 };
isRectangle = 0;
};
class Attributes: AttributesBase {
class ModuleDescription: ModuleDescription {};
};
class ModuleDescription: ModuleDescription {
description = "Select a unit to be marked to the TAK Server";
sync[] = {"LocationArea_F"};
class LocationArea_F {
description[] = {
"This module will add a marker",
"to the TAK server"
};
position = 1;
direction = 1;
optional = 1;
duplicate = 1;
synced[] = { "BluforUnit", "AnyBrain" };
};
class BluforUnit
{
description = "Short description";
displayName = "Any BLUFOR unit";
icon = "iconMan";
side = 1;
};
};
};
}; };

View File

@@ -5,7 +5,8 @@ class CfgPatches {
name = COMPONENT_NAME; name = COMPONENT_NAME;
units[] = { units[] = {
QGVAR(coreModule), QGVAR(coreModule),
QGVAR(coreModuleCurator) QGVAR(coreModuleCurator),
QGVAR(markEntity)
}; };
weapons[] = {}; weapons[] = {};
requiredAddons[] = { requiredAddons[] = {