Solved Car won't take front Differential

Discussion in 'Mod Support' started by schumacher, Jul 15, 2016.

  1. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    So, my problem is , that I used the coupe jbeam which does not supports a front differential, my car is IRL 4wd so I think its enough to just add in the f suspention jbeam file a differential code, thats what I did, I also added slot for it and renamed everything called R to F but It just dont want to show up in game as a selectable part? What did I did wrong ?

    (The code I added is on the bottom of the suspention.jbeam)
     

    Attached Files:

  2. DapperDan

    DapperDan
    Expand Collapse

    Joined:
    May 2, 2015
    Messages:
    1,249
    Code:
        ],
        "differentials": [
                ["wheelName1",     "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
                ["FL","FR", "lsd", "closed", "400", 1]
    try this
    --- Post updated ---
    it worked when i put into a transmission jbeam
     
  3. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    Code:
    "differentials": [
    ["wheelName1",  "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
    ["RL","RR", "lsd", "locked", 5000, 1]
    ]
    
    Your front differentials are still propulsing some rear wheels (RL, RR)

    BTW, you can remove the flexbodies section entirely (and also nodes and beams coming with it), unless you have specific meshes for the front differential.
     
  4. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    I placed this now to the bottom of the suspention F and still nothing

    "differentials": [
    ["wheelName1", "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
    ["FL","FR", "lsd", "locked", 5000, 1]
     
  5. DapperDan

    DapperDan
    Expand Collapse

    Joined:
    May 2, 2015
    Messages:
    1,249
    Code:
    "coupe_transmission_6M_racebromsteel": {
        "information":{
            "authors":"BeamNG(edited by danielon39867)",
            "name":"Bromsteel 6-Speed Manual Transmission",
            "value":800,
        }
        "variables": [
            ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
            ["$gear_R", "range", ":1", "Transmission", -2.95, -5.0, -0.5, "Reverse Gear Ratio", "Torque multiplication ratio"]
            ["$gear_1", "range", ":1", "Transmission", 2.85, 0.5, 5.0, "1st Gear Ratio", "Torque multiplication ratio"]
            ["$gear_2", "range", ":1", "Transmission", 2.21, 0.5, 5.0, "2nd Gear Ratio", "Torque multiplication ratio"]
            ["$gear_3", "range", ":1", "Transmission", 1.64, 0.5, 5.0, "3rd Gear Ratio", "Torque multiplication ratio"]
            ["$gear_4", "range", ":1", "Transmission", 1.31, 0.5, 5.0, "4th Gear Ratio", "Torque multiplication ratio"]
            ["$gear_5", "range", ":1", "Transmission", 1.0,  0.5, 5.0, "5th Gear Ratio", "Torque multiplication ratio"]
            ["$gear_6", "range", ":1", "Transmission", 0.82, 0.5, 5.0, "6th Gear Ratio", "Torque multiplication ratio"]
        ],
        "engine":{
            "transmissionType":"manual",
            // -1, 0 (neutral), 1, etc
            "gears":["$gear_R", 0, "$gear_1", "$gear_2", "$gear_3", "$gear_4", "$gear_5", "$gear_6"]
            "clutchDuration":0.08
            "clutchTorque":250
        },
        "slotType" : "coupe_transmission",
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["coupe_transmission", ["coupe_engine","coupe_transmission"]],
             ["coupe_shifter_M", ["coupe_dash"]],
        ],
        "props": [
            ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
            //clutch pedal
            ["clutch"     ,"coupe_clutchpedal", "f7r","f7l","f8r",  {"x":90, "y":0, "z":0} , {"x":-25, "y":0, "z":0}    , {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
         ],
    
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             //--5 Speed Manual--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"selfCollision":true},
             {"collision":true}
             {"group":"coupe_transmission"},
             {"nodeWeight":20.9},
             ["tra1", 0.0, -0.09, 0.32],
             {"group":""},
        ],
        "beams": [
              ["id1:", "id2:"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              //--TRANSMISSION CONE--
              {"beamSpring":7700550,"beamDamp":125},
              {"beamDeform":660000,"beamStrength":"FLT_MAX"},
              ["tra1","e1r"],
              ["tra1","e3r"],
              ["tra1","e1l"],
              ["tra1","e3l"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
        "triangles": [
                ["id1:","id2:","id3:"],
        ],
        "differentials": [
                ["wheelName1",     "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
                ["FL","FR", "lsd", "closed", "400", 1]
    
        ],
    as you can see at the bottom i have put a front differential, although it would not show up in slots, but it will be awd
    try putting the code at the end of the transmission
     
  6. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    the problem is that my car does not have a transmission.jbeam
     
  7. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    Did you just copy/paste it at the end of the file?

    BTW, my differentials look like this:

    Try them, mine do show up correctly in the parts selector.
     
  8. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    the transmission was in my engine.jbeam and as I put it there, it worked :) thank you guys
     
    • Like Like x 1
  9. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,054
    Yes Thanks for the enlightenment. But now its working :)
     
  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