I'm trying to replicate Toyota's Direct-Shift CVT transmission with no success. Currently, this is the jBeam: As you can see, it connects the DCT to the engine, then a torque converter to the DCT, then a CVT to the torque converter. All parts are named and tweaked in their respective places, but it causes the car to not even load. Any help is appreciated
Torque converters can only be connected to an engine: Code: if not device.parent.deviceCategories.engine then log("E", "torqueConverter.validate", "Parent device is not an engine device...") log("E", "torqueConverter.validate", "Actual parent:") log("E", "torqueConverter.validate", powertrain.dumpsDeviceData(device.parent)) return false end I think a better way to achieve this would be to adapt the existing CVT code in cvtGearbox.lua to create a new single device which includes the direct drive gear you want. You would probably also need to adapt the shiftLogic-cvtGearbox controller to use the new feature properly.
Exactly what was said above. In addition, you don't really need to create a dedicated powertrain device even, the existing CVT device can be used to replicate the behavior of that new CVT generation. You just need a new shift logic to control the thing differently