WIP Beta released Driver Assistance Systems Mod 1.3

Adds safety systems to modern vehicles such as automatic braking, back-up cameras and more to come!

  1. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    195
    I want to know how well this mod runs for you guys with this poll: http://www.strawpoll.me/45360102

    Link to GitHub repo: https://github.com/angelo234/driver_assistance_angelo234


    This thread is dedicated to my Driver Assistance Systems mod. So feel free to post any questions, suggestions, feedback, and bugs for this mod :). I will also post progress on large updates here.


    Controls

    controls.png
    • '8' key ('9' key for bus) to show back-up camera

    FAQ

    Q: Only the back-up camera works, what do I do?
    A: If you want the other systems enabled, just add them in the parts screen by clicking on the appropriate slots and adding the parts.

    Q: The mod isn't working properly, what do I do?
    A: Make sure game is updated to latest version and press Ctrl + L to reload Lua if it still is not working.

    Q: How do I activate the back-up camera?
    A: First you must be in reverse or neutral gear. Then in most cases the '8' key ('9' for Wentward bus). If you have other camera mods installed, try other number keys.

    Q: Can I equip other vehicles with these systems?
    A: Yes you can equip any vehicle with these systems!

    Q: Is it possible to put back-up camera on the infotainment display?
    A: No its not possible at the moment, but if only the devs could allow multiple cameras in the scene at once.


    Current Features
    • Forward Automatic Emergency Braking (AEB)
    • Rear Automatic Emergency Braking (Rear AEB)
    • Back-up Camera
    • Rear Parking Sensors
    • Adaptive Cruise Control
    • Ability to add systems to any vehicle
    • Key bindings to enable/disable systems
    • Automatic headlight dimming
    • Hill brake hold assist

    Planned Features
    • AEB alert on dashboard
    • Proximity to obstacles infotainment screen
    • Improve AEB
    • Lane centering assist (possibly)
    • Bug fixes :)

    backup_cam.png
     

    Attached Files:

    • aeb-gif.gif
    #1 angelo234, Apr 1, 2021
    Last edited: Jun 5, 2021
    • Like Like x 8
  2. veronicabox360

    veronicabox360
    Expand Collapse

    Joined:
    Apr 18, 2018
    Messages:
    23
    amazin job
     
    • Like Like x 1
  3. jordaniwick

    jordaniwick
    Expand Collapse

    Joined:
    Mar 1, 2020
    Messages:
    260
    THis could be a big thing if added...
     
    • Like Like x 2
  4. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    195
    This might just be a little bit too complicated to implement so I'm just gonna leave it up to the driver in this case... ;)
     
    • Like Like x 3
  5. jordaniwick

    jordaniwick
    Expand Collapse

    Joined:
    Mar 1, 2020
    Messages:
    260
    Well the other idea was to when the sensors "sense" an object, a little animations show like this
     

    Attached Files:

    • Screen_0_121210_2003_0002_zpse9bbf8c9.png
  6. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    195
    I think I could try to make this and even display it on the infotainment screen since its not really possible (possible with dynamic reflections but quality sucks) to display the back-up camera image on the screen.
     
  7. esesel

    esesel
    Expand Collapse

    Joined:
    Feb 18, 2019
    Messages:
    385
    This is pretty great, but can you also implement the parking sensors/automatic braking for forward?
     
  8. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    195
    Yeah I could do that as well (probably implement this first before anything else actually). Although should it be only automatic braking without beepers because I'm thinking that it'd be kind of annoying to hear the beepers since you can see forward clearly?
     
  9. esesel

    esesel
    Expand Collapse

    Joined:
    Feb 18, 2019
    Messages:
    385
    Yeah true probably.... Do you have plans for something like adaptive cruise control or lane assist hill assist?
     
  10. Penguin72

    Penguin72
    Expand Collapse

    Joined:
    Dec 11, 2020
    Messages:
    664
    Personally, I think it would be realistic if you implemented the backup camera (but only the backup camera) to the Sunburst.
     
  11. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    195
    I'm thinking of implementing adaptive cruise control and I've tried experimenting a bit with lane assist (where the car actually steers) though its a bit glitchy at the moment but it works somewhat okay in perfectly straight roads lol. I'll probably add hill assist too. There is definitely a lot of assistance systems out there so I'm probably not gonna be adding all of them ;)
    --- Post updated ---
    I think only the back-up camera is good enough as well for that model year.
     
    • Like Like x 1
  12. jordaniwick

    jordaniwick
    Expand Collapse

    Joined:
    Mar 1, 2020
    Messages:
    260
    I have another cool idea (at least i think so). Blind spot monitor
     

    Attached Files:

    • unnamed.png
    • Agree Agree x 6
  13. alentaylor22

    alentaylor22
    Expand Collapse

    Joined:
    Jan 19, 2018
    Messages:
    238
    --- Post updated ---
    I understand that when I first tried this out with the etk one it was experimental but got damn this thing really improved a lot and now it has a lot more features thank you for this mod!!
     
    • Like Like x 1
    • Agree Agree x 1
  14. Steviezzz

    Steviezzz
    Expand Collapse

    Joined:
    Sep 6, 2020
    Messages:
    9
    This is literally so cool, great job
     
    • Like Like x 1
  15. 2004AudiA41.8T6Spd

    2004AudiA41.8T6Spd
    Expand Collapse

    Joined:
    Feb 18, 2020
    Messages:
    165
    I have a question. Could I add this to a modded car?
     
  16. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    195
    You need to modify the code a little to make it work. I’ll update this post later with instructions since I’m a bit busy now.
     
  17. 2004AudiA41.8T6Spd

    2004AudiA41.8T6Spd
    Expand Collapse

    Joined:
    Feb 18, 2020
    Messages:
    165
  18. StraightAdaptive

    StraightAdaptive
    Expand Collapse

    Joined:
    Feb 23, 2021
    Messages:
    1
    why doesnt the tone backup sensors and the beep beep beep when backing up work? neither does the reverse camera work.
     
  19. alentaylor22

    alentaylor22
    Expand Collapse

    Joined:
    Jan 19, 2018
    Messages:
    238
    I understand that when I first tried this out with the etk one it was experimental but got damn this thing really improved a lot and
    ctrl- L and you u need to press 8 for the reverse camera
     
    • Agree Agree x 1
  20. SupremeDalek73

    SupremeDalek73
    Expand Collapse

    Joined:
    Sep 13, 2019
    Messages:
    74
    This is a great mod, but when using it driving forward or on a car that doesn't use these features, it gets stuck in that camera. I have to spawn a new car and remove the old one to fix it, and it's a hassle to turn it off whenever I'm not reversing.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice