Setting for showing scope adjustment UI while sighted in

This commit is contained in:
mrschick 2024-08-18 01:00:11 +02:00
parent f564016b4b
commit b4218d8e6d
3 changed files with 17 additions and 0 deletions

View File

@ -43,6 +43,10 @@ if (cameraView == "GUNNER") then {
_yaw = _yaw + _windageDifference;
[_unit, _pitch, _bank, _yaw] call EFUNC(common,setPitchBankYaw);
};
if (GVAR(inScopeAdjustment)) then {
[] call FUNC(showZeroing);
};
} else {
[] call FUNC(showZeroing);
};

View File

@ -91,3 +91,11 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(inScopeAdjustment), "CHECKBOX",
LSTRING(inScopeAdjustment_displayName),
_category,
false,
0
] call CBA_fnc_addSetting;

View File

@ -347,6 +347,11 @@
<Czech>Replikuje systém naměřování puškohledů ze základní hry.</Czech>
<Spanish>Replica en los visores el sistema de homogeneizado de vanilla</Spanish>
</Key>
<Key ID="STR_ACE_Scopes_inScopeAdjustment_displayName">
<English>Show adjustment UI in scope</English>
<German>Zeige Absehenverstellungs-UI im Zielfernrohr</German>
<Italian>Mostra UI delle manopole nel mirino</Italian>
</Key>
<Key ID="STR_ACE_Scopes_AdjustUpMinor">
<English>Minor adjustment up</English>
<German>Kleine Korrektur hoch</German>