Solved Pessima Engine Mod Not Working

Discussion in 'Mod Support' started by Void Frost, Mar 31, 2020.

  1. Void Frost

    Void Frost
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    2
    Hello!
    I've taken the stock engine of a Ibishu Pessima and changed the torque values. However, BeamNG won't load the engine mod, and doesn't throw any errors. The engine is simply not there.

    Code:
    "pessima_engine_modded": {
        "information":{
            "authors":"Void Frost",
            "name":"Engine Mod",
            "value":1500,
        },
        "slotType" : "pessima_engine",
        "slots": [
            ["type", "default", "description"],
            ["pessima_intake","pessima_intake", "Intake", {"coreSlot":true}],
            ["pessima_exhaust","pessima_exhaust", "Exhaust"],
            ["pessima_engine_ecu","pessima_engine_ecu", "Engine Management", {"coreSlot":true}],
            ["n2o_system","", "Nitrous Oxide System"],
            ["pessima_engine_internals","pessima_engine_internals", "Engine Long Block", {"coreSlot":true}],
            ["pessima_transmission","pessima_transmission_5M", "Transmission"],
        ],
        "powertrain": [
            ["type", "name", "inputName", "inputIndex"],
            ["combustionEngine", "mainEngine", "dummy", 0],
        ],
         "mainEngine":{
            "torque":[
                ["rpm", "torque"],
                [0, 0],
                [500, 115],
                [1000, 128],
                [2000, 154],
                [3000, 178],
                [4000, 209],
                [4500, 225],
                [5000, 240],
                [5500, 225],
                [6000, 215],
                [7000, 200],
                [8000, 160],
                [9000, 115],
            ],
            "idleRPM":900,
            //max rpm physically capable of
            "maxRPM":7000,
            "inertia":0.08,
            "friction":14,
            "dynamicFriction":0.019,
            "engineBrakeTorque":32,
            //"burnEfficiency":0.35
            "burnEfficiency":[
                [0, 0.12],
                [0.05, 0.3],
                [0.4, 0.42],
                [0.7, 0.48],
                [1, 0.33],
            ],
            //fuel system
            "energyStorage": "mainTank",
            "requiredEnergyType":"gasoline",
    
            //exhaust
            "particulates":0.02,
            "instantAfterFireCoef": 0.5,
            "sustainedAfterFireCoef": 0.5,
    
            //cooling and oil system
            "thermalsEnabled":true,
            "engineBlockMaterial":"aluminum",
            "oilVolume":4,
    
            //engine durability
            "cylinderWallTemperatureDamageThreshold":12000,
            "headGasketDamageThreshold":1500000,
            "pistonRingDamageThreshold":1500000,
            "connectingRodDamageThreshold":2000000,
            "maxTorqueRating": 32500,
            "maxOverTorqueDamage": 25000,
    
            //node beam interface
            "torqueReactionNodes:":["e1l","e2l","e4r"],
            "waterDamage": {"[engineGroup]:":["engine_intake"]},
            "radiator": {"[engineGroup]:":["radiator"]},
            "engineBlock": {"[engineGroup]:":["engine_block"]},
            "breakTriggerBeam":"engine",
            "uiName":"Engine",
            "soundConfig": "soundConfig",
            "soundConfigExhaust": "soundConfigExhaust",
    
            //starter motor
            "starterSample":"event:>Engine>Starter>i4_1996_eng",
            "starterSampleExhaust":"event:>Engine>Starter>i4_1996_exh",
            "shutOffSampleEngine":"event:>Engine>Shutoff>i4_1996_eng",
            "shutOffSampleExhaust":"event:>Engine>Shutoff>i4_1996_exh",
            "starterVolume":0.67,
            "starterVolumeExhaust":0.8,
            "shutOffVolumeEngine":0.33,
            "shutOffVolumeExhaust":0.4,
            "starterThrottleKillTime":0.65,
            "idleRPMStartRate":2,
            "idleRPMStartCoef":1,
        },
        "soundConfig": {
            "sampleName": "I4_2_engine",
            "intakeMuffling": 0.5,
    
            "mainGain": -7,
            "onLoadGain":1,
            "offLoadGain":0.92,
    
            "maxLoadMix": 0.8,
            "minLoadMix": 0,
    
            "eqLowGain": 0,
            "eqLowFreq": 120,
            "eqLowWidth": 0.1,
    
            "eqHighGain": -6,
            "eqHighFreq": 500,
            "eqHighWidth": 0.1,
    
            "lowShelfGain":-5,
            "lowShelfFreq":80,
    
            "highShelfGain":-4,
            "highShelfFreq":2500,
    
            "fundamentalFrequencyCylinderCount":4,
            "eqFundamentalGain": -2,
        },
        "soundConfigExhaust": {
            "sampleName": "I4_2_exhaust",
    
            "mainGain": 2,
            "onLoadGain":1,
            "offLoadGain":0.92,
    
            "maxLoadMix": 1,
            "minLoadMix": 0,
    
            "eqLowGain":-5,
            "eqLowFreq": 90,
            "eqLowWidth": 0.5,
    
            "eqHighGain": 0,
            "eqHighFreq": 4000,
            "eqHighWidth": 0.1,
    
            "lowShelfGain":2,
            "lowShelfFreq":50,
    
            "highShelfGain":0,
            "highShelfFreq":2500,
    
            "fundamentalFrequencyCylinderCount":4,
            "eqFundamentalGain": -3,
        },
        "vehicleController": {
            "clutchLaunchStartRPM":1600,
            "clutchLaunchTargetRPM":2200,
            //**highShiftDown can be overwritten by automatic transmissions**
            "highShiftDownRPM":[0,0,0,2800,3300,3600,3800,3800],
            //**highShiftUp can be overwritten by intake modifications**
            "highShiftUpRPM":6300,
        },
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["pessima_engine_sohc", ["pessima_engine"]],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             //--1.8L I4 Engine--
             {"selfCollision":false},
             {"collision":true},
             {"nodeMaterial":"|NM_METAL"},
             {"frictionCoef":0.5},
             {"group":"pessima_engine"},
             {"engineGroup":"engine_block"},
             {"nodeWeight":17},
             ["e1r", 0.18, -1.62, 0.24,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.2,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.12}],
             ["e1l", 0.18, -1.38, 0.24],
             ["e2r", -0.29, -1.62, 0.24,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.2,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.12}],
             ["e2l", -0.29, -1.38, 0.24],
             {"engineGroup":["engine_block","engine_intake"]},
             ["e3r", 0.18, -1.66, 0.75,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.2,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.12}],
             ["e3l", 0.18, -1.28, 0.75],
             ["e4r", -0.29, -1.66, 0.75,{"isExhaust":"mainEngine","chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.2,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.12}],
             ["e4l", -0.29, -1.28, 0.75],
             ["tc1", 0, -1.65, 0.42],
             {"engineGroup":""},
             {"group":""},
             //engine mount node
             ["em1r", -0.38, -1.5, 0.62, {"nodeWeight":3}],
        ],
        "beams": [
              ["id1:", "id2:"],
              {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              {"beamSpring":15001000,"beamDamp":400},
              {"beamDeform":175000,"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", {"isExhaust":"mainEngine"}],
              ["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"],
    
              ["tc1","e3l"],
              ["tc1","e3r"],
              ["tc1","e4l"],
              ["tc1","e4r"],
              ["tc1","e1l"],
              ["tc1","e1r"],
              ["tc1","e2l"],
              ["tc1","e2r"],
    
              //engine mount node
              {"beamSpring":4400000,"beamDamp":150},
              {"beamDeform":90000,"beamStrength":"FLT_MAX"},
              ["em1r","e3l"],
              ["em1r","e3r"],
              ["em1r","e4l"],
              ["em1r","e4r"],
              ["em1r", "e1r"],
              ["em1r", "e1l"],
              ["em1r", "e2l"],
              ["em1r", "e2r"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    },
    --- Post updated ---
    I figured it out. There are two in-game versions of the Pessima. One is in the files under the name midsize
     
  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