1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Stuck, Having problems with creating your mod? Let us help you: Mod Support

Solved soundgroup not being detected

Discussion in 'Mod Support' started by Fen, Feb 13, 2018.

  1. Fen

    Fen
    Expand Collapse

    Joined:
    Sep 20, 2015
    Messages:
    2,311
    here's the engine jbeam, i just hear what were originally the default sounds across all vehicles
    Code:
    {
    "etksx_engine": {
        "information":{
            "authors":"BeamNG, Ky13harbor9",
            "name":"2.85L Flat 6 Twin Turbo Engine",
            "value":45000,
        }
        "slotType" : "etksx_engine",
        "slots": [
            ["type", "default", "description"]
            ["etksx_intake","etksx_intake", "Intake" {"coreSlot":true}],
            ["etksx_exhaust","etksx_exhaust", "Exhaust"],
            ["etksx_transmission","etksx_transmission_6M", "Transmission"],
        ],
    
        "enginetorque":[
            ["rpm", "torque"]
            [0, 0],
            [500, 100],
            [1000, 120],
            [2000, 180],
            [3000, 260],
            [4000, 315],
            [5000, 345],
            [6000, 355],
            [7000, 300],
            [8000, 200],
        ],
        "engine":{
            "idleRPM":1200,
            "shiftDownRPM":3000,
            "shiftUpRPM":6500,
            "maxRPM":7000,
            "inertia":0.12,
            "friction":18
            "revLimiterRPMDrop":250,
            "brakingCoefRPS":0.15
            "burnEfficiency":0.28
            "throttleSensitivity":1.2
            "torqueReactionNodes:":["e1l","e1l","e3r"]
            "particulates":0.06
    
            //cooling and oil system
            "thermalsEnabled":true
            "engineBlockMaterial":"aluminum"
            "oilVolume":7
    
            //engine durability
            "cylinderWallTemperatureDamageThreshold":140
            "headGasketDamageThreshold":1500000
            "pistonRingDamageThreshold":1500000
            "connectingRodDamageThreshold":2000000
        
            "soundConfig": "soundConfig",
        },
        "soundConfig": {
            "sampleName": "L6",
            "mainGain": 5,
            "onLoadGain":1,
            "offLoadGain":0.75,
            "maxLoadMix": 0.7,
            "minLoadMix": 0.0,
            "eqLowGain": -7,
            "eqLowFreq": 175,
            "eqLowWidth": 0.1,
            "eqHighGain": -8,
            "eqHighFreq": 350,
            "eqHighWidth": 0.1,
            "lowCutFreq":90,
            "fundamentalFrequencyCylinderCount":6
            "eqFundamentalGain": -10
        },
            "vehicleController": {
            "clutchLaunchStartRPM":2400,
            "clutchLaunchTargetRPM":3300,
            "lowShiftDownRPM":[0,0,0,4300,5200,5400,5600,5800]
            "highShiftDownRPM":[0,0,0,4300,5200,5400,5600,5800]
            "lowShiftUpRPM":4000,
            "highShiftUpRPM":8000
            "revMatchThrottle":0.35,
        },
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["etksx_engine_block", ["etksx_engine"]],
             ["etksx_enginecrap", ["etksx_engine"]],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":false},
             {"collision":true}
             //engine box
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"etksx_engine"},
             {"engineGroup":"engine_block"}
             {"nodeWeight":12},
             {"chemEnergy":500,"burnRate":0.39,"flashPoint":800,"specHeat": 0.2,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.12},
             ["e1r", -0.34300, 1.32782, 0.19590],
             ["e1l", 0.34300, 1.32782, 0.19590],
             ["e2r", -0.34300, 1.78669, 0.29302 {"isExhaust":true}],
             ["e2l", 0.34300, 1.78669, 0.29302],
             {"engineGroup":["engine_block","engine_intake"]}
             ["e3r", -0.41117, 1.35968, 0.52275],
             ["e3l", 0.41117, 1.35968, 0.52275],
             ["e4r", -0.41117, 1.77703, 0.52275],
             ["e4l", 0.41117, 1.77703, 0.52275],
             {"chemEnergy":false,"burnRate":false,"flashPoint":false, "specHeat": false,"selfIgnitionCoef":false,"smokePoint":false,"baseTemp":false,"conductionRadius":false}
             //torque reaction node
             {"nodeWeight":15},
             ["ta1", 0.00000, 1.32782, 0.55663],
             {"engineGroup":""}
             {"group":""},
        ],
        "beams": [
              ["id1:", "id2:"],
              
              //Engine Soft Mounts
              {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              {"beamSpring":1500000,"beamDamp":150},
              {"beamDeform":50000,"beamStrength":150000},
              
              {"breakGroup":"teksx_trans_engine"},
              
              ["e3r", "f12r"],
              ["e3r", "f12"],
              ["e3r", "f10r"],
              ["e3r", "f10"],
              
              ["e4r", "f12r"],
              ["e4r", "f12"],
              ["e4r", "f11r"],
              ["e4r", "f11l"],
              
              ["e3r", "f9r"],
              ["e3r", "f9"],
              ["e3r", "f9l"],
              
              ["e4r", "f9r"],
              ["e4r", "f9"],
              ["e4r", "f9l"],
              
              ["e3l", "f12l"],
              ["e3l", "f12"],
              ["e3l", "f10l"],
              ["e3l", "f10"],
              
              ["e4l", "f12l"],
              ["e4l", "f12"],
              ["e4l", "f11l"],
              ["e4l", "f11r"],
              
              ["e3l", "f9r"],
              ["e3l", "f9"],
              ["e3l", "f9l"],
              
              ["e4l", "f9r"],
              ["e4l", "f9"],
              ["e4l", "f9l"],
              
              {"breakGroup":""},
              
              {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              {"beamSpring":11200800,"beamDamp":258},
              {"beamDeform":1120000,"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"],
              ["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"],
    
              ["e1r","e3l"],
              ["e1l","e3r"],
              ["e2r","e4l"],
              ["e2l","e4r"],
    
              ["ta1","e1l"],
              ["ta1","e1r"],
              ["ta1","e2l"],
              ["ta1","e2r"],
              ["ta1","e3l"],
              ["ta1","e3r"],
              ["ta1","e4l"],
              ["ta1","e4r"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    }
     
  2. Ai'Torror

    Ai'Torror
    Expand Collapse

    Joined:
    Aug 29, 2015
    Messages:
    1,192
    Any error in the console?
     
  3. CaptanW

    CaptanW
    Expand Collapse

    Joined:
    Aug 18, 2014
    Messages:
    1,142
    I had this problem with my helljeep. The problem can be caused by an error in your code, you don't have the audio file installed (if its a modded sound) or something in the engine file. I had the engine file problem with the helljeep. My engine file just needed the code below added.

    Code:
    "mainEngine":{
            "soundConfig": "soundConfig",
        },
     
  4. Fen

    Fen
    Expand Collapse

    Joined:
    Sep 20, 2015
    Messages:
    2,311
    thanks, that worked