Divinity: Original Sin 2

Divinity: Original Sin 2

32 ratings
Better Camera 3 - DOS 2 Definitive Edition
By Song for the Dead
A program to adjust camera zoom, fov, and pitch. For definitive version only
   
Award
Favorite
Favorited
Unfavorite
Foreword
Thanks to these fine people and anyone that helped contribute before me
https://steamproxy.net/id/tomsolo
https://steamproxy.net/id/Canoob

The goal of this update of Better Camera 2 is to simplify everything
You now only need one file and does not require auto-hotkey and setting up hotkeys
This does the exact same thing as the previous version and a little more.
This project is also open source, so now you can contribute! Feel free to visit the github to add features!

I like making things that can help people or are looking for tools to play the way they want. If youd like to help out you can here, recently my gpu died so anything helps. Thanks for checking this project out and I hope it helps.

https://ko-fi.com/squyd
Installation
The trainer can be downloaded from github
GitHub Release [github.com]
How to Use
1. Make sure Divinity is open and up to date, you must use the definitive edition on steam.
2. Look at the bottom right of the menu screen on divinity and make sure the version number
matches 3.6.117.3735 (09/02/21). If not verify your game files or update another way.

For best results load into a game first, however this wasn't necessary for me.

This shouldn't effect achievements, however script extender will always enable them.
Mods from the wrokshop shouldn't effect this from running, I cannot say this for every mod,
you may want to try testing without them.

3. The right most boxes next to the set button are the only editable ones, which you will use for adjustments.

4. Clicking read will grab the current maximum and minimum camera distance and display it in the left most box next to the corresponding limit.

5. Changing the value for the editable boxes (e.g. 19 -> 35) and then clicking set will change the values in game.

6. After clicking set if you'd like to verify it worked you can click read and it should reflect your changes in the left most box.

7. Defaults will reset everything back to defaults.

8. Don't make the maximum and minimum the same, turning the camera will break it. If you do happen to do this, reset everything to the defaults and hit the center camera button "home" by default.

9. Hotkeys are to the right of the button, one is to increase the value and one to decrease. Clicking on the box next to these will allow you change them. Controllers are supported, it seems like the only thing that isn't is mouse scroll.

10. There's a save a load button for hotkeys and values at the bottom if you have setting you like and don't want to keep resetting them. Save grabs current settings in the trainer and saves them, while load will grab saved settings and apply them.

Recommended values are
Min - 5.5
Max - 35
FOV - 60

The larger the maximum distance/the farther you get away from your character will cause fog to show, fog of war if you will. This is built into the game engine and I;m not sure I can do anything about it.

If you set the Max and the Min to the same value it should make the camera stationary. If you set the camera angle settings to the same as the pitch it should keep the camera from moving when zooming in. Please try things out in game and set them to your liking. I only use this for a few options so I don't know how to achieve the look you want personally.

I am not sure what the pitch min/max c version does. It was next to the regular pitches offset and thought it was needed to not break something.
Examples
Default Maximum Distance 19


Default Minimum Distance 5.5


Maximum Distance 35


Maximum Distance 60


Minimum Distance 1


Default Camera FOV 45


Camera FOV 60


Camera FOV 90


Camera Pitch



Camera Angle




Camera Angle 2



It's hard to explain pitch and angle with pictures and I recommend you just try them in game to see what they do. This maybe wrong or situational but I would describe pitch as the camera angle relative to the ground, and camera angle relative to the character. Angle is separated to 2 axis's, e.g. left and right, and front and back.

Change Log
If you'd like to contribute to my crippling game library
https://ko-fi.com/squyd

-Update 10
+Added script to stop zooming while talking

-Update 9
+Added save and load settings and hotkeys
+fixed default values for camera angle

-Update 8
+added Hotkeys, should support controllers
+swapped Scroll Speed and Zoom Speed label because they were backwards
+added the ability to hide the hud

-Update 7
+added tactical view distance modifier
+other testing which accounts for the jump from two to seven
+just a quick update, not major. I'm terrible at revision numbering and change logs

-Update 2
+Scroll Speed
+Zoom Speed
+Pitch Minimum
+Pitch Maximum
+Camera Angle 1
+Camera Angle 2
+Pitch Minimum C
+Pitch Maximum C
I am not sure what the pitch min/max c version does. It was next to the regular pitches offset and thought it was needed to not break something.

-Major Revision 3
+no longer uses/requires auto hotkey
+no longer requires launcher
+added gui instead of being hotkey reliant
+no longer requires recompiling to make adjustments
+stop crashes when opening bartering menu
+no longer has hide ui function as it is native to the game and unnecessary now
+no more alt-tabing problems

- updated to 3.6.58.1306 version
- updated to 3.6.54.8890 version (fixing pointers and offsets)
- updated to 3.6.37.7694 version
- updated to 3.6.36.3440 version
- updated to 3.6.33.5509 version
- updated to 3.6.33.2684 version
- updated to 3.6.32.6602 version
- updated to 3.6.32.4166 version
- updated to 3.6.32.1810 version
- updated to 3.6.31.2130 version
- updated to 3.6.31.1571 version
- change default hotkey to F1 in Launcher.ahk
- updated to 3.6.30.9667 version
- updated guide sections
- added a basic launcher (eliminate ALT+Tab problems)
- updated to 3.6.29.3822 (Definitive Edition only) version
- updated to 3.6.29.1697 (Definitive Edition only) version
- updated to 3.6.29.1090 (Definitive Edition only) version
- updated to 3.6.29.844 (Definitive Edition only) version
- updated to 3.0.226.993 version
- updated to 3.0.190.74 version
- updated to 3.0.180.158 version
- updated to 3.0.171.819 version
- updated to 3.0.169.700 version
- updated to 3.0.160.28 version
- updated to 3.0.159.21 version
- updated to 3.0.158.595 version
- updated to 3.0.151.229 version
- updated to 3.0.150.954 version
- updated to 3.0.150.760 version
- updated to 3.0.150.188 version
- updated to 3.0.146.969 version
- added mousewheel support for changing camera vertical angle (pitch)
- updated to 3.0.146.814 version
- updated to 3.0.146.559 version
- updated to 3.0.143.909 version + added CameraZoom Speed
- updated to 3.0.143.324 version + added Camera Scroll/Movement Speed
- updated to 3.0.142.271 version
- added disabling auto-zoom function (thx to feedback The Pantheon)
- updated to final DOS2 version
- fixed Combat Pitch variables(now can be setting differently)
- added new icon, changed the name to BetterCamera 2 + some polishing in script
- added combat Camera Pitch options + a simple version check
- initial release, ported from D:OS EE
Know Bugs and Planned Updates
As stated above the goal of this project is to simplify changing the camera in DOS2:DE. I think the solution that better camera 2 uses is great and it works fairly well, but is not preferable if I had to choose. So I made this choice available to anyone in hopes of making both of these projects better for everyone.

=====Planned Features=====
-Version Check
-WASD Character Control (unlikely but hey why not)
-Instructions on how to do it yourself
-Basic instructions on how to fix better camera 2
-AOB Scan for future proofing
This will make it easier for people to update everything themselves than relying on releases. This also applies to better camera 2, as both solutions do the same thing and both rely on the same address, so you can choose to update which ever you want. I don't want to take someone else's project and just start redistributing it, but I do plan to provide instructions on how to fix some things.

=====Bugs=====
-Making the cameras maximum smaller doesn't move the camera closer (unable to replicate)



FAQ
Q: Hey, why didn't update the Classic version? !
A: The answer is simple: Larian recommended using the Definitive Edition.
B: You can now do this yourself with the included guide if you want. See github

Q: Hey, why not using AOB pattern scan or something similar? I hate versions and waiting for the new releases !
A: BetterCamera 2 was started during the DOS2 alpha release. Since they changed many structures - different pointer addresses. Simply AOB isn't an option - and slow when you start script first - bc is very dangerous when a bad AOB scan based script write in your game memory.
B: This was the original reasoning for the maker of better camera 2. I can understand some of the points they are making but not others, I could probably add this now I am working on adding this for future proofing or working with different versions.

For SOME other general problems
1. Allways use same versions. If different. please wait. Or fix it yourself with the included guide. I don't think the game will be updated anymore so this shouldn't be a problem.
2. Im not sure if it works with the GOG version, but you can always make it work by looking at the guide
3. Some antivirus program maybe blocking BetterCamera3 and generate problems. Give access, unblock whatever... If you feel its a virus feel free to download the source on github and check. Windows defender tends not to like the program because its an external program modifying another, also cause it's made with cheat engine. I had to make an exception in my anti virus and you will too.
59 Comments
xCeeTee 3 Oct, 2023 @ 9:33pm 
Every time I change my zoom level the pitch changes drastically. I really wish it was like Better Camera for DOS1, that worked perfectly.
xCeeTee 3 Oct, 2023 @ 4:15am 
I don't have the low-resolution issue, but wouldn't it be possible for you to make the GUI scale?
Nubarique Joe 23 Aug, 2023 @ 1:04pm 
Maybe the solution is not scrolling, but, for example, making the font a bit smaller (like 1 unit smaller)? Or making the logo at the top an inch or two smaller as to not waste so much of screen space? There are still a lot of people on 1080p monitors and what you are suggesting (scaling higher resolution to a smaller resolution display just to see all the options in the config and then revert back to normal) is like scratching the right ear with left hand. I mean, it's possible, just extremely inconvenient and surely something like making the font or a logo a bit smaller isn't that big of a deal.

Of course, it's your tool. If you don't feel like it, it's ok.
Song for the Dead  [author] 22 Aug, 2023 @ 8:10pm 
You could just increase your monitor resolution or scaling. Can't add a scroll, it causes crashing. Not worth my time to fix since it works for the majority.
Kiryu Kazooma 22 Aug, 2023 @ 6:34pm 
I have the same problem as Nubarique Joe below. Please add a scroll to the settings window so I can use the buttons at the bottom. Everytime I want to load my preset I have to rotate my desktop window 90 degrees, load the setting, and then rotate it back. Please add a scroll
Nubarique Joe 14 Aug, 2023 @ 3:10pm 
On a 1080p screen I can't find a way to see the bottom of the settings window where save/load settings are supposed to be. The window is too tall even if I open it on full screen and the scrolling doesn't work either AFAIK. Last thing visible is Camera Angle 2 parameter and then it's cut. It's such a bummer, because without save/load I have to manually change settings every time I play the game.
Asherett 13 Aug, 2023 @ 12:57pm 
I'm on D:OS2 DE v3.6.117.3735. When I start the mod, it seems to read default settings. However, if I click in one of the boxes and try to edit the value, I immediately get an "Lua Engine" error box. The output is:

Error:[string "--Uncomment the following line if this is a C..."]:486: attempt to perform arithmetic on a nil value

The number after C..."]: varies, but it's always the same error. Any idea what's wrong?
Song for the Dead  [author] 5 Aug, 2023 @ 1:41pm 
@Barnie Blaha no you don't have to change anything, it will work out of the box. No activation either, just start changing things. The hotkeys are just place holders and they happen to bound to some of the things spells are also bound to. You can change hotkeys or just remove them with the little square next to Increase/Decrease. The instructions aren't super clear :/ my bad. You can manually change values or use the hotkeys. You can also save settings once you figure out what you like and load them when you launch the game again.
Barnie Blaha🐠🐳 4 Aug, 2023 @ 7:23pm 
out of the box can I just run this and have it work the same as BC2? Do I have to activate something or manually change values? I'm a little overwhelmed when I open the app. I tried to use the hotkey ctrl+1 for example and it sets off spells, I am kind of confused. :awkward: Thanks for your time.
Chad 23 Jul, 2023 @ 12:02pm 
my search for a nice camera mod has finally landed me here thank you :)