How do I change RPM of a car?

Discussion in 'Content Creation' started by valet_thief, Apr 18, 2017.

  1. valet_thief

    valet_thief
    Expand Collapse

    Joined:
    Nov 4, 2016
    Messages:
    2
    Hi, this is my first thread here, i hope i'm posting in the right section.

    I want to find out how to raise the Ibishu Pigeon's RPM to like 50k or something insane like that, but couldn't find any tutorial whatsoever. Can someone help me?
     
  2. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,712
    Alright, what you are going to want to do is go into the file where the engine is kept at... I am unsure where it is on the Pigeon, but you're going to want to look for some lines that are similar to this...

    Code:
    "enginetorque":[
            ["rpm", "torque"] //Torque curve
            [0, 0],
            [500, 60],
            [1000, 73],
            [2000, 93],
            [3000, 115],
            [4000, 132],
            [4500, 134],
            [5000, 135],
            [6000, 134],
            [7000, 114],
            [7500, 90],
        ],
        "engine":{
            "idleRPM":1000, //Idling RPM
            "shiftDownRPM":3400, //Down shift, for automatic
            "shiftUpRPM":6400, //Up shift, for automatic
            "maxRPM":7500, //Max RPM for the engine, basically a redline.
            "inertia":0.08,
            "friction":16
            "brakingCoefRPS":0.15
            "burnEfficiency":0.5
            "throttleSensitivity":1.2
            
            //transmission section
            "transmissionType":"manual", //Automatic or manual, setting automatic will restrict the use of manual mode while playing.
            "lowShiftDownRPM":1400,
            "lowShiftUpRPM":3600,
            "highShiftDownRPM":3300,
            "highShiftUpRPM":6000,
            // -1, 0 (neutral), 1, etc
            "gears":[-2.9, 0, 26.5, 13.25, 8.82, 6.625] //Gear ratios
            "clutchDuration":0.25
            "viscousCoupling":3.5
            "lockingTorqueLimit":150
            "enableLocking":true
            },
    Once you find this in one of the files, you are in the right spot. Now we just need to change a few numbers... For the torque curve (lets just change the RPM's for simplicity) you would change it to something like this.

    Code:
    "enginetorque":[
            ["rpm", "torque"] //Torque curve
            [0, 0],
            [1000, 60],
            [5000, 73],
            [10000, 93],
            [20000, 115],
            [25000, 132],
            [30000, 134],
            [38000, 135],
            [42000, 134],
            [45000, 114],
            [50000, 90],
        ],
    Or something like that... not going for realism here.
    Now you will want it to shift higher up as well, so you will want to change the highShiftUpRPM and shiftUpRPM from 6000 to more like 45000. lowShiftUpRPM (if the Pidgen even has it) should be like 18000 or so... All the downshift settings would need to be raised to about 8000 or 10000, and finally, maxRPM needs to be put at 50000. This will also require you to adjust the transmission to make use of all these extra revs as well.

    Next look for something like this...

    Code:
    "powertrain": [
        ["type",             "name",              "inputName",         "inputIndex"]
        ["differential",     "myRearDiff",        "myDriveshaft",      1            {"diffType":"lsd", "gearRatio":3.55}]
    ],
    This is the new drivetrain code, so I would hope it is in an official vehicle. Change gearRatio at the end their from whatever number it was to something about 8 or 10 times bigger. This will, in effect, reduce the gearing so you can use all 50000 rpm!
     
  3. valet_thief

    valet_thief
    Expand Collapse

    Joined:
    Nov 4, 2016
    Messages:
    2
    Thank you, but I'm struggling to find where the engine file is. How should it look like, what format, and where should I look? Thanks in advance, this is my first time fiddling around in BeamNG.
     
  4. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,712
    Alright, when I get home, I will go through the folder structure unless someone beats me too it.
     
    • Agree Agree 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