Left 4 Dead Icon L4D Tutorial

[L4D & L4D2] Weapon Modding

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending dildawg123 points.
  • Post: Give dildawg123 your thoughts on this Tutorial.
  • Vote: Help dildawg123 win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Resistance is futile...

Become a Bananite

Already a Bananite? Login

CHANGING WEAPON STATS

Hey, i just thought to make a quick tutorial on how to mod left 4 dead and left 4 dead2 weapons. [L4D] Go to STEP 1 C:\programfiles(x86)\steam\steamapps\common\left4dead\left4dead\scripts STEP 2 Go to the bottom of all the text files till you see all the weapon\_xxxxx files. Choose one, i'm going to use weapon\_rifle as my example. STEP 3 Open it, fire look at these line first those are all about accuracy so if u want a whole clip from a rifle into one single spot then set it all to o like this. (I have also found out that those lines there if u change them they sometimes work online if not the server will say "The server is enforcing consistency for script weapon\_rifle" or something like that. STEP 4 If you want to change dmg or clip size for single player then go down till you see this. You can simply change the dmg so it's insta shot, and im not 100% sure but "Penetration power" is how easy the gun can shoot throw walls. [ADDON] Scroll down a bit more till you see "clip size" change it and then in single player it will have that much. I suggest when changing reload time or clip size to copy the script before because online if you have them change it can screw up your reloading and would loop about 3 times till it reload, it weird lol [L4D2] For this you will need "GCFScape" STEP 1 Go to left4dead2\left4dead2..go to the bottom and open pak01\_dir with GCFScape STEP 2 There should be folder and go to the one "scripts" STEP 3 Extract the weapon you want to script to left4dead2/left4dead2/scripts and mod it to what ever you like :))) [IMPORTANT] STEP 4 Now the script you put in your normal script folder wont work till you do this. Close GCFScape and open pak01\_dir with notepad and there should be a bunch of letters, numbers and symbols so press crtl+f and type in the search box your weapons (E.G I modded weapon\_smg and placed it into my scripts so search "weapon\_smg" without quotes." [IMPORTANT] STEP 5 Your weapon name e.g weapon\_smg should be highlighted so now rename it e.g "weapon\_smg to weapon_blah" save it. What this is doing is that the game will know that the name is wrong so it will go to the folder scripts in left4dead2\left4dead2 and use that script. HAVE FUN :) JUST FOR FUN [FUN WAY OF MODDING] This will make every shot of your gun as if the zombie was blown up by a pipe bomb instantly it pretty cool. For l4d because it's easier but u can do the same with l4d2 just read above. STEP 1 Open any weapon you want in the scripts folder in common\left4dead\left4dead\scripts e.g weapon\_rifle STEP 2 Go down to PRIMARY AMMO AND SECONDARY AMMO, change AMMO\_TYPE\_ASSUALTRIFLE to secondary ammo and put AMMO\_TYPE\_PIPEBOMB into PRIMARY AMMO. STEP 3 One thing go to clip size and change it to what you want be with pipe bombs there's no reloading so default clip size is 50 so only 50 shots so if u want the ammo of a normal rifle change it to 450 sadly it's only huge clip not stopping and reloading. (Oh well doesn't matter have fun with this) ANY PROBLEMS JUST COMMENT AND I'LL TRY AND FIX THNX GUYS AND ENJOTY

Posts

  • 11mo
    Deadpool69 avatar
    Deadpool69 Offline
    Member Joined 11mo
    Hi there. Sorry to bother you, but the part with the ammo types and changing them doesn't work, at least for the secondary ammo. I make the primary type a molotov and the secondary a magnum pistol, but the result was very few ammo and no blazing zombies. I think this tutorial is outdated on the ammo part.
    Bananite
  • 1y
    Posted by CaSiO3

    Tip: Cycletime is speed of shooting. Decrease it and shot as fast as you wantTip2: Yeah penetration is how easy the gun can shot through walls
    do you know what line modifies Ammo Capacity?

    Also dose anyone know how to change it form normal rounds to incendiary or explosive?

    Bananite
  • 4y
    Guest404 avatar
    Guest404 Offline
    Member Joined 4y
    thanks
    Marker
  • 4y
    CaSiO3 avatar
    CaSiO3 Offline
    Member Joined 4y
    Tip: Cycletime is speed of shooting. Decrease it and shot as fast as you want

    Tip2: Yeah penetration is how easy the gun can shot through walls
    CaSiO3 means Calcium Silicate
  • 5y
    Crazy Guy of Doom avatar
    Member Joined 7y
    2,054 points Ranked 2265th
    8 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    Not the same problem as the user underneath me but I did this and it didn't work at all. The scripts are the same (I only modified the clip size) as they were before I edited the clip size number to be realistic because a script which was another realism script caused the bullets not to appear (probably my fault for putting Bullets to 0 when I edited that script before I made my own one) so yeah, don't know what happened or if an update has come so that it only works for vpk, I think it still works but in a certain method or the one in this tutorial.

    Thanks for the tutorial, but I'll try again with the script I downloaded and see if I can fix it.
    All toasters toast TOAST!
  • 5y
    christollio avatar
    Member Joined 5y
    **Notes:**

    - hi, um i did everything you said to do but i get errors. the first one i got was when i tried to join a server it said The server is enforcing consistency for... the second one i get doesnt even let me run the game and it says unkown version 538976257 for vpk c:\program files(x86)\steam\steamapps\common\left 4 dead 2\ left4dead2\pak01. can u help??
    Bananite

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
dildawg123
Author

Submitter

dildawg123 avatar
dildawg123 Offline
Member Joined 6y
126 points Ranked 23675th

dildawg123
Creator
Send a Private Message to the submitter

Category

Details

Difficulty Level
Intermediate Difficulty

Attributes

Stats

Posts
6
Views
32,068
Date Added
6y
Date Modified
6y

Rating

  • Not yet rated