Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
(*模组停更了 兼容性没有保障 建议换个订阅)
[26-05-22 02:13:20.426] ERROR: General , 1653520400426> 337,035,306> DebugLogStream.printException> Stack trace:.
[26-05-22 02:13:20.429] LOG : General , 1653520400429> 337,035,309> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: table.insert
function: SilencerLoading.lua -- file: SilencerLoading.lua line # 12.
*这个模组一段时间内我应该不会更新了
<steam directory>/workshop/content/108600/2584211049/mods/Weapon Mods/Media/lua/server/items/WPNMOD_Silence.lua:18
`if item:getCanon() == nil then return end`
```lua
if item:getCanon() == nil then
item:setSoundVolume(item:getScriptItem():getSoundVolume)
item:setSoundRadius(item:getScriptItem():getSoundRadius)
item:setSwingSound(item:getScriptItem():getSwingSound)
return
end
```
因为枪口移除之后, 导致item:getCanon()为空, 原来的代码直接结束跳出, 没有执行下面恢复声音的代码.
如果不想改代码, 可以给武器上一个其他的枪口部件 比如说Laser, GunLight 什么的, 声音就正常了.
这个代码有可能会影响到其他mod修改声音的处理
最好是在卸载部件的事件里面恢复声音. 具体是哪个事件我还没找.
As it stands all of the suppressor mods are pretty sub par, at the very least we should have one that is modifiable to accomplish suppressors on all vanilla guns and the option to slightly increase range/accuracy or leave it unchanged with them on.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2169435993&searchtext=mod+option
[22-10-21 18:39:12.999] WARN : General , 1634902752999> TextManager.Init> font "AutoNormSmall" not found in fonts.txt.
[22-10-21 18:39:12.999] WARN : General , 1634902752999> TextManager.Init> font "AutoNormMedium" not found in fonts.txt.
[22-10-21 18:39:13.005] WARN : General , 1634902753005> TextManager.Init> font "AutoNormLarge" not found in fonts.txt.
[22-10-21 18:39:13.056] WARN : General , 1634902753056> TextManager.Init> font "DebugConsole" not found in fonts.txt.
[22-10-21 18:39:10.236] LOG : General , 1634902750236> texturepack: loading NZTILEPACK.
[22-10-21 18:39:10.236] LOG : General , 1634902750236> ERROR: Missing translation "UI_Loading_Texturepack".
我开始储蓄,消音器停止工作,尽管它在武器上。 我去了日志,但我看到了一个错误
function: SilencerLoading.lua -- file: SilencerLoading.lua line # 12.
[16-10-21 14:25:19.755] ERROR: General , 1634376319755> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: locker of non-table: null at
说实话我只是更新调整了一些数据 添加新武器支持的话,可能需要调整消音器和武器的相对坐标,目前还没研究
如果之后打算大修这个模组的话,会优先考虑
最近PZ频繁更新不知道搞炸了多少模组,有点烦,跑去玩XCOM2了
Did I not say that this is a tuning optimization?
The introduction also posted a link to the original work
If you like the original better, go subscribe
Read carefully. Thanks.
table.insert(ProceduralDistributions.list["GunStoreDisplayCase"].items, "Silencer.Silencer");
table.insert(ProceduralDistributions.list["GunStoreDisplayCase"].items, 10);
table.insert(ProceduralDistributions.list["GunStoreShelf"].items, "Silencer.Silencer");
table.insert(ProceduralDistributions.list["GunStoreShelf"].items, 10);
table.insert(ProceduralDistributions.list["GunStoreShelf"].items, "Silencer.Silencer");
table.insert(ProceduralDistributions.list["GunStoreShelf"].items, 10);
table.insert(ProceduralDistributions.list["PoliceStorageGuns"].items, "Silencer.Silencer");
table.insert(ProceduralDistributions.list["PoliceStorageGuns"].items, 10);
table.insert(ProceduralDistributions.list["PoliceStorageGuns"].items, "Silencer.Silencer");
table.insert(ProceduralDistributions.list["PoliceStorageGuns"].items, 10);
table.insert(ProceduralDistributions.list["CrateTools"].items, "Silencer.Silencer");
table.insert(ProceduralDistributions.list["CrateTools"].items, 2);