This resource was imported from beamng.com and isn't hosted, checked or maintained by Resource Lab. Downloads come straight from the original site, and it belongs to its original author, Neo. View the original.

BeamNG Mod

"LookAhead" Interior Camera

UIFree
"LookAhead" Interior Camera screenshot 1

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. You can also adjust the "looking"-sensitivity with a custom settings app.

It is adviced to reload the "GameEngine Lua" with the key combination "Ctrl+L" after installation.

If you encounter any bugs, let me know in the discussion thread related to the mod.

https://www.youtube.com/watch?v=lckx-0fvXQU

Update 0.1: For those who are interested how it started: https://www.beamng.com/threads/camera-controlled-by-steering.43247/#post-656960

Update 1.1: 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

https://www.youtube.com/watch?v=oLYxsURqF2E

Update 1.4: After you changed the settings press numpad 5 to reload the camera and load the settings!

https://www.youtube.com/watch?v=tIMhv39AQRk

Update 1.5: 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.

Update 1.6: With this update the camera also works with the automation cars.

Update 1.7: Changed UI-App thumbnail, fixed bug in recent version and removed leaning out of the window function.

Update 1.8: added a new cam called "driveAhead" which uses the new internal camera script

Update 1.9: Updated to the new Version 0.15

Update 1.9.1: 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. (see Update 2.2) The app can also be uses by other developers. It simply triggers a reinitilisation of the core_camera module.

Update 1.10: 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.

Update 1.11: Fixed settings were not saved. The settings now work on the fly. Also added a look back function which works with the default binding.

Update 1.12: Refactored the code for ~20% performance increase. Added a deprecation warning to old camera.

Update 2.0:

  • switched from unsupported serialization functions to json coder functions
  • removed old "lookAhead" camera

Update 2.1: Fixed bug which breaks the game

Update 2.2: Fixed bug which breaks the game (again). Unfortunately my workaround from update 1.9.1 no longer works, because a reload of the camera module triggers an error. As a quick fix I removed the "fixModdedCamerasNotLoading"-app and added a new button to the camera settings app called "init cam".

Update 2.3: Good news, the game devs fixed the camera loading and activation logic of custom camera modes. Therefore it is now obsolete to use the "init cam" button. I left it in for now for feature releases Also fixed the ui app.

Update 2.4:

  • updated codebase to match newer game versions
  • removed some not-used legacy code
  • refactored "look back" logic to match behaviour of base game (more realistic)
  • fixed "Hide in cockpit" function

Update 2.5:

  • fixed bug in camera rotation while standing still

Last Update: Finally we have an alternative natively build into the game. For that reason I do not plan to update the mod any further. For more details see: https://www.beamng.com/game/news/patch/beamng-drive-v0-28/

Credits: BeamNG Team (especially meywue) - 93% of the code and advise Me - everything that's left ^^

Version History

Download previous versions of "LookAhead" Interior Camera

v2.5ExternalLatest
Mar 29, 2023Other151K downloads

Changelog

    Reviews

    What people think of "LookAhead" Interior Camera.

    4.6

    87 ratings

    The rating includes ratings from BeamNG.com, its most recent reviews are shown below.

    Log in to leave a review.
    • S
      Sandrakervia BeamNG.comMar 29, 2023

      This is the best mod.

    • T
      TszHongvia BeamNG.comMar 13, 2023

      It's not work in 0.27.2. I tried to press Ctrl + L.

    • B
      BruhDontKnowNanevia BeamNG.comMar 11, 2023

      It doesn't work, i got to work once but I can't get it to work

    • L
      Leo Ziegervia BeamNG.comFeb 28, 2023

      I haven´t played around at all with the settings, but it is just a slight change, not even noticeable which is a good thing because you can adapt easily. And the automatic look-back in reverse for sure is a big improvement!

    • J
      JustOneCarGuyvia BeamNG.comFeb 25, 2023

      While the idea is brilliant - it currently doesn't work for me in 0.27, whenever I activate it and go into the Driver camera it begins to stutter, like it is independent of the car and "updates" itself back into the driver's seat, causing a pretty uncomfortable experience. I don't know how could this be fixed, I tried Ctrl+L, don't have any other ideas sadly...

    • d
      daniel-wvia BeamNG.comFeb 12, 2023

      Great mod, I've made some slight changes to it so it's even better. Also, I'm not sure what Mad Monkey is talking about, it does work in 0.27

    • M
      Mad Monkeyvia BeamNG.comFeb 9, 2023

      Doesn't work in 0.27 and makes the camera pretty nauseating lol, hopefully this is fixed at some point.

    • T
      Tuxvia BeamNG.comNov 27, 2022

      Been waiting for a mod like this forever, awesome man.

    • h
      hey_bigvia BeamNG.comOct 29, 2022

      very gud

    • b
      bussin.busesvia BeamNG.comOct 20, 2022

      Yes.

    151K

    Total Downloads

    Details

    Details & information about this resource.

    Version

    2.5

    Compatible With

    External

    External Author

    Neo

    Licence

    Other

    Views

    22

    Rating

    4.6

    Last Updated

    March 29, 2023