Transbrake Addition

Discussion in 'Content Creation' started by Razr7, Sep 10, 2017.

  1. Razr7

    Razr7
    Expand Collapse

    Joined:
    Jan 2, 2017
    Messages:
    34
    Since the transbrake was added in BeamNG 0.10, does anybody know how to add it to an existing engine (the Coyote engine from my GT Engine mod if you were wondering)? The engine file is attached, Thanks, (You'll be credited for helping when the update comes out).
     

    Attached Files:

  2. carlosjr

    carlosjr
    Expand Collapse
    Banned

    Joined:
    Jul 29, 2017
    Messages:
    232
    You add it to the transmission, not the engine. For example,
    Code:
    "etki_transmission_5A_drag": {
        "information":{
            "authors":"BeamNG",
            "name":"5-Speed Drag Automatic Transmission",
            "value":450,
        }
        "slotType" : "etki_transmission",
        "slots": [
            ["type", "default", "description"],
            ["etki_converter","etki_converter","Torque Converter", {"coreSlot":true}],
            ["etki_transfer_case","etki_transfer_case_RWD", "Transfer Case"{"coreSlot":true}],
        ],
        "controller": [
            ["fileName"],
            ["transbrake", {}],
        ],
        "powertrain": [
            ["type", "name", "inputName", "inputIndex"],
            ["torqueConverter", "torqueConverter", "mainEngine", 1],
            ["automaticGearbox", "gearbox", "torqueConverter", 1],
        ],
        "gearbox": {
            "gearRatios":[-3.45, 0, 3.72, 2.01, 1.32, 1.0, 0.81],
            "parkLockTorque":5000,
            "oneWayViscousCoef":15,
            "friction": 15,
            "shiftEfficiency":0.75,
            "gearChangeTime": 0.05,
        },
        "vehicleController": {
            "automaticModes":"PRNDSM",
            "useSmartAggressionCalculation":false,
            "calculateOptimalLoadShiftPoints": true,
            "transmissionGearChangeDelay":1.75
            "shiftDownRPMOffsetCoef":1.4,
            "gearboxDecisionSmoothingUp":0.75
            "gearboxDecisionSmoothingDown":0.5
            "lowShiftDownRPM":1200,
            "lowShiftUpRPM":[0,0,2200,2100,2000]
            //"highShiftDownRPM":3200,
        },
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["etki_transmission", ["etki_engine","etki_transmission"],[]{"pos":{"x":0,"y":0,"z":0}}],
            ["etki_shifterbase_A", ["etki_body"],[]{"pos":{"x":0,"y":0,"z":0}}],
        ],
        "props": [
            ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
            //automatic transmission
            ["gear_A"      ,"etki_shifter_A", "f7r","f7l","f8r", {"x":90, "y":0, "z":0}, {"x":0, "y":0, "z":0}     , {"x":0, "y":0.2, "z":0.0}, 0, 1, 0, 1],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             //--4 Speed Auto--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"selfCollision":false},
             {"collision":true}
             {"group":"etki_transmission"},
             {"nodeWeight":30},
             ["tra1", 0.0, -0.22, 0.36],
             {"group":""},
        ],
        "beams": [
              ["id1:", "id2:"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              //--TRANSMISSION CONE--
              {"beamSpring":10500750,"beamDamp":182.5},
              {"beamDeform":792000.1,"beamStrength":"FLT_MAX"},
              ["tra1","e1r"],
              ["tra1","e3r"],
              ["tra1","e1l"],
              ["tra1","e3l"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    }
    You have to add this to the transmission:
    Code:
    "controller": [
            ["fileName"],
            ["transbrake", {}],
        ],
     
    • Informative Informative 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