Left 4 Dead 2

Left 4 Dead 2

Weapon Script Pack
LoadedAK47  [developer] Oct 2, 2014 @ 7:23pm
Patch Notes
For those of you who want to see a full list of changes.

2/4/15
=========

V7:
This is a MANDATORY UPDATE, if you updated to V6. It has come to my attention that the new feature of using your primary while incapacitated introduces a game breaking bug. This bug limits all the weapons to only having the ability to spawn on pistol spawn points. So you can literally go through a whole map without finding any weapons unless it is a pistol spawn point or placed there intentionally by the map maker.

When I first tested this feature everything worked fine. Some of my old tester confirmed that everything worked fine as well. My only assumption is rather I (we) messed up or something got goofed up in the latest Valve Update. If it was Valve's doing..... Why..... If it was my fault I would like to apologize even if it was Valves. I should have been more watchful for these kinds of issues.

Also Special Thanks to DrunkSniperXX.
Although drunk (just kidding), He is the one who informed me of this issue. With him telling me I would have most likely continued onwards without checking if it broke anything. He also debated some other issues with the weapon spreads and recoils that I will talk about later. He has thus far been my longest running active tester of WSP.
----------------------------------------------------
Now to the part you care about:

MANDATORY UPDATE, if you updated to V6.

Fixed a game breaking bug were the primary weapons would only spawn in pistol spawns.

Because of the above bug I had to remove the feature of using your primary weapon while incapacitated.

Corrected some spelling and extra spaces in some of the text files.

FAMAS G2 (SCAR) and FAMAS F1 (SCAR) stats were reversed and is now fixed.

Glock 21 performed like .45 ACP but did the damage of a 9mm and is now fixed to do the damage of a .45 ACP.

MTAR-21 was moved to the SMG section for the Assault Rifle section. Because, it is a SMG not an Assault Rifle.

After some thought and minor debate. I decided to think that the survivors had some weapon training. As they know how to use the weapons, reload them, etc. So I:
-Reduced the recoil by ~30% (This may change depending on feedback, further testing.)

The spread of most of the weapons were sporadic and was reduced by half (50%). To better match the performance of the actual weapons. (This may also change depending on feedback, etc.)

I finally got around to adjusting the fire rate of all the Semi-automatic weapons (DMRs, Pistols, Sniper Rifles). So the fire rates have been decreased or increased depending on the weapon/round. To better match the performance of the weapons. While, still maintaining the realistic capabilities of an average person using these weapons.

Due to my rush with fixing the game breaking bug and life keeping me busy I did not add any new Fictional weapon scripts. Sorry if anyone is waiting for them... They will be released in V7.5/V8 depending how things pan out. If for whatever reason you can't wait PM me or comment and you will get them before the next release.

List of new scripts:

Heavy Weapons - Light Machine Guns:
AUG HBAR (SG 552)

Heavy Weapons - Sniper Rifles:
AWP (AWM): I decided to bring back the AWP from V5
Model 700 (AWM):

Light Weapons - Machine Pistols:
TEC-DC9 (MAC-10)

Light Weapons - Personal Defense Weapons:
KAC PDW (SCAR)

Light Weapons - Pistols:
Browning Hi-Power (Pistols)
M1935 (Pistols)
P345 (Pistols)
VP70M (Pistols)

Light Weapons - Sub-Machine Guns:
MP 40 (Uzi): I forgot to add the script in the last update. Even though it was mentioned in V6 changelog.
MTAR-21 (M16): Was in the Assault Rifle section now moved to the Sub-Machine Gun section.
MTAR-21 (Uzi): Was in the Assault Rifle section now moved to the Sub-Machine Gun section.

Medium Weapons - Assault Rifles:
SRSS Bulldog 762 Gen-4 (M16): This is actually a kit made up of M14 parts and isn't a manufactured weapon. But, whatever.

Medium Weapons – Carbines:
AK-105 (AK-47)
AK-105 (SG 552)

Medium Weapons - Designated Marksman Rifles:
R11 RSASS (G3SG-1)
SKS (Mini-14)
SKS-M (Mini-14)

Medium Weapons - Shotguns:
Coach Gun (M4 Super 90): More commonly known as the Double Barrel Shotgun. As it had no official name. Use the Coach Gun with Coach.
KS-23 (Ithaca 37)
Model 1200 (Remington 870)
Model 1300 (Remington 870)
Model 1897 (Ithaca 37)
SPAS12 (Remington 870)
SPAS12: Name correction, I guess, not sure if its SPAS12 or SPAS-12

Known Issues:
The RPG-7 script has two crosshairs, or at least for me. It doesnt effect anything and everything else works correctly. It just has two crosshairs and I really don't know why....

Compared to V6 release this is a small update, content wise.... Again sorry if the primary weapon bug negatively affected you. Hope it's the last of the problems. I hope you enjoy the new update.

- LoadedAK47

10/2/14
=========

V6:
Wow its been more than a year sense my last update.... I feel bad. Yeah, I don't know what to say. I've been busy with life. But, to make up for it I have almost completely revamped the mod. One of the reason why I left, so many scripts. I found many “logic” errors and I didn't feel like going through 170+ scripts to double check and redo value edits. But hey, I finally got around to it.

Also Special Thanks to Mrz.FranG00bYGAIBEN1337H4x0r$MLG
For informing me of an issue that sparked a chain reaction of discoveries. Many oversights and logic errors were found in my mod. This made me revamp the mod completely and release many new scripts in the proces.
----------------------------------------------------
Now to the part you care about:

Fixed some glaring mistakes I made with the naming of some of the default weapons in the game. For example, I named the Military Sniper the MSG3/90. I got confused with some of the items on the weapon and named it such without looking deeply into the matter. The real name of the gun is G3SG-1. The pump shotgun I named Mossberg 500 when it was the Ithaca 37. The wiki says it's a Remington 870, but most of the parts of the gun match the Ithaca, So..... The pistols were a hole other mess as they were a mix of a multitude of pistols and I just called them G17C when they were two entirely different pistols. Can't make them work like two different pistols when dual wielded so.... yeah. Silly Valve. Wish someone corrected me earlier. Took me 2 years to correct it myself... well a year, but I stopped working on this...

Anyways...

Logistics:
Redid the Readme to correspond with the new organization and name corrections.

Download links are now located in separate txt files in the folders with the script listing. Part of my organization and to keep my sanity with 350+ scripts I have now.

On top of that I double checked all the download links to make sure they go to the right spot and updated them to the new site (Was L4Dmaps.com now its Gamemaps.com, This seriously took me hours.)

Went through Gamemaps.com, GameBanna.com and the SteamWorkshop to get all the download links for skins to go with my scripts (Again this took me hours).

Scripts:
I revamped every script. The only things that stayed the same from previous versions were recoil, rate of fire and magazine size, with exceptions of course.

The spread should be more accurately representative of the weapons they're made for.

As said before I made some logic errors. Some guns did more damage than others even though their round weren't that different in size. Now all the weapons make sense in their given weapon. All the weapons may do more or less damage than before.

More accurately represented bullet penetration.

Fixed, I hope, mistakes and oversights in some weapons (wrong damage, rate of fire, ammo count, etc.)

Made LMGs and MGs reload-able. May or may not keep this feature depending on feedback.

Made it so when you get incapacitated you can still use your primary weapon. Due to limitation your weapon will fire in semi-auto fire. Except for the pump shotguns, apparently there is a bug for them that removes the shotgun sound effects (Valve). May or may not keep this feature depending on feedback.

Made many improvements to the Gamemode script. Simply merged Improved Bots and all my edits together. Bots are now far more responsive. Adjusted difficulties and infected health to better match my intended goals (Realism).

Increased the cool down penalty to 5 minutes and the overheat delay of the M2 Browning 50. CAL to 60 seconds. The M134 minigun has a 5 minute cool down penalty with an overheat delay of 100 seconds. The damage and rate of fire of the M134 has been set to realistic counter part. However, the M2 Browning I could only set the rate of fire. I am unable to set the damage of the 50. Cal. If someone knows how please tell me.

Sadly, I removed some of the Fictional weapons, The ones from Mass Effect. I need more time with these weapons. I'll add them back in the next release.

List of revamped scripts.

All of them.

List of new scripts and organization.

Fictional:
BR85HB SR (SCAR): Battle Rifle from Halo 4.
M6D (Pistols): Pistol from Halo 1-3.
M6G (Desert Eagle): Pistol from Halo Reach.
MA5D (AK-47): Assault Rifle from Halo 3.
MA37 (AK-47): Assault Rifle from Halo Reach.

Heavy Weapons - Launchers:
M32 MGL (M79): was the MGL-140 (name correction).

Heavy Weapons - Light Machine Guns:
QBB-95 (SCAR - M16 swap)
QBB-95 (SCAR - MAC-10 swap)
QBB-95 (SCAR - Uzi swap)
QBB-95 (SCAR)

Heavy Weapons - Machine Guns:
M134 (M60): Someone seriously put a minigun in L4D2.
M240B (AK-47)
M240B (M60)

Heavy Weapons - Sniper Rifles:
AW50 (AWM)
AWM (.300 Winchester Magnum): was the AWP (name correction).
AWM (.338 Lapua Magnum): was the AWP (name correction).
M24A1 (Scout)
M24A2 (Scout)
M24A3 (Scout)
M98 (G3SG-1)
MSR (.300 Winchester Magnum_Scout)
MSR (.338 Lapua Magnum_Scout)
MSR (7.62x51mm NATO_Scout)
PGM 338 (AWM)
Scout (.338 Lapua Magnum)
Scout (5.56x45mm NATO)
Scout (7.62x51mm NATO)
SSG 08 (.300 Winchester Magnum_Scout)
SSG 08 (.338 Lapua Magnum_Scout)
SSG 08 (7.62x51mm NATO_Scout)
TRG-22 (AWM)
TRG-42 (.300 Winchester Magnum_AWM)
TRG-42 (.338 Lapua Magnum_AWM)

Light Weapons - Machine Pistols:
CZ 75 Automatic (Uzi)
MAC-11 (MAC-10)
MP9 (Uzi)
TEC-DC9 (Uzi)

Light Weapons - Personal Defense Weapons:
AAC Honey Badger PDW (M16): Was in the Assault Rifle section now re-classed as a PDW. Like in IRL!1!1111!
P90 (Uzi)
XM8 Compact (M16)
XM8 Compact (MP5)
XM8 Compact (Uzi)

Light Weapons - Pistols: So many new pistols....
5906 (Pistols): was the M5906 (name correction).
AMT Hardballer (Desert Eagle)
AMT Hardballer (Pistols)
Beretta 92 (Pistols)
Browning Hi-Power (Desert Eagle)
Colt Python (Desert Eagle)
FNP-9 (Pistols)
FNP-45 (Pistols)
FNP-357 (Pistols)
G2 Contender (.44 Magnum_AWM)
G2 Contender (.357 Magnum_AWM)
Glock 21 (Pistols): Can be used as the default pistol. Possibly one of the intended default pistol.
Glock 31 (Pistols): Can be used as the default pistol. Possibly one of the intended default pistol.
GSh-18 (Pistols)
M9 (Desert Eagle)
Makarov Pistol (Pistols)
Mk 23 (Desert Eagle)
Mk 23 (Pistols): I originally confused these for the USP. I have now separated the pistol scripts.
P08 (Pistols)
P38 (Pistols)
P99 (Pistols)
P220 (Pistols): Can be used as the default pistol. Possibly one of the intended default pistol.
P226 (Pistols): Can be used as the default pistol. Possibly one of the intended default pistol.
P245(Pistols)
P250 (.357 SIG_Pistols)
P250 (9×19mm Parabellum_Pistols)
P2000 (.357 SIG_Pistols)
P2000 (9x19mm Parabellum_Pistols)
Pistole 80 (Pistols)
PP (Pistols)
PPK (Pistols)
TT-33 (Desert Eagle)
TT-33 (Pistols)
USP9 (Desert Eagle)
USP9 (Pistols)
USP45 (Desert Eagle)
USP45 (Pistols)

Light Weapons - Sub-Machine Guns: Why so many SMGs? Because, modder be modding.
Bizon-2-01 (Uzi)
Bizon-2-07 (Uzi)
Calico M960A (Uzi)
Colt 9mm SMG (Uzi)
K1A (AK-47)
M1A1 (Uzi): Trusty dusty Thompson
M3 (.45 ACP_AK-47)
M3 (.45 ACP_MAC-10)
M3 (9x19mm Parabellum_AK-47)
M3 (9x19mm Parabellum_MAC-10)
M49 (Uzi)
Mini-Uzi (Uzi)
MP5 (SCAR)
MP5K (AK-47)
MP5K (M16)
MP5K (MAC-10)
MP5K (Uzi)
MP5SD: Different variant of the MP5
MP40 (MP5)
PPSh-41 (AK-47)
PPSh-41 (M16)
Skorpion vz. 61 (MAC-10)
Skorpion vz. 61 (Uzi)
Skorpion vz. 82 (MAC-10)
Skorpion vz. 82 (Uzi)
UMP9 (MAC-10)
UMP9 (Uzi)
UMP45 (MAC-10)
UMP45 (Uzi)
Uzi (.45 ACP_MAC-10)
Uzi (9x19mm Parabellum_MAC-10)

Medium Weapons - Assault Rifles: Standard Issued.
ACE 23 (AK-47)
ACE 32 (AK-47)
ACE 52 (AK-47)
AEK-971 (AK-47)
AEK-972 (AK-47)
AEK-973 (AK-47)
AK-12 (AK-47)
AN-94 (SCAR - M16 swap)
AN-94 (SCAR - MAC-10 swap)
AN-94 (SCAR - Uzi swap)
AN-94 (SCAR)
ARX-160 (5.45x39mm_M16)
ARX-160 (5.56x45mm NATO_M16)
ARX-160 (6.8x43mm SPC_M16)
ARX-160 (7.62x39mm_M16)
AUG (AK-47)
AUG (SCAR - M16 swap)
AUG (SCAR - MAC-10swap)
AUG (SCAR - Uzi swap)
AUG (SCAR)
CAL (AK-47): It's the Belgium version of the FAL.
CZ-805 (SG 552)
F2000 (M16)
F2000 (SG 552)
FAMAS F1 (AK-47)
FAMAS F1 (MAC-10)
FAMAS F1 (SCAR)
FAMAS F1 (Uzi)
FAMAS G2 (AK-47)
FAMAS G2 (MAC-10)
FAMAS G2 (SCAR)
FAMAS G2 (Uzi)
G3A3 (M16)
G36 (SG 552): was the G36KE (name correction). The G36KE is semi-auto not full-auto...
M16A2 (SCAR): We could always need a M16.
MD97 (AK-47)
MSBS-5.56 Radon (M16)
MSBS-5.56 Radon (SCAR - M16 swap)
MSBS-5.56 Radon (SCAR - MAC-10 swap)
MSBS-5.56 Radon (SCAR - Uzi swap)
MTAR-21 (M16)
MTAR-21 (Uzi)
OTs-14-1A (Uzi)
OTs-14-4A (Uzi)
QBZ-95 (SCAR)
QBZ-95 (SCAR - M16 swap)
QBZ-95 (SCAR - MAC-10 swap)
QBZ-95 (SCAR - Uzi swap)
QBZ-95 (SCAR)
SCAR-H (SCAR - MAC-10 swap)
SCAR-H (SCAR - Uzi swap)
SCAR-L (SCAR - MAC-10 swap)
SCAR-L (SCAR - Uzi swap)
SCAR-L (SG 552)
SG 556 (M16 - Scar swap)
SG 556 (M16)
SG 556 (SG 552)
TAR-21 (M16)
TAR-21 (Uzi)
Type 89 (M16)
vz. 58 (AK-47)
XM8 (M60)
XM8 (SCAR - M16 swap)
XM8 (SCAR - MAC-10 swap)
XM8 (SCAR - Uzi swap)
XM8 (SCAR)
XM8 (SG 552)

Medium Weapons - Carbines: And there is more.
9A-91 (M16)
ACR (5.56x45mm NATO_AK-47): Was in the Assault Rifle section now re-classed as a Carbine.
ACR (5.56x45mm NATO_M16)
ACR (6.8x43mm SPC_AK-47): Was in the Assault Rifle section now re-classed as a Carbine.
ACR (6.8x43mm SPC_M16)
AKS-74U (AK-47)
De Lisle (AWM)
De Lisle (Scout)
G36C (M16): Was in the Assault Rifle section now re-classed as a Carbine.
G36C (MAC-10)
G36C (MP5): Was in the Assault Rifle section now re-classed as a Carbine.
G36C (Uzi)
HK416 (AK-47)
HK416 (M16): Was in the Assault Rifle section now re-classed as a Carbine.
HK416 (SCAR - M16 swap)
HK416 (SG 552)
L22A1 (SG 552)
M1 (Mini-14): Trusty dusty M1 Carbine.
M4 (M16 - SCAR swap): Was in the Assault Rifle section now re-classed as a Carbine.
M4 (SCAR): Was in the Assault Rifle section now re-classed as a Carbine.
M4A1 (SCAR - M16 swap): Was in the Assault Rifle section now re-classed as a Carbine.
M4A1 (SCAR - MAC-10 swap): Was in the Assault Rifle section now re-classed as a Carbine.
M4A1 (SCAR - Uzi swap): Was in the Assault Rifle section now re-classed as a Carbine.
R5 RGP (AK-47)
R5 RGP (M16)
SG 551 (M16)
SG 552 (MAC-10)
SG 552 (AK-47): Was in the Assault Rifle section now re-classed as a Carbine.
SG 552 (M16): Was in the Assault Rifle section now re-classed as a Carbine.
SG 552 (SCAR - M16 swap)
SG 552 (SCAR - MAC-10 swap)
SG 552 (SCAR - Uzi swap)
SG 552 (SCAR)
SG 552 (Uzi)
SG 552: Was in the Assault Rifle section now re-classed as a Carbine.

Medium Weapons - Designated Marksman Rifles: For those Snipers on the move.
AKS-74 (G3SG-1)
G3A3 (G3SG-1)
G3SG-1: Oh no it's the G3SG-1 not the MSG3/90 (name correction).
Gewehr 41 (Mini-14): Was in the Sniper Rifle section now re-classed as a DMR.
HK417 (G3SG-1)
M14 EBR-RI (Mini-14)
M110 (G3SG-1)
Mini-6.8
Mini-14: Was in the Sniper Rifle section now re-classed as a DMR.
Mini-30
Mk 14 Mod 0 (Mini-14): Was in the Sniper Rifle section now re-classed as a DMR.
Mk 20 Mod 0 (G3SG-1)
Mk 20 Mod 0 (Mini-14)
MSG90 (G3SG-1): Oh hey I never seen this gun before.
OTs-03 SVU (G3SG-1): Was in the Sniper Rifle section now re-classed as a DMR.
SG 550 Sniper (G3SG-1): Was in the Sniper Rifle section now re-classed as a DMR.
PSG1 (G3SG-1): Was in the Sniper Rifle section now re-classed as a DMR.
SL8 (Mini-14): Was in the Sniper Rifle section now re-classed as a DMR.
SR-25 (G3SG-1) : Was in the Sniper Rifle section now re-classed as a DMR.
SVD (G3SG-1): Was in the Sniper Rifle section now re-classed as a DMR.
Tabuk Sniper Rifle (G3SG-1)
VSS (Mini-14): Was in the Sniper Rifle section now re-classed as a DMR.
WA 2000 (G3SG-1)
WA 2000 (Mini-14)

Medium Weapons - Shotguns: Keep it personal.
AA-12 (G3SG-1)
Armsel Striker (SPAS-12)
Baikal MP-153 (SPAS-12)
Benelli M3 (M4 Super 90)
Benelli M3 (SPAS-12)
Browning Auto-5 (M4 Super 90)
FP6 (Remington 870)
Ithaca 37 (Remington 870)
Ithaca 37: Hey it's the actual pump presented in the game, Kind of. Was the Mossberg 500 (name correction).
KS-23 (Remington 870)
Maruzen M870 BV (Ithaca 37): I think this is a BB gun, but I am going to pretend it's a shotgun.
MAUL (M4 Super 90)
Model 1897 (Remington 870)
Model 1912 (Ithaca 37)
Model 7600 Carbine (Remington 870)
Model 7615p (Remington 870)
Mossberg 590 (Ithaca 37)
Mossberg 590 (Remington 870)
Mossberg 930 (M4 Super 90)
Mossberg 930 (SPAS-12)
MTs-255 (Ithaca 37)
Stevens M620 (Ithaca 37)
Super X3 (M4 Super 90)
TOZ-194 (Ithaca 37)
TOZ-194 (M4 Super 90)

Oh man, so many new scripts. I may have missed or added a few. Well, this is 3 updates in one pretty much. I hope you guys can understand my reasoning for the new organization. Possibly understand why it took me so long to getting around to updating this mod. As you can see the amount of scripts was a lot for me to handle. I had to split them up. Happy Modding and I hope you enjoy the new Weapon Script Pack.

- LoadedAK47
Last edited by LoadedAK47; Feb 9, 2015 @ 6:26pm