banner
Rating
Voted0

Improved PC control scheme

0
Mod version:1
Game version:1.2
The mod has been successfully tested for the absence of viruses
1749.29K23.08K

Report mod

  • image
modalImage

About This Mod

A AutoHotkey script that provides normal mouse browsing functionality and mouse button display.

[size=+1]Nedir[/size].


If you, like me, play with the mouse and keyboard, you hate pressing RMB to rotate the camera and can't bind actions to mouse buttons. This is a AutoHotkey script to resolve these issues.


[size=+1]How it works[/size].


In fact, it automatically holds the RMB throughout the game (not on the UI screen) and allows you to have normal "mouse view" functionality. You can also bind unused mouse buttons to keys on your keyboard so that when you press a button, the game gets the appropriate key input. This allows you to effectively bind actions to unused mouse buttons (first bind actions to keys in the game, then map these keys to mouse buttons in scripts).


[size=+1]How to use[/size].


Extract the archive into a new folder and run 'DAI_helper.exe' (or DAI_helper.ahk if you have downloaded the sources and have AutoHotkey installed). Customize the script using the unannotated interface and press 'Start Game' to start the game and run the script.


The script configuration interface can be accessed through the tray icon while the script is running, but if changes are made after the game is started, the script must be restarted for the changes to take effect (when the script is restarted, the new instance replaces the old one (if you run the script again, the new instance replaces the old one).


Finally, be sure to read the requirements section below before doing anything else.


[size=+1]Requirements and notes[/size].


Scripts can be run in two modes: simple mode and normal mode (default). By default, the script will attempt to automatically disable the mouse view in appropriate situations, such as when a dialog occurs or when you are on the user interface screen (character, inventory, etc.). To do this, he must somehow determine when such situations occur, and he does so by reading the color of a particular pixel several times a second. For technical reasons, this mode requires that the game be run in a 16:9 "window fullscreen" mode on the main monitor (fullscreen mode can be changed via Options->Display).


In most cases, you won't need to start the mouse browsing feature in normal mode, but some actions (such as reading a book or moving quickly) may prevent the mouse browsing feature from turning on automatically. In this case (which happens infrequently), press Pause Mouse Preview to restore the mouse view, or if this does not solve the problem, press Edit Mouse Preview twice.


If normal mode does not work, you can use simple mode, which changes the mouse view only when you press a key. This means that you will have to manually change the mouse view when entering or exiting the UI screen, but on the other hand, this mode is guaranteed to work for everyone.


In version 1.0, the default script was "-GameTime.MaxSimFps 60 -GameTime.ForceSimRate 60+". We learned (from this article) that you shouldn't run this script before creating a character and completing the first scene, so if you are updating from version 1.0 and thinking about starting a new game, please keep this in mind.


What's new in [size=+1]v1.2[/size].


Added simple mode.

Removed keyboard dependency on UI screens.

RMB now works fine when mouse view is turned off.

Normal mode has become more responsive (thanks to IsUIScreenOn.exe).



Known issue: Sometimes scripts mistakenly assume that the game is closed and exit it. If the script does not appear to be running, make sure it is actually running (log out using alt-tab and look for the green "H" icon in the system tray). If not, restart the game and click on the "Enable Script" button.

Similar Mods/Addons

Game Version *

1.2 (Improved PC control scheme-143-1-2.7z)