2016-09-04 19:33:07 +00:00
|
|
|
[
|
|
|
|
QGVAR(enabled),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(Enabled), LSTRING(Enabled_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
2016-09-04 19:33:07 +00:00
|
|
|
true,
|
2018-11-02 17:58:57 +00:00
|
|
|
true,
|
|
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2016-09-04 19:33:07 +00:00
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enableStaminaBar),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(EnableStaminaBar), LSTRING(EnableStaminaBar_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
2016-09-04 19:33:07 +00:00
|
|
|
true,
|
|
|
|
true, {
|
|
|
|
if (!_this) then {
|
|
|
|
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];
|
|
|
|
_staminaBarContainer ctrlSetFade 1;
|
|
|
|
_staminaBarContainer ctrlCommit 0;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(performanceFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(PerformanceFactor), LSTRING(PerformanceFactor_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
|
|
|
[0, 5, 1, 1],
|
2016-09-04 19:33:07 +00:00
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(recoveryFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(RecoveryFactor), LSTRING(RecoveryFactor_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
|
|
|
[0, 5, 1, 1],
|
2016-09-04 19:33:07 +00:00
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(loadFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(LoadFactor), LSTRING(LoadFactor_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
|
|
|
[0, 5, 1, 1],
|
2016-09-04 19:33:07 +00:00
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(terrainGradientFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(TerrainGradientFactor), LSTRING(TerrainGradientFactor_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
|
|
|
[0, 5, 1, 1],
|
2016-09-04 19:33:07 +00:00
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
2017-11-15 17:16:15 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(swayFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(SwayFactor), LSTRING(SwayFactor_Description)],
|
2018-05-30 23:05:55 +00:00
|
|
|
LSTRING(DisplayName),
|
|
|
|
[0, 5, 1, 1],
|
2017-11-15 17:16:15 +00:00
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|