Description

Adds a hotkey to attach/detach suppressors so you don't have to open the inventory.

Preview
Suppressor Hotkey 1.01 [1.5]
Post comment Comments
DoctorX01
DoctorX01 - - 614 comments

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.

Reply Good karma Bad karma+18 votes
Lоnerboner
Lоnerboner - - 8,303 comments

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

Reply Good karma Bad karma+5 votes
Lоnerboner
Lоnerboner - - 8,303 comments

I can't even arrange 4 characters in the right order.

Sorry, TKGP*

Reply Good karma Bad karma+2 votes
ColonelRH
ColonelRH - - 770 comments

Interesting ;) great job mate :D !!

Reply Good karma Bad karma+3 votes
CzechDeath
CzechDeath - - 1,527 comments

FU***CKING genious ! =D

Reply Good karma Bad karma+3 votes
ΤWiST3D
ΤWiST3D - - 377 comments

This is a really good idea, nice job.

Reply Good karma Bad karma+1 vote
Merc-
Merc- - - 356 comments

Jesus christ thanks!

Reply Good karma Bad karma+1 vote
Gkirmathal
Gkirmathal - - 24 comments

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.

Reply Good karma Bad karma+2 votes
Mihzvol
Mihzvol - - 213 comments

The animation would be awesome too

Reply Good karma Bad karma+1 vote
TKGP Author
TKGP - - 225 comments

Sure, I guess. Uploaded a new version.

Reply Good karma+1 vote
Emmet.Otter
Emmet.Otter - - 1,715 comments

Sorry if im gonna sound stupid here but, whats the great benefit to this?

Reply Good karma Bad karma+1 vote
TKGP Author
TKGP - - 225 comments

Instead of pressing a few buttons to do something, you press one button to do something.

Reply Good karma+4 votes
daftestofpunks
daftestofpunks - - 135 comments

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.

Reply Good karma Bad karma+1 vote
TKGP Author
TKGP - - 225 comments

Unfortunately it relies on features added in 1.5 to not be totally janky.

Reply Good karma+2 votes
daftestofpunks
daftestofpunks - - 135 comments

Alright! Thanks for the answer regardless.

Reply Good karma Bad karma+2 votes
ParanoidCommie
ParanoidCommie - - 135 comments

Have my rating

Reply Good karma Bad karma+2 votes
GhostOfSierra117
GhostOfSierra117 - - 63 comments

is there any chance you could port this to the "last day" mod?

Reply Good karma Bad karma+1 vote
TKGP Author
TKGP - - 225 comments

No, Last Day uses an older version of CoC that isn't compatible.

Reply Good karma+1 vote
Ivanovich_s
Ivanovich_s - - 328 comments

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.

Reply Good karma Bad karma+1 vote
TKGP Author
TKGP - - 225 comments

Which weapon are you using?

Reply Good karma+1 vote
Ivanovich_s
Ivanovich_s - - 328 comments

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)

Reply Good karma Bad karma+1 vote
Thejeherx
Thejeherx - - 2 comments

What about the same idea but with the Scopes and the Grenade launchers?

Reply Good karma Bad karma+2 votes
TKGP Author
TKGP - - 225 comments

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.

Reply Good karma+1 vote
sLoPpYdOtBiGhOlE
sLoPpYdOtBiGhOlE - - 62 comments

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.

Reply Good karma Bad karma+1 vote
drowners
drowners - - 10 comments

For CoC 1.4.22 please

Reply Good karma Bad karma+2 votes
Guest
Guest - - 689,393 comments

This comment is currently awaiting admin approval, join now to view.

Voland33
Voland33 - - 23 comments

Please please please make a 1.4.22 version...1.5 has no addons and is seemingly in development hell forever :(

Reply Good karma Bad karma+3 votes
irekprzybylski96
irekprzybylski96 - - 93 comments

you are Suppressor God , may the zone be grateful to you

Reply Good karma Bad karma+1 vote
Guest
Guest - - 689,393 comments

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?

Reply Good karma Bad karma+1 vote
renard162
renard162 - - 57 comments

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.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags

Suppressor Hotkey 1.01 [1.5] has not been tagged yet.