1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

Adding thermal simulation to my engine mods..

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Josh, Mar 12, 2016.

  1. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    So how do we go about doing this?

    Here is the current jbeam for one of my engine mods.

    I looked over the new I6 jbeam and the only new thing I could find was for "particulates" which I added in to my file also.

    Is there any new file i'm missing?

    When I choose my engine in the selector the engine thermal debug disappears.

    Thanks

    Code:
    {
    "pickup_engine_i6_josh": {
        "information":{
            "authors":"Josh",
            "name":"8.8L I6 Engine",
            "value":900,
        },
        "slotType" : "pickup_engine",
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["pickup_engine_i6", ["pickup_engine"]],
             ["pickup_header_i6", ["pickup_engine","pickup_framecab"]],
             ["pickup_radtube_i6", ["pickup_engine","pickup_framefront", "pickup_cab", "pickup_frontmeat"]],
             ["pickup_engbay", ["pickup_cab", "pickup_firewall", "pickup_frontmeat","pickup_engine_intake"]],
        ],
        "slots": [
            ["type", "default", "description"]
            ["pickup_transmission","pickup_transmission_5M","Transmission"],
            ["pickup_exhaust_i6","pickup_exhaust_i6","I6 Exhaust"],
        ],
        "enginetorque":[
        ["rpm", "torque"]
        [500, 424.53],
        [600, 453.76],
        [700, 926.77],
        [800, 497.87],
        [900, 507.62],
        [1000, 516.2],
        [1100, 524.08],
        [1200, 534.87],
        [1300, 550.54],
        [1400, 568.88],
        [1500, 589.03],
        [1600, 616.61],
        [1700, 650.46],
        [1800, 693.31],
        [1900, 755.51],
        [2000, 850.78],
        [2100, 1005.37],
        [2200, 1212.34],
        [2300, 1468.95],
        [2400, 1752.99],
        [2500, 1945.34],
        [2600, 2027.47],
        [2700, 2045.45],
        [2800, 2052.04],
        [2900, 2055.16],
        [3000, 2053.96],
        [3100, 2055.03],
        [3200, 2034.83],
        [3300, 1997.84],
        [3400, 1957.87],
        [3500, 1920.96],
        [3600, 1883.99],
        [3700, 1852.36],
        [3800, 1822.29],
        [3900, 1791.14],
        [4000, 1757.5],
        [4100, 1721.58],
        [4200, 1687.53],
        [4300, 1652.57],
        [4400, 1620.51],
        [4500, 1587.59],
        [4600, 1554.4],
        [4700, 1522.06],
        [4800, 1490.94],
        [4900, 1460.09],
        [5000, 1429.2],
        [5100, 1399.33],
        [5200, 1370.68],
        [5300, 1342.36],
        [5400, 1314.93],
        [5500, 1288.37],
    
        ],
        "engine":{
            //engine performance
            "idleRPM":600,
            "shiftDownRPM":2900,
            "shiftUpRPM":5100,
            "maxRPM":5400,
            "inertia":0.26,
            "clutchTorque":2150
            "friction":21
            "brakingCoefRPS":0.15
            "burnEfficiency":0.28
            "throttleSensitivity":0.9
            "torqueReactionNodes:":["e1l","e2l","e4r"]
            "particulates":0.052
           
            //cooling and oil system
            "thermalsEnabled":true
            "engineBlockMaterial":"iron"
            "oilVolume":6
    
            //engine durability
            "cylinderWallTemperatureDamageThreshold":150
            "headGasketDamageThreshold":1500000
            "pistonRingDamageThreshold":1500000
            "connectingRodDamageThreshold":1500000
        },
     
  2. jtreign9097

    jtreign9097
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    186
    Yeah i noticed this also and instantly found the fix.. if your modded engine is based off lets say the van's I6 engine u need to open up the new I6 copy everything from "particulates" completely to the end of that specific engine.. i done it for ya here for the van I6
    if you already pasted particulates remove it and paste this *under* "torqeReactionNodes"

    "particulates":0.065

    //cooling and oil system
    "thermalsEnabled":true
    "engineBlockMaterial":"iron"
    "oilVolume":6

    //engine durability
    "cylinderWallTemperatureDamageThreshold":150
    "headGasketDamageThreshold":1500000
    "pistonRingDamageThreshold":1500000
    "connectingRodDamageThreshold":1500000
    },
    "nodes": [
    ["id", "posX", "posY", "posZ"],
    {"selfCollision":false}
    {"collision":true}
    //--4.1L I6 Engine-
    {"frictionCoef":0.5},
    {"nodeMaterial":"|NM_METAL"},
    {"nodeWeight":23},
    {"group":"van_engine"},
    {"engineGroup":"engine_block"}
    ["e1r", -0.14, -1.07, 0.43,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":500,"conductionRadius":0.2}],
    ["e1l", 0.14, -1.07, 0.43],
    ["e2r", -0.14, -1.72, 0.43,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":500,"conductionRadius":0.2}],
    ["e2l", 0.14, -1.72, 0.43],
    {"engineGroup":["engine_block","engine_intake"]}
    ["e3r", -0.15, -1.07, 0.88,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":500,"conductionRadius":0.2}],
    ["e3l", 0.15, -1.07, 0.88],
    ["e4r", -0.15, -1.72, 0.88,{"isExhaust":true,"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":500,"conductionRadius":0.2}],
    ["e4l", 0.15, -1.72, 0.88],
    {"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},
    ],
    "triangles": [
    ["id1:","id2:","id3:"],
    //engine
    ],
    }
     
    • Like Like x 1
  3. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Thank you good sir.
     
  4. jtreign9097

    jtreign9097
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    186
    just remember to highlight what your copying over so do don't double the beam/nodes after the thermal settings
     
  5. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Got most of my engine mods working perfect.

    Thanks again
    --- Post updated ---
    Thanks for letting me know.
     
  6. jtreign9097

    jtreign9097
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    186
    hey no problem anytime man.. this game has a very bright future ahead!.. this is one awesome thermal system... just needs little odds and ends such as fan failure on impact....just cant imagine fans working perfect after a 45 mph impact into a tree.. weak beater cars with pos radiators and engines are a future of mods and i can totally see scenario's in the future.. racing to a area before overheating lol .. hell ill try it out if someone does it
     
  7. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    I should have my new pickup performance package uploaded soon, of course the thermals will be (WIP)

    (i'm trying get it as realistic as possible with a good balance.)
    --- Post updated ---
    here is a preview

    Code:
    {
    "pickup_engine_v8_10L": {
        "information":{
            "authors":"Josh",
            "name":"10L V8 Large Single Turbo",
            "value":1300,
        }
        "slotType" : "pickup_engine",
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["gavril_v8_pickup", ["pickup_engine"], [], {"pos":{"x":0, "y":0, "z":0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
             ["pickup_engbay", ["pickup_cab", "pickup_firewall", "pickup_frontmeat","pickup_engine_intake"]],
        ],
        "slots": [
            ["type", "default","description"]
            ["pickup_transmission","pickup_transmission_4A","Transmission"],
            ["pickup_exhaust_v8","pickup_exhaust_v8","V8 Exhaust"],
            //["pickup_enginetuning_v8","pickup_enginetuning_v8_stock", "Engine Tuning"],
        ],
        "enginetorque":[
        ["rpm", "torque"]
        [500, 469.63],
        [600, 494.56],
        [700, 519.99],
        [800, 541.82],
        [900, 561.93],
        [1000, 578.93],
        [1100, 595.4],
        [1200, 610.83],
        [1300, 626.65],
        [1400, 633.01],
        [1500, 640.61],
        [1600, 645.99],
        [1700, 651.36],
        [1800, 656.65],
        [1900, 659.45],
        [2000, 661.41],
        [2100, 667.08],
        [2200, 671.21],
        [2300, 674.87],
        [2400, 679.93],
        [2500, 685.03],
        [2600, 690.67],
        [2700, 700.79],
        [2800, 710.63],
        [2900, 721.24],
        [3000, 734.59],
        [3100, 751.07],
        [3200, 767.14],
        [3300, 783.71],
        [3400, 802.47],
        [3500, 827.29],
        [3600, 857.37],
        [3700, 892.12],
        [3800, 930.68],
        [3900, 974.69],
        [4000, 1018.97],
        [4100, 1068.51],
        [4200, 1124.14],
        [4300, 1187.44],
        [4400, 1257.16],
        [4500, 1337.26],
        [4600, 1424.43],
        [4700, 1523.34],
        [4800, 1629.46],
        [4900, 1737.27],
        [5000, 1850.98],
        [5100, 1965.15],
        [5200, 2079.03],
        [5300, 2167.39],
        [5400, 2239.57],
        [5500, 2294.39],
        [5600, 2331.39],
        [5700, 2358.49],
        [5800, 2382.29],
        [5900, 2400.18],
        [6000, 2414.77],
        [6100, 2420.68],
        [6200, 2427.58],
        [6300, 2428.16],
        [6400, 2421.06],
        [6500, 2416.05],
        [6600, 2408.31],
        [6700, 2399.31],
        [6800, 2385.44],
        [6900, 2370.93],
        [7000, 2352.69],
        [7100, 2333.06],
        [7200, 2310.79],
        [7300, 2289.03],
        [7400, 2264.85],
        [7500, 2227.2],
    
        ],
        "engine":{
            //engine performance
            "idleRPM":650,
            "shiftDownRPM":3000,
            "shiftUpRPM":7200,
            "maxRPM":7500,
            "clutchTorque":2150
            "inertia":0.56,
            "friction":24,
            "brakingCoefRPS":0.15,
            "burnEfficiency":0.28,
            "torqueReactionNodes:":["e1l","e2l","e4r"]
            "particulates":0.082
     
    
            //cooling and oil system
            "thermalsEnabled":true
            "engineBlockMaterial":"iron"
            "oilVolume":31
            "engineBlockAirCoolingEfficiency":15
            "coolantVolume":40
            "radiatorFanTemperature":100
            "radiatorArea":1
            "radiatorEffectiveness":30000
            "radiatorFanMaxAirSpeed":3
            "thermostatTemperature":88
    
            //engine durability
            "cylinderWallTemperatureDamageThreshold":660
            "headGasketDamageThreshold":1300000
            "pistonRingDamageThreshold":150000
            "connectingRodDamageThreshold":1600000
            "engineBlockTemperatureDamageThreshold":130
     
  8. Kluch.house.reco

    Kluch.house.reco
    Expand Collapse

    Joined:
    Oct 22, 2014
    Messages:
    11
    Awesome, but i was playing with the particulates parameter, and i am just tweaking the t65/t75 to give off more smoke under engine load, but the particulates parameter seems to have a maximum where no more smoke will be produced even after incriminating the value, any idea where i could maybe tweak it a bit more or turn it to an adjustable parameter in the tuning option menu? apologies if im in the wrong thread, new to using the forums
     
  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