Solved Transmissions Breaking Game

Discussion in 'Mod Support' started by Calarist, Jun 17, 2018.

  1. Calarist

    Calarist
    Expand Collapse

    Joined:
    Jun 29, 2015
    Messages:
    458
    Hello all! I have been working on an engine mod for the D-Series and I ran into an issue. I made a custom transmission for it, but it makes it so no vehicles can spawn (because this is in the "common" folder). I found that this was the only file that caused the problem. I have tried to find the issue in this file so much that it is annoying. I just can't find it. Any help?
    Code:
    {
    "pickup_transmission_d_4A": {
        "information":{
            "authors":"C416",
            "name":"4-Speed Diesel Automatic Transmission",
            "value":350,
        },
        "slotType" : "pickup_transmission",
        "slots": [
            ["type", "default", "description"]
            ["pickup_converter","pickup_converter","Torque Converter", {"coreSlot":true}],
            ["pickup_transfer_case","pickup_transfer_case_4WD","Transfer Case", {"coreSlot":true}],
        ],
        "powertrain" : [
            ["type", "name", "inputName", "inputIndex"],
            ["torqueConverter", "torqueConverter", "mainEngine", 1],
            ["automaticGearbox", "gearbox", "torqueConverter", 1],
        ],
        "gearbox": {
            "uiName":"Gearbox",
            "gearRatios":[-2.5, 0, 2.5, 1.75, .9, .4],
            "parkLockTorque":2500,
            "oneWayViscousCoef":60,
            "friction": 8,
            "gearboxNode:":"tra1",
        },
        "vehicleController": {
            "automaticModes":"PRND21",
            "calculateOptimalLoadShiftPoints": true
            "transmissionGearChangeDelay":2
            "gearboxDecisionSmoothingUp":2
            "gearboxDecisionSmoothingDown":2
            "aggressionSmoothingUp":1
            "aggressionSmoothingDown":0.5
            "aggressionHoldOffThrottleDelay":1.75,
            "lowShiftDownRPM":750,
            "lowShiftUpRPM":1250,
        },
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["pickup_transmission", ["pickup_engine","pickup_transmission"]],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":false}
             {"collision":true}
             //--4 Speed Auto-
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"nodeWeight":35},
             {"group":"pickup_transmission"},
             ["tra1", 0.0, -0.68, 0.48],
             {"group":""},
        ],
        "beams": [
              ["id1:", "id2:"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              //--TRANSMISSION CONE--
              {"beamSpring":20001000,"beamDamp":500},
              {"beamDeform":250000,"beamStrength":"FLT_MAX"},
              ["tra1","e1r"],
              ["tra1","e3r"],
              ["tra1","e1l"],
              ["tra1","e3l"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    },
    }
     
  2. Capkirk

    Capkirk
    Expand Collapse

    Joined:
    Nov 19, 2017
    Messages:
    673
    I believe the issue is in the gear ratios. Decimals must be written as 0.x, not just .x
     
  3. Calarist

    Calarist
    Expand Collapse

    Joined:
    Jun 29, 2015
    Messages:
    458
    Thank you!
     
  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