1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

Engine and transmission issues with new powertrain

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by SushiPro, Dec 25, 2016.

  1. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    The console does not indicate any issues with my configuration. The engine does not display any stats like RPMs, but when I apply throttle, the powertrain config graph shows power getting to the torque converter but not past it. No power is applied to the wheels at all.
    help.png help2.png

    My engine code:
    Code:
    "hatch_engine": {
        "information":{
            "authors":"SushiPro",
            "name":"Standard Motor",
            "value":8000,
        },
    
        "slotType" : "hatch_engine",
    
        "slots": [
            ["type", "default", "description"]
            ["hatch_transmission","hatch_transmission_s", "Transmission"],
        ],
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["hatch_motor_F", ["hatch_engine"]],
            ["hatch_halfshaft_F", [""]],
        ],
        "vehicleController": {
            "shiftDownRPM":0,
            "shiftUpRPM":50,
            "clutchLaunchStartRPM":99,
            "clutchLaunchTargetRPM":100,
        },
        "powertrain": [
            ["type", "name", "inputName", "inputIndex"],
            ["electricMotor", "mainEngine", "dummy", 0],
            ["torqueConverter", "torqueConverter", "mainEngine", 1],
        ],
        "mainEngine":{
            "torque":[
                ["rpm", "torque"],
                [0, 330],
                [10000, 350],
                [11500, 260],
                [12000, 150],
                [12500, 50],
            ],
            "idleRPM":0,
            "maxRPM":12500,
            "inertia":0.10,
            "friction":0.6
            "dynamicFriction":0.25,
            "electricalEfficiency":0.97
            "thermalsEnabled":false
            "energyStorage": "mainBattery",
        },
        "torqueConverter": {
            "converterDiameter": 0.2,
            "converterStiffness":9,
            "couplingAVRatio":0.92,
            "stallTorqueRatio":1.75,
        },
        "nodes": [
            ["id", "posX", "posY", "posZ"],
            {"selfCollision":false},
            {"collision":true}
            {"nodeMaterial":"|NM_METAL"},
            {"frictionCoef":0.5},
            {"group":"hatch_engine"},
            {"nodeWeight":10},
            {"engineGroup":"engine_block"}
            ["e1r", 0.25, -1.65, 0.16],
            ["e2r", -0.25, -1.65, 0.16],
            ["e1l", 0.25, -1.35, 0.16],
            ["e2l", -0.25, -1.35, 0.16],
            {"engineGroup":["engine_block"]}
            ["e3r", 0.25, -1.65, 0.47],
            ["e3l", 0.25, -1.35, 0.47],
            ["e4r", -0.25, -1.65, 0.47],
            ["e4l", -0.25, -1.36, 0.47],
            {"engineGroup":""},
            {"group":""},
            ["tc1", 0.0, -1.62, 0.35{"nodeWeight":16}],
        ],
    
        "beams": [
              ["id1:", "id2:"],
              {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              {"beamSpring":6440460,"beamDamp":145},
              {"beamDeform":780000,"beamStrength":"FLT_MAX"},
              //engine
              ["e1r","e1l"],
              ["e2r","e2l"],
              ["e3r","e3l"],
              ["e4r","e4l"],
              ["e1r","e2r"],
              ["e1l","e2l"],
              ["e3r","e4r"],
              ["e3l","e4l"],
              ["e1r","e3r"],
              ["e1l","e3l"],
              ["e2r","e4r"],
              ["e2l","e4l"],
              ["e2r","e3r"],
              ["e2l","e3l"],
              ["e2r","e3l"],
              ["e2l","e3r"],
              ["e1r","e4r"],
              ["e1l","e4l"],
              ["e1r","e4l"],
              ["e1l","e4r"],
              ["e1r","e2l"],
              ["e1l","e2r"],
              ["e3r","e4l"],
              ["e3l","e4r"],
              ["e1r","e3l"],
              ["e1l","e3r"],
              ["e2r","e4l"],
              ["e2l","e4r"],
              ["tc1","e3l"],
              ["tc1","e3r"],
              ["tc1","e4l"],
              ["tc1","e4r"],
              ["tc1","e1l"],
              ["tc1","e1r"],
              {"disableMeshBreaking":true},
              {"beamDeform":90000,"beamStrength":90000}
              ["tc1","e2l"{"name":"driveshaft"}],
              ["tc1","e2r"{"name":"driveshaft"}],
              {"disableMeshBreaking":false},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    },
     
  2. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    What does the console say?
     
  3. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    It doesn't indicate any errors pertaining to the engine. Those that do exist are because I've deleted some meshes.
    help3.png
     
  4. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    Here is your problem:


    For whatever reasons, your configuration does not have a proper controller added. It's only using the default "dummy" controller which matches what you see on screen (tacho like with props, pedals still somewhat work input wise).
    Take a look how the official vehicles define their mainController ("vehicleController"), usually in the main jbeam of the car. (Do not confuse the declaration with the configuration of the vehicleController you added)
     
  5. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    Thank you! Worked perfectly :)
     
    • Like Like 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