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.35 Bug Reporting thread
    Solutions and more information may already be available.

custom moonhawk drag trabsmision not shifting

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by bananasplit_00, Sep 28, 2015.

  1. bananasplit_00

    bananasplit_00
    Expand Collapse

    Joined:
    Feb 24, 2015
    Messages:
    32
    so heres the engine file that im edditing:



    {
    "moonhawk_engine_v8": {
    "information":{
    "authors":"BeamNG",
    "name":"Bruckell Moonhawk 378 CUI V8 Engine",
    }
    "slotType" : "moonhawk_engine",
    "scalenodeWeight":0.89,
    "scalebeamSpring":0.83,
    "scalebeamDamp":0.84,
    "scalebeamDeform":0.57,
    "scalebeamStrength":0.83,
    "slots": [
    ["type", "default", "description"]
    ["moonhawk_exhaust_R","moonhawk_exhaust_R", "Bruckell Moonhawk Right Exhaust"],
    ["moonhawk_exhaust_L","moonhawk_exhaust_L", "Bruckell Moonhawk Left Exhaust"],
    ["moonhawk_transmission","moonhawk_transmission_3A", "Bruckell Moonhawk Transmission"],
    ["moonhawk_intake_v8","moonhawk_intake_v8", "Bruckell Moonhawk V8 Intake"],
    ],
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["moonhawk_engine_v8", ["moonhawk_engine"]],
    ["moonhawk_header_v8", ["moonhawk_engine","moonhawk_exhaust_L","moonhawk_exhaust_R"]],
    ["moonhawk_radtube_v8", ["moonhawk_radiator","moonhawk_radsupport","moonhawk_engine"]],
    ],
    "props": [
    ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"]
    ["rpmspin" , "moonhawk_coolingfan_v8", "e2r","e2l","e4r", {"x":0, "y":0, "z":0}, {"x":0, "y":1, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1],
    ],
    "enginetorque":[
    ["rpm", "torque"]
    [0, 0],
    [500, 185],
    [1000, 295],
    [2000, 380],
    [2500, 410],
    [3000, 450],
    [4000, 480],
    [5000, 500],
    [6000, 520],
    [7000, 560],
    [8000, 600],
    [9000, 595],
    [10000, 580],
    ],
    "engine":{
    "idleRPM":700,
    "shiftDownRPM":2250,
    "shiftUpRPM":9250,
    "maxRPM":10000,
    "inertia":0.25,
    "friction":28
    "brakingCoefRPS":0.15
    "burnEfficiency":0.30
    "throttleSensitivity":1.5
    "torqueReactionNodes:":["e1l","e2l","e4r"]
    },
    "nodes": [
    ["id", "posX", "posY", "posZ"],
    //6.2L V8 Engine
    {"frictionCoef":0.5},
    {"nodeMaterial":"|NM_METAL"},
    {"selfCollision":true},
    {"collision":true}
    {"group":"moonhawk_engine"},
    {"nodeWeight":26},
    ["e1r", -0.13, -1.08, 0.32],
    ["e1l", 0.13, -1.08, 0.32],
    ["e2r", -0.13, -1.60, 0.32],
    ["e2l", 0.13, -1.60, 0.32],
    {"selfCollision":false},
    {"engineGroup":"moonhawk_engine_intake"}
    ["e3r", -0.32, -1.08, 0.78],
    ["e3l", 0.32, -1.08, 0.78],
    ["e4r", -0.32, -1.60, 0.78],
    ["e4l", 0.32, -1.60, 0.78],
    {"engineGroup":""}
    {"group":""},
    ],

    "beams": [
    ["id1:", "id2:"],
    {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    {"beamSpring":11001000,"beamDamp":200},
    {"beamDeform":900000,"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"],

    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
    ["id1:","id2:","id3:"],


    ],
    }
    -snip-

    "moonhawk_supercharger_stage2": {
    "information":{
    "authors":"BeamNG",
    "name":"Bruckell Moonhawk Stage 2 Supercharger",
    }
    "slotType" : "moonhawk_intake_v8",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["moonhawk_supercharger_stage2", ["moonhawk_engine"]],
    ],
    "enginetorque":[
    ["rpm", "torque"]
    [0, 0],
    [500, 885],
    [1000, 1205],
    [2000, 1455],
    [3000, 1565],
    [4000, 1775],
    [5000, 1850],
    [6000, 1910],
    [7000, 2010],
    [8000, 2210],
    [9000, 2180],
    [10000, 2165],
    ],
    "engine":{
    "idleRPM":750,
    "shiftDownRPM":2200,
    "shiftUpRPM":9500,
    "maxRPM":10000,
    "inertia":0.2,
    "clutchTorque":1990
    },
    "nodes": [
    ["id", "posX", "posY", "posZ"],
    {"frictionCoef":0.5},
    {"nodeMaterial":"|NM_METAL"},
    {"selfCollision":true},
    {"collision":true}
    {"nodeWeight":6},
    ["sch1r",-0.18, -1.57, 1.12],
    ["sch1l", 0.18, -1.57, 1.12],
    ["sch2r",-0.18, -1.13, 1.12],
    ["sch2l", 0.18, -1.13, 1.12],
    {"group":""},
    ],
    "props": [
    ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"]
    ["throttle" ,"moonhawk_supercharger_throttle", "sch1r","sch1l","sch2r", {"x":90, "y":0, "z":0} , {"x":-90, "y":0, "z":0} , {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
    ],
    "beams": [
    ["id1:", "id2:"],
    {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    {"beamSpring":2001000,"beamDamp":200},
    {"beamDeform":130000,"beamStrength":"FLT_MAX"},
    //supercharger
    ["sch1r","sch1l"],
    ["sch2r","sch2l"],
    ["sch1r","sch2r"],
    ["sch1l","sch2l"],
    ["sch2r","sch1l"],
    ["sch2l","sch1r"],

    {"beamDeform":90000,"beamStrength":"FLT_MAX"},
    //attach to engine
    ["sch1r","e3r"],
    ["sch1r","e3l"],
    ["sch1r","e4r"],
    ["sch1r","e4l"],
    ["sch1l","e3r"],
    ["sch1l","e3l"],
    ["sch1l","e4r"],
    ["sch1l","e4l"],
    ["sch2r","e3r"],
    ["sch2r","e3l"],
    ["sch2r","e4r"],
    ["sch2r","e4l"],
    ["sch2l","e3r"],
    ["sch2l","e3l"],
    ["sch2l","e4r"],
    ["sch2l","e4l"],

    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
    ["id1:","id2:","id3:"],
    {"group":"moonhawk_supercharger"},
    ["sch1r","sch1l","sch2l"],
    ["sch1r","sch2l","sch2r"],
    {"group":""},
    ],
    }
    -snip-


    "moonhawk_transmission_4M": {
    "information":{
    "authors":"BeamNG",
    "name":"Bruckell Moonhawk 4-Speed Manual Transmission",
    }
    "engine":{
    "transmissionType":"manual",
    // -1, 0 (neutral), 1, etc
    "gears":[-2.73, 0, 2.73, 2.01, 1.56, 1.0]
    "clutchDuration":0.3
    "clutchTorque":400
    },
    "slots": [
    ["type", "default", "description"]
    ["moonhawk_driveshaft","moonhawk_driveshaft", "Bruckell Moonhawk Driveshaft"],
    ],
    "slotType" : "moonhawk_transmission",
    "scalenodeWeight":0.89,
    "scalebeamSpring":0.83,
    "scalebeamDamp":0.84,
    "scalebeamDeform":0.57,
    "scalebeamStrength":0.83,
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["moonhawk_transmission", ["moonhawk_engine","moonhawk_transmission"]],
    //interior
    ["moonhawk_centergauge_M", ["moonhawk_body"]],
    ],
    "props": [
    ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"]
    ["gear_M" , "moonhawk_needle_gear_M" , "b2r","b2l","b3r", {"x":95, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0.0, "y":0.001, "z":0.01}, -1, 4, 0, 1],
    //manual transmission
    ["gear_M" , "moonhawk_shifter_M" , "b2r","b2l","b3r", {"x":90, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 1, 0, 1],
    //clutch
    ["clutch" ,"moonhawk_clutchpedal", "b2r","b2l","b3r", {"x":105, "y":0, "z":0} , {"x":-22, "y":0, "z":0} , {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
    ],
    "nodes": [
    ["id", "posX", "posY", "posZ"],
    //--4 Speed Manual--
    {"frictionCoef":0.5},
    {"nodeMaterial":"|NM_METAL"},
    {"selfCollision":true},
    {"collision":true}
    {"group":"moonhawk_transmission"},
    {"nodeWeight":35},
    ["tra1", 0.0, -0.38, 0.32],
    {"group":""},
    ],
    "beams": [
    ["id1:", "id2:"],
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    //--TRANSMISSION CONE--
    {"beamSpring":11001000,"beamDamp":200},
    {"beamDeform":900000,"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:"],
    ],
    }
    "moonhawk_transmission_6A_drag": {
    "information":{
    "authors":"BeamNG",
    "name":"Bruckell Moonhawk 6-Speed Automatic Drag Transmission",
    }
    "engine":{
    "transmissionType":"automatic",
    "highShiftDownRPM":2800,
    "highShiftUpRPM":9500,
    // -1, 0 (neutral), 1, etc
    "gears":[-2.64, 0, 2.56, 1.89, 1.24, 0.82, 0.5, 0.2]
    "clutchDuration":0.3
    "viscousCoupling":12
    "lockingTorqueLimit":400
    "enableLocking":true
    },
    "slots": [
    ["type", "default", "description"]
    ["moonhawk_driveshaft","moonhawk_driveshaft", "Bruckell Moonhawk Driveshaft"],
    ],
    "slotType" : "moonhawk_transmission",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["moonhawk_transmission", ["moonhawk_engine","moonhawk_transmission"]],
    //interior
    ["moonhawk_centergauge_A", ["moonhawk_body"]],
    ],
    "props": [
    ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"]
    ["gear_A" , "moonhawk_needle_gear_A" , "b2r","b2l","b3r", {"x":95, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0.0, "y":0.005, "z":0.05}, 0, 1, 0, 1],
    //automatic transmission
    ["gear_A" , "moonhawk_shifter_A" , "b2r","b2l","b3r", {"x":90, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0.2, "z":0}, 0, 1, 0, 1],
    ],
    "nodes": [
    ["id", "posX", "posY", "posZ"],
    //--4 Speed Automatic--
    {"frictionCoef":0.5},
    {"nodeMaterial":"|NM_METAL"},
    {"selfCollision":true},
    {"collision":true}
    {"group":"moonhawk_transmission"},
    {"nodeWeight":45},
    ["tra1", 0.0, -0.38, 0.32],
    {"group":""},
    ],
    "beams": [
    ["id1:", "id2:"],
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    //--TRANSMISSION CONE--
    {"beamSpring":11001000,"beamDamp":200},
    {"beamDeform":900000,"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:"],
    ],
    }
    "moonhawk_transmission_3A": {
    "information":{
    "authors":"BeamNG",
    "name":"Bruckell Moonhawk 3-Speed Automatic Transmission",
    }
    "engine":{
    "transmissionType":"automatic",
    "lowShiftDownRPM":1200,
    "lowShiftUpRPM":1800,
    "highShiftDownRPM":1900,
    "highShiftUpRPM":4200,
    // -1, 0 (neutral), 1, etc
    "gears":[-1.98, 0, 2.54, 1.53, 1.00]
    "clutchDuration":0.3
    "viscousCoupling":7
    "lockingTorqueLimit":400
    "enableLocking":true
    },
    "slots": [
    ["type", "default", "description"]
    ["moonhawk_driveshaft","moonhawk_driveshaft", "Bruckell Moonhawk Driveshaft"],
    ],
    "slotType" : "moonhawk_transmission",
    "scalenodeWeight":0.89,
    "scalebeamSpring":0.83,
    "scalebeamDamp":0.84,
    "scalebeamDeform":0.57,
    "scalebeamStrength":0.83,
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["moonhawk_transmission", ["moonhawk_engine","moonhawk_transmission"]],

    //interior
    ["moonhawk_centergauge_A", ["moonhawk_body"]],
    ],
    "props": [
    ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"]
    ["gear_A" , "moonhawk_needle_gear_A" , "b2r","b2l","b3r", {"x":95, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0.0, "y":0.005, "z":0.05}, 0, 1, 0, 1],
    //automatic transmission
    ["gear_A" , "moonhawk_shifter_A" , "b2r","b2l","b3r", {"x":90, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0.2, "z":0}, 0, 1, 0, 1],
    ],
    "nodes": [
    ["id", "posX", "posY", "posZ"],
    //--3 Speed Automatic--
    {"frictionCoef":0.5},
    {"nodeMaterial":"|NM_METAL"},
    {"selfCollision":true},
    {"collision":true}
    {"group":"moonhawk_transmission"},
    {"nodeWeight":35},
    ["tra1", 0.0, -0.38, 0.32],
    {"group":""},
    ],
    "beams": [
    ["id1:", "id2:"],
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    //--TRANSMISSION CONE--
    {"beamSpring":11001000,"beamDamp":200},
    {"beamDeform":900000,"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:"],
    ],
    }
    }



    and the moonhawk sets of really quickly then just dosent seem to shift. it just stays at redline and doing nothing, i can force it into second if im using "real automatic" and you can notice that it keeps going for a litle bit and then just keeps gong 250kmph and staying at redline :/ not sure what to do because i have done similar stuff and it has worked but that was a while ago so what am i missing/doing wrong? anyone know? id really like this to work because its silly, like really silly, it does a 5M wheely if you clutch drop it XD and thats all i want this to be, might add some really grippy front tires too
     
  2. JackAttak

    JackAttak
    Expand Collapse

    Joined:
    Sep 12, 2013
    Messages:
    567
    From your description, it sounds like the clutch is slipping. Increase the clutchtorque and see if that works.
     
  3. bananasplit_00

    bananasplit_00
    Expand Collapse

    Joined:
    Feb 24, 2015
    Messages:
    32
    worked perfectly, i just incresed the clutchtorque to 5000 and it worked, not sure why you would want it at a low number but whatever thanks

    *edit*

    LOL now i have a new problem, the front wheals are not happy with 400kmph XD
     
  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