Mod engine sound is silent

Discussion in 'Content Creation' started by ehhi47, Feb 12, 2018.

  1. ehhi47

    ehhi47
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    55
    I've done everything the Sound page of the wiki says, and I've checked all the file names and directories, but the engine with this sound is just silent. This is what the Blend2D.json file looks like
    Code:
    {
        "header" : {
            "version" : 1
        },
        "eventName" : "event:>Engine>default",
        "samples" : 
        [
            [
                ["art/sound/engine/poncho/1200_P.flac", 1200],
                ["art/sound/engine/poncho/1900_P.flac", 1900],
                ["art/sound/engine/poncho/2300.flac", 2300],
                ["art/sound/engine/poncho/2900.flac", 2900],
            ],
            [
                ["art/sound/engine/poncho/900_P.flac", 900],
                ["art/sound/engine/poncho/1200_P.flac", 1200],
                ["art/sound/engine/poncho/1900_P.flac", 1900],
                ["art/sound/engine/poncho/2300_P.flac", 2300],
                ["art/sound/engine/poncho/2900_P.flac", 2900],
            ]
        ]
    }
     
  2. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    Try this

    Code:
    {
        "header" : {
            "version" : 1
        },
        "eventName" : "event:>Engine>default",
        "samples" :
        [
            [
                ["art/sound/engine/poncho/1200_P.flac", 1200],
                ["art/sound/engine/poncho/1900_P.flac", 1900],
                ["art/sound/engine/poncho/2300.flac", 2300],
                ["art/sound/engine/poncho/2900.flac", 2900]
            ]
            ,
            [
                ["art/sound/engine/poncho/900_P.flac", 900],
                ["art/sound/engine/poncho/1200_P.flac", 1200],
                ["art/sound/engine/poncho/1900_P.flac", 1900],
                ["art/sound/engine/poncho/2300_P.flac", 2300],
                ["art/sound/engine/poncho/2900_P.flac", 2900]
            ]
        ]
    }
    
     
    #2 440cid, Feb 12, 2018
    Last edited: Feb 13, 2018
  3. ehhi47

    ehhi47
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    55
    That didn't work either, is there a minimum number of sound samples for it to work or something?
     
  4. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    More than 2 should be enough. What's the blend filename (with extension), folder structure, and your engine jbeam file? You have to name it correctly, put the blend file in correct location, and set it up in engine jbeam correctly.
     
  5. ehhi47

    ehhi47
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    55
    The audio.zip is in the first section of the vehicles' zip file, the blend is called "poncho.sfxBlend2D.json" in audio.zip/art/sound/blends, the sounds are in audio.zip/art/sound/engine/poncho, and the sound config for the engine is
    Code:
    "soundConfig": "soundConfig",
        },
        "soundConfig": {
            "sampleName": "poncho",
            "mainGain": -18,
            "maxLoadMix": 0.6,
            "minLoadMix": 0,
            "onLoadGain":1,
            "offLoadGain":0.65,
            "eqLowGain": -5,
            "eqLowFreq": 150,
            //"eqLowWidth": 0,
            "eqHighGain": -5,
            "eqHighFreq": 6000,
            //"eqHighWidth": 0,
            "lowCutFreq":90,
            //"eqFundamentalGain": -15,
        },
     
  6. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    I just realized I made a mistake on my first post.

    There should not be a comma on the last file. Should be like this.

    ["art/sound/engine/poncho/2300_P.flac", 2300],
    ["art/sound/engine/poncho/2900_P.flac", 2900]

    Really double check your comma, brackets, other punctuatios, and structure then compare it to the original blend sound by BeamNG. Most of the time it's just that.

    Folder structure is correct.
     
  7. ehhi47

    ehhi47
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    55
    Still nothing, unfortunately. What does the blend file for one of your sounds look like?
     
  8. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
  9. ehhi47

    ehhi47
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    55
    Ok looking at your mod cleared it up, thanks. I had the art folder in an audio.zip in the first section of the main zip file when it should've been there by itself
     
  10. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    You're welcome. I'm glad it worked out for you.
     
  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