This is just an informational post - There's some bloggy stuff at the end of this post, so this'll be Patreon-only. I added a bunch of features since the alpha release over this week, and 1.3.0 is now released!
New features
First-person aiming is now handled by the script
Add a hotkey to switch cameras within a config
Add a hotkey to toggle re-centering
Horizontal and vertical sensitivity are decoupled for mouse and classic gamepad modes
Disable heavy brake animation while in first person
Add yaw and roll offset adjustments
Increase range in pitch offset adjustment
Increase range in position offset adjustment
Changes for Enhanced
Support GTA V Enhanced
Allow turning off some first-person rendering flags to get RT mirror reflections in Enhanced
This script remains free, check out the download on GTA5-Mods.com! The download and full changelog are available there.
Some behind-the scenes of this release...
As is usual in software development, adding a seemingly simple thing can turn into quite a bit of a headache. On the 5mods page, some users asked for hotkeys. This should be easy, but as I worked on it, it turned out to be quite the headache with how generic I wanted to do it.
From working on similar things in Manual Transmission, the code can quickly grow to be a big unmaintainable mess as more of these functions are added, e.g. functions that allow a user to change a very internal part of the program.
I spent quite a lot of my day banging my head against the wall. In the end I got a good result and it cleanly adds this functionality (or any functionality in the future) to the code without throwing in random bits and pieces. Going forward it's definitely a component I'll be re-using in my projects. Manual Transmission is a prime candidate for this, where I hopefully can use this to untangle it a bit.