SWEP Acting funny

Hello, a while back I had a SWEP made for my server, and it worked fine. Today I decided to see if it still worked, and I found a strange problem.

The world view looks fine: http://i.imgur.com/XcIF2yF.jpg

But the first person view looks like this: http://i.imgur.com/HReNUCH.jpg

I know the model was put over a crowbar, and I was wondering how to hide the crowbar again?


Can you post the source code?

You’re not actually hiding the bone of the crowbar.

[editline]9th February 2016[/editline]

And you might want to reposition the scythe itself, it looks like it isn’t aligned properly either.

Wow, that’s some really hacky code to just use a non-viewmodel as such. Try using engine/occlusionproxy as your material instead of hsv; also, use SetHoldType and not SetWeaponHoldType – the ladder does not network correctly.

I’m going to be honest, I’m not 100% sure what you are talking about. Also how would I re-position it? Sorry for being a bit of a dunce.

Wow that software is pretty great. Just trying to figure out how to add a first person view animation

It looks like the base code for the SWEP Construction Kit on the workshop

Yeah! That exactly! The weapon base is already using it. Whoever made it for you did a really shoddy job of using it

Looks like it needs some updating for some new GMod stuff. I’ll contact the creator.