Project Zomboid

Project Zomboid

97 ratings
[B41] Suppressor Fix for Brita's Weapon Pack / Arsenal[26] Gunfighter
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
267.961 KB
19 Mar, 2024 @ 3:44am
3 Dec, 2024 @ 2:20am
13 Change Notes ( view )

Subscribe to download
[B41] Suppressor Fix for Brita's Weapon Pack / Arsenal[26] Gunfighter

Description
12/20/2024

This item was designed to work with 2023 version of BWP/Gunfighter (which adapted to B41).

B42 adaption is TBD as OG mod yet not updated.

=================================================================

This actually is a WORKAROUND try to FIX up a not 100% occurring issue.

you DON'T need it if nothing went wrong.

=================================================================

Workaround to make suppressors in Arsenal[26] Gunfighter Mod / Brita's Weapon Pack working as intend.

Intro

Did you ever noticed that the suppressors were not working when you hold those fancy toys? Yet you do attached them on your firearms, but it still ring them to join the Black Parade.

Assume it was caused by specific modlist, some mods probably have potential conflict with GF/BWP in .lua function calling, however it's not the primary topic.

In short, the sound volume*, sound radius*, and gunshot sound won't have any changed with any suppressor on.

*The Sound Volume and Sound Radius are not what you can exactly "hear", they are for zeds, the lower value, the harder to detect you.*

If you'd like see it in person, press "G" by default to call out Gunfighter's weapon info GUI while holding a firearm, check if the sound volume and sound radius will have any change w/ or w/o any suppressor attached.

What does this workaround do?

It contains a .Lua script that re-calculate mentioned properties to suppressors from GF/BWP, i.e. Volume, Radius, and Shotsound by adding simplified-functions and make them delay loading in order to be "universal" way to fix.

FAQ

1.Will this conflict with XYZ? It won't have any direct "conflict" but can be overrided, however that would be ultra-rare if you encountered one.

2.Can be added/removed at any time? Yes.

3.Load order? After requirements, or drag it to the bottom if it bothers you.

4.What does the patch do? According to the .Lua loading queue, once you enabled this workaround, it will force loading default Arsenal Mod's gunshout sound last, which means if you were using Gun Sound Overhaul or Weapon Sound Expansions, and did not enable the patch, you will hear default sound. So, enbale the patch when you have above mod(s) installed.

Tips: it's recommended to install both GSO and WSE instead of one of them, as they use same .Lua script to apply their sound assets, and almost no sound files redundancy between them. Anyhow it's up to you.

=================================================================

2024 Dec Update3

Did some work on priority because two people reported same issue recently.

=================================================================

03/24/24 23:30 UTC(+8) Update2

Suppressed gunshot sound added.

=================================================================

03/22/24 21:40 UTC(+8) Update1

New idea hit and gave a try simulating what Gunfighter was first intended to perform, right now:

1.Ammo matters, 9mm is more silent than .308, isn't it?
2.Restored "Suppression Level" that provided in Mod Option menu.

At this moment mod branched into two version: the Full and the Pure.

For more "complete" experience, choose the Full one which offer the new features above.

For simple workaround experience, choose the Pure one which uses only one fixed value.

==========================================================================


Workshop ID: 3191317703
Mod ID: Arsenal(26)Gunfighter2.0&BWP Working Suppressor Full
Mod ID: Arsenal(26)Gunfighter2.0&BWP Working Suppressor Pure
Mod ID: Arsenal(26)Gunfighter2.0&BWP Working Suppressor SFX Patch
39 Comments
W 14 Dec, 2024 @ 2:45am 
感谢up,我这就去排查:ExcitedElica:
Oversights2006_  [author] 13 Dec, 2024 @ 8:57pm 
@小糖Anon 服务器上装了好几个枪械mod吧,跨mod的配件装不上很理所当然。除此之外要是你连同mod里的武器配件都装不上就要考虑排查mod列表了,这种属于是有明显冲突了。另外这俩枪械mod本身就多写了一堆功能实现,和其它同类型mod的兼容度注定不会太高,除了那些只添加物品的
W 13 Dec, 2024 @ 4:47pm 
作者我问一下,联机玩gunfighter武器装不了配件是正常现象吗。还是说是要在配置文件里设置,有点苦恼,bilibili上也没找到教程,没办法只能来留言来求助了:steamfacepalm::sad_seagull:
MasterBait_420 12 Dec, 2024 @ 5:59am 
明白,我試試看,謝謝你
Oversights2006_  [author] 11 Dec, 2024 @ 8:47pm 
@MasterBait_420 根据你的描述来看,更像是你本地客户端内声音文件的问题(他人可以听见,且数值是修改的),而且在我的脚本写法中不可能会出现只有数值修改生效而声音不生效的情况,只能是要么都生效,要么都不生效

在MP中,你遇到的情况,别的玩家也同样会遇到吗?如果别的玩家没有这个问题,那就可以断定是你本地的问题了

如果是你本地的问题,那你有修改过任何这两个枪械包中的文件吗?使用任何来自这两个枪械包的消音器和火器都会出现此情况吗?确保你的mod列表里没有和这两个武器包相关的多余mod,尝试取消后重新订阅这两个武器包(一定要检查清空后才重新订阅)
MasterBait_420 11 Dec, 2024 @ 4:37pm 
你好,
我在MP裡只能聽到正常槍聲,但其他玩家都能聽到我是有消音效果,對一定距離的僵屍也會減少吸引力.
但我總不能每次換新槍也先開槍試試吧,請問有什麼解決方法?
Oversights2006_  [author] 3 Dec, 2024 @ 2:42am 
@AK-15 Don't mind about time too much, we're from all over the world after all.
Just now I updated the patch, and few things need to be referred:
1.GSO use same script from WSE, the difference between them are sound assets, GSO covered more than WSE do, and seems like WSE didn't take care of Aersnal/BWP completely.
2.GSO can be considered as a completion for WSE, although no dependency within them. Step further, on the file side, GSO has few same-name files compare to WSE, which means you can use them together for a full-scale sound cover.
3.GSO/WSE can be independently used, the reason of "only work with WSE" would be obviously from above-mentioned.
4.So, I changed the scope of patch from WSE to GSO/WSE, and thanks for sharing the info.
AK-15 2 Dec, 2024 @ 3:43pm 
Sorry for the long response)
AK-15 2 Dec, 2024 @ 3:42pm 
Good afternoon
1. Yes, only the WSE patch stopped working; the mufflers work correctly.
2. This...is quite strange because GSO sounds only work with WSE, in turn WSE has many bugs in sound, for example the lack of sound in SIX12 auto. But these are, of course, questions for the WSE mod itself.
3.Thank you for your work;)
6. I think everything will be fine, I doubt that Brita will update her weapon pack in the near future
Oversights2006_  [author] 2 Dec, 2024 @ 9:25am 
It won't be hard if just related with the patch, I will update it ASAP when I am free after daytime.