Outdated DCT & Sequential Shiftlogic Fix Mod

Discussion in 'Mods and Skins' started by default0.0player, Sep 20, 2019.

  1. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,925
    CVT had moved to this thread
    I don't know much about lua programming. This mod is created simply by adjusting a few numbers and codes.
    Update: Added fix sequantial gearbox, no longer stall the engine when shifting from "R" to "N"
    DOWNLOAD

    DOWNLOAD V1
    Update V2: Tweaked CVT torqueconverter lockup logic and improved engine braking in "S", improved some CVT mod compatibility.
    DOWNLOAD V2(WIP, may have bugs)
    Note: You may prefer the old logic, just download one and remove the other.

    Content: Lowered CVT "shifting" RPM to approximately automatic gearbox shifting RPM

    before.png after.png
    Fixed DCT "rev bouncing" or stalling the engine when shift from "P" or "R" to "D". See attachment before.mp4 and after.mp4


    Note: The modern ETKs also come with 8 speed DCT (not a mod).
    modernetk.png

    Fixed Sequential stalling the engine when shift from "R" to "N" or shifting while idling. See attachment sqbefore.mp4 and sqafter.mp4
     

    Attached Files:

    #1 default0.0player, Sep 20, 2019
    Last edited: Oct 9, 2019
    • Like Like x 4
  2. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,925
    Details:
    Sequential: In the "local function updateWhileShifting(dt)"
    Code:
      if newDesiredGearIndex > gearbox.gearIndex and gearbox.gearIndex > 0 and abs(gearbox.outputAV1 * gearbox.gearRatio) > engine.idleAV * 1.5 then
        engine:cutIgnition(0.15)
      end
    This disallows ignition cut while reversing(gearbox.gearIndex > 0) or idling(engine.idleAV * 1.5).
    DCT: In the "local function updateWhileShifting(dt)"
    Code:
        if gearbox[dct.primaryAccess.gearIndexName] < gearbox[dct.secondaryAccess.gearIndexName] and gearbox[dct.secondaryAccess.gearIndexName] >1 and not clutchHandling.didCutIgnition then
          engine:cutIgnition(adjustedClutchTime)
          clutchHandling.didCutIgnition = true
        end
    "gearbox[dct.secondaryAccess.gearIndexName] >1" makes the DCT not to cut ignition when shifting from Reverse to Drive.
    CVT: in the "local function updateInGear(dt)"
    Code:
      local targetAV = cvtHandling.lowAV + (cvtHandling.highAV - cvtHandling.lowAV) * M.smoothedValues.drivingAggression^2
    This makes the shift RPM lower at medium throttle


    New CVT logic coming soon
    BeamNGdrive-017129059-RELEASE-x642019_10_817_13_55.png
     
    #2 default0.0player, Oct 6, 2019
    Last edited: Oct 8, 2019
  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