2026-08-28 18:14:49 +10:00
|
|
|
class CfgVehicles
|
|
|
|
|
{
|
|
|
|
|
// Declaring custom zeus/3den modules
|
|
|
|
|
class Logic;
|
|
|
|
|
class Module_F: Logic
|
|
|
|
|
{
|
|
|
|
|
class AttributesBase
|
|
|
|
|
{
|
|
|
|
|
class Default;
|
|
|
|
|
class Edit;
|
|
|
|
|
class Combo;
|
|
|
|
|
class Checkbox;
|
|
|
|
|
class ModuleDescription;
|
|
|
|
|
class Units;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Description base classes (for more information see below):
|
|
|
|
|
class ModuleDescription
|
|
|
|
|
{
|
|
|
|
|
class Anything;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Base module class for any initialisation modules
|
|
|
|
|
class CLF_Init_Base: Module_F
|
|
|
|
|
{
|
|
|
|
|
scope = 2;
|
|
|
|
|
scopeCurator = 2;
|
|
|
|
|
isGlobal = 0;
|
|
|
|
|
isTriggerActivated = 1;
|
|
|
|
|
isDisposable = 1;
|
|
|
|
|
// is3DEN = 1;
|
|
|
|
|
curatorCanAttach = 1;
|
|
|
|
|
canSetArea = 0; // Allows for setting the area values in the Attributes menu in 3DEN
|
|
|
|
|
canSetAreaShape = 0; // Allows for setting "Rectangle" or "Ellipse" in Attributes menu in 3DEN
|
|
|
|
|
canSetAreaHeight = 0; // Allows for setting height or Z value in Attributes menu in 3DEN
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class CLF_Init_HQ: CLF_Init_Base
|
|
|
|
|
{
|
|
|
|
|
author = "Clarky";
|
|
|
|
|
displayName = "Initialise HQ";
|
|
|
|
|
//icon = "";
|
|
|
|
|
category = "CLF"
|
|
|
|
|
function = FUNC(moduleInitHQ);
|
|
|
|
|
functionPriority = 1;
|
|
|
|
|
|
|
|
|
|
class Attributes : AttributesBase
|
|
|
|
|
{
|
|
|
|
|
class Side: Combo
|
|
|
|
|
{
|
|
|
|
|
displayName = "HQ Team";
|
|
|
|
|
property = "CLF_Module_Base_Side";
|
|
|
|
|
typeName = "STRING";
|
|
|
|
|
tooltip = "Which team this object will be assigned to.";
|
|
|
|
|
defaultValue = 1;
|
|
|
|
|
|
|
|
|
|
class Values
|
|
|
|
|
{
|
|
|
|
|
class westSide { name = "$STR_WEST"; value = 1; };
|
|
|
|
|
class eastSide { name = "$STR_east"; value = 2; };
|
|
|
|
|
class indSide { name = "$STR_guerrila"; value = 3; };
|
|
|
|
|
class civSide { name = "$STR_civilian"; value = 4; }
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class ModuleDescription : ModuleDescription {};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class ModuleDescription : ModuleDescription
|
|
|
|
|
{
|
|
|
|
|
description = "Initialises HQ object for given side."
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|