Issues with Boosted Cars from Automation Converter

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by MudgettGM, Jul 14, 2018 at 3:12 AM.

  1. MudgettGM

    MudgettGM
    Expand Collapse

    Joined:
    Jun 11, 2016
    Messages:
    4
    I'm not sure if it is a Beam NG issue or an Automation issue but for whatever reason none of my turbo cars will work. It loads the car and sound but has a "Fatal Vehicle Exception."
     
  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    2,856
    Have you checked that in Automation you don't have warnings?

    For example engine does not fit warning causes engine not to be exported, but car appears and when loading it gives fatal exception and json decode error.
     
  3. MudgettGM

    MudgettGM
    Expand Collapse

    Joined:
    Jun 11, 2016
    Messages:
    4
    It gives me a warning saying its cramped, but not that it won't fit. I just created a new car using the boxer engine with a turbo on it but it wouldn't work in Beam.
     
  4. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    2,856
    For me at least inline and V engines with turbos seems to be working:
    upload_2018-7-14_5-25-7.png
     
  5. MudgettGM

    MudgettGM
    Expand Collapse

    Joined:
    Jun 11, 2016
    Messages:
    4
    I'll try messing with my automation
     
  6. suffteen

    suffteen
    Expand Collapse

    Joined:
    Oct 30, 2016
    Messages:
    2
    Same thing with me.
    None of my cars with tubrocahrged engines are working. Any advice?
     

    Attached Files:

    • beamerror.png
    • AutomationGame-Win64-Shipping_2018_07_14_09_42_59_020.jpg
  7. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    2,856
    Exported mod is in mods folder in zip file, inside that zip file you should find folder vehicles and inside that folder your car name, in that folder you should have camso_engine.jbeam file, if you could drag and drop that file here, it might help to have better idea of what is going on.

    Example of where to find said camso_engine.jbeam:
    upload_2018-7-14_16-45-22.png
     
  8. suffteen

    suffteen
    Expand Collapse

    Joined:
    Oct 30, 2016
    Messages:
    2
    {
    "Camso_Engine": {
    "information":{
    "authors":"Camshaft Software",
    "name":"Car Engine",
    }
    "slotType" : "Camso_Engine",
    "slots": [
    ["type", "default", "description"]
    ["Camso_Turbo","Camso_Turbo","Turbocharger"],
    ["Camso_Transmission","Camso_Transmission", "Transmission"]
    ],
    "powertrain" : [
    ["type", "name", "inputName", "inputIndex"],
    ["combustionEngine", "mainEngine", "dummy", 0],
    ],

    "mainEngine": {
    "torque":[
    ["rpm", "torque"]
    [0,0],
    [700, 349.17],
    [800, 359.07],
    [900, 367.23],
    [1000, 373.94],
    [1100, 380.65],
    [1200, 387.58],
    [1300, 392.59],
    [1400, 397.20],
    [1500, 402.94],
    [1600, 406.82],
    [1700, 410.49],
    [1800, 412.54],
    [1900, 415.74],
    [2000, 420.06],
    [2100, 423.84],
    [2200, 427.51],
    [2300, 429.78],
    [2400, 430.84],
    [2500, 431.63],
    [2600, 432.21],
    [2700, 432.91],
    [2800, 434.06],
    [2900, 435.68],
    [3000, 436.57],
    [3100, 437.96],
    [3200, 439.04],
    [3300, 437.70],
    [3400, 436.78],
    [3500, 435.67],
    [3600, 433.96],
    [3700, 431.91],
    [3800, 430.25],
    [3900, 428.98],
    [4000, 426.99],
    [4100, 424.89],
    [4200, 422.68],
    [4300, 420.94],
    [4400, 419.24],
    [4500, 419.01],
    [4600, 417.80],
    [4700, 415.72],
    [4800, 414.07],
    [4900, 411.73],
    [5000, 409.24],
    [5100, 407.49],
    [5200, 404.14],
    [5300, 401.18],
    [5400, 398.07],
    [5500, 395.59],
    [5600, 392.34],

    ],
    //rev limiters have some options
    //"revLimiterType":"rpmDrop", //Default choice. waits for rpm to fall before torque comes back. Can have long delays in high gears. Uses "revLimiterRPMDrop".
    //"revLimiterType":"timeBased", //Waits for "revLimiterCutTime" time window, but also has "revLimiterMaxRPMDrop" fallback, if the rpm falls too much in the time window.
    //"revLimiterType:"soft", //Tapers the the torque off in some range of rpm defined by "revLimiterSmoothOvershootRPM"
    //"hasRevLimiter":false, //Disables rev limiter
    "revLimiterRPMDrop":100,
    //engine performance
    "idleRPM":645.56509528533,
    "maxRPM":5600, //Max RPM before overrev damage is likely
    "inertia":0.56361951642477, //(kg*m/s^2)
    "friction":17.27736338379, //Constant friction torque (Nm)
    "dynamicFriction":0.030875923284085, //Friction torque that increases with engine speed (Nm/rad/s)



    "waterDamage": {"[engineGroup]:":["engine_intake"]}, //Engine hydrolocks when nodes in this group go under water
    "radiator": {"[engineGroup]:":["radiator"]}, //Radiator steam is emitted from nodes in this group
    "engineBlock": {"[engineGroup]:":["engine_block"]}, //Engine thermal mass is taken from nodes in this group
    //"fuel": {"[engineGroup]:":["fuel"]},
    "breakTriggerBeam":"engine", //Engine breaks if beam with this name is broken

    "soundConfig": "soundConfig", //What section name to look for for engine sound information

    //cooling and oil system,
    "thermalsEnabled":false,
    "engineBlockMaterial":"aluminum", //"aluminum", "aluminium", "iron"
    "oilVolume":4, //Litres

    //engine durability
    "cylinderWallTemperatureDamageThreshold":150, //Cylinder temp (C) over which damage starts to occur to rings
    "headGasketDamageThreshold":1500000, //Durability of headgasket
    "pistonRingDamageThreshold":1500000, //Durability of headgasket
    "connectingRodDamageThreshold":2000000, //Durability of connecting rods

    "energyStorage": "mainTank", //Name of the fuel tank
    "requiredEnergyType":"gasoline", //Type of fuel required
    "burnEfficiency": [ //How much fuel energy is converted to work in the cylinders (does not account for engine friction losses)
    [0.00, 0.19],
    [0.05, 0.40],
    [0.40, 0.52],
    [0.70, 0.64],
    [1.00, 0.44],
    ,
    ],
    "torqueReactionNodes":["Engine1", "Engine2", "Engine3"]
    },
    "vehicleController": {
    //https://wiki.beamng.com/VehicleController
    //I will put commonly used values below

    //universally useful values
    "calculateOptimalLoadShiftPoints":true, //The high shift points ones can be auto calculated
    //"shiftDownRPMOffsetCoef":1.3, //Can spread the downshift points for auto calculation if it tends to hunt too much (choose lower number to spread more)

    "lowShiftDownRPM":2145.5650952853,
    "highShiftDownRPM":3920,
    "lowShiftUpRPM":2645.5650952853,
    "highShiftUpRPM":5500,

    "topSpeedLimit":75.992707547919, //Speed limiter in m/s

    //may want to increase values below for ultra high powered cars. On our drag cars they are set to 99999 to effectively disable
    //"wheelSlipUpThreshold":7000, //A wheelspin threshold to stop arcade/auto gearbox from upshifting while spinning the tires or drifting
    //"wheelSlipDownThreshold":10000, //A wheelspin threshold to stop arcade/auto gearbox from downshifting when locking the brakes
    },

    "soundConfig": {
    "sampleName": "E16EE30E4B7584F248D1EF86BD2CB51B",
    "mainGain": 7.5,
    "maxLoadMix": 1,
    "minLoadMix": 0,
    "onLoadGain":1,
    "offLoadGain":1,
    "eqLowGain": 0,
    "eqLowFreq": 400,
    "eqLowWidth": 0,
    "eqHighGain": 0,
    "eqHighFreq": 6000,
    "eqHighWidth": 0.5,
    "lowCutFreq":80,
    //"fundamentalFrequencyCylinderCount":4,
    "eqFundamentalGain": 0,
    },
    },

    "Camso_Transmission": {
    "information":{
    "authors":"Camshaft Software",
    "name":"Transmission",
    }
    "slotType" : "Camso_Transmission",
    "slots": [
    ["type", "default", "description"]

    ],

    "gearbox": {
    //https://wiki.beamng.com/ManualGearbox
    //"gearDamageThreshold":3000, //Multiplier for tolerance to smashing gears (no clutch + mismatched rpm)
    "gearRatios":[-4.46, 0, 4.25, 2.69, 1.92, 1.45, 1.14, 0.92, 0.75],
    "friction": 0, //Constant friction torque on input shaft
    "gearboxNode:":["Engine0"], //node used to play gear damage sound
    },
    "clutch": {
    //"thermalsEnabled":true
    //"clutchMass":10, //Thermal mass representing clutch disc and PP/Clutch surfaces
    //"coolingCoef":1, //Multiplier to tweak how fast it cools
    //"warningTemp":200, //Temp for UI warning
    //"maxSafeClutchTemp":300, //Temp after which torque limit decreases (but may recover if left to cool)
    //"clutchOverheatRange":100, //Additional temp before clutch is pretty wrecked and won't recover much
    //"maxClutchTemp":500, //Clutch will never recover at all if it hits this temp
    },


    "vehicleController":
    {
    //manual transmission useful values
    "clutchLaunchStartRPM":1145.5650952853, //RPM where launching behavior starts
    "clutchLaunchTargetRPM":1645.5650952853, //RPM it tries to maintain while launching
    "transmissionShiftDelay":0.15, //Time taken in between clutching actions
    "revMatchThrottle":0.4088578543953, //Controls shift rev matching assist. Reduce this value to as much as 0.25 for high powered engines
    "clutchInRate":20, //Controls shift assist clutching speed (value of 5 will be take 1/5 seconds to complete)
    "clutchOutRate":20, //Controls shift assist clutching speed (value of 5 will be take 1/5 seconds to complete)
    },


    "powertrain" : [
    ["type", "name", "inputName", "inputIndex"],
    ["frictionClutch", "clutch", "mainEngine", 1],
    ["sequentialGearbox", "gearbox", "clutch", 1],


    ["differential", "centreDiff", "gearbox", 1, {"diffType": ["open","locked"] , "gearRatio":1.00, "diffTorqueSplit":0.50}],
    //https://wiki.beamng.com/Differential
    //needed values to tune diff behavior
    //locked specific - nothing needed, auto calc now

    //lsd specific
    //"lsdPreload":50, //Nm of preload torque. Clutch diffs 50-250, Torsen around 0
    //lsdLockCoef:0.2, //On throttle locking ramp. O.1-0.2 for clutch type, 0.3-0.4 is more like torsen
    //lsdRevLockCoef:0.2, //=lsdLockCoef by default. O.1-0.2 for clutch type, 0.3-0.4 is more like torsen

    //viscous specific
    //"viscousCoef":5, //Viscous locking stiffness in (Nm/rad/s)
    //"viscousTorque":5, //=viscousCoef * 10 by default. Max torque it can transmit from side to side

    ["shaft", "frontDriveShaft", "centreDiff", 1 ],
    ["differential", "frontDiff", "frontDriveShaft", 1, {"diffType": ["open","locked"] , "gearRatio":2.69, "diffTorqueSplit":0.50}],
    //https://wiki.beamng.com/Differential
    //needed values to tune diff behavior
    //locked specific - nothing needed, auto calc now

    //lsd specific
    //"lsdPreload":50, //Nm of preload torque. Clutch diffs 50-250, Torsen around 0
    //lsdLockCoef:0.2, //On throttle locking ramp. O.1-0.2 for clutch type, 0.3-0.4 is more like torsen
    //lsdRevLockCoef:0.2, //=lsdLockCoef by default. O.1-0.2 for clutch type, 0.3-0.4 is more like torsen

    //viscous specific
    //"viscousCoef":5, //Viscous locking stiffness in (Nm/rad/s)
    //"viscousTorque":5, //=viscousCoef * 10 by default. Max torque it can transmit from side to side

    ["shaft", "rearDriveShaft", "centreDiff", 2 ],
    ["differential", "rearDiff", "rearDriveShaft", 1, {"diffType": ["open","locked"] , "gearRatio":2.69, "diffTorqueSplit":0.50}],
    //https://wiki.beamng.com/Differential
    //needed values to tune diff behavior
    //locked specific - nothing needed, auto calc now

    //lsd specific
    //"lsdPreload":50, //Nm of preload torque. Clutch diffs 50-250, Torsen around 0
    //lsdLockCoef:0.2, //On throttle locking ramp. O.1-0.2 for clutch type, 0.3-0.4 is more like torsen
    //lsdRevLockCoef:0.2, //=lsdLockCoef by default. O.1-0.2 for clutch type, 0.3-0.4 is more like torsen

    //viscous specific
    //"viscousCoef":5, //Viscous locking stiffness in (Nm/rad/s)
    //"viscousTorque":5, //=viscousCoef * 10 by default. Max torque it can transmit from side to side

    ["shaft", "wheelaxleFL", "frontDiff", 1, {"connectedWheel":"FL", "friction":0}],
    ["shaft", "wheelaxleFR", "frontDiff", 2, {"connectedWheel":"FR", "friction":0}],
    ["shaft", "wheelaxleRL", "rearDiff", 1, {"connectedWheel":"RL", "friction":0}],
    ["shaft", "wheelaxleRR", "rearDiff", 2, {"connectedWheel":"RR", "friction":0}],

    ],
    },

    "Camso_Turbo": {
    "information":{
    "name":"Turbocharger",
    "value":2000,
    },
    "slotType": "Camso_Turbo",
    "turbocharger": {
    //"flutterSoundFileName":"event:>Vehicle>Forced_Induction>turbo_03_bov"
    //"hissLoopEvent":"event:>Vehicle>Forced_Induction>turbo_05_hiss"
    //"whineLoopEvent":"event:>Vehicle>Forced_Induction>turbo_05_spin"
    "wastegateStart":10.4139, //Wastegate starts to open at this PSI
    "wastegateLimit":11.571, //Wastegate is fully open at this PSI
    "maxExhaustPower": 20000, //Exhaust energy multiplier
    "backPressureCoef": 0.0001, //Backpressure force slows turbo down from high spindle RPMs
    "pressureRatePSI": 30, //Rate that intake pressure can change (slows pressure spikes)
    "frictionCoef": 19.995726272744, //Turbo spindle friction coefficient
    "inertia":9.9978631363721, //Turbo rotating assembly inertia
    //"volumePer10kRPM":0.06
    //"bovSoundVolumeCoef": 1,
    //"bovSoundPitchCoef": 1,
    "damageThresholdTemperature": 610, //If turbo overheats beyond this temp (C) it can take damage
    //Maximum pressure vs spindle RPM curve of turbo
    "pressurePSI":[
    //turbineRPM, pressure(PSI)
    [0, -3.500000],
    [25000, 0.267750],
    [50000, 4.035500],
    [75000, 7.803250],
    [100000, 11.571000],
    [125000, 15.338750],
    [150000, 17.356500],
    [175000, 17.356500],
    [200000, 17.356500],
    [225000, 17.356500],
    [250000, 17.356500],

    ],
    //Engine RPM, Relative power increase per PSI, Effectiveness at spooling turbo
    "engineDef":[
    //engineRPM, efficiency, exhaustFactor
    [500, 0.000000, 0.000000],
    [600, 0.000000, 0.000000],
    [700, 0.000000, 0.000000],
    [800, 0.000000, 0.000000],
    [900, 0.000000, 0.000000],
    [1000, 0.000000, 0.000000],
    [1100, 0.000000, 0.000000],
    [1200, 0.000000, 0.000000],
    [1300, 0.000000, 0.000000],
    [1400, 0.000000, 0.000000],
    [1500, 0.000000, 0.000000],
    [1600, 0.000000, 0.000000],
    [1700, 0.000000, 0.000000],
    [1800, 0.000000, 0.000000],
    [1900, 0.000000, 0.000000],
    [2000, 0.000000, 0.000000],
    [2100, 0.000000, 0.000000],
    [2200, 0.000000, 0.000000],
    [2300, 0.000000, 0.000000],
    [2400, 0.000063, 0.000078],
    [2500, 0.005819, 0.007255],
    [2600, 0.012561, 0.015658],
    [2700, 0.020428, 0.025461],
    [2800, 0.029489, 0.036752],
    [2900, 0.039921, 0.049745],
    [3000, 0.051916, 0.064686],
    [3100, 0.065588, 0.081709],
    [3200, 0.081216, 0.101166],
    [3300, 0.099030, 0.123338],
    [3400, 0.119213, 0.148454],
    [3500, 0.142043, 0.176857],
    [3600, 0.168062, 0.209222],
    [3700, 0.197963, 0.246407],
    [3800, 0.232227, 0.289004],
    [3900, 0.271716, 0.338083],
    [4000, 0.317557, 0.395041],
    [4100, 0.371567, 0.462127],
    [4200, 0.435978, 0.542103],
    [4300, 0.504588, 0.627235],
    [4400, 0.572305, 0.711176],
    [4500, 0.638784, 0.793482],
    [4600, 0.704632, 0.874948],
    [4700, 0.769474, 0.955116],
    [4800, 0.800000, 0.992630],
    [4900, 0.800000, 0.992266],
    [5000, 0.800000, 0.992028],
    [5100, 0.800000, 0.991886],
    [5200, 0.800000, 0.991790],
    [5300, 0.800000, 0.991686],
    [5400, 0.800000, 0.991590],
    [5500, 0.800000, 0.991590]
    [5600, 0.800000, 0.991590]

    ],
    },
    "mainEngine": {
    //turbocharger name
    "turbocharger":"turbocharger", //Just tells the engine to look for the turbocharger section of this name
    },
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ],
    "nodes": [

    ],
    },



    "Camso_FuelTank": {
    "information":{
    "name":"Fuel Tank",
    "value":250,
    },
    "slotType" : "Camso_FuelTank",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ],
    "variables": [
    ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
    ["$fuel", "range", "L", "Engine", 45, 0, 60, "Fuel Volume", "Initial Fuel Volume", {"stepDis":0.5}]
    ],
    "energyStorage": [
    ["type", "name"],
    ["fuelTank", "mainTank"],
    ],
    "mainTank": {
    "energyType":"gasoline", //Type of fuel (must match engine for engine to run)
    "fuelCapacity": 60, //Litres
    "startingFuelCapacity": "$fuel", //Litres
    "fuel": {"[engineGroup]:":["fuel"]}, //Adds fuel mass to nodes in this engineGroup
    "breakTriggerBeam": "fuelTank", //Fuel tank drains if beam with this name is broken
    }
    "nodes": [
    //add nodes here in an engineGroup called "fuel" as indicated above. The physics will add fuel mass to these nodes

    ],
    "beams": [
    //breakTriggerBeam here can cause fuel tank to rupture in crash (drains the fuel slowly)
    ],
    },
    }
     

    Attached Files:

  9. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    2,856
    Nothing wrong that I could quickly spot.

    Have you tested by making only one change, taking turbo out and then exporting to game, will it work then?

    Sometimes errors can come from other part completely, but if you change engine to be Naturally Aspired and then export and test, that should reveal if it is because of turbo engine or if there is something else that is upsetting exporter.
     
  10. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    1,900
    It is said that some Covet engine mod pack breaks all turbo cars, could it be at fault?
     
    • Informative Informative x 3
  11. NotGoodWithNames

    NotGoodWithNames
    Expand Collapse

    Joined:
    Jun 27, 2015
    Messages:
    2
    removing covet mod fixed it for me!
     
    • Informative Informative x 4
  12. Serpreme

    Serpreme
    Expand Collapse

    Joined:
    Jun 3, 2015
    Messages:
    67
    Which Covet mod was it?
     
  13. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    2,856
    More engines was mentioned elsewhere.
     
  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