• Hexing Silenced Weapons?
    4 replies, posted
Basically I'm just asking, how do you hex a silenced weapon (that by default doesn't have a silencer attached) to already have the silencer attached to the weapon? I've been looking around for probably two days now and I can't find an answer to this question.
You could attach a silencer model to the barrel of the gun using lua, if the gun has the muzzle attachment of course.
Hmm... so that explains how Bad King did it with the silenced pistol that by default has the muzzle attachment already. I'll look through that for an answer, thank you.
The CS:S weapons have silencers as animations, I believe. So if you're using those, you might just have to change what animations are being used by the lua.
(what). There is only one set of viewmodels with all the USP-category weapons, so that's impossible. Low and behold! function SWEP:Deploy() self.Weapon:SendWeaponAnim(ACT_VM_DRAW_SILENCED) return true end I believe this is what I was looking for, thank you for the lua suggestion. I'll test this puppy out when I get home.
Sorry, you need to Log In to post a reply to this thread.