The handbrake turning off by itself

Discussion in 'Ideas and Suggestions' started by laky_kaky, Jul 28, 2024.

  1. laky_kaky

    laky_kaky
    Expand Collapse

    Joined:
    Jul 6, 2023
    Messages:
    18
    It would be nice if we would have an option to not turn off the handbrake / parking brake by itself. The image is photoshopped. DEVS please
     

    Attached Files:

    • Screenshot2024-07-28114915-discord.png
    • Screenshot2024-07-28114915-no.png
    #1 laky_kaky, Jul 28, 2024
    Last edited: Jul 28, 2024
    • Agree Agree x 7
  2. Ananel81

    Ananel81
    Expand Collapse

    Joined:
    Sep 7, 2021
    Messages:
    1,241
    I admit it's annoying especially when you have a handbrake on your sim setup.
    --- Post updated ---
    I think it's for beginners, but when you play BeamNG since 6 years (like me), it's annoying to have help every time you reset the car.
     
    • Agree Agree x 3
  3. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Yes, very annoying, if you have to manage steep offroad stages and placed the vehicles home position on an intermediate point to have several attempts from there and need a clutch+handbrake start. Even if you manually hold the handbrake the mentioned automatism overrides your input and releases the handbrake on throttle touch.

    I find it somewhat annoying when an added extra feature actually makes the gameplay worse than if it were absent. Besides, every beginner driver knows the first learning moment: Oops, the handbrake isn't released! I would prefer that over this constant arcade trend.
    --- Post updated ---
    Thanks to this thread, I decided to take a closer look into the lua files and found a fast and dirty hack to disable the automatic handbrake release:
    1. Find the file \lua\vehicle\controller\vehicleController.lua in your game installation folder (not user folder)
    2. Backup this file! (please :))
    3. Change the values in line 963 and 970 (line numbers and functionality can change on game updates) to false:
    2024-07-2815_33_13-_C__Games_BeamNGdrive_lua_vehicle_controller_vehicleControllerlua-Notepad.jpg

    This applies to all cars. I didn't noticed any side effects till now.
    Caution: The file integrity check would mention an error presumably.
    Have phun :cool:
     
    #3 Barbent Servo GT, Jul 28, 2024
    Last edited: Jul 28, 2024
    • Like Like x 2
    • Agree Agree x 2
  4. laky_kaky

    laky_kaky
    Expand Collapse

    Joined:
    Jul 6, 2023
    Messages:
    18

    thank you! Although an official implementation would be nice.
     
    • Agree Agree x 3
  5. Lordlichi2006

    Lordlichi2006
    Expand Collapse

    Joined:
    Apr 4, 2021
    Messages:
    1,274
    theres two keybinds for the handbrake
    the one that default to [space] automatically disables
    the one set default to [P] doesnt
    --- Post updated ---
    upload_2024-7-28_17-31-38.png
    you can try with one of the other bindings
     
    • Like Like x 1
    • Agree Agree x 1
  6. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    What I mean is that they all release when you spawn, ignite and engage throttle. What you mean is a different thing, imo
     
    • Agree Agree x 2
  7. laky_kaky

    laky_kaky
    Expand Collapse

    Joined:
    Jul 6, 2023
    Messages:
    18

    Do you mind if I make a mod for this? I'l put you in the credits.
     
  8. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Go for it! I also had this idea but I am mostly working on my map projects and have not that much time for that. I would be glad if you could make a mod out of it, so many users can experience our handbrake improvement. Since it touches game core files, it would be not allowed to put it in the repo, though. Should be very easy to simply put it in a zip with the appropriate paths.
    Since yesterday I have become so fond of it that I don't want to miss it anymore. I'm looking forward to see your implementation. :cool: (please inform me if you made it)
    Edit: I'm a bit concerned about how it will be update compatible... we'll see...
     
    #8 Barbent Servo GT, Jul 29, 2024
    Last edited: Jul 29, 2024
  9. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    For those who still find the automatic parking brake release an anoying thing:

    Unfortunately there still isn't an option in the settings menu where you could decide if the parking brake releases automatically when you span a vehicle and touch the throttle. So I made a little hack for that (see above). As expected, the code has changed in updates 0.33.0 and 0.33.1, so the hack has also changed a bit:

    The file is now and moved to:
    [game installation folder]\lua\vehicle\controller\vehicleController\vehicleController.lua

    Backup the file and set the values in lines 975 and 982 from true to false
    (see the code segment below)
    Code:
    local function initLastStage()
      if handBrakeHandling.smartParkingBrakeActiveUponSpawn then
        smartParkingBrake(1)
        handBrakeHandling.smartParkingBrakeActive = false -- BSGT: no auto Parkingbrake release
      end
    end
    
    local function resetLastStage()
      if handBrakeHandling.smartParkingBrakeActiveUponSpawn then
        smartParkingBrake(1)
        handBrakeHandling.smartParkingBrakeActive = false  -- BSGT: no auto Parkingbrake release
      end
      gearboxHandling.isTryingToAutoStartEngine = false
    end
    


    Any future game update may change the affected code positions again. Happy manual handbrake releasing :)
     
    #9 Barbent Servo GT, Sep 22, 2024
    Last edited: Sep 22, 2024
    • Like Like x 3
  10. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Update: No changes for the "no automatic parking brake" hack in version 0.33.2.
     
  11. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Update: No changes for the "no automatic parking brake" hack in version 0.33.3.
     
  12. Musicman27

    Musicman27
    Expand Collapse

    Joined:
    Dec 13, 2023
    Messages:
    2,568
    It ain't a true simulation if you can't wear out a clutch while trying to figure out why your not going forward.
     
    • Like Like x 3
    • Agree Agree x 2
  13. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Update: No changes for version 0.34.1
    If you like to release the hand brake manually, the hack for that is the same as described above.
     
  14. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    Hey,
    thanks for this suggestion, I've implemented something similar that hopefully helps but is much easier to maintain on our side. Spawntime parkingbrake is now the "smart" (self releasing) version only if you are in Arcade mode. In realistic, it stays on.
    Please note, this only applies to the automatic one after spawn/reset, the normal keybinding remains unaffected. If you also want to get rid of smartness there, please change the binding to the non-smart one. :)
     
    • Like Like x 3
  15. laky_kaky

    laky_kaky
    Expand Collapse

    Joined:
    Jul 6, 2023
    Messages:
    18
    Thank you.
     
  16. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Hey, thank you for that. Feels great!
     
  17. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    646
    Sorry, I didn't understand something properly...

    Now unfortunately, the behavior of the handbrake is only as desired for me with the edit (hack) described above. (I use the realistic gearbox mode)
    I want:
    1. To (re-)spawn the vehicle
    2. To Start it
    3. Put it in first gear
    4. Accelerate
    5. The handbrake should not release
    Maybe your suggestion didn't work for me cause I'm a mouse driver? :confused:
    Anyway the hack is the same, it didn't change for version 0.34.2 (and works for me)
     
  18. laky_kaky

    laky_kaky
    Expand Collapse

    Joined:
    Jul 6, 2023
    Messages:
    18

    Thanks for the updates!
     
  19. Musicman27

    Musicman27
    Expand Collapse

    Joined:
    Dec 13, 2023
    Messages:
    2,568
    Hey they actually added it! I'll have to try it later!
     
  20. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    Hey, me again,
    bad news, we had to revert the change, it's causing too many issues in other systems (AI, missions, career)...
    Sorry, I'll keep thinking if there is a cleaner solution...
     
  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