Left 4 Dead 2

Left 4 Dead 2

49 ratings
OBO: Pistols Rebalance script UPDATED
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons, Scripts
File Size
Posted
Updated
4.359 KB
21 Jul, 2018 @ 2:14pm
26 Aug, 2022 @ 4:20am
7 Change Notes ( view )

Subscribe to download
OBO: Pistols Rebalance script UPDATED

In 2 collections by Lankycide
OBO: The Collection - All the Mods!
49 items
OBO: The Collection - Director's Cut
21 items
Description
OBO, pronounced "oboe" (yes, like the instrument), stands for "Overall Balance Overhaul."

This is yet another script that upgrades the Pistols, and hopefully the most balanced. See, the issue was that my 9mm Hollow Point script couldn't pierce, and my Five-seveN script couldn't gib. At the same time, I didn't want to make this mod OP by combining gibbing, piercing, and high damage. Eventually, I settled on this. A middle ground compromise of everything, and should be perfect for those who found my other two scripts too powerful or too un-vanilla (with their larger magazines and such).

This script has the vanilla ammo capacity of 15 (like many real-world 9mm pistols) and pierces the original number of enemies, with tweaked damage and a slew of other little edits. It is aimed at clearing ambient Commons and hordes, with an emphasis on higher mobile-accuracy than most primaries but lower killing power.

The result is a more stark difference in role between the Pistols and the Desert Eagle, allowing each to have its niche. You'll need to choose wisely bewteen the Common-handling of the Pistols or the special-getting and light sniping of the Desert Eagle. Thus, matching your secondary up with your primary is given more focus. Eg, Desert Eagles go well with short-range shotguns or other weapons that aren't good against Specials, and Pistols go well with Snipers (especially bolt-action ones) or any gun that can't effectively deal with hordes. Strategy! Delicious strategy!


Changelog (X means unchanged):

VerticalPunch - 2.0 to 2.1
SpreadPerShot - 1 to X
MaxSpread - 30 to 15
SpreadDecay - 5 to 10
MinDuckingSpread - 0.5 to X
MinStandingSpread - 1.5 to 0.6
MinInAirSpread - 3.0 to 0
MaxMovementSpread - 3.0 to 1.225
DeployDuration - 0.5 to 0.3
DualDeployDuration - 0.65 to 0.4
PenetrationNumLayers - 2 to X
PenetrationPower - 30 to 76
Damage - 36 to 40
CycleTime - 0.175 to 0.16
clip_size - 15 to X
primary_ammo - AMMO_TYPE_PISTOL to X

Disclaimer about the preview screenshot(s):
I got them randomly off the internet. I claim nothing. If need be, I'll replace them with something generic from Wikipedia or something.
29 Comments
xhg420x 18 Apr, 2024 @ 1:16am 
strange. i unsubbed every other mod except for this one to see what would happen but the icons are still the l4d1 1911 icons instead of the p220/glock icons. not a big deal though since the .45 handguns script exists
Lankycide  [author] 18 Apr, 2024 @ 12:31am 
@xhg420x:
This mod doesn't change the icons, but other script mods can. For whatever reason, Valve decided to put each weapon's icon reference in the script .txt files, so if you have this mod installed then you'll have the vanilla, default L4D2 pistol icons. Some weapon mods come with a script to change the icon to fit whatever weapon model is used.

The easiest way to check this is to launch L4D2 and check your in-game addons list, then see if my mod is conflicting (highlighted in red text) with any other mod.
xhg420x 17 Apr, 2024 @ 6:54pm 
why does this change my pistol icons to 1911's
Nemo 26 Aug, 2022 @ 4:32am 
Aww, thanks. I use your scripts whenever I'm not using my own personal ones, I feel they strike a good balance and give facelifts to underused weapons.
Lankycide  [author] 26 Aug, 2022 @ 4:29am 
@Archmage Zhed:
There we go, fixed the issue. Turns out, reducing the Deploy delay to 0.01 was the issue. It's been reverted to 0.3 and I've credited you in the update notes. :)
Nemo 26 Aug, 2022 @ 3:21am 
Yeah, seems to be. When throwing a gascan with any other weapon, it's fine. When throwing with just a pistol, it shoots it with the same mouse click used to throw the can.

I even fired up GFCScape and edited a pistol script myself to see if this was this case and, yep, DeploySpeed being too fast is what seems to do it.
Lankycide  [author] 26 Aug, 2022 @ 1:34am 
@Archmage Zhed:
Oh dear, I actually hadn't considered that. Is it a guarantee the moment the gascan is thrown? Or does it only happen when frantically spamming left click?

@76561199014715162:
That was the goal, so I'm glad to hear it. :)
Nemo 24 Aug, 2022 @ 7:31pm 
Just a heads up, it seems like the deploy speed is too fast, as I end up shooting gascans and the like when throwing them and having the pistols equipped, resulting in an inferno at one's feet.
76561199014715162 15 Feb, 2022 @ 1:41pm 
Now the Pistols don't suck anymore, thanks!
Lankycide  [author] 15 Feb, 2022 @ 2:31am 
@DrMarioProjectM:
Yep.