It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
Hello,

I created an AHK script which improves the camera in the game.
You can increase maximal zoom of camera and you can tilt camera with vertical mouse movement while middle mouse button is pressed - in other words - a classic 3D camera movement.

Installation
========
1. Download the script from here: https://drive.google.com/open?id=0B_vj9cqpe5icbnlsbldnSWdDcHM
2. Extract
3. Start the game
4. Start either "Dos2Camera.exe" or "Dos2Camera.ahk". Whichever you prefer but in order to run .ahk you'll need to download 64bit version of AutoHotkey first (www.autohotkey.com)
5. Wait for the script to scan the game memory - can take several seconds
6. Enjoy

Settings
======
"Max zoom" is the zoom limit of camera. Default value in game is 19. Default value in script is 60 which should be sensible but you can change it if you want.

"Tilt Coefficient" is the speed how fast the vertical movement of camera is. I found that 0.005 is quite sensible on 1920x1080 but you can increase it or lower it if the movement is too slow or fast.

"Invert Vertical Camera Movement" allows to invert the movement. Default bahavior is that moving the mouse up tilts the camera backwards.

Notes
=====
- This script should not be dependent on the game version so it should be compatible with future updates. It should also theoreticaly work with any other non-gog version.
Very interesting mod for me. I don't understand why the devs did not propose this functionality as in a lot of other games
Does it solve the panning getting stuck when bound to the keyboard? I pan with Q & E, but the camera keeps getting stuck when rapidly shifting between them, which is almost as annoying as constantly having to reshift the camera with the mouse.
Nice work, GREAT!
I tried it with Divinity Original Sin Enhanced Edition and it detected the right process, so the .ahk-file was correct loaded and executed. BUt in Game only the spinning of the camera works, but no tilting. Is it possible to modify your code for DoS EE?

I added some code and these lines are also working well .I was annoyed of holding always the left mouseButton for walk and holding down a key for showing items and comand waypoints, so I created AutoWalk and permanent Item display:

$x::
HLvar := !HLVar
Send % "{x " . ((HLVar) ? ("down") : ("up")) . "}"
return

$Shift::
HLvar := !HLVar
Send % "{Shift " . ((HLVar) ? ("down") : ("up")) . "}"
return

$Alt::
HLvar := !HLVar
Send % "{LButton " . ((HLVar) ? ("down") : ("up")) . "}"
return

=> all this codeLines are working with DoS ee except tilting the camera....

edit: is it possible to create a pause-function, so in real PlayTime the gema freezes or stops or manipulate the gameTime.
Cause I want to pause the game, to be able to read all subtitels of conversation from NPCs while you walk by or be able to SPEAK to those fast rats...
Post edited September 20, 2017 by fasswas
Great mod, thanks for your hard work.

I'm having an issue during combat and dialogue where the camera zooms out, all the way to max height, and back again very frequently. It's obviously triggered by certain combat abilities, but also happens at points during dialogue.

You'd know better than I do, but I'm guessing the game has internal cues to zoom out to 'max height' based on what's occurring on screen, and now that we have increased 'max height', those cues are more noticeable and less helpful.

Do you think there's any easy way to prevent it?

Thanks again.
avatar
dankizana: Great mod, thanks for your hard work.

I'm having an issue during combat and dialogue where the camera zooms out, all the way to max height, and back again very frequently. It's obviously triggered by certain combat abilities, but also happens at points during dialogue.

You'd know better than I do, but I'm guessing the game has internal cues to zoom out to 'max height' based on what's occurring on screen, and now that we have increased 'max height', those cues are more noticeable and less helpful.

Do you think there's any easy way to prevent it?

Thanks again.
Hi, I think it might be caused by dynamic camera. Try to disable it in Options->Gameplay->Dynamic camera
Just for a heads up W10 is blocking me from running Dos2Camera.exe, I unblocked it but it may put people off.

I can confirm that this mod works with the Steam version also.
Post edited September 22, 2017 by boldee
Great mod man. You should put in on Nexus and/or Moddb. There's bound to be more people who want to do this.
avatar
boldee: Just for a heads up W10 is blocking me from running Dos2Camera.exe, I unblocked it but it may put people off.

I can confirm that this mod works with the Steam version also.
That's quite understandable since it is writing to memory of another process which is rightfully detected as suspicious behaviour. There is always a possibility to run an included *.ahk file which is 100% transparent.
Great post. Thanks man! Is it possible to change the tilt key from middle mouse button to the right thumbstick on an Xbox One controller?
Post edited October 03, 2017 by p.kane87
avatar
p.kane87: Great post. Thanks man! Is it possible to change the tilt key from middle mouse button to the right thumbstick on an Xbox One controller?
Hello, I was discussing this with someone already and the problem is, that autohotkey can't prevent detection of controller input by the game. And since it is impossible to remap controller controls in the game it would also zoom at the same time when you'd tilt the camera which is very uncomfortable.
avatar
mroz123456: Hello,

I created an AHK script which improves the camera in the game.
You can increase maximal zoom of camera and you can tilt camera with vertical mouse movement while middle mouse button is pressed - in other words - a classic 3D camera movement.

Installation
========
1. Download the script from here: https://drive.google.com/open?id=0B_vj9cqpe5icbnlsbldnSWdDcHM
2. Extract
3. Start the game
4. Start either "Dos2Camera.exe" or "Dos2Camera.ahk". Whichever you prefer but in order to run .ahk you'll need to download 64bit version of AutoHotkey first (www.autohotkey.com)
5. Wait for the script to scan the game memory - can take several seconds
6. Enjoy

Settings
======
"Max zoom" is the zoom limit of camera. Default value in game is 19. Default value in script is 60 which should be sensible but you can change it if you want.

"Tilt Coefficient" is the speed how fast the vertical movement of camera is. I found that 0.005 is quite sensible on 1920x1080 but you can increase it or lower it if the movement is too slow or fast.

"Invert Vertical Camera Movement" allows to invert the movement. Default bahavior is that moving the mouse up tilts the camera backwards.

Notes
=====
- This script should not be dependent on the game version so it should be compatible with future updates. It should also theoreticaly work with any other non-gog version.
I just wanted to say a BIG, HUGE, ENOURMOUS, GIGANTIC, COLOSSAL THANK YOU. You are a life saver. I do not know what the devs were thinking, lets make an isometric-like rpg but you can only see the immediate party surroundings when zoomed out at maximum, and you can see our awesome single brick texture when you zoom in. The camera is also all over the place the only way to figure out where you are going is to memorize the entire map.

Finally I can see the map and zoom in only when necessary.
avatar
fasswas: Nice work, GREAT!
I tried it with Divinity Original Sin Enhanced Edition and it detected the right process, so the .ahk-file was correct loaded and executed. BUt in Game only the spinning of the camera works, but no tilting. Is it possible to modify your code for DoS EE?

I added some code and these lines are also working well .I was annoyed of holding always the left mouseButton for walk and holding down a key for showing items and comand waypoints, so I created AutoWalk and permanent Item display:

$x::
HLvar := !HLVar
Send % "{x " . ((HLVar) ? ("down") : ("up")) . "}"
return

$Shift::
HLvar := !HLVar
Send % "{Shift " . ((HLVar) ? ("down") : ("up")) . "}"
return

$Alt::
HLvar := !HLVar
Send % "{LButton " . ((HLVar) ? ("down") : ("up")) . "}"
return

=> all this codeLines are working with DoS ee except tilting the camera....

edit: is it possible to create a pause-function, so in real PlayTime the gema freezes or stops or manipulate the gameTime.
Cause I want to pause the game, to be able to read all subtitels of conversation from NPCs while you walk by or be able to SPEAK to those fast rats...
How can i add this code ? I want to auto hold Alt button.

Thx !
Awesome mod! Is there any way you can make a version that doesn't have the tilting enabled? I only want to zoom in and out but not tilt.
avatar
fasswas: edit: is it possible to create a pause-function, so in real PlayTime the gema freezes or stops or manipulate the gameTime.
Cause I want to pause the game, to be able to read all subtitels of conversation from NPCs while you walk by or be able to SPEAK to those fast rats...
Can't recall precisely, but can't you simply hit the spacebar and pause the game at any time?--pause game--click on rat to speak to it, then when dialogue box pops up you can take your time in answering and listening, regardless of what the rat does underneath on screen. Or you can simply just *pause*/unpause again, eh? Rinse, repeat as needed.

In OS 1 speaking with scurrying rats was a problem because they wouldn't sit still for the mouse cursor to be clicked on them, but you could always pause the game to do so, I believe. In OS2 their scurrying is much more realistic as they stop for decent intervals--but the pause key can still allow time for us slow-poke humans to interact at a liesurely pace, eh?

Occam's Razor, etc.

However, in camera movement I use the mouse cursor at the screen edges to pan, and I slow down the pan speed so that it's more natural. Works well--the only improvement I could suggest is moving some of the vertical UI slider buttons further inward away from the screen edges, because when set to screen-edge panning with the mouse cursor, the UI slider buttons at the screen edges tend to also pan the camera at the same time, which can be highly annoying, no question. Using keys to pan the camera is very clumsy, I think, compared to using the mouse pan. I think that with a bit of UI repositioning, though, it could all work much better.