Hi, I am currently working on a Toyota 4Runner mod made by @JorgePinto, and I found out that there is an Active traction control that limits the car's wheelspin. I'm just wondering if this is possible to achieve in-game through traction control or if it is possible in any other ways? Thanks
Just copy the Driving&Safety Electronics in an official vehicle (K-Series, Vivace, etc.) or from JorgePinto's Defender mod. Make sure to add the corresponding controller on the differential part as well
I must have wrote it in a misleading way. I know how to do that, but my actually question is how to stop wheelspin with traction control and what values can I modify inside of the file to achieve that goal. Since the default traction control values does not have a big impact on limiting the wheelspin. I hope this makes sense to what I'm really trying to say.
Take an example of etk800_dse_tc.jbeam Code: "etk800_DSE_TC_AWD": { "information":{ "authors":"Diamondback", "name":"Traction Control (AWD)", "value":250, }, "slotType" : "etk800_DSE_TC", "controller": [ ["fileName"], ["drivingDynamics/supervisors/tractionControl" {"name": "tractionControl"}] ["drivingDynamics/supervisors/slipProviders/virtualSpeedSlip"] ], "tractionControl": { "tractionControlledMotors": ["mainEngine"] } "motorTorqueControl": { "useForTractionControl": true, "tractionControl": { "wheelGroupSettings":[ ["motorName", "slipThreshold", "kP", "kI", "kD", "integralInCoef", "integralOutCoef"], ["mainEngine", 0.2, 2.5, 0.8, 0, 20, 2] ] } } "brakeControl": { "useForTractionControl": true, "tractionControl": { "wheelGroupSettings":[ ["motorName", "slipThreshold", "slipRangeThreshold", "maxVelocity" "kP", "kI", "kD", "integralInCoef", "integralOutCoef"], ["mainEngine", 0.1, 0.05, 30, 1, 1.5, 0, 20, 2] ] } } }, There are throttle cut "motorTorqueControl" and brake"brakeControl" to limit wheelspin Reduce "slipThreshold" and/or increase "kP" may help in further recuse wheelspin