The distant sound has a bit of an echo, so the effect of using this different sound for shots from a large distance is nice.
The bug: The distant sound doesn't start playing until the normal shooting sound has stopped playing completely.
So as you get further away the normal shooting sound fades until the gun is almost silent. Then, when the sound is completely gone, the distant sound takes over. Obviously, this distant sound is louder than silence!
So what happens? You have someone shooting at you, and the further you get away, the less loud the sound gets. But then when you pass a certain distance, the shooting sound goes from nearly silent to relatively loud again.
I've been able to test this with the .357 Magnum Revolver and the Varmint Rifle so far. I've checked in the GECK: Not all weapons use a distant firing sound, but quite a bunch do.
My testing:
Spoiler
For the .357 Magnum Revolver, the maximum hearing distance of the normal gunfire sound is 2400 'distance units'. This means that at a distance of 2400 units or higher the sound can't be heard at all, and between 255 (the distance it takes before sound begins fading) and 2400 units, the sound gradually gets less loud.
Then there is a separate distant gunfire sound, which goes up to 8500 units.
I've tested this in the game. Using the 'getdistance player' console command, I was able to keep track of the distance between the shooting NPC and me. When I approach the 2400 distance the gunfire sound is almost silent. Then, when I increase the distance between me and the NPC a little more, the louder distant shooting sound takes it's place.
For the .357 Magnum Revolver, the maximum hearing distance of the normal gunfire sound is 2400 'distance units'. This means that at a distance of 2400 units or higher the sound can't be heard at all, and between 255 (the distance it takes before sound begins fading) and 2400 units, the sound gradually gets less loud.
Then there is a separate distant gunfire sound, which goes up to 8500 units.
I've tested this in the game. Using the 'getdistance player' console command, I was able to keep track of the distance between the shooting NPC and me. When I approach the 2400 distance the gunfire sound is almost silent. Then, when I increase the distance between me and the NPC a little more, the louder distant shooting sound takes it's place.
Has anyone else experienced this? A good way to test this is at Primm, by killing all the escaped convicts except for one with a .357 revolver or a varmint rifle (Both having a maximum hearing distance of 2400), and let him shoot at you while you increase the distance between the two of you. Click on him with the console and type 'getdistance player' to see the distance between you and the NPC.