Left 4 Dead 2

Left 4 Dead 2

Custom Weapon Lab [Base][Vscript]
 This topic has been pinned, so it's probably important
Zaden  [developer] 28 May, 2024 @ 4:49pm
Modders Contributions Here
Hello, this is a section for those who would like to contribute in finding solutions and features for the mod. Bug Fixes are currently being worked on in the Bug Reports section.
But there are currently some features that we still don't know how to implement (and I will be updating the list depending on what we find);
- Custom Sounds
- Custom UI

If you managed to make a helpful feature, please comment here so we can implement it and we will credit you!
Thank you! :health:
Last edited by Zaden; 30 May, 2024 @ 12:55pm
< >
Showing 1-10 of 10 comments
puro929292 29 May, 2024 @ 4:56am 
hi. you know how add the materials to the weapons? i cant add the materials but yes the models
Lerrycapetime 29 May, 2024 @ 1:51pm 
Originally posted by puro929292:
hi. you know how add the materials to the weapons? i cant add the materials but yes the models
Hey friend please don't fill this page with irrelevant questions, this is specific for something else. Anyways I might know how to hook a zoom function but I'll have to do some testing and see if it works, if I figure it out I'll add Devlos or Zaden.
devlos  [developer] 30 May, 2024 @ 9:26am 
Originally posted by Lerrycapetime:
Originally posted by puro929292:
hi. you know how add the materials to the weapons? i cant add the materials but yes the models
Hey friend please don't fill this page with irrelevant questions, this is specific for something else. Anyways I might know how to hook a zoom function but I'll have to do some testing and see if it works, if I figure it out I'll add Devlos or Zaden.

I figured it out , just need to implement it now. Feel free to keep me updated on other findings you may encounter. :)
Last edited by devlos; 30 May, 2024 @ 9:49am
puro929292 30 May, 2024 @ 11:03am 
Originally posted by Lerrycapetime:
Originally posted by puro929292:
hi. you know how add the materials to the weapons? i cant add the materials but yes the models
Hey friend please don't fill this page with irrelevant questions, this is specific for something else. Anyways I might know how to hook a zoom function but I'll have to do some testing and see if it works, if I figure it out I'll add Devlos or Zaden.
sorry bro
kurut0 12 Aug, 2024 @ 3:52am 
hey guys! I just found a way to add custom sounds to CWL guns

It uses MrFunreal's SSMB addon tho, so setup to making and using gun sounds are abit finnicky. But once you get it to work, it's pretty cool

Here's a vid I uploaded where I tested it out. I first fired the AK47 so as to show the default sounds are untouched, then fired a CSS Galil added through CWL with the newly added custom sounds:

https://www.youtube.com/watch?v=vBKn2NEaW4M

of course, the video above is sort of a proof of concept that modding in custom sounds work, but I can see how this can be pretty hard to maintain when trying to play with multiple mods that use their own custom sounds. Here's to hoping a future update to SSMB's way of adding custom sounds get an easier approach
Last edited by kurut0; 12 Aug, 2024 @ 8:38am
Zaden  [developer] 12 Aug, 2024 @ 12:08pm 
Originally posted by kurut0:
hey guys! I just found a way to add custom sounds to CWL guns

It uses MrFunreal's SSMB addon tho, so setup to making and using gun sounds are abit finnicky. But once you get it to work, it's pretty cool

Here's a vid I uploaded where I tested it out. I first fired the AK47 so as to show the default sounds are untouched, then fired a CSS Galil added through CWL with the newly added custom sounds:

https://www.youtube.com/watch?v=vBKn2NEaW4M

of course, the video above is sort of a proof of concept that modding in custom sounds work, but I can see how this can be pretty hard to maintain when trying to play with multiple mods that use their own custom sounds. Here's to hoping a future update to SSMB's way of adding custom sounds get an easier approach

NICE!!!
Have you tested it in 3rd person? (As a survivor listening to the gunshots from another survivor's weapon)
kurut0 12 Aug, 2024 @ 6:49pm 
Originally posted by Zaden:
NICE!!!
Have you tested it in 3rd person? (As a survivor listening to the gunshots from another survivor's weapon)

Tested it out today on a campaign, and it works! Gave a bot that galil on the video above with custom sounds, and I could hear the custom sounds I set to it.

My guess is that since it deals with the custom sounds through a modified SoundScripts manifest rather than through scripts, it doesn't have to rely on the server to be able to play these sounds.

That does mean, however, that people who'd like to use the same gun mods have to install the SoundScripts Manifest Base manually, by following MrFunreal's tutorial video.


To add onto the custom sounds, I also edited the viewmodel .qc file for that galil, and changed the events in the sequences to play custom sounds rather than the default AK47 sound files, they also work. So, this means that we can have custom firing and reload sounds!
Last edited by kurut0; 12 Aug, 2024 @ 6:53pm
i have a question: can you edit the damage of the weapons?
Originally posted by bacorjohnray:
i have a question: can you edit the damage of the weapons?
yes. you can edit that in the ems of the weapons
I decided to mess around a bit with CWL's in the pistol slot:
https://youtu.be/264Vt9rfZNw
< >
Showing 1-10 of 10 comments
Per page: 1530 50