mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
cd30b09b4f
* Convert ACE_settings to CBA_settings * Run Modules Globaly, BWC for SetSetting * Add support for string settings * ACE_ServerSettings warning * Add handler for global setting being changed * Add deprecated and replaced not to Settings Framework doc * Remove options menu UI, Move Debug and HeadBug Fix to Options in Pause Menu * Change modules scope to 1 * Disable debug
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
class CfgVehicles {
|
|
class ACE_Module;
|
|
class GVAR(ModuleSettings): ACE_Module {
|
|
scope = 1;
|
|
displayName = CSTRING(Module_DisplayName);
|
|
icon = QPATHTOF(UI\Icon_Module_Wind_ca.paa);
|
|
category = "ACE";
|
|
function = QUOTE(DFUNC(initModuleSettings));
|
|
functionPriority = 1;
|
|
isGlobal = 1;
|
|
isSingular = 1;
|
|
isTriggerActivated = 0;
|
|
author = ECSTRING(common,ACETeam);
|
|
class Arguments {
|
|
class enabled {
|
|
displayName = CSTRING(enabled_DisplayName);
|
|
description = CSTRING(enabled_Description);
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
class updateInterval {
|
|
displayName = CSTRING(updateInterval_DisplayName);
|
|
description = CSTRING(updateInterval_Description);
|
|
typeName = "NUMBER";
|
|
defaultValue = 60;
|
|
};
|
|
class windSimulation {
|
|
displayName = CSTRING(windSimulation_DisplayName);
|
|
description = CSTRING(windSimulation_Description);
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = CSTRING(Module_Description);
|
|
};
|
|
};
|
|
};
|