Page 1 of 1

Baldur's Gate 3 camera without max distance limit

Posted: Sat Aug 05, 2023 2:56 pm
by FHell
Hey folks! Have you ever felt like the camera is just too darn close to your characters? Because I certainly have. Since there were no ready-made solutions out there, I decided to tweak some things myself. What I came up with is a simple modification to the camera distance check. It's not much, just a few bytes changed, but it makes a world of difference. Enjoy a wider view of your game!

P.S.: Unfortunately, the camera seems to lose height adjustability when entering combat.
P.S.: The camera doesn't seem to exceed the limit in combat situations yet.

Added the script "PreventCameraLock." It prevents the camera from locking when selecting characters. Do not use it while playing with a gamepad, as it create some bugs.

UPDATE: Found new offsets for camera control. The table now allows adjustments for maximum distance and camera tilt.
-- Added a function to set preset values across all offsets

Re: Baldur's Gate 3 camera without max distance limit

Posted: Sun Aug 06, 2023 1:46 pm
by Lawless
Hello and thank you!
But unfortunately I can't get it to work. When I check the box, the game crashes instantly. Any idea why?

Re: Baldur's Gate 3 camera without max distance limit

Posted: Sun Aug 06, 2023 2:08 pm
by FHell
Do you have a licensed copy? Are you launching the game through Steam? And which API are you using, Vulkan or DX11?
This table is intended for the Steam version of the game running on DX11.

For other versions, the offsets would be different. I didn't aim to create a universal variant.

Re: Baldur's Gate 3 camera without max distance limit

Posted: Sun Aug 06, 2023 2:22 pm
by Lawless
Yes, it's an official version bought on Steam. I launch the game using .exe (dx11) in the game directory.
Am I the only one who crashes?

Re: Baldur's Gate 3 camera without max distance limit

Posted: Mon Aug 07, 2023 7:31 am
by Reunited
Hi, thanks for the mod. Works perfectly. Can you please make another much needed camera fix - currently there is a bug (?) in game when you single-click a character portrait, it will automatically stick camera to that character and you won't be able moving camera around by moving cursor to the edge of the screen (with mouse panning enabled in game settings). This should happen only with double-click on a portrait or pressing Home, but not with a single-click (simple selection of a character).

However, if you use XBOX controller and press Left Stick (button), it will unstick camera from the character. When you return to using keyboard/mouse it will remain unsticked even if you single-click the portrait of another character (but only until combat happens or location change, then it resets back to bugged condition). So, this is intended camera behavior. Please make a CT table for it to be automatic. Just unsticked camera at all possible scenarios, without sticking it back to characters.

Re: Baldur's Gate 3 camera without max distance limit

Posted: Mon Aug 07, 2023 10:34 am
by FHell
Reunited wrote:
Mon Aug 07, 2023 7:31 am
Hi, thanks for the mod. Works perfectly. Can you please make another much needed camera fix - currently there is a bug (?) in game when you single-click a character portrait, it will automatically stick camera to that character and you won't be able moving camera around by moving cursor to the edge of the screen (with mouse panning enabled in game settings). This should happen only with double-click on a portrait or pressing Home, but not with a single-click (simple selection of a character).

However, if you use XBOX controller and press Left Stick (button), it will unstick camera from the character. When you return to using keyboard/mouse it will remain unsticked even if you single-click the portrait of another character (but only until combat happens or location change, then it resets back to bugged condition). So, this is intended camera behavior. Please make a CT table for it to be automatic. Just unsticked camera at all possible scenarios, without sticking it back to characters.
Added the script "PreventCameraLock." It prevents the camera from locking when selecting characters. Do not use it while playing with a gamepad, as it create some bugs.

Re: Baldur's Gate 3 camera without max distance limit

Posted: Mon Aug 07, 2023 10:50 am
by Reunited
FHell wrote:
Mon Aug 07, 2023 10:34 am
Added the script "PreventCameraLock." It prevents the camera from locking when selecting characters. Do not use it while playing with a gamepad, as it create some bugs.
You are most awesome dude out there! Finally I can start enjoying the game.

Re: Baldur's Gate 3 camera without max distance limit

Posted: Mon Aug 07, 2023 12:20 pm
by Csimbi
Here, A bit more flexible script for Vulkan.
FHell's camera lock above did not work, so I did not port that.
Credits go to FHell.
You CAN reduce min. value to 0 for a first person type of look, but then the camera won't rotate anymore...

Re: Baldur's Gate 3 camera without max distance limit

Posted: Tue Aug 08, 2023 6:21 pm
by BourbieSpeedrun
Instant crashing my game sadly

Re: Baldur's Gate 3 camera without max distance limit

Posted: Fri Sep 01, 2023 4:09 pm
by Reunited
FHell wrote:
Mon Aug 07, 2023 10:34 am
Added the script "PreventCameraLock." It prevents the camera from locking when selecting characters. Do not use it while playing with a gamepad, as it create some bugs.
Can you please update the table for latest game version v4.1.1.3630146 (Hotfix 2)? Not working/crashing with it.