2015-04-11 12:02:44 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
|
|
|
class GVAR(adjustZero) {
|
|
|
|
// Updates the zero reference
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AdjustZero);
|
2015-04-11 12:02:44 +00:00
|
|
|
condition = QUOTE([ACE_player] call FUNC(canAdjustZero));
|
|
|
|
statement = QUOTE([ACE_player] call FUNC(adjustZero));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 0.2;
|
2016-04-08 18:34:50 +00:00
|
|
|
//icon = QPATHTOF(UI\...); // TODO
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"notOnMap", "isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-11 12:02:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-11-08 13:47:12 +00:00
|
|
|
class ACE_Module;
|
|
|
|
class GVAR(ModuleSettings): ACE_Module {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(DisplayName);
|
|
|
|
//icon = ""; // needs an icon
|
|
|
|
category = "ACE";
|
|
|
|
function = QUOTE(DFUNC(initModuleSettings));
|
|
|
|
functionPriority = 1;
|
|
|
|
isGlobal = 1;
|
|
|
|
isTriggerActivated = 0;
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
class Arguments {
|
|
|
|
class enabled {
|
|
|
|
displayName = CSTRING(enabled_DisplayName);
|
|
|
|
description = CSTRING(enabled_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
|
|
|
class forceUseOfAdjustmentTurrets {
|
|
|
|
displayName = CSTRING(forceUseOfAdjustmentTurrets_DisplayName);
|
|
|
|
description = CSTRING(forceUseOfAdjustmentTurrets_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
|
|
|
};
|
2016-11-12 11:06:17 +00:00
|
|
|
class correctZeroing {
|
|
|
|
displayName = CSTRING(correctZeroing_DisplayName);
|
|
|
|
description = CSTRING(correctZeroing_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2016-11-16 11:55:43 +00:00
|
|
|
class overwriteZeroRange {
|
|
|
|
displayName = CSTRING(overwriteZeroRange_DisplayName);
|
|
|
|
description = CSTRING(overwriteZeroRange_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
|
|
|
};
|
2016-11-08 13:47:12 +00:00
|
|
|
class defaultZeroRange {
|
|
|
|
displayName = CSTRING(defaultZeroRange_DisplayName);
|
|
|
|
description = CSTRING(defaultZeroRange_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
defaultValue = 100;
|
|
|
|
};
|
|
|
|
class zeroReferenceTemperature {
|
|
|
|
displayName = CSTRING(zeroReferenceTemperature_DisplayName);
|
|
|
|
description = CSTRING(zeroReferenceTemperature_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
defaultValue = 15;
|
|
|
|
};
|
|
|
|
class zeroReferenceBarometricPressure {
|
|
|
|
displayName = CSTRING(zeroReferenceBarometricPressure_DisplayName);
|
|
|
|
description = CSTRING(zeroReferenceBarometricPressure_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
defaultValue = 1013.25;
|
|
|
|
};
|
|
|
|
class zeroReferenceHumidity {
|
|
|
|
displayName = CSTRING(zeroReferenceHumidity_DisplayName);
|
|
|
|
description = CSTRING(zeroReferenceHumidity_Description);
|
|
|
|
typeName = "NUMBER";
|
2017-10-06 18:05:20 +00:00
|
|
|
defaultValue = 0.0;
|
2016-11-08 13:47:12 +00:00
|
|
|
};
|
|
|
|
class deduceBarometricPressureFromTerrainAltitude {
|
|
|
|
displayName = CSTRING(deduceBarometricPressureFromTerrainAltitude_DisplayName);
|
|
|
|
description = CSTRING(deduceBarometricPressureFromTerrainAltitude_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(Description);
|
|
|
|
};
|
|
|
|
};
|
2015-04-11 12:02:44 +00:00
|
|
|
};
|