Adds a hotkey to attach/detach suppressors so you don't have to open the inventory.
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.
This is one of those things I would have never thought to do, then when it's done, wonder why I never thought of doing that.
Nice job.
Should've been standard from the very start. Well done once more TKPG. Your addons always get a place in my gamedata
I only lost the code you gave me on /sg/ 2 years ago where if I'd loot a body, a crow sound would be played and I would be blessed with Vodka instead of RU, I miss that
I can't even arrange 4 characters in the right order.
Sorry, TKGP*
Interesting ;) great job mate :D !!
FU***CKING genious ! =D
This is a really good idea, nice job.
Jesus christ thanks!
Nice addon :)
Btw, could you add a configurable delay on mounting/demounting the suppressor?
'Screwing' on a suppressor takes few seconds, even with the newer non threaded mounting systems.
The animation would be awesome too
Sure, I guess. Uploaded a new version.
Sorry if im gonna sound stupid here but, whats the great benefit to this?
Instead of pressing a few buttons to do something, you press one button to do something.
Is it possible at all to create a 1.4.22 version? I know that it probably is a lot more complicated than I realize, but I have too many mods that only function on that version presently.
Unfortunately it relies on features added in 1.5 to not be totally janky.
Alright! Thanks for the answer regardless.
Have my rating
is there any chance you could port this to the "last day" mod?
No, Last Day uses an older version of CoC that isn't compatible.
Need your help please.
I installed it exactly to your instructions onto 1.5R6 and it creates a short cut-scene of the rifle dropping down, but the suppressor is still
on the rifle.
I have OWR for 1.5R6 installed as well.
Thanks.
Which weapon are you using?
Sorry for the late reply. The weapon of choice, and the one I'm
referring to, is an AN-94.
The short-cut key played the cut-scene, but the silencer was still there.
(1.5R6 and OWR)
What about the same idea but with the Scopes and the Grenade launchers?
I could add GLs, but I didn't think anyone would have a need to be taking it on and off that often. Scopes are more complicated since you might have multiple valid scopes and I'm not sure the best way to prioritize them.
Thank you,
I always wondered how to detach a silencer via script.
Looks nice and easy.
The only other thing I think that would be good with your addon is if you added the key config to Main Menu -> Options -> Controls menu.
(requires editing an xml)
If it's a case of your not wanting to edit the vanilla files, then add a key config using a list control under the Main Menu -> Options -> Game
(this can be done without editing any vanilla scripts or xmls)
Once again, thank you for sharing.
For CoC 1.4.22 please
This comment is currently awaiting admin approval, join now to view.
Please please please make a 1.4.22 version...1.5 has no addons and is seemingly in development hell forever :(
you are Suppressor God , may the zone be grateful to you
Oh dang wtf This is for CoC but it works for Anomaly huh.
If you're still seeing this, your mod somehow works for anomaly so thanks for that. Ut works to attach a silencer on a gun with the hotkey, it works to detach it.
But upon detaching, the silencer is removed from the inventory. This might be an anomaly only problem which you didn't even create the mod for. Anyway, since this mod feels like such a must have, is it possible to alter it so the silencer doesn't get removed from the inventory upon detaching with the hotkey?
In the line 48 of this script, just change:
weapon:weapon_addon_detach(info.section)
to
weapon:weapon_addon_detach(info.section, true)
and this addon will work fine on Anomaly.