1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

Unsolved Engine stuck at 0 RPM

Discussion in 'Mod Support' started by WinnebagoMan, Jun 21, 2017.

  1. WinnebagoMan

    WinnebagoMan
    Expand Collapse

    Joined:
    Oct 6, 2015
    Messages:
    105
    Basically I've been trying to make Ashtonneale23's Grand Marshal I6 mod work with Ar162b's Grand Marshal wagon / limo mod. The issue I'm having is no matter what I edit the engine stays at 0 RPM and won't run. I've worked through the file making sure all the parts it references are the same as the one the wagon mod references, but no luck. For anyone who wants to try and redact this, the engine jbeam and a download of it are below.

    Code:
    {
    "fullsize_engine_i6": {
        "information":{
            "authors":"BeamNG",
            "name":"4.1L I6 Engine",
            "value":900,
        },
        "slotType" : "fullsize_engine",
        "slots": [
            ["type", "default", "description"]
            ["fullsize_exhaust","fullsize_exhaust", "Gavril Grand Marshal Exhaust"],
            ["fullsize_transmission","fullsize_transmission_4A_6cyl", "Gavril Grand Marshal I6 Transmission"],
            ["fullsize_enginetuning","", "Gavril Grand Marshal Engine Tuning"],
        ],
        "powertrain" : [
            ["type", "name", "inputName", "inputIndex"],
            ["combustionEngine", "mainEngine", "dummy", 0],
        ],
        "mainEngine": {
            "torque":[
                ["rpm", "torque"]
                [0, 0],
                [500, 200],
                [1000, 285],
                [1750, 310],
                [2000, 309],
                [3000, 305],
                [4000, 304],
                [5000, 264],
                [6000, 160],
                [7000, 85],
                [8000, 45],
            ],
    
            //engine performance
            "idleRPM":800,
            "maxRPM":5400,
            "inertia":0.24,
            "friction":17,
            "dynamicFriction":0.025,
            "burnEfficiency":0.33,
            "torqueReactionNodes:":["e1l","e2l","e4r"],
            "particulates":0.065,
            "fuelCapacity":0.01,
            "energyStorage": "mainTank",
            "requiredEnergyType":"gasoline",
    
            //cooling and oil system
            "thermalsEnabled":true,
            "engineBlockMaterial":"iron",
            "oilVolume":6,
    
            //engine durability
            "cylinderWallTemperatureDamageThreshold":150,
            "headGasketDamageThreshold":1500000,
            "pistonRingDamageThreshold":1500000,
            "connectingRodDamageThreshold":1500000,
    
            //node beam interface
            "waterDamage": {"[engineGroup]:":["engine_intake"]},
            "radiator": {"[engineGroup]:":["radiator"]},
            "engineBlock": {"[engineGroup]:":["engine_block"]},
            "breakTriggerBeam":"engine",
        },
        "vehicleController": {
            "clutchLaunchStartRPM":1600,
            "clutchLaunchTargetRPM":2200,
            //**highShiftDown can be overwritten by automatic transmissions**
            "highShiftDownRPM":[0,0,0,2600,2850,3050,3150,3150]
            //**highShiftUp can be overwritten by intake modifications**
            "highShiftUpRPM":5300
        },
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["fullsize_engine_i6", ["fullsize_engine"]],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":false}
             {"collision":true}
             //--4.1L I6 Engine-
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"nodeWeight":23},
             {"group":"fullsize_engine"},
             {"engineGroup":"engine_block"}
             ["e1r", -0.13, -1.15, 0.32,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.2}],
             ["e1l", 0.13, -1.15, 0.32],
             ["e2r", -0.32, -1.69, 0.32,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.2}],
             ["e2l", 0.32, -1.69, 0.32],
             {"engineGroup":["engine_block","engine_intake"]}
             ["e3r", -0.32, -1.15, 0.7,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.2}],
             ["e3l", 0.32, -1.15, 0.7],
             ["e4r", -0.32, -1.69, 0.7,{"isExhaust":true,"chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.2}],
             ["e4l", 0.32, -1.69, 0.7],
             {"engineGroup":""}
             {"group":""},
        ],
        "beams": [
              ["id1:", "id2:"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              //--ENGINE CUBE--
              {"beamSpring":12600840,"beamDamp":390},
              {"beamDeform":142500,"beamStrength":"FLT_MAX"},
              ["e1r","e1l"],
              ["e1r","e2r"],
              ["e1r","e2l"],
              ["e1r","e3r"],
              ["e1r","e3l"],
              ["e1r","e4r"{"isExhaust":true}],
              ["e1r","e4l"],
              ["e1l","e2r"],
              ["e1l","e2l"],
              ["e1l","e3r"],
              ["e1l","e3l"],
              ["e1l","e4r"],
              ["e1l","e4l"],
              ["e2r","e2l"],
              ["e2r","e3r"],
              ["e2r","e3l"],
              ["e2r","e4r"],
              ["e2r","e4l"],
              ["e2l","e3r"],
              ["e2l","e3l"],
              ["e2l","e4r"],
              ["e2l","e4l"],
              ["e3r","e3l"],
              ["e3r","e4r"],
              ["e3r","e4l"],
              ["e3l","e4r"],
              ["e3l","e4l"],
              ["e4r","e4l"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    }
    "fullsize_enginetuning_stock": {
        "information":{
            "authors":"BeamNG",
            "name":"Gavril Grand Marshal Stock Engine Tuning",
        }
        "slotType" : "fullsize_enginetuning",
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["fullsize_intake_stock", ["fullsize_engine"]],
        ],
    }
    "fullsize_exhaust": {
        "information":{
            "authors":"BeamNG",
            "name":"Gavril Grand Marshal Exhaust",
        }
    }
    }
    "fullsize_transmission_4A_6cyl": {
        "information":{
            "authors":"BeamNG",
            "name":"Gavril Grand Marshal I6 4-Speed Automatic Transmission",
        }
        "engine":{
            "transmissionType":"automatic",
            "lowShiftDownRPM":1500,
            "lowShiftUpRPM":2700,
            "highShiftDownRPM":2500,
            "highShiftUpRPM":4800,
            // -1, 0 (neutral), 1, etc
            "gears":[-3.4, 0, 3.32, 2.12, 1.24, 0.74]
            "clutchDuration":0.3
            "viscousCoupling":6
            "lockingTorqueLimit":500
            "enableLocking":true
        },
        "slotType" : "fullsize_transmission",
         "scalenodeWeight":0.95,
         "scalebeamSpring":0.75,
         "scalebeamDamp":0.73,
         "scalebeamDeform":0.36,
         "scalebeamStrength":0.65,
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["fullsize_transmission", ["fullsize_engine","fullsize_transmission"]],
           
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             //--4 Speed Auto--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"selfCollision":true},
             {"collision":true}
             {"group":"fullsize_transmission"},
             {"nodeWeight":35},
             ["tra1", 0.0, -0.60, 0.43],
             {"group":""},
        ],
        "props": [
            ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]  
            ["gear_A"      , "fullsize_needle_gear"  , "f7r", "f7l", "f8r", {"x":5, "y":0, "z":0} , {"x":0, "y":0, "z":0}      , {"x":-0.07, "y":0, "z":0}, 0, 1, 0, 1],
            //automatic transmission
            ["gear_A"      , "fullsize_shifter_A"    , "f7r", "f7l", "f8r", {"x":17.5, "y":0, "z":0} , {"x":0, "y":0, "z":-25}    , {"x":0, "y":0, "z":0}, 0, 1, 0, 1],
         ],
        "beams": [
              ["id1:", "id2:"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              //--TRANSMISSION CONE--
              {"beamSpring":14001000,"beamDamp":250},
              {"beamDeform":2200000,"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:"],
               
               
        ],
    }
    }
    
     

    Attached Files:

  2. Cheekqo

    Cheekqo
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2016
    Messages:
    1,526
    Does it show any fuel in the engine? or does the tachometer show nothing?
     
  3. WinnebagoMan

    WinnebagoMan
    Expand Collapse

    Joined:
    Oct 6, 2015
    Messages:
    105
    The engine shows as having full fuel since the wagon mod is too old to support fuel usage, however there are no RPM markings on the tachometer.
     
  4. Cheekqo

    Cheekqo
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2016
    Messages:
    1,526
    Hmm, does the game show "Fatal Vehicle Exception"?
     
  5. WinnebagoMan

    WinnebagoMan
    Expand Collapse

    Joined:
    Oct 6, 2015
    Messages:
    105
    No, which seems odd since other engines like SgtFido's broken Oldsmobile engine that are designed to stay at 0 RPM throw that error when I use them.
     
  6. Cheekqo

    Cheekqo
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2016
    Messages:
    1,526
    Very strange, I'm thinking for an answer to this, as I'm not the best at lua nor coding.
     
  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