Creating custom sounds

Discussion in 'Content Creation' started by ThreeDTech21, Oct 18, 2015.

  1. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I created sounds in the .ogg format using Vegas Movie Studio but the sounds do not work, is my .ogg format wrong?
     
  2. Godzilla!

    Godzilla!
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    2,248
    BeamNG.drive doesn't seem to support sound LUA's anymore. Mods that originally had custom sounds all use the default sounds.

    Although, the Covet has custom sounds generated from a .sbeam file.
     
  3. DerpSheep

    DerpSheep
    Expand Collapse

    Joined:
    Nov 22, 2014
    Messages:
    116
    Yes, you just need to make your own sbeam file for your ogg files, check the default common sound files for an example.
     
  4. DerpSheep

    DerpSheep
    Expand Collapse

    Joined:
    Nov 22, 2014
    Messages:
    116
    All game cars (except maybe covet) use a modifier in the sbeam file to adjust the sound of "V8_default.ogg" in the common files.I do not know what the "16_exhaust_rpmhere.ogg" common files are for.
     
  5. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Capture.PNG

    Circled in blue are modified sounds for the bus i gave them the same name as what the hatch is using.

    I copied the sounds path from the hatch to my vehicle and it worked (the bus has the hatch sounds). So I created custom .ogg sound files and named it the exact name of the hatch files (which in theory should work) but it doesn't..

    I had this same problem about a year back, no one could help so i gave up
     
    #5 ThreeDTech21, Oct 18, 2015
    Last edited: Oct 18, 2015
  6. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,400
    The sounds must be mono. I know that much.
     
  7. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    oh ok these are stereo, ill give that a try brb
     
  8. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    It works! Thanks! Now I just have to add it to the zip file with the next release. Ill post a video to youtube with a link.
     
  9. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Will BeamNG know to look in the mods folder for it? or should i point it to the mods folder like this:

    C:/ users / name / documents / BeamNG drive / mods / vehicles / school bus / sounds / etc..
     
  10. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,400
    Yes, the game will know to look there.
    I've even had it work without any path in it, only the filename and extension. Not sure that's how it's meant to be done though.

    Oh yeah, the game will work with mono wav files too.
     
  11. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Here is the working custom sound "Cummins Diesel Engine"

     
  12. destoryer13

    destoryer13
    Expand Collapse

    Joined:
    Apr 7, 2015
    Messages:
    6
    How do you find this path? I searched in documents/beamng/mods/vehicles/common but I couldnt find the "common" folder
     
  13. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    That file is originally a zip file in the vehicles folder in the BeamNG installation (steam install location) what I did was copy the common.zip file and put it in Documents / BeamNG Drive / mods / vehicles folder. Next unzip the file (so it can be modified) and delete the common.zip file, then go back to the original install location (steam) and rename common.zip to common.zips (so BeamNG won't use it). The sound file is in common / sounds, it's .ogg format mono. All you have to do is take a sound clip around 2.7 seconds and render it as .ogg mono and replace the original sound files with that.
     
  14. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,400
    You don't need to rename the original common.zip or even match the sound's length.
    You can put the custom sound files, including the default_sounds.sbeam (although this probably should be renamed to schoolbus_sounds.sbeam), inside a sounds folder in your mod. The sbeam should be modified to look in the right places.

    I'm even pretty sure that you don't need to put the path in the sbeam file as long as the sounds are in the same folder as it is. You'd just need to put the sound's filename and extension in.
     
    #12 mumboking, Oct 19, 2015
    Last edited: Oct 19, 2015
    • Like Like x 1
  15. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Wow that's even better, good to know!
     
  16. olamercedes

    olamercedes
    Expand Collapse

    Joined:
    Nov 2, 2015
    Messages:
    45
    i went to the BeamNG installation folder and checked everywhere in that folder, but didn't find the common.zip file.
     
  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