This was an April Fools 2021 mod. The joke was that you install this and it makes your gun sounds layer constantly and eventually crashes your game. See original description below
-----
# Update 205 Broke the original version, this version fixes it.
# Please remove any previous version before installing this one
Original description:
A fixed version of [DarKobalt and 90e's](https://modworkshop.net/mod/1458) original script. According to user reports and personal experience, the original script currently causes crashes, and has not been updated since 11-10-15, over two years ago from the time of this updated mod's release.
**This lil' mod fixes an issue in the base game where two gunshot sounds play when firing one shot in auto-fire mode.
That's really all there is to it.**
-----
Please note that the method this code uses involves playing the single-fire noise several times instead of using the auto-fire noise at all (except in cases where the weapon has no distinct auto-fire noise, such as the Minigun, Flamethrower, or Saw; such weapons can use a looped fire sound instead.) Thus, if you have custom weapon sounds, you'll probably never hear those auto-fire sounds for most weapons :(
# Installation:
Download the mod.
Unpack it the .zip file.
Drag the resultant folder AFSF2 (NOT the folder called "20403_Auto_Fire_Sound_Fix_(Updated)_1.81"!)into the mods folder.
Known issues:
* Having [WeaponLib](https://modworkshop.net/mod/24177) installed may cause the fix to apply incorrectly to certain weapons- for example, the Little Friend Underbarrel M203 grenade launcher may have no firing noise
* Some users report sound issues when simultaneously using: Auto-fire Sound Fix; pjal3urb's [Burstfire ](https://bitbucket.org/pjal3urb/burstfire/src)mod; and any mods that add auto-fire modes to single-fire weapons, like Alcat101's [Luger Artillery](https://modworkshop.net/mod/20986).
* Some auto-fire weapons (namely shotguns) such as the IZHMA and Grimm Shotguns, have duplicated fire sounds that are not fixed by this mod. I recommend that you install this mod in order to fix this issue: https://modworkshop.net/mod/27356
* AFSF2 may be incompatible with many overhaul mods; please contact me if you would like assistance in implementing AFSF2 within your mod.
* Brief moments of existential dread
Planned:
* an unhinged ferris wheel rolling towards the sea
Today
Fixed for update 205
7 Feb 2021 v1.82
Added KSP-58 to the blacklist, fixing an issue where the KSP's firing noises would persist and loop indefinitely (until heist end)
29 Jan 2021 v1.81
Fixed a bug where looped autofire guns that were exempt from AFSF2's fix would have their default fire noise disabled anyway, resulting in the fire sound failing to play under any circumstances for those guns
KNOWN ISSUE: Some users are reporting that WeaponLib is causing the M203 underbarrel grenade launcher (Little Friend M203 aka contraband) to lack fire sounds. I am investigating the issue and will create a fix when I have time.
Thanks to hinaomi for help with testing and debugging.
3 Jan 2021 v1.8
Fixed some weapons with singlefire sounds not playing fire sounds
Optimized some code. The risk of mod conflicts is still present; however, it is more likely for other mods to override AFSF2 instead of AFSF2 overriding other mods. If you encounter sound bugs (such as fire sounds not playing, or two fire-sounds playing at once), please check to make sure that you do not have other mods conflicting with AFSF2.
Added a hook to enable users to easily edit AFSF2's blacklist via Lua. See the AutoFireSoundFix.lua file in the download for instructions.
15 Nov 2020 v1.7
Fixed U200's bug where the fire sound would play once on firing, breaking both AFSF2 and then play the wrong the actual weapon firing sound and/or play it incorrectly
This update will likely break AFSF2's compatibility with most weapon overhauls, as it requires a change to RaycastWeaponBase:fire(). Authors/developers for mods that affect this function (or related fire-sound functions) will likely need to implement Auto-Fire Sound Fix within their mod itself.
26 Sep 2019 v1.63
Slightly more improved compatibility with other mods that affect raycastweaponbase
AFSF will now search for the flag use_fix in the weapon's tweakdata, in order to support custom weapons which may use custom sounds. If this flag is set to true, the weapon will use AFSF's fix code. Otherwise, AFSF will proceed with its normal validity check (not blacklisted by weapon name, is player, and has singlefire sound)
Updated mod.txt's contact information to use my discord username, which remains the best way to reach me
28 Jun 2018 v1.62
Improved compatibility with other mods that affect raycastweaponbase (weapon firing stuff)
Minor code fixes that are too embarrassing to relate in detail
Cleaned + clarified some comments
Added the new flamethrower (internal name "system") to the blacklist (sorry i forgot to upload it when the flamethrower came out and i also forgot to mention this in the blt patchnotes)
1 May 2018 v1.61
Fixed a rare crash when NPCs fire
27 Apr 2018 v1.6
Fixed reverb caused by AFSF trying to fix certain auto-fire weapons. Thanks to DMC for this code.
Added support for the new XL 5.56 Microgun.
Streamlined code a whole gosh heckin' lot, pardon my French
IZHMA 12G Shotgun (Saiga) doesn't duplicate auto-fire sounds anymore yay
31 Mar 2018 (no version change)
Added a direct download link to the modworkshop page in case paydaymods goes down, for example right now
28 Nov 2017
Fixed causing Flamethrower to play glitched sounds
Fixed new method causing sounds in autofire for some weapons to cut off too soon, such as the JP36 (Big thanks to LunaticLunarian!)
16 Nov 2017
Fixed crashes introduced in previous update, including one caused by NPCs firing
10 Nov 2017
Fixed saw noise being silent
- Fixed Minigun using the wrong sound method
8 Nov 2017
Fixed duplicated fire sound for the IZHMA/Saiga
7 Nov 2017
Fixed silent MG42 fire sound
31 Aug 2017
Added BLT v2 support
7 Aug 2017
- Added BLT auto-update support
12 Jul 2017
-Fixed persistent bug where mod was not uploaded to ModWorkshop.
-Fixed playing the single fire bullet shot sound instead of the grenade launcher sound when using the Little Friend 7.62 underbarrel grenade launcher.
-Fixed the Minigun playing a completely silent sound.
Please do not re-upload this or include this in other modpacks without asking.
Exception: If you are an OVERKILL developer working on PAYDAY 2, please add this to the game. You don't need to provide credit or anything. Please, please, please, just fix this bug.
Dependencies
-
Instructions
**Make sure to first have SuperBLT installed. Click the link in the dependency list.**
Optional video tutorial for installing SuperBLT, BeardLib, and mod_overrides mods: https://youtu.be/rin_sjSJIkg
1. After downloading the mod, use a program such as [7zip](https://www.7-zip.org/download.html) or [WinRAR](https://www.rarlab.com/download.htm) to extract the main folder of the mod.
2. Drop that folder into the `mods` folder which is supposed to be in the game's installation folder (don't know where that is? click [here](https://wiki.modworkshop.net/books/payday-2/page/finding-payday-2s-install-folder))
Comments