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,
|
|
|
|
true,
|
2021-10-14 15:47:52 +00:00
|
|
|
1,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(heatCoef), "SLIDER",
|
|
|
|
[LSTRING(heatCoef_displayName), LSTRING(heatCoef_description)],
|
|
|
|
_category,
|
|
|
|
[0, 5, 1, 2],
|
2021-11-08 18:06:31 +00:00
|
|
|
1,
|
|
|
|
{
|
|
|
|
if (!GVAR(enabled)) exitWith {};
|
|
|
|
TRACE_2("reseting cache",GVAR(heatCoef),count GVAR(cacheAmmoData));
|
|
|
|
GVAR(cacheAmmoData) = createHashMap;
|
|
|
|
},
|
|
|
|
false
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(coolingCoef), "SLIDER",
|
|
|
|
[LSTRING(coolingCoef_displayName), LSTRING(coolingCoef_description)],
|
|
|
|
_category,
|
|
|
|
[0, 5, 1, 2],
|
|
|
|
1,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(suppressorCoef), "SLIDER",
|
|
|
|
[LSTRING(suppressorCoef_displayName), LSTRING(suppressorCoef_description)],
|
|
|
|
_category,
|
|
|
|
[0, 5, 1, 2],
|
|
|
|
1,
|
|
|
|
{
|
|
|
|
if (!GVAR(enabled)) exitWith {};
|
|
|
|
TRACE_2("reseting cache",GVAR(suppressorCoef),count GVAR(cacheSilencerData));
|
|
|
|
GVAR(cacheSilencerData) = createHashMap;
|
|
|
|
},
|
|
|
|
false
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(showParticleEffects), "CHECKBOX",
|
|
|
|
[LSTRING(showParticleEffects_displayName), LSTRING(showParticleEffects_description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(showParticleEffectsForEveryone), "CHECKBOX",
|
|
|
|
[LSTRING(showParticleEffectsForEveryone_displayName), LSTRING(showParticleEffectsForEveryone_description)],
|
|
|
|
_category,
|
|
|
|
false,
|
2021-10-14 15:47:52 +00:00
|
|
|
0,
|
|
|
|
{},
|
|
|
|
true
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(overheatingDispersion), "CHECKBOX",
|
|
|
|
[LSTRING(overheatingDispersion_displayName), LSTRING(overheatingDispersion_description)],
|
|
|
|
_category,
|
|
|
|
true,
|
2021-10-14 15:47:52 +00:00
|
|
|
1,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(particleEffectsAndDispersionDistance), "SLIDER",
|
|
|
|
[LSTRING(particleEffectsAndDispersionDistance_displayName), LSTRING(particleEffectsAndDispersionDistance_description)],
|
|
|
|
_category,
|
|
|
|
[1, 5000, 3000, 0],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(overheatingRateOfFire), "CHECKBOX",
|
|
|
|
[LSTRING(overheatingRateOfFire_displayName), LSTRING(overheatingRateOfFire_description)],
|
|
|
|
_category,
|
|
|
|
true,
|
2021-10-11 20:48:30 +00:00
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(displayTextOnJam), "CHECKBOX",
|
|
|
|
[LSTRING(DisplayTextOnJam_displayName), LSTRING(displayTextOnJam_description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2021-10-14 15:47:52 +00:00
|
|
|
[
|
|
|
|
QGVAR(jamChanceCoef), "SLIDER",
|
|
|
|
[LSTRING(jamChanceCoef_displayName), LSTRING(jamChanceCoef_description)],
|
|
|
|
_category,
|
|
|
|
[0, 5, 1, 2],
|
2021-10-18 05:30:39 +00:00
|
|
|
1
|
2021-10-14 15:47:52 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2021-10-11 20:48:30 +00:00
|
|
|
[
|
|
|
|
QGVAR(unJamOnreload), "CHECKBOX",
|
|
|
|
[LSTRING(unJamOnreload_displayName), LSTRING(unJamOnreload_description)],
|
|
|
|
_category,
|
|
|
|
false,
|
2021-10-14 15:47:52 +00:00
|
|
|
1,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(unJamOnSwapBarrel), "CHECKBOX",
|
|
|
|
[LSTRING(unJamOnSwapBarrel_displayName), LSTRING(unJamOnSwapBarrel_description)],
|
|
|
|
_category,
|
|
|
|
false,
|
2021-10-11 20:48:30 +00:00
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(unJamFailChance), "SLIDER",
|
|
|
|
[LSTRING(unJamFailChance_displayName), LSTRING(unJamFailChance_description)],
|
|
|
|
_category,
|
|
|
|
[0, 1, 0.1, 2],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
2021-10-14 15:47:52 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(cookoffCoef), "SLIDER",
|
|
|
|
[LSTRING(cookoffCoef_displayName), LSTRING(cookoffCoef_description)],
|
|
|
|
_category,
|
|
|
|
[0, 5, 1, 2],
|
|
|
|
1,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|