Create completely new melee weapons.
In this tutorial I will tell you how to create completely new melee weapons for L4D2. This will work with custom models with a catch, more on that later though. (Not worth it, unless you feel like experimenting)
Tools Required: Notepad++ GCFscape 1.7.3 or above
Creating A Custom Melee Weapon Script:
1. Open up pak01dir.vpk using GCFscape and navigate to /scripts/melee.
2. Copy meleemanifest.txt and any script located here, except for knife, into the same folder outside of the .vpk file. Example Image
3. Rename the file to anything else (Ex: baseballbat.txt --> sledgehammer.txt).
4. I won't go into much detail here, but replace whatever you want within your new weapon script file.
5. Now open up meleemanifest.txt and add this line before the end bracket: "file" "scripts/melee/
Adding Your Custom Melee Weapon into a Campaign:
1. Create a new mission .txt file for your custom campaign OR open an existing campaign<#>.txt.
2. Edit or add the following: "meleeweapons" "
In-Game Use Setup: 1. Open up pak01dir.vpk using Notepad++ 2. Search for the following: "ÿÿmeleemanifest" (No quotes) 3. Replace this with a single letter replacement such as "ÿÿmelee_manefest" 4. [Optional - For placing in official campaigns] Search for the following: "ÿÿcampaign1", "ÿÿcampaign2", "ÿÿcampaign3", "ÿÿcampaign4", "ÿÿcampaign5" 5. [Optional] Replace a single letter for each searched. Example Image 6. Save. 7. Replace your whitelist.cfg file with the one included in the riotshield mod. (See Downloads) 8. Start up L4D2.
Notes: • All custom melee weapons work online/offline when locally hosting and do NOT affect playing normally online.









