I've come to the realisation that I am using an old setup for the powertrain, not utilising the newer powertrain system, should I redo it or leave it as it is?
I'm slowly working on both mods and came to a conclusion on some aspects of the cuatro: I really butchered the name, cuatro is spanish not french I don't intend to crossover the go-kart and cuatro, however something will be included in the kart mod to fix that if anyone wants it. There will only be one type of engine, or two, I might decide to make a tuned rally engine. There will only be around 6 or 10 different configs, depending on whether I add automatic or not. I think that that is all, so I'd better get cracking!
Here is the 125cc engine code, please search for issues, this powertrain is much more complicated than the old drivetrain. Code: "Kart_Powertrain":[ ["type", "name", "inputName", "inputIndex"] ["combustionEngine", "125cc_Engine", "dummy", 0 ] ["automaticGearbox", "Kart_Gearbox", "125cc_Engine", 1 ] ["shaft", "Kart_Driveshaft", "Kart_Gearbox", 1 ] ["differential", "Kart_Diff", "Kart_Driveshaft", 1 ,{"diffType":"locked", "lockTorque":10000, "gearRatio":1.0, "friction":15}] ["shaft", "L_Axle", "Kart_Diff", 1, {"connectedWheel":"RL"}] ["shaft", "R_Axle", "Kart_Diff", 2, {"connectedWheel":"RR"}] ], { "125cc_Engine": { "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["Engine 1", ["Engine"]], ["Engine 2", ["Engine"]], ], "enginetorque":[ ["rpm", "torque"] [0, 0], [500, 25], [1000, 100], [2000, 175], [3000, 250], [4000, 300], [5000, 350], [6000, 400], ], "nodes": [ ["id", "posX", "posY", "posZ"], {"selfCollision":true}, {"collision":true} {"nodeMaterial":"|NM_METAL"}, {"frictionCoef":0.7}, {"group":"Engine"}, {"nodeWeight":10}, ["Eng1", 0.16316, 0.75716, 0.26983], ["Eng2", -0.169, 0.75716, 0.26983], ["Eng3", 0.16316, 1.12252, 0.26983], ["Eng4", -0.169, 1.12252, 0.26983], {"nodeWeight":3.5}, ["Eng5", 0.16316, 0.75716, 0.04024], ["Eng6", -0.169, 0.75716, 0.04024], ["Eng7", 0.16316, 1.06158, 0.04024], ["Eng8", -0.169, 1.06158, 0.04024], {"engineGroup":""} {"group":""}, ], "beams": [ ["id1:", "id2:"], {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":3001000,"beamDamp":150}, {"beamDeform":1500000,"beamStrength":"FLT_MAX"}, ["Eng7", "Eng3"], ["Eng3", "Eng1"], ["Eng1", "Eng5"], ["Eng5", "Eng7"], ["Eng7", "Eng1"], ["Eng1", "Eng2"], ["Eng2", "Eng5"], ["Eng3", "Eng5"], ["Eng3", "Eng4"], ["Eng4", "Eng2"], ["Eng2", "Eng3"], ["Eng4", "Eng1"], ["Eng4", "Eng8"], ["Eng8", "Eng6"], ["Eng6", "Eng2"], ["Eng2", "Eng8"], ["Eng4", "Eng6"], ["Eng1", "Eng6"], ["Eng3", "Eng8"], ["Eng4", "Eng7"], ["Eng7", "Eng8"], ["Eng5", "Eng6"], ["Eng7", "Eng6"], ["Eng8", "Eng5"], {"beamSpring":4001000,"beamDamp":150}, {"beamDeform":5000,"beamStrength":"FLT_MAX"}, ["Eng5", "ch49"], ["Eng5", "ch47"], ["Eng5", "ch51"], ["Eng5", "ch45"], //bit1 ["Eng6", "ch49"], ["Eng6", "ch47"], ["Eng6", "ch51"], ["Eng6", "ch45"], //bit2 ["Eng7", "ch49"], ["Eng7", "ch47"], ["Eng7", "ch51"], ["Eng7", "ch45"], //bit3 ["Eng8", "ch47"], ["Eng8", "ch49"], ["Eng8", "ch51"], ["Eng8", "ch45"], {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, ], "triangles": [ ["id1:","id2:","id3:"], ["Eng1", "Eng3", "Eng4"], ["Eng4", "Eng2", "Eng1"], ["Eng4", "Eng8", "Eng6"], ["Eng6", "Eng2", "Eng4"], ["Eng4", "Eng3", "Eng7"], ["Eng7", "Eng8", "Eng4"], ["Eng1", "Eng5", "Eng7"], ["Eng7", "Eng3", "Eng1"], ["Eng2", "Eng6", "Eng5"], ["Eng5", "Eng1", "Eng2"], ["Eng6", "Eng8", "Eng7"], ["Eng7", "Eng5", "Eng6"], ], "idleRPM":500, "shiftDownRPM":10, "shiftUpRPM":6000, "maxRPM":6000, "inertia":0.16, "friction":24, "brakingCoefRPS":0.15 "burnEfficiency":0.45 "throttleSensitivity":0.9 "torqueReactionNodes:":["Eng1","Eng2","Eng3"] }, } "Kart_Gearbox": { ], "gears":[-2.65, 0, 2.93] "parkLockTorque":2000, "oneWayViscousCoef":8, "friction": 1, }, "Gearbox": { "information":{ "authors":"TechMechanic", "name":"1 gear gearbox", } "slotType" : "Gearbox", "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ], "engine":{ "transmissionType":"automatic", "gears":[-3.1, 0, 4.72] "clutchDuration":0.2 "clutchTorque":250 "viscousCoupling":7 "lockingTorqueLimit":250 "axleFriction":10 "enableLocking":true }, "nodes": [ ["id", "posX", "posY", "posZ"], ], "beams": [ ["id1:", "id2:"], {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, ], "triangles": [ ["id1:","id2:","id3:"], ], } }
i think, being a small engine, the max rpm number is kinda high, keep in mind that it had peak torque at 2500rpm, in the case of the 1.1L engine
oh that was not clear. so then what does he mean if anyone want it, does he mean if anyone wants the gokart
Just to clear it up, the cuatro is an entirely different mod to the kart, both will be put on the repo but the cuatro will be first.
dude i recomend you working into 1 mod and after on the other like that you can check for any issues you had on the 1st one
That is what I am doing, sort of. I do each step with the go-kart and then I know what to do with the cuatro. --- Post updated --- That is what I am doing, sort of. I do each step with the go-kart and then I know what to do with the cuatro. --- Post updated --- The cuatro isn't out of modelling yet, but i'll model it due to the fact that the kart is finished, fo example. Also, slight adjustments: