Actually, after some testing, I can now see that when you turn the toggle Off, you can fact left/right, and press left or right to walk that way and it will not auto center on Geralt. Turn it back on and try this, and you will see the whole game turn and make Geralt start to walk in a circle.
Just realized it was another mod that was causing the auto-centering toggle not to work on a horse for me.
See Your Trophy - Horse camera mod by SoloCreep
http://www.nexusmods.com/witcher3/mods/441/?
While it works visually, it actually prevents the toggle from applying to you while on a horse. Once that mod is updated it should allow the new 1.21 toggle to work for boats, on horseback, and walking. Just need to see if theres any other instances this mod will be needed.
This does NOT work in 1.21. It returns the following script error (no conflicts with SM):
Error [content0]game\replacers\ciri.ws(325): Function 'GetCriticalHitChance' takes 5 parameter(s) which is inconsistent with base function (3). Error [content0]game\player\playerwitcher.ws(1628 ) : Function 'ApplyOil' has different return type 'Bool' than base function (void). Error [content0]game\player\playerwitcher.ws(2033): Function 'GetCriticalHitChance' takes 5 parameter(s) which is inconsistent with base function (3).
Warning [content0]engine\environment.ws(25): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code. Warning [content0]engine\environment.ws(27): Global native function 'EnableDebugPostProcess' was not exported from C++ code. Warning [content0]engine\showflags.ws(9): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
PLEASE update this mod. the new toggle in 1.21 ONLY applies to the boat, not Roach, or in combat.
so.... are we not gonna talk about how this mod is great BUT it makes the lock-on function useless? the camera no longer follows. not a big deal but i like to use it in 1v1s
actually lock on is still broken when horse riding. works in all other cases as far as i can tell.
edit: i was messing around with this and it looks like the following will fix it, though i have no idea if this is the best way to accomplish it, but i figured i'd share in case it's a helpful starting point.
add file \scripts\game\player\states\vehicles\horseRiding.ws to mod and make change starting at line 250 (for v1.12 file) from:
if ( !cameraManualRotationDisabled && parent.IsCameraLockedToTarget()) { camera = (CCustomCamera)theCamera.GetTopmostCameraObject(); camera.EnableManualControl(false); cameraManualRotationDisabled = true; } else if ( cameraManualRotationDisabled && !parent.IsCameraLockedToTarget() ) { camera = (CCustomCamera)theCamera.GetTopmostCameraObject(); camera.EnableManualControl(true); cameraManualRotationDisabled = false; }
to:
if ( !cameraManualRotationDisabled && parent.IsCameraLockedToTarget()) { camera = (CCustomCamera)theCamera.GetTopmostCameraObject(); camera.EnableManualControl(false); cameraManualRotationDisabled = true; camera.SetAllowAutoRotation(true); } else if ( cameraManualRotationDisabled && !parent.IsCameraLockedToTarget() ) { camera = (CCustomCamera)theCamera.GetTopmostCameraObject(); camera.EnableManualControl(true); cameraManualRotationDisabled = false; camera.SetAllowAutoRotation(false); }
It would be nice though if this works perfectly with the Meditation UI Mod that simulates The Witcher 2 Meditation - the camera no longer pans around Geralt while he kneels down and makes a campfire. :-/
I want this mod to run along with Absolute camera as it does not disable the vertical auto centering and i absolutely hate it, so is it possible to do that using script merger ?
I get one unresolved conflict and i dont know how to solve it, here take a look:
180 comments
Under options gameplay...
Guess Devs liked it so much they added it themselves
Too bad I still need to tweak the camera in other ways myself.
Curious if there are any instances where this mod is still needed.
Actually, after some testing, I can now see that when you turn the toggle Off, you can fact left/right, and press left or right to walk that way and it will not auto center on Geralt. Turn it back on and try this, and you will see the whole game turn and make Geralt start to walk in a circle.
See Your Trophy - Horse camera mod by SoloCreep
http://www.nexusmods.com/witcher3/mods/441/?
While it works visually, it actually prevents the toggle from applying to you while on a horse. Once that mod is updated it should allow the new 1.21 toggle to work for boats, on horseback, and walking. Just need to see if theres any other instances this mod will be needed.
Error [content0]game\replacers\ciri.ws(325): Function 'GetCriticalHitChance' takes 5 parameter(s) which is inconsistent with base function (3).
Error [content0]game\player\playerwitcher.ws(1628 ) : Function 'ApplyOil' has different return type 'Bool' than base function (void).
Error [content0]game\player\playerwitcher.ws(2033): Function 'GetCriticalHitChance' takes 5 parameter(s) which is inconsistent with base function (3).
Warning [content0]engine\environment.ws(25): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [content0]engine\environment.ws(27): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(9): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
PLEASE update this mod. the new toggle in 1.21 ONLY applies to the boat, not Roach, or in combat.
New 1.21 toggle *seems* to be working for everything. But not sure if any other in game situations still need to be modded...
edit: i was messing around with this and it looks like the following will fix it, though i have no idea if this is the best way to accomplish it, but i figured i'd share in case it's a helpful starting point.
add file \scripts\game\player\states\vehicles\horseRiding.ws to mod and make change starting at line 250 (for v1.12 file) from:
if ( !cameraManualRotationDisabled && parent.IsCameraLockedToTarget())
{
camera = (CCustomCamera)theCamera.GetTopmostCameraObject();
camera.EnableManualControl(false);
cameraManualRotationDisabled = true;
}
else if ( cameraManualRotationDisabled && !parent.IsCameraLockedToTarget() )
{
camera = (CCustomCamera)theCamera.GetTopmostCameraObject();
camera.EnableManualControl(true);
cameraManualRotationDisabled = false;
}
to:
if ( !cameraManualRotationDisabled && parent.IsCameraLockedToTarget())
{
camera = (CCustomCamera)theCamera.GetTopmostCameraObject();
camera.EnableManualControl(false);
cameraManualRotationDisabled = true;
camera.SetAllowAutoRotation(true);
}
else if ( cameraManualRotationDisabled && !parent.IsCameraLockedToTarget() )
{
camera = (CCustomCamera)theCamera.GetTopmostCameraObject();
camera.EnableManualControl(true);
cameraManualRotationDisabled = false;
camera.SetAllowAutoRotation(false);
}
That fix is basically the same thing I did for the normal lock on but cheers anyway.
I get one unresolved conflict and i dont know how to solve it, here take a look:
A:Vanilla
B:modAbsolutecamera19b
-> -> -> moveData.pivotPositionController.SetDesiredPosition( thePlayer.GetWorldPosition() );
C:modManualcam
-> -> /*
If i choose line B i get this when i launch the game:
Error [mod0000_mergedfiles]game\player\r4player.ws(3852): syntax error, unexpected '*', near '*'