2016-11-08 13:47:12 +00:00
|
|
|
class ACE_Settings {
|
|
|
|
class GVAR(enabled) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
value = 1;
|
|
|
|
displayName = CSTRING(enabled_displayName);
|
|
|
|
description = CSTRING(enabled_description);
|
|
|
|
};
|
|
|
|
// ACE_ScopeAdjust_Vertical and ACE_ScopeAdjust_Horizontal will be populated with default values instead of [0,0]
|
|
|
|
class GVAR(forceUseOfAdjustmentTurrets) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
value = 0;
|
|
|
|
displayName = CSTRING(forceUseOfAdjustmentTurrets_displayName);
|
|
|
|
description = CSTRING(forceUseOfAdjustmentTurrets_description);
|
|
|
|
};
|
2016-11-12 11:06:17 +00:00
|
|
|
|
|
|
|
// Auto corrects the zeroing in both vanilla- and advanced ballistics
|
|
|
|
class GVAR(correctZeroing) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-12 11:06:17 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
value = 1;
|
|
|
|
displayName = CSTRING(correctZeroing_displayName);
|
|
|
|
description = CSTRING(correctZeroing_description);
|
|
|
|
};
|
2016-11-16 11:55:43 +00:00
|
|
|
// Enables the use of the 'defaultZeroRange' setting to overwrite the discreteDistance[] config
|
|
|
|
class GVAR(overwriteZeroRange) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-16 11:55:43 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
value = 0;
|
|
|
|
displayName = CSTRING(overwriteZeroRange_displayName);
|
|
|
|
description = CSTRING(overwriteZeroRange_description);
|
|
|
|
};
|
2016-11-08 13:47:12 +00:00
|
|
|
// Only affects scopes with elevation adjustment turrets (ACE_ScopeAdjust_Vertical != [0,0])
|
|
|
|
class GVAR(defaultZeroRange) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "SCALAR";
|
|
|
|
value = 100;
|
|
|
|
displayName = CSTRING(defaultZeroRange_displayName);
|
|
|
|
description = CSTRING(defaultZeroRange_description);
|
2017-12-16 17:51:15 +00:00
|
|
|
sliderSettings[] = {0, 1000, 100, 0};
|
2016-11-08 13:47:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Only relevant when advanced ballistics is enabled
|
|
|
|
class GVAR(zeroReferenceTemperature) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "SCALAR";
|
|
|
|
value = 15;
|
|
|
|
displayName = CSTRING(zeroReferenceTemperature_displayName);
|
|
|
|
description = CSTRING(zeroReferenceTemperature_description);
|
2017-12-16 17:51:15 +00:00
|
|
|
sliderSettings[] = {-55, 55, 15, 0};
|
2016-11-08 13:47:12 +00:00
|
|
|
};
|
|
|
|
class GVAR(zeroReferenceBarometricPressure) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "SCALAR";
|
|
|
|
value = 1013.25;
|
|
|
|
displayName = CSTRING(zeroReferenceBarometricPressure_displayName);
|
|
|
|
description = CSTRING(zeroReferenceBarometricPressure_description);
|
2017-12-16 17:51:15 +00:00
|
|
|
sliderSettings[] = {0, 1013.25, 1013.25, 2};
|
2016-11-08 13:47:12 +00:00
|
|
|
};
|
|
|
|
class GVAR(zeroReferenceHumidity) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "SCALAR";
|
2017-10-06 18:05:20 +00:00
|
|
|
value = 0.0;
|
2016-11-08 13:47:12 +00:00
|
|
|
displayName = CSTRING(zeroReferenceHumidity_displayName);
|
|
|
|
description = CSTRING(zeroReferenceHumidity_description);
|
2017-12-16 17:51:15 +00:00
|
|
|
sliderSettings[] = {0, 1, 0, 2};
|
2016-11-08 13:47:12 +00:00
|
|
|
};
|
|
|
|
class GVAR(deduceBarometricPressureFromTerrainAltitude) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2016-11-08 13:47:12 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
value = 0;
|
|
|
|
displayName = CSTRING(deduceBarometricPressureFromTerrainAltitude_displayName);
|
|
|
|
description = CSTRING(deduceBarometricPressureFromTerrainAltitude_description);
|
|
|
|
};
|
2017-11-08 13:04:09 +00:00
|
|
|
|
|
|
|
class GVAR(useLegacyUI) {
|
2017-11-13 17:50:24 +00:00
|
|
|
category = CSTRING(DisplayName);
|
2017-11-08 13:04:09 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
value = 0;
|
|
|
|
isClientSettable = 1;
|
|
|
|
displayName = CSTRING(useLegacyUI_displayName);
|
|
|
|
description = CSTRING(useLegacyUI_description);
|
|
|
|
};
|
2017-11-29 10:38:19 +00:00
|
|
|
|
|
|
|
class GVAR(simplifiedZeroing) {
|
|
|
|
category = CSTRING(DisplayName);
|
|
|
|
typeName = "BOOL";
|
|
|
|
value = 0;
|
|
|
|
displayName = CSTRING(simplifiedZeroing_displayName);
|
|
|
|
description = CSTRING(simplifiedZeroing_description);
|
|
|
|
};
|
2016-11-08 13:47:12 +00:00
|
|
|
};
|