I've been wanting to put some of my own sound files to the game, and was wondering if anyone can fill me in on what I should do. I've got all the necessary audio editing and formatting programs. I just need info on how to place the sounds into my game...
Most all the .wav files for engines, guns and etc. are in the following file:
IL-2 Sturmovik 1946/Files/Samples
After learning about it, you can also change the preset files which you will find in
IL-2 Sturmovik 1946/Files/Presets/Sounds
The .wav files can be easily mixed and modified with any basic sound editor.
You should probably back up all the original .wavs and presets before you start playing around with them.
Yeah, I know where all those files are in samples. What I'm interested in is what controls how the game refers to these files? For example, when I press the trigger to fire my MG's in a given aircraft, what files tell the game "use this sound file". Is that the presets folder which does this?
Editing and mixing, and even formatting, the audio will not be difficult to me at all. I have $1000 of dollars in equipment and programs to do all of that with for my work. Just curious as to how one properly adds or changes sounds in the game's directories...
Sorry I misunderstood...
Each aircraft is locked into its own preset files for motors
and weapons. If someone knows how to get into that "gap"
and change the mapping, I'd sure be curious--not that I
see any reason to do it. For example, the Hellcat and
Corsair are both locked into the PrattWhitney R-2800
motor and Browning 50 cal weapon preset files. As far
as I know you can't change that.
Changing the preset files themselves is something I
haven't fooled around with much. The presets direct
your plane to which .wav files they'll use in the
samples folder. In the motor presets, you'll find
the corresponding .wav lines under the [samples]
section.
I don't doubt you could change the names in the presets
to correspond to totally new .wavs that you have
created and put in the samples folder. However, for
motors, you'd have to go down the list in the presets
file and change all the lines accordingly to make sure
your new .wavs are meshing together properly in game at
different RPM levels and so forth.
What I'm going to experiment with in the next couple
of days is whether I can add completely new lines
to the presets and new files to the wavs, producing ADDITIONAL sounds for each
aircraft motor and weapon.
For example, I might add a line called "Flounder" to the
Browning 50 cal preset under [samples] and add new
information under that modeled on what's already there,
and then put a new "Flounder" .wav file in the
samples folder. The point will be to see whether
when I fire the 50 cals, MORE THAN ONE .wav file will
be activated at the same time for the guns. If so, that
would open up all sorts of possibilities I didn't know we
had. I'll let you know how it goes...
Finally, however, I think we already have all sorts
of possibilities open to us just by changing the
.wav files directly in the samples folder, without
messing with presets. Instead of creating a new
preset line and a new wav for it, for example, you could just mix two
sounds in one .wav. Since you have good editing equipment,
you should be able to do all sorts of stuff with
the .wavs themselves.
As far as which aircraft motors and guns are currently mapped to which motor
and weapons .wavs, I could make you a list, but it
would take a while. Is that what you're looking for?
Hope this helps...Let me know if you discover anything
interesting, and I will do likewise.
Sure, I'm definitely interested! I'll be more than happy to edit/format any .wav files if you'd like me to. I just don't have experience in modding sounds in the game. If you find out what to do, just share your findings. The engine sounds are really good, imho. When you watch old footage of these aircraft, they sound very similar. The only thing I would change as far as that is concerned is the sound of German aircraft starting up. Right now, the sounds are more like British aircraft cranking (most German aircraft had that characteristic "squeal" when they fired up). The guns are really what I'd like to put some work into. I've done a lot of video editing for short films, and even a television series, so I'm pretty adept with sound effects like these. I'd really like to find old film of different guns firing and extract the sound from them. Then I'd have to remaster it and improve the quality to modern standards. Another idea I have is to take the dive sounds and make it blend in more with the engine sounds. I'd give it a more gradual fade as the aircraft gathers up more speed, until it finally reaches that god awful scream we love!
Thanks for your input, and I hope you and your family have a very good holiday break!
Keinmann--
You can indeed add completely new .wavs to your samples folder, name them new names if you want, and map your presets to them. You can make a weapon preset play two
(or more, I assume) .wav files simultaneously, I discovered.
For example, I played with the "weapon.MGunBrowning50s.prs" (50 caliber machine gun) preset. Originally, mine read as follows:
[common]
mode relobj pos
type mixer
infinite 1
EAXMix 0
occlusion -400
occllf 0.25
eaxroom 10
obstruction -400
obstrlf 0.25
mutable 1
[spl]
120
[samples]
MG_Browning50x.wav
MG_Browning50.wav
[sample.MG_Browning50x.wav]
env 0
infinite 1
period 0.074
[sample.MG_Browning50.wav]
env 2 8
infinite 1
period 0.074
I then found a deeper, more "meaty" machine gun .wav file somewhere, and since I wanted to hear it play both outside and inside the airplane, I made two copies of
it and called these .wavs "50cal.wav" and "50cali.wav" and put them in my samples folder with the rest of the .wavs.
I then modified my "weapon.MGunBrowing50s.prs" preset file to read as follows:
[common]
mode relobj pos
type mixer
infinite 1
EAXMix 0
occlusion -400
occllf 0.25
eaxroom 10
obstruction -400
obstrlf 0.25
mutable 1
[spl]
120
[samples]
MG_Browning50x.wav
MG_Browning50.wav
50cal.wav
50cali.wav
[sample.MG_Browning50x.wav]
env 0
infinite 1
period 0.074
[sample.MG_Browning50.wav]
env 2 8
infinite 1
period 0.074
[sample.50cal.wav]
env 0 2
infinite 1
[sample.50cali.wav]
env 8
infinite 1
The effect of this was to make the preset play FOUR different .wav files simultaneously (2 inside the cockpit and 2 external).
As you can see, you just add your new .wav file names under the [samples] box, then add two new [sample....] detail blocks below it for the
two new sounds. The "env" lines for internal sounds on nearly all the weapons is "env 0 2" whereas the external sounds work with
"env 8" and that did work fine in this case. For "infinite," just make it "1" in all weapons cases as I think this just makes the
.wav play an infinite loop.
So obviously you can make all sorts of combinations of sounds and add many new levels of complexity to each sound if you want. It also
appears that if you want, you could make completely new sounds for weapons which have their own preset but which currently share .wav files
for other sounds. For example, the Japanese Ho5 MG presets are currently mapped to play the 50 caliber Browning .wavs in my .93 version of
the AAA sound mod. You could easily make completely new sounds for the Ho5 with their own names, and then modify the Ho5 preset to play them. Which is
pretty cool.
Have a great holiday and I'll try to get back to you within a couple of weeks with a list of which aircraft motors/weapons are currently linked to
which .wavs in the .93 mod install.
I've tried tampering with the presets and samples files to change out some sounds, and it did nothing. I even removed the old sound and replaced it with the new ones and it still played the old sounds, despite them not even being in the folder! LOL! What could be going wrong? I changed the lines in the presets to match up with the sound files and everything...
Exelent!
I think that you are a programmer.
But tell me how should I put a sound that isnt there, like sound of rear whell when touch down, And sound when you driving a plane on the ground?
Can you do these sounds?
I have a some other sound for gear up/dow and others....
So I just put them under original sound in edit??
Thanks
You have to do these in MODS!!!!!
These files transfer there to MODS under yours directory
IT WORKS
Eldon45,
Thanks so much for the tutorial on setting up multiple sound files. I've been playing around with this and finally have something I think sounds like a bank of heavy machine guns firing instead of the one or two gun sound we've been getting. This is a great find.