Basecam use tweak

This commit is contained in:
He-Man 2021-03-01 22:31:33 +01:00
parent 580af37a70
commit 6d67e8d483
2 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ _mycams spawn {
_nextgrainupdate = diag_ticktime + _GrainUpdateIntervall;
};
if !(Epoch_AutoCam) then {
_targetheight = ((_targetheight + _height) min 50) max -150;
_targetheight = ((_targetheight + _height) min (((getposasl Epoch_ActiveCam) select 2)-50)) max -150;
_CamDir = ((_CamDir + _dir) max -45) min 45;
_CamFov = ((_CamFov + _zoom) min 1.25) max 0.35;
}

View File

@ -338,11 +338,11 @@ if (!isnull (finddisplay -1200) && !isnull Epoch_ActiveCam) then {
};
case Epoch_KB_BaseCamUp: { /* Num 8 */
Epoch_AutoCam = false;
Epoch_CamAdjust = [0,8*_multi,0];
Epoch_CamAdjust = [0,10*_multi,0];
};
case Epoch_KB_BaseCamDown: { /* Num 2 */
Epoch_AutoCam = false;
Epoch_CamAdjust = [0,-8*_multi,0];
Epoch_CamAdjust = [0,-10*_multi,0];
};
case Epoch_KB_BaseCamZoomOut: { /* Num - */
Epoch_AutoCam = false;