The mod adds a new camera mode to the game. You can switch to it like any other camera mode.
What does the mod do?
It automatically looks into the curve in dependency to your steering input. And if you drive backwards it looks automatically back. With the new version you can adjust the "looking" with a custom settings app.
After installation reload the "GameEngine Lua" with the key combination "Ctrl+L".
If you encounter any bugs, let me know them in the discussion thread related to the mod.
You can now change the sensitivity of the camera by using in the gameplay options the "transition time" slider at the camera settings. -future me: "old"
View attachment 307613
After you changed the settings press numpad 5 to reload the camera and load the settings!
I adjusted the lookahead sensitivity in dependent to the speed of the car. Thanks @lord_of_the_wolves for the suggestion.
I created with this graph visualiser a graph:
On the y-axis is the sensitivity and on the x-axis is the car speed in kmh.
With this update the camera also works with the automation cars.
Changed UI-App thumbnail, fixed bug in recent version and removed leaning out of the window function.
added a new cam called "driveAhead" which uses the new internal camera script
Updated to the new Version 0.15
The camera script gets loaded from the core_camera module, but apparently the core_modloader is loading the mod after the core_camera modules was initialised and thats to late. I build a workaround with a UI app. In order to work you must add the "fixModdedCamerasNotLoading"-app to your UI. The app can also be uses by other developers. It simply triggers a reinitilisation of the core_camera module.
Fixed an error with a nil value calculation. Added the functionality to disable ui-apps via the native "Hide in cockpit" checkbox. Also fixed a typo in a debug message. The settings app also features a checkbox to disable the reverse look feature.
Fixed settings were not saved. The settings now work on the fly.
Also added a look back function which works with the default binding.
Refactored the code for ~20% performance increase. Added a deprecation warning to old camera.
BeamNG Team (especially meywue) - 93% of the code and advise
Me - everything that's left ^^
"LookAhead" Interior Camera 2.0
Never drive into your blind spot anymore