Solved Traction control without ESC

Discussion in 'Mod Support' started by Ytrewq, Jan 3, 2019.

  1. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,270
    I want my car to only have TC, but no ESC. Is this the right code for it:
    Code:
            "esc": {
                "actionedWheels": ["FL", "FR", "RR", "RL"],
                "isDebugMode": 0,
                "defaultConfig": 1,
                "configurations": {
                    "TC ON":{
                        //ESC
                        "escEnabled": false,
                        "escConfigurationEnabled": true,
                        "order":30,
    
                        //TCS
                        "slipThreshold": 0.15,
                        "minThrottleFactor": 0.05,
                        "maxBrakingFactor": 0.85,
                        "throttleProportionalFactor": 2.0,
                        "throttleIntegralFactor": 2,
                        "brakingProportionalFactor": 2,
                        "brakingIntegralFactor": 1.5,
                        "brakeThrottleSwitchThreshold": 20,
                    },
                    "TC Off":{
                        //ESC
                        "escEnabled": false,
                        "escConfigurationEnabled": true,
                        "order":30,
                        //UI
                        "overrideESCPulse": 1,
                        "overrideTCSPulse": 1,
                    }
                    }
     
  2. Capkirk

    Capkirk
    Expand Collapse

    Joined:
    Nov 19, 2017
    Messages:
    673
    I don't think that is correct. If you wanted to just have basic TC-like behavior, I would fully disable the braking factor on ESC. Like this
    Code:
           "esc": {
               "actionedWheels": ["FL", "FR", "RR", "RL"],
               "isDebugMode": 0,
               "defaultConfig": 1,
               "configurations": {
                   "TC ON":{
                       //ESC
                       "escEnabled": true,
                       "escConfigurationEnabled": true,
                       "order":30,
    
                       //TCS
                       "slipThreshold": 0.15,
                       "minThrottleFactor": 0.05,
                       "maxBrakingFactor": 0.0,
                       "throttleProportionalFactor": 2.0,
                       "throttleIntegralFactor": 2,
                       //UI
                       "overrideESCPulse": 1,
                   },
                   "TC Off":{
                       //ESC
                       "escEnabled": false,
                       "escConfigurationEnabled": true,
                       "order":30,
                       //UI
                       "overrideESCPulse": 1,
                       "overrideTCSPulse": 1,
                   }
                   }
    
     
    • Agree Agree x 1
    • Informative Informative x 1
  3. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    I botched whole lua of ESC system to simple TC, that probably has ton of bugs and will probably become obsolete soon enough, but meanwhile you can try put this on your vehicle and see what happens:
    https://www.beamng.com/threads/race-traction-control.60160/

    It is much faster to react than vanilla version, but I'm sure Diamondback will get vanilla version to match that soon enough.
     
    • Like Like x 1
  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