Left 4 Dead 2

Left 4 Dead 2

73 ratings
Incap Firing Speed Fix
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
Game Modes: Single Player, Co-op
Weapons: Pistol
File Size
Posted
2.977 KB
8 Oct @ 2:31pm
1 Change Note ( view )

Subscribe to download
Incap Firing Speed Fix

Description
Valve nerfed the pistols a lot between L4D1 and L4D2. They changed the model from the iconic M1911 to a small, chunky P220. They added melee weapons, which are better than the pistol in most situations. They added the Magnum, which is better than the pistol in all situations. But the biggest nerf was possibly unintentional.

When you're incapacitated, your firing speed isn't based on the usual firing speed of your gun, but rather a CVar with a set value. This is fine in the case of the Magnum, since the CVar happens to exactly match its normal firing speed. However, for the pistols it's a huge nerf. They normally fire every 0.0875 seconds, but they are instead forced to fire every 0.3 seconds. That's 3 and a half times slower, making the pistols pretty much useless when you're incapacitated.

This script fixes Valves incompetence and hatred for the pistols. The CVar will now be adjusted to match the default firing speed of your gun every time you shoot, making the pistols and Magnum fire at their respective normal speeds.

I'm not sure how it'll behave if multiple players are incapacitated and firing different weapons at the same time. It'll probably be fine.
20 Comments
Can you create a mod that allows using melee weapons and throwing items while downed?
kurochama 19 hours ago 
Yes, I think there's a cvar to set the accuracy penalty when incapped. But the netprops can also be used for an alternative in case if you don't want to modify the cvar.
Geebanger0  [author] 20 hours ago 
I think there's just a cvar for it
kurochama 21 hours ago 
In case if you're interested in increasing accuracy when incapped, you can try netprops to change upgrade, & give the pistol laser upgrade (it's a hidden feature that pistol can get laser upgrafe, but it's via netprops). Then when the survivor stands up again, remove the laser upgrade on the pistol.
withextradip 22 hours ago 
Should find a way to be able to pick up pistols whilst incapped. Went down, tried picking up a second pistol that landed next to me to help my team. It no work :(
Geebanger0  [author] 9 Oct @ 1:54pm 
@4512369781 alright ill check it out
Geebanger0  [author] 9 Oct @ 1:54pm 
@Ashi youll need a separate mod for that
4512369781 9 Oct @ 8:04am 
you can check the "m_isDualWielding" netprops.
Ashi 9 Oct @ 6:11am 
Does this fix the accuracy of pistols?
Geebanger0  [author] 9 Oct @ 2:46am 
potentially, but I couldn't find any way to do so. Using the weapons classname and ID gives the same result for single and dual pistols