Supercharger doesn't affect shift up RPM

Discussion in 'Programming' started by BombBoy4, Nov 11, 2017.

  1. BombBoy4

    BombBoy4
    Expand Collapse

    Joined:
    May 16, 2015
    Messages:
    1,601
    I've been designing some superchargers for the Hopper, but I can't get it to shift up at 6700 RPM. It instead shifts at the original RPM of 5200. There must be a mistake in the code, but I can't find it. Here's the code:
    Code:
     
    "supercharger": {
            "gearRatio":1.35,
            "clutchEngageRPM":0,
            "clutchDisengageRPM":4950,
            "pressureRatePSI":500,
            "pressurePSIPer1kRPM":2.65,
            "crankLossPer1kRPM":0.04,
            "type":"roots",
            "boostController":[
                //throttle in %, factor
                [0,     0.2],
                [50,     0.71],
                [100,     1],
            ],
        },
        "mainEngine":{
            "maxRPM":7000,
            "burnEfficiency":0.31
            //supercharger name
            "supercharger":"supercharger",
        },
        "vehicleController": {
            "highShiftUpRPM":6700
            "revMatchThrottle":0.25
        },
    Also, when I add the "lobes" function (copied from the Barstow SC), the Hopper gets a fatal vehicle error.
    Thanks!
     
  2. BombBoy4

    BombBoy4
    Expand Collapse

    Joined:
    May 16, 2015
    Messages:
    1,601
    *slight bump*
     
  3. Neo

    Neo
    Expand Collapse

    Joined:
    Oct 31, 2015
    Messages:
    260
  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