2021-10-11 20:48:30 +00:00
|
|
|
private _category = format ["ACE %1", localize LSTRING(DisplayName)];
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enabled), "CHECKBOX",
|
|
|
|
[LSTRING(enabled_DisplayName), LSTRING(enabled_Description)],
|
|
|
|
_category,
|
|
|
|
false,
|
2024-08-03 08:16:46 +00:00
|
|
|
1,
|
|
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(muzzleVelocityVariationEnabled), "CHECKBOX",
|
|
|
|
[LSTRING(muzzleVelocityVariationEnabled_DisplayName), LSTRING(muzzleVelocityVariationEnabled_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(ammoTemperatureEnabled), "CHECKBOX",
|
|
|
|
[LSTRING(ammoTemperatureEnabled_DisplayName), LSTRING(ammoTemperatureEnabled_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(barrelLengthInfluenceEnabled), "CHECKBOX",
|
|
|
|
[LSTRING(barrelLengthInfluenceEnabled_DisplayName), LSTRING(barrelLengthInfluenceEnabled_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(bulletTraceEnabled), "CHECKBOX",
|
|
|
|
[LSTRING(bulletTraceEnabled_DisplayName), LSTRING(bulletTraceEnabled_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(simulationInterval), "SLIDER",
|
|
|
|
[LSTRING(simulationInterval_DisplayName), LSTRING(simulationInterval_Description)],
|
|
|
|
_category,
|
|
|
|
[0, 0.2, 0.05, 2],
|
2024-08-03 08:16:46 +00:00
|
|
|
1,
|
|
|
|
{[QGVAR(simulationInterval), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|