Left 4 Dead 2

Left 4 Dead 2

Custom Weapon Lab [Base][Vscript]
 此主题已被置顶,因此可能具有重要性
Zaden  [开发者] 2024 年 5 月 28 日 下午 4: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:
最后由 Zaden 编辑于; 2024 年 5 月 30 日 下午 12:55
< >
正在显示第 1 - 10 条,共 10 条留言
puro929292 2024 年 5 月 29 日 上午 4:56 
hi. you know how add the materials to the weapons? i cant add the materials but yes the models
Lerrycapetime 2024 年 5 月 29 日 下午 1:51 
引用自 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  [开发者] 2024 年 5 月 30 日 上午 9:26 
引用自 Lerrycapetime
引用自 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. :)
最后由 devlos 编辑于; 2024 年 5 月 30 日 上午 9:49
puro929292 2024 年 5 月 30 日 上午 11:03 
引用自 Lerrycapetime
引用自 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 2024 年 8 月 12 日 上午 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
最后由 kurut0 编辑于; 2024 年 8 月 12 日 上午 8:38
Zaden  [开发者] 2024 年 8 月 12 日 下午 12:08 
引用自 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 2024 年 8 月 12 日 下午 6:49 
引用自 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!
最后由 kurut0 编辑于; 2024 年 8 月 12 日 下午 6:53
bacorjohnray 4 月 6 日 上午 11:52 
i have a question: can you edit the damage of the weapons?
puro929292 4 月 6 日 下午 3:51 
引用自 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 6 月 22 日 下午 3:28 
I decided to mess around a bit with CWL's in the pistol slot:
https://youtu.be/264Vt9rfZNw
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50