WIP Beta released Change Engine Sound in Real Time Script (update 08.12.13)

Discussion in 'Utilities and programming' started by user099, Nov 10, 2013.

  1. user099

    user099
    Expand Collapse

    Joined:
    Oct 9, 2013
    Messages:
    12
    Hi,

    i made a small batch script to change the enginesounds in realtime. in the zip file are currently 3 different enginesounds (not the best ones) and the original sound. maybe someone can make better sounds for it.

    Install: extract the zip file into your beamNG.drive folder

    How it works: open the batch file soundmod.bat

    you have the choice of currently 4 sounds:

    [1] Ibishu Covet (Small Engine)
    [2] Gavril (Big Engine)
    [3] Civetta (Sports Car)
    [4] Original Sound

    after seleting 1-4 it will copy and overwrite the existing enginesound to the folder art/sound/cheetah_engine.ogg

    there comes a small error window in the game. just press okay and the sound is changed.

    *****************************************************************************************************

    Update 08.12.13:

    Now you can choice of 13 different sounds including Diesel Engine Sound.

    [1] Small Engine 1
    [2] Small Engine 2
    [3] Small Engine with Turbo
    [4] V6 Engine 1
    [5] V6 Engine 2
    [6] V8 Engine
    [7] V8 Engine Tuned
    [8] Big Engine
    [9] Sport Engine 1
    [10] Sport Engine 2
    [11] Diesel Engine 1
    [12] Diesel Engine 2
    [13] Diesel Engine 3
    [14] Original Sound

    regards user099
     

    Attached Files:

    #1 user099, Nov 10, 2013
    Last edited: Dec 8, 2013
  2. Erik.s

    Erik.s
    Expand Collapse

    Joined:
    Sep 19, 2013
    Messages:
    130
    Re: Small Script to change Engine Sound in Real Time

    It works!
    BUT
    The Covet sounds a bit like a lawnmower.
    The gavril doesnt sound like its revving much.
    And the Civetta sounds almost like a rc plane.
    Good job though! And I didnt get any error.
     
  3. user099

    user099
    Expand Collapse

    Joined:
    Oct 9, 2013
    Messages:
    12
    Re: Small Script to change Engine Sound in Real Time

    as i said the sounds are not the best ones ;-) for me it is important that the script is working and i hope someone will make new sounds.
     
  4. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    Re: Small Script to change Engine Sound in Real Time

    This is great!
    but how are the sound files made? im intrested in trying to make new ones and i am curious as to how to make a sound file.
     
  5. 14ramosr

    14ramosr
    Expand Collapse

    Joined:
    Sep 7, 2013
    Messages:
    979
    Re: Small Script to change Engine Sound in Real Time

    at first i was skeptical, but im glad i tried it out. the hatchback engine kinda sounds like something from the old gameboy, but other than that, these are pretty good. good job :)
     
  6. Cwazywazy

    Cwazywazy
    Expand Collapse

    Joined:
    Dec 1, 2012
    Messages:
    1,245
    Re: Small Script to change Engine Sound in Real Time

    Cool. I haven't tried adding sounds yet, but can I just plop em in and will it recognize it or do I have to replace one of them?

    EDIT: Got me some cool trans am sounds :D

    I don't know much about coding or anything, but would there be some possible way to have the script set a different sound file when you spawn a car affiliated with it? Also, it seems that I don't get that error menu you talked about when changing sounds..
     
    #6 Cwazywazy, Nov 12, 2013
    Last edited: Nov 12, 2013
  7. hobojo64

    hobojo64
    Expand Collapse

    Joined:
    Sep 23, 2013
    Messages:
    6
    Re: Small Script to change Engine Sound in Real Time

    nice i tried to add a blow off sound by changing the "shift.ogg" sound but i cant get it to work i think its because its very quiet have you tried anything like that
     
  8. iheartmods

    iheartmods
    Expand Collapse

    Joined:
    Aug 8, 2012
    Messages:
    1,482
    Re: Small Script to change Engine Sound in Real Time

    How do I put in a different sound, one separate from what's given. I tried one .ogg but it didn't work.
     
  9. Cwazywazy

    Cwazywazy
    Expand Collapse

    Joined:
    Dec 1, 2012
    Messages:
    1,245
    Re: Small Script to change Engine Sound in Real Time

    For some reason the .ogg engine clips I make don't work.. I made one of the v8 in Automation.
     
  10. user099

    user099
    Expand Collapse

    Joined:
    Oct 9, 2013
    Messages:
    12
    Small Update today, please read the first post.

    please tell me your opinion.


    regards
    user099
     
  11. rrrrrrrrr9

    rrrrrrrrr9
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    12
    Great mod! It is nice to be able to change sounds on the fly and not have to restart the game.
     
  12. iheartmods

    iheartmods
    Expand Collapse

    Joined:
    Aug 8, 2012
    Messages:
    1,482
    The first v8 sound is spot on for the pickup!
     
  13. daniel_j

    daniel_j
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    334
    oh god such. a. simple. batch. file. :confused:
    Why not convert it to .exe?
    Or maybe write it in VB.net as an actual executable?
    Makes it seem more legit and l33t.
    Just some ideas.
    Good job.
     
  14. Neidjel

    Neidjel
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    332
    Somehow it doesn't work for me...? says it can't find the path or something (error message is in Dutch so not sure what English words to use in describe it)
     
  15. daniel_j

    daniel_j
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    334
    You must have BeamNG installed to a foreign location, this script requires you to install beamng to %appdata%\local
    Simply edit the script to make it work.
     
  16. user099

    user099
    Expand Collapse

    Joined:
    Oct 9, 2013
    Messages:
    12
    sorry, the files have to be in the folder "soundmod". i uploaded the fixed version.
     
  17. KamikazeF0X

    KamikazeF0X
    Expand Collapse

    Joined:
    Aug 6, 2013
    Messages:
    38
    You can't modify a .exe
    The .bat add mod possibilities :cool:
     
  18. daniel_j

    daniel_j
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    334
    actually, batch files add extreme security issues that are system destroying....
     
  19. jarhead2012

    jarhead2012
    Expand Collapse

    Joined:
    Aug 21, 2013
    Messages:
    11
    [fixed]
    all i had to do was increase the sound in sony vegas with the slider to left of the timeline because it wasnt loud enough, also you render it in Audio: 96 Kbps, 44,100 Hz, Mono, Ogg

    i tried getting a new sound in by recording my silvia s15 and then importing it to sony vegas, i then opened one of the other sound files and got the correct length the sound should be but i couldent work out what sample rate ect. to render it in for the batch file to recognize it so i just overwrite one of the other sound files (small engine sound 2) but it is just dead quiet in game? any help
     
    #19 jarhead2012, Dec 10, 2013
    Last edited: Dec 10, 2013
  20. IBsenoj

    IBsenoj
    Expand Collapse

    Joined:
    Sep 28, 2013
    Messages:
    819
    This is great! but Really confusing maybe make a tutorial video?
    Thanks Man! ;)
     
  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