Left 4 Dead 2

Left 4 Dead 2

Custom Weapon Lab [Base][Vscript]
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Zaden  [udvikler] 28. maj 2024 kl. 16:49
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:
Sidst redigeret af Zaden; 30. maj 2024 kl. 12:55
< >
Viser 1-10 af 10 kommentarer
puro929292 29. maj 2024 kl. 4:56 
hi. you know how add the materials to the weapons? i cant add the materials but yes the models
Lerrycapetime 29. maj 2024 kl. 13:51 
Oprindeligt skrevet af 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  [udvikler] 30. maj 2024 kl. 9:26 
Oprindeligt skrevet af Lerrycapetime:
Oprindeligt skrevet af 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. :)
Sidst redigeret af devlos; 30. maj 2024 kl. 9:49
puro929292 30. maj 2024 kl. 11:03 
Oprindeligt skrevet af Lerrycapetime:
Oprindeligt skrevet af 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 kl. 3:52 
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
Sidst redigeret af kurut0; 12. aug. 2024 kl. 8:38
Zaden  [udvikler] 12. aug. 2024 kl. 12:08 
Oprindeligt skrevet af 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 kl. 18:49 
Oprindeligt skrevet af 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!
Sidst redigeret af kurut0; 12. aug. 2024 kl. 18:53
bacorjohnray 6. apr. kl. 11:52 
i have a question: can you edit the damage of the weapons?
puro929292 6. apr. kl. 15:51 
Oprindeligt skrevet af bacorjohnray:
i have a question: can you edit the damage of the weapons?
yes. you can edit that in the ems of the weapons
War_Tomato 22. juni kl. 15:28 
I decided to mess around a bit with CWL's in the pistol slot:
https://youtu.be/264Vt9rfZNw
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50