Jump to content

Recommended Posts

Posted

So, I think the sound.lua file in /config is missing some variables. This is how it is currently.

 

sound = {}

 

-- set up cockpit types

sound['cockpit_world'] = {

['A-10A'] = { gain = 0.12, lowpass = 1000 },

['A-10C'] = { gain = 0.12, lowpass = 1000 },

['P-51D'] = { gain = 0.18, lowpass = 3500 },

['TF-51D'] = { gain = 0.18, lowpass = 3500 },

['FW-190D9'] = { gain = 0.18, lowpass = 3500 },

['Bf-109K-4'] = { gain = 0.12, lowpass = 3000 },

['su-25A'] = { gain = 0.30, lowpass = 2500 },

['su-25T'] = { gain = 0.30, lowpass = 2500 },

['su-27'] = { gain = 0.30, lowpass = 2500 },

['Mi-8MTV2'] = { gain = 0.3, lowpass = 3000 },

['F-86'] = { gain = 0.2, lowpass = 2500 },

['MiG-15bis'] = { gain = 0.15, lowpass = 2500 },

['L-39C'] = { gain = 0.15, lowpass = 2500 },

['f-18c'] = { gain = 0.15, lowpass = 800 },

}

 

 

ambientSound =

{

surfaceSamples = 12, --must be a multiple of 3

sampleRadius = 30, -- meters

resampleDistance = 10, -- meters

resampleTime = 0.5, -- seconds

fadeOutHeight = 100, -- meters

}

 

And this is how I think it needs to be.

 

sound = {}

 

-- set up cockpit types

sound['cockpit_world'] = {

['A-10A'] = { gain = 0.07, lowpass = 1000 },

['A-10C'] = { gain = 0.07, lowpass = 1000 },

['P-51D'] = { gain = 0.18, lowpass = 3500 },

['TF-51D'] = { gain = 0.18, lowpass = 3500 },

['FW-190D9'] = { gain = 0.18, lowpass = 3500 },

['Bf-109K-4'] = { gain = 0.12, lowpass = 3000 },

['su-25A'] = { gain = 0.12, lowpass = 1200 },

['su-25T'] = { gain = 0.12, lowpass = 1200 },

['su-27'] = { gain = 0.07, lowpass = 1000 },

['Mi-8MTV2'] = { gain = 0.3, lowpass = 3000 },

['F-86'] = { gain = 0.2, lowpass = 2500 },

['MiG-15bis'] = { gain = 0.15, lowpass = 2500 },

['L-39C'] = { gain = 0.15, lowpass = 2500 },

['f-18c'] = { gain = 0.15, lowpass = 800 },

['F-15C'] = { gain = 0.01, lowpass = 800 },

['F-5E-3'] = { gain = 0.01, lowpass = 800 },

['M-2000C'] = { gain = 0.05, lowpass = 800 },

}

 

 

ambientSound =

{

surfaceSamples = 12, --must be a multiple of 3

sampleRadius = 30, -- meters

resampleDistance = 10, -- meters

resampleTime = 0.5, -- seconds

fadeOutHeight = 100, -- meters

}

 

 

I found this while working on my sound mod and wondering why the F-15C, the F-5E, and the M-2000C were not having their external sounds deafened in the pit. I added the variables in and it seems to have fixed the issue. The F-18C one is a bit baffling as I assume it replaces the F-15C on accident.

 

Last questions and its somewhat related. Why is the MiG21 not in here? Should it be? The MiG21 is the last module that I am having issues with extremely loud sounds in the pit, but I can't figure out how Magnitude is deafening audio in the pit.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...