Additional on the LUA automatic transmission

Discussion in 'Programming' started by Fy42145, Jan 4, 2025.

  1. Fy42145

    Fy42145
    Expand Collapse

    Joined:
    Nov 12, 2022
    Messages:
    603
    Here I have a gear shift logic file and I want to add some of them, like friction gear shift, friction gear shift delay time, and time before shifting to the next gear, but I don't know how?
     
    #1 Fy42145, Jan 4, 2025
    Last edited: Jan 4, 2025
  2. MrRadYT

    MrRadYT
    Expand Collapse

    Joined:
    Jan 18, 2023
    Messages:
    231
    This may help from the BeamNG docs

    VehicleController
    Screenshot_2025_0128_135844.jpg

    AutomaticGearbox
    Screenshot_2025_0128_140002.jpg
     
  3. Fy42145

    Fy42145
    Expand Collapse

    Joined:
    Nov 12, 2022
    Messages:
    603
    Is it LUA or not, I don't think it's LUA

    It's a common addition that doesn't really work, here I'm looking for some of them when the throttle is full, the rpm will certainly downshift, so when you want to shift to the next gear, there will be a clutch friction response that functions to reduce excessive torque or excessive power, so the analogy is that the rpm will be temporarily held at any rpm before finally shifting, so logically if the transmission is jbeam with a high value of "shiftEfficiency" it will not happen to a car that makes a spike in body movement that looks back with any power, so the manufacturing world of all modern automatic transmissions is equipped with this.
     
    #3 Fy42145, Jan 28, 2025
    Last edited: Jan 28, 2025
  4. MrRadYT

    MrRadYT
    Expand Collapse

    Joined:
    Jan 18, 2023
    Messages:
    231
    It is not lua, it is a setting in the .jbeam file that interfaces with the lua controller to make things easier

    So basically, it shifts smoother to the next gear, to reduce the torque spike in the powertrain components and makes the ride smoother, and the way it does this is by dropping the RPMs slower to the next gear, kind of like releasing the clutch in a manual slowly?

    shiftEfficiency is the amount of power that is transmitted in the middle of a gear change. So, if its 0, there wont be any power transmitted while shifting, so its like you release throttle, or like when you change gear in a manual
     
  5. Fy42145

    Fy42145
    Expand Collapse

    Joined:
    Nov 12, 2022
    Messages:
    603
    No, the system is different so this and that is done on today's automatic transmissions in general, try to pay attention to the acceleration on the 370z or on Nissan cars with 7AT or 5AT, the gear changes are very smooth without any excessive power surges at full speed, low to high rpm, it is clearly visible if gear 1 and 2 or 3, the rpm holds back a little before the next gear
     
    #5 Fy42145, Jan 28, 2025
    Last edited: Jan 28, 2025
  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