1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

[Tutorial] How to change vehicle sounds.

Discussion in 'Content Creation' started by Stratosphere, Aug 10, 2016.

  1. Stratosphere

    Stratosphere
    Expand Collapse

    Joined:
    Sep 2, 2015
    Messages:
    135
    Make a specific folder for your engine rather than just for the D-Series, then make an .sbeam that matches up with your engine.

    Example .SBEAM
    Code:
    {
      "modifiers":[
        ["name", "source", "factor", "offset", "min", "max"],
        ["engine_throttle", "engineThrottle", 1, 0, 0.65, 1],
        ["turbo_throttle", "throttle", 0.5, 0, 0.3, 0.6],
      ],
      "sounds":[
        ["group",   "filename",    "profile",  "nodeName", "source", "factor", "offset", "minVolume", "minPitch", "maxVolume", "maxPitch", "pitchBlendInStartValue", "pitchBlendInEndValue", "volumeBlendInStartValue",  "volumeBlendInEndValue", "volumeBlendOutStartValue", "volumeBlendOutEndValue", "volumeModifiers",   "pitchModifiers"],
        ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg",        "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 0.60, 20.000, 0, 15000,     0,  200,   1000, 1500, ["engine_throttle"], []],
        ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg",       "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 0.65,  7.463, 0, 15000,  1000, 1500,   3000, 3900, ["engine_throttle"], []],
        ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg",       "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 0.70,  3.937, 0, 15000,  3000, 3900,   4000, 4900, ["engine_throttle"], []],
        ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg",       "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 0.80,  2.604, 0, 15000,  4000, 4900,   5000, 5900, ["engine_throttle"], []],
        ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg",       "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 0.90,  2.066, 0, 15000,  5000, 5900,   6000, 6900, ["engine_throttle"], []],
        ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg",       "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 1.00,  1.818, 0, 15000,  6000, 6900,  15000,15000, ["engine_throttle"], []],
        
     
    • Like Like x 1
  2. nfinitysound

    nfinitysound
    Expand Collapse

    Joined:
    Apr 24, 2016
    Messages:
    8

    Thanks but I still can't get it working... Either my default sounds... ["default", "V8_default.ogg"....] won't play for any of my other default vehicles or my v10 sound and the V8_default sound play at the same time.. sounding awful.

    For the sbeam file from what you put for example...
    ["EngineNameSound", "vehicles/common/sounds/EngineName_sound_oggname.ogg", ...I tried that arrangement.

    I also tried from your tutorial
    ["EngineNameSound", "vehicles/common/myenginesounds/EngineName_sound_oggname.ogg",

    still no luck,

    Here is my config currently, if you can please tell me what I have in the wrong place.

    Within "common" from this path...\DseriesMod.zip\vehicles\common\
    I have these folders...
    "myenginesounds" which just contains just the audio files for my mod
    "pickupD" which contains just the jbeam engine mod since you said not to name the same as Dseries which was just 'pickup' before.
    "sounds" which contains just the sbeam file

    And this is what my sbeam file looks like this
    {
    "modifiers":[
    ["name", "source", "factor", "offset", "min", "max"],
    ["engine_throttle", "engineThrottle", 1, 0, 0.65, 1],
    ["turbo_throttle", "throttle", 0.5, 0, 0.1, 0.4],
    ],
    "sounds":[
    ["group", "filename", "profile", "nodeName", "source", "factor", "offset", "minVolume", "minPitch", "maxVolume", "maxPitch", "pitchBlendInStartValue", "pitchBlendInEndValue", "volumeBlendInStartValue", "volumeBlendInEndValue", "volumeBlendOutStartValue", "volumeBlendOutEndValue", "volumeModifiers", "pitchModifiers"],
    //["default", "V8_default.ogg", "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0, 1, 2, 200, "MAXRPM", 0, 200, 999998, 99 ["engine_throttle"], [] ],
    //["default", "turbo_03.ogg", "AudioDefaultLoop3D", "ENGINE", "turboRpmRatio", 2, 0, 0, 0, 2, 1, 0, 1000, 0, 200, 999998, 99 ["turbo_throttle"], [] ],
    ["v10", "vehicles/common/mysounds/v10.ogg", "AudioDefaultLoop3D", "ENGINE", "rpm", 1, 0, 0, 0.5, 1.0, 2.0, 0, 3000, 200, 350, 1500, 3000, ["engine_throttle"], [] ],

    ]
    }
     
  3. Stratosphere

    Stratosphere
    Expand Collapse

    Joined:
    Sep 2, 2015
    Messages:
    135
    I think this has been a problem since the last update, people have been reporting that sounds for specific engines mute default sounds.
     
  4. nfinitysound

    nfinitysound
    Expand Collapse

    Joined:
    Apr 24, 2016
    Messages:
    8
    OK, thanks for trying. Maybe I'll have better luck when update .9 rolls out. Hope that one includes better sounds for all the vehicles, maybe better methods for modding them too.
     
  5. Razr7

    Razr7
    Expand Collapse

    Joined:
    Jan 2, 2017
    Messages:
    35
    Can you send me a copy of the sound pack because the website has completely changed and their nothing about Street Legal Racing Redline anyone, and I accidentally deleted my download of it. I need to add sounds to a car from a different game that came without sound because of lack of permission by the creator
     
  6. Stratosphere

    Stratosphere
    Expand Collapse

    Joined:
    Sep 2, 2015
    Messages:
    135
    Hi,
    http://www.mediafire.com/file/z70hhklt72b43zz/Shift2EngineSounds.rar
     
  7. Razr7

    Razr7
    Expand Collapse

    Joined:
    Jan 2, 2017
    Messages:
    35
  8. Jool232

    Jool232
    Expand Collapse

    Joined:
    Jun 26, 2017
    Messages:
    2
    hi! ive been trying to change a lambo gallardo mod sound following the instructions, i did it all how its says but i dont really know why it didnt works i hope you can help me in any way.
     
  9. Stratosphere

    Stratosphere
    Expand Collapse

    Joined:
    Sep 2, 2015
    Messages:
    135
    If you send me the file then I will take a look and see if I can fix. (Sorry for late reply).
     
    • Like Like x 1
  10. Jool232

    Jool232
    Expand Collapse

    Joined:
    Jun 26, 2017
    Messages:
    2
    I send it to you ina mesage
     
  11. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    251
    I downloaded Forza 4 engine sounds. They have sound samples of various RPM and is stated on how many RPM the sound is on. I think it will be very great if done properly on BeamNG.

    However I do know that it can't be uploaded anywhere since those sounds are copyrighted, so I'm thinking to make my own sound mod.

    I got the sound working thanks to this tutorial, however the sound doesn't feel right, it needs adjusting.

    Do you have any tips on adjusting the min and max pitch, pitch blend in start and end value, and volume blend in and out values? The sound samples are known on which RPM they are on, is there an exact calculation that I can use to set those values?
     
  12. Stratosphere

    Stratosphere
    Expand Collapse

    Joined:
    Sep 2, 2015
    Messages:
    135
    The blend in / blend out values correspond to the RPM of your sound. (Sorry for late reply).
     
    • Agree Agree x 1
  13. Michaelflat

    Michaelflat
    Expand Collapse

    Joined:
    Jul 10, 2014
    Messages:
    1,309
    Basically i have 2 issues... This sound thing is for my diesel pessima mod (upcoming WIP)
    1) It makes every engine use that sound, i have only got one engine that has the "Soundconfig":"default" (when i use anything else the sound doesn't work, even when i change the group in the .SBEAM (is like this in the attached file)
    2) I have one sound for low throttle and one for high, how will this work? i just want to speed it up (pitch etc). I'll upload the .zip just plop in the thing in the mods folder, select 2.3D and off you go, it isn't working right at the moment as i have tried to use the high throttle sound for higher rpm and low throt sound for idle RPM.
     

    Attached Files:

  14. CrypticDriverHD

    CrypticDriverHD
    Expand Collapse

    Joined:
    Feb 8, 2017
    Messages:
    50
    does anyone know if its possible to code deceleration/off throttle engine sounds using the described method in this thread? For instance; an engine sounds a little different when you let off the gas pedal versus full throttle. Thanks!
     
  15. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    251
    Provided that you have separate offload and onload engine sound sample; on the offload sound sample, make volume modifier to [] instead of ["engine_throttle"]. so it won't allow that offload sample to go louder when you press the throttle. CMIIW.
     
  16. CrypticDriverHD

    CrypticDriverHD
    Expand Collapse

    Joined:
    Feb 8, 2017
    Messages:
    50
    I think I understand what you are saying. For some of my engine sounds I do have offload sound samples but I was just unaware on how to code them in. So should the rpms of the offload sound sample be opposite of the onload sounds? An example would be appreciated!
     
  17. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    251
    The RPM of the offload sound should be the RPM they are supposed to play.

    This sound mod by @on3cherryshake is a very good example.
     
  18. CrypticDriverHD

    CrypticDriverHD
    Expand Collapse

    Joined:
    Feb 8, 2017
    Messages:
    50
    Thank you for your patience and help. Its greatly appreciated!
     
  19. Stratosphere

    Stratosphere
    Expand Collapse

    Joined:
    Sep 2, 2015
    Messages:
    135
    You can make low / high use the same sound by simply using the same name in the .SBEAM, although I would recommend using separate sounds. I am not sure about your other issue, I will look into it. Also I am sorry that it took me so long to reply, I don't really go onto the forums much.
     
    • Like Like x 1
  20. The Only True Sanic

    The Only True Sanic
    Expand Collapse

    Joined:
    Mar 21, 2017
    Messages:
    4
    So if i want to say. . .Put a diesel sound mod meant for the t series on the pigeon or something, how would i do that?
     
  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