Garry's Mod

Garry's Mod

[CW 2.0] Glock 17
Big Black Boss  [developer] 28 Sep, 2019 @ 11:24pm
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.
Last edited by Big Black Boss; 11 Jul, 2020 @ 2:07am
< >
Showing 1-10 of 10 comments
Wgairborne 29 Sep, 2019 @ 1:33am 
[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  [developer] 29 Sep, 2019 @ 7:14am 
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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1613647269

This is not the official CW2 and the name is a bit of a misnomer.
Last edited by Big Black Boss; 29 Sep, 2019 @ 7:15am
Cavou 8 Jul, 2020 @ 3:49am 
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  [developer] 8 Jul, 2020 @ 3:56am 
Originally posted by 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 8 Jul, 2020 @ 3:58am 
Thank you for the quick response, looking forward to how it ends up going for you!
Big Black Boss  [developer] 8 Jul, 2020 @ 9:40am 
Looks like the bug is caused by an Animation Error, sadly this isn't something I can fix.
Cavou 8 Jul, 2020 @ 12:01pm 
Thank you for trying. This is still a very good mod even with those small flaws!
Cavou 8 Jul, 2020 @ 12:28pm 
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  [developer] 11 Jul, 2020 @ 2:03am 
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 11 Jul, 2020 @ 2:28am 
Yay, that's fantastic! I'm so happy my curiosity helped you out, and congrats on fully fixing it yourself! You're awesome.
< >
Showing 1-10 of 10 comments
Per page: 1530 50