Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Gunsmith [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
2.520 MB
10 Jul, 2023 @ 7:01pm
2 Aug, 2023 @ 10:59pm
16 Change Notes ( view )

Subscribe to download
[TTT2] Gunsmith [ROLE]

Description
With his peculiar expertise in weapons crafting and his wits about him, the Gunsmith set out to uncover the traitors using (literally) every tool at his disposal.



The Gunsmith is an Innocent role that starts with the Gunsmith's Kit, an item that brings up a crafting menu when used. The menu can be used to spawn any weapon that you would find naturally on the ground, and ammo for them as well. Crafting a weapon or an ammo pack costs 1 charge. Once all charges in the kit have been used up, it disappears.

The Gunsmith's Kit itself cannot be dropped, and it is also purchasable in the Traitor shop by default. For this reason it cannot be used to easily prove the innocence of the Gunsmith.

The Gunsmith weapons list comes from all weapons marked as AutoSpawnable in the TTT2 server.



ConVar
Default
ttt_smith_charges
6
Number of charges the Gunsmith's Kit starts with
ttt_smith_grenades
1
Allow the Gunsmith to craft grenades as well. (Weapons with WEAPON_NADE SWEP.Kind)
ttt_smith_hidekit
0
Make the Gunsmith's Kit invisible to other players, for additional protection against proving innocence.
ttt_smith_ammomult
2
Multiplier of amount of "ammo packs" given when crafted.

Credits

2 Comments
hashbrown pussy 26 Jul, 2023 @ 9:47pm 
I requested this for fun earlier, but it seems that the gunsmith is just, able to craft Waluigi Launchers, lmfao. So that feature below may just be necessary!
hashbrown pussy 26 Jul, 2023 @ 12:04pm 
Do you think it'd be possible to make it so that the server host can customize the craftable items? I'd love to be able to craft blunts:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2964830003