Garry's Mod

Garry's Mod

33 ratings
[TFA] Use +attack3 for alt fire
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
1.084 KB
24 Apr, 2019 @ 10:02pm
28 Apr, 2019 @ 12:05pm
2 Change Notes ( view )

Subscribe to download
[TFA] Use +attack3 for alt fire

Description
An incredibly simple addon that allows +attack3 to trigger the alt attacks of TFA weapons.

Note that this is tad hacky and might break a few things, which is why there is a convar (tfa_attack3_removezoomhook, defaults to 0) for completely removing the hook.





If you enjoy my content, please consider donating.
Ko-Fi[ko-fi.com]
5 Comments
Sensuka 25 Apr, 2019 @ 9:23am 
Hmm, looks good.
InvalidVertex  [author] 25 Apr, 2019 @ 8:17am 
Done and done. Thanks for the suggestions, I was unaware DLib had those functions.
YuRaNnNzZZ 25 Apr, 2019 @ 4:49am 
However i'd recommend to move the file to "lua/tfa/external" folder so that it will initialize when the base is loading.
And this function could be useful for what are you trying to do: https://gitlab.com/DBotThePony/DLib/wikis/sub/hook/functions/DisableHook
YuRaNnNzZZ 25 Apr, 2019 @ 4:45am 
You deserve my upvote just for the fact that you did it as separate addon and not by reuploading the whole base.
Matsilagi 25 Apr, 2019 @ 1:01am 
If this ends the wave of "I CANT USE ALT ATTACK" or "I CAN'T SEE TFA CS:GO SKINS" you deserve a kiss.