Garry's Mod

Garry's Mod

[CW 2.0] Glock 17
Big Black Boss  [开发者] 2019 年 9 月 28 日 下午 11:24
Bug Reports/Feedback
They go here, post Lua code errors first then explain the issue.

I might tidy this thread a bit in case your error is too common, like "i cant get ammo wtf" because you were incapable of realizing you have the Mag System installed and it changes how ammunition works.

For feedbacks, I would like some good ones that are concise, short, to the point. I believe you get my meaning.
最后由 Big Black Boss 编辑于; 2020 年 7 月 11 日 上午 2:07
< >
正在显示第 1 - 10 条,共 10 条留言
Wgairborne 2019 年 9 月 29 日 上午 1:33 
[Customizable Weaponry 2.0 FIXED] lua/cw/shared/menutabs/customization.lua:150: CW 2.0 - attempt to display non-existent weapon attachment 'kk_ins2_lam' in category index '3' of weapon 'cw_nen_glock17' AKA 'Glock 17' 1. error - [C]:-1 2. drawFunc - lua/cw/shared/menutabs/customization.lua:150 3. draw - lua/cw/shared/cw_interactionmenuhandler.lua:59 4. drawInteractionMenu - lua/weapons/cw_base/cl_model.lua:999 5. _drawViewModel - lua/weapons/cw_base/cl_model.lua:762 6. drawViewModel - lua/weapons/cw_base/cl_model.lua:616 7. v - lua/weapons/cw_base/cl_hooks.lua:34 8. unknown - lua/includes/modules/hook.lua:84


this error occurs for all four pistols. Also, since you're here, despite doing everything correctly, the extra skins won't appear in the attachment UI.
Big Black Boss  [开发者] 2019 年 9 月 29 日 上午 7:14 
Why is your mod called "[Customizable Weaponry 2.0 FIXED]"? It should end with Rev 75

From the looks of it, you're using this:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1613647269

This is not the official CW2 and the name is a bit of a misnomer.
最后由 Big Black Boss 编辑于; 2019 年 9 月 29 日 上午 7:15
Cavou 2020 年 7 月 8 日 上午 3:49 
There is a small error where the slide clips through the gun a bit when the slide moves back while shooting (z-fighting), and something similar occurs when the gun runs dry for a few moments until it disappears.
Big Black Boss  [开发者] 2020 年 7 月 8 日 上午 3:56 
引用自 Cavou
There is a small error where the slide clips through the gun a bit when the slide moves back while shooting (z-fighting), and something similar occurs when the gun runs dry for a few moments until it disappears.

That's true, that's what happens when I use an old model and I had very little experience then.

I don't think I can fix it, but I think I can do it via a shader. Let's see if I can.
Cavou 2020 年 7 月 8 日 上午 3:58 
Thank you for the quick response, looking forward to how it ends up going for you!
Big Black Boss  [开发者] 2020 年 7 月 8 日 上午 9:40 
Looks like the bug is caused by an Animation Error, sadly this isn't something I can fix.
Cavou 2020 年 7 月 8 日 下午 12:01 
Thank you for trying. This is still a very good mod even with those small flaws!
Cavou 2020 年 7 月 8 日 下午 12:28 
After some brief testing I managed to "fix" both issues, to an extent.

By changing "SWEP.DontMoveBoltOnHipFire=" to "false" I fixed the z-fighting/clipping on the slide when shooting with no perceptible change to the recoil animation, and the slide still moves as it should, both when hip fire and aiming down sights.

I also ""fixed"" the running dry clipping by changing "SWEP.HoldBoltWhileEmpty=" also to "false", though this causes the slide not to move back when running out of ammunition in the magazine, however the slide will still move back when reloading without issue. This is a sacrifice but I wanted to include mention of this all the same.
Big Black Boss  [开发者] 2020 年 7 月 11 日 上午 2:03 
Good news, your nerdy poke-about (meant that as a compliment, however passive-aggressive it may sound :steamhappy:) gave me curious ideas which let me to find ways to fix it:
There is a "Dry Fire" animation that I somehow left out, has to be my very bad coding and memory/experience.
The DontMoveBolt shouldn't even be used, it's for guns with bad animations which this one doesn't have.

So those two issues you have, they should be fixed now. Update imminent.
Cavou 2020 年 7 月 11 日 上午 2:28 
Yay, that's fantastic! I'm so happy my curiosity helped you out, and congrats on fully fixing it yourself! You're awesome.
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50