2021-10-11 20:48:30 +00:00
|
|
|
private _category = format ["ACE %1", localize LSTRING(Module_DisplayName)];
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enabled), "CHECKBOX",
|
|
|
|
[LSTRING(enabled_DisplayName), LSTRING(enabled_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(viewDistanceOnFoot), "SLIDER",
|
2021-10-30 21:42:47 +00:00
|
|
|
[LSTRING(onFoot_DisplayName), format ["%1\n%2", LLSTRING(onFoot_Description), LLSTRING(sliderExtraDescription)]],
|
2021-10-11 20:48:30 +00:00
|
|
|
_category,
|
|
|
|
[0, 10000, 0, -1],
|
|
|
|
0,
|
|
|
|
{[true] call FUNC(adaptViewDistance)}
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(viewDistanceLandVehicle), "SLIDER",
|
2021-10-30 21:42:47 +00:00
|
|
|
[LSTRING(landVehicle_DisplayName), format ["%1\n%2", LLSTRING(landVehicle_Description), LLSTRING(sliderExtraDescription)]],
|
2021-10-11 20:48:30 +00:00
|
|
|
_category,
|
|
|
|
[0, 10000, 0, -1],
|
|
|
|
0,
|
|
|
|
{[true] call FUNC(adaptViewDistance)}
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(viewDistanceAirVehicle), "SLIDER",
|
2021-10-30 21:42:47 +00:00
|
|
|
[LSTRING(airVehicle_DisplayName), format ["%1\n%2", LLSTRING(airVehicle_Description), LLSTRING(sliderExtraDescription)]],
|
2021-10-11 20:48:30 +00:00
|
|
|
_category,
|
|
|
|
[0, 10000, 0, -1],
|
|
|
|
0,
|
|
|
|
{[true] call FUNC(adaptViewDistance)}
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(limitViewDistance), "SLIDER",
|
|
|
|
[LSTRING(limit_DisplayName), LSTRING(limit_setting)],
|
|
|
|
_category,
|
|
|
|
[500, 12000, 10000, -1],
|
|
|
|
1,
|
|
|
|
{[true] call FUNC(adaptViewDistance)}
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(objectViewDistanceCoeff), "LIST",
|
|
|
|
[LSTRING(object_DisplayName), LSTRING(object_Description)],
|
|
|
|
_category,
|
|
|
|
[[0, 1, 2, 3, 4, 5, 6], [LSTRING(object_off), LSTRING(object_verylow), LSTRING(object_low), LSTRING(object_medium),LSTRING(object_high), LSTRING(object_veryhigh), LSTRING(object_fovBased)], 0],
|
|
|
|
0,
|
|
|
|
{[true] call FUNC(adaptViewDistance)}
|
|
|
|
] call CBA_fnc_addSetting;
|