Left 4 Dead 2

Left 4 Dead 2

View Stats:
How to add new weapons
Does anyone know how to add new melee weapons to the game, I've seen addons where people added new weapons to l4d2, not replacing any melee in game.
< >
Showing 1-4 of 4 comments
Everice Feb 6, 2024 @ 7:54am 
how much your knowledge in vscript? that thing requires advanced vscript knowledge to do
Shin Navideño Feb 6, 2024 @ 8:19am 
Host your server and use mods that actually change the values like this.
https://steamcommunity.com/sharedfiles/filedetails/?id=694561965
There's also, only weapon changes like this:
https://steamcommunity.com/sharedfiles/filedetails/?id=855769965

So figure it out.

And if you want NEW ONES COMPLETELY UNRELATED TO THE EXISTING ONES SPAWNING ALONGSIDE THEM AS IF A NEW ADDED WEAPON.
Learn coding or some ♥♥♥♥ because the modders here couldnt do it so i doubt you can.
Last edited by Shin Navideño; Feb 6, 2024 @ 8:38am
kurochama Feb 6, 2024 @ 2:09pm 
You can try to learn about making custom weapons. That's the only way to do it for know. There's a guide by Rectus about how to make a custom weapon. Here's the guide:
https://steamcommunity.com/sharedfiles/filedetails/?id=634628292

Anyway, if you simply want to create a new melee weapons with no effects, you'll need to have the melee skin/ model first & then make a melee script put in "scripts/melee" (example: like "baseball_bat.txt"), but with your modified scripts. You can set your melee damage type there (does it cut zombie like katana, burn zombie, or destroy zombie like when shot by m60? Etc). Later, you'll need to update mission files to include your melee to the list of melee on campaigns.

But if you want it to spawn much easier, it's better to replace the existing official melee that you think it's less useful with yours, as you don't need to put more works on modifying mission files etc. For example, like this:
https://steamcommunity.com/sharedfiles/filedetails/?id=3098523042&tscn=1707252191
musicshootout198 Feb 7, 2024 @ 12:43am 
i might be stupid to ask but why weapons be replace anway?
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Feb 6, 2024 @ 6:44am
Posts: 4