Set up and integrated HEMTT for easier dev workflow. Adjusted core addon name 'logistics' to 'main'. Fixed several issues caught by HEMTT
This commit is contained in:
1 parent
00eee092c3
commit
8ef33973bd
61 files changed
+4002
-82
No files matched your search
@@ -0,0 +1,76 @@
|
||||
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_initBase: Module_F
|
||||
{
|
||||
scope = 2;
|
||||
scopeCurator = 2;
|
||||
isGlobal = 0;
|
||||
isTriggerActivated = 1;
|
||||
isDisposable = 1;
|
||||
// is3DEN = 1;
|
||||
curatorCanAttach = 1;
|
||||
//curatorInfoType = "";
|
||||
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 GVAR(initHQ): CLF_initBase
|
||||
{
|
||||
author = "Clarky";
|
||||
displayName = "Initialise HQ";
|
||||
//icon = "";
|
||||
category = "CLF";
|
||||
function = QFUNC(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.";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user