Unsolved [HELP] - Custom Bov Sound?

Discussion in 'Mod Support' started by tomnevy, Oct 17, 2020.

  1. tomnevy

    tomnevy
    Expand Collapse

    Joined:
    May 8, 2017
    Messages:
    8
    Hey, so I've been working on a Mod for including a custom engine for the 200bx.
    I'd like to change the default intake Bov sound to a custom (file) one.

    Code:
    "turbocharger": {
            "bovSoundFileName":"file:>art>sound>engine>2jz>bov.ogg",
            "hissLoopEvent":"event:>Vehicle>Forced_Induction>Turbo_07>turbo_hiss_race",
            "whineLoopEvent":"event:>Vehicle>Forced_Induction>Turbo_07>turbo_spin_race",
    It doesn't seem to work as I expected. Actually, it doesn't work at all.
    The debug console output is:



    I don't understand what "filename is illegal or insecure" means. Could someone clarify?
    Is there a way to fix this error or is there a different method of changing the sound?

    I managed to change the default after fire sound to a custom one too.

    Any help will be much appreciated!

    Ps. I've also created this thread in Content Creation>Programming and as I later found out it's only Lua related. Could a mod remove it?
     

    Attached Files:

    • debug.png
  2. objectful

    objectful
    Expand Collapse

    Joined:
    Sep 13, 2020
    Messages:
    9
    Hi. I have a different way of adding the blowoff valve sound. You seem to have tried to run it through fmod, which is usually used for bank files. To potentially fix this, replace your code with something like this:
    The first option depends if you have this as a file structure:
    Screenshot_4.png
    If you have something like this :
    Screenshot_3.png
    use the second method.
    Code:
    "bovSoundFileName":"vehicles/art/sound/engine/2jz/bov.ogg",
    Code:
    "bovSoundFileName":"art/sound/engine/2jz/bov.ogg",
    For this method to work, you have to add 10+ mins of silence because it will loop.


    Now for your second problem. I found out that a mod can change the backfire sounds. I looked into it and it was a single engine .jbeam file. I found a small snippet of the code that might replace your sounds:
    Code:
    "soundConfig": "soundConfig",
            ////////Custom   Backfire    Sound
            "instantAfterFireSound":  "file:>vehicles>backfire>sounds>Backfire_1.ogg",
            "sustainedAfterFireSound": "file:>vehicles>backfire>sounds>Backfire_2.ogg",
            "shiftAfterFireSound": "file:>vehicles>backfire>sounds>Backfire_3.ogg",
    Paste the snippet under the //node beam interface section which looks something like this:
    Code:
    //node beam interface
            "waterDamage": {"[engineGroup]:":["engine_intake"]},
            "radiator": {"[engineGroup]:":["radiator"]},
            "engineBlock": {"[engineGroup]:":["engine_block"]},
            "breakTriggerBeam":"engine",
            "uiName":"Engine",
    
    You can get the afterfire sounds from a YouTube video or rip it from a mod.
    Hope this helps!
     
    #2 objectful, Oct 25, 2020
    Last edited: Oct 25, 2020
  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