Garry's Mod

Garry's Mod

1,360 ratings
[TTT/2|Sandbox] Golden Deagle V2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
22.338 MB
4 Mar, 2016 @ 11:23am
7 Jul, 2020 @ 4:26pm
16 Change Notes ( view )

Subscribe to download
[TTT/2|Sandbox] Golden Deagle V2

In 1 collection by Zaratusa
[TTT/2] Equipment Collection
22 items
Description
Features
A pretty simple Detective weapon, if you hit a Traitor with it he will die, but beware if its any Innocent then you're dead. Otherwise it's just a normal Deagle. See below for different configuration.

Type: Equip 1
Ammo: none
Firemode: Semi-automatic
Magazine: 2/0 (configurable)

Sandbox Category: Counter-Strike: Source

Working view and world model! Includes an individual .vmt and .vtf weapon icon as well.



Supported Game Modes & Mods

ConVars
# Amount of bullets you receive, when you buy a Golden Deagle. ttt_golden_deagle_bullets [1..n] (default: 2) # Maximum magazine size of the Golden Deagle. ttt_golden_deagle_max_bullets [1..n] (default: 2) # When should the Golden Deagle kill the target? ttt_golden_deagle_kill_mode [0..2] (default: 0) # 0: when shot player is in the traitor team # 1: when shot player is an opponent # 2: when shot player is a traitor or an opponent # When should the Golden Deagle suicide the shooter? ttt_golden_deagle_suicide_mode [0..2] (default: 0) # 0: when shot player is in the innocent team # 1: when shot player is in same team # 2: when shot player is not a traitor

Server Infos
Add it to your server by following this guide: Workshop for Dedicated Servers[wiki.facepunch.com]
Use Automatic Workshop Download so all client automatically download the required content.

Translation
The available translation keys are "golden_deagle_name" and "golden_deagle_desc".
See the official Translation Documentation[www.troubleinterroristtown.com].

Source
The whole source code can be found on GitHub[github.com], feel free to contribute. The model was taken from Gamebanana[css.gamebanana.com]. I agree to remove this item if the Author or Valve wishes to.

Thanks for reading, enjoy and have fun!
Popular Discussions View All (1)
0
27 Jan, 2017 @ 12:37am
Nice
ben™
27 Comments
pablolte 7 Dec, 2023 @ 10:36am 
can you help me with the megaupload?
FloTurtle 9 May, 2023 @ 4:39am 
So what's the difference between V1 and V2? Is it just a different, more detailed model (5 vs 21MB) ?
Demonicfluff 19 Mar, 2023 @ 3:35am 
⠑⡄⠀⠀⠀⠀⠀⠀ ⠀ ⣀⣀⣤⣤⣤⣀⡀
⠸⠿⡀⠀ ⠀ ⠀⣀⡴⢿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀
⠀⠀⠀⠀⠑⢄⣠⠾⠁⣀⣄⡈⠙⣿⣿⣿⣿⣿⣿⣿⣿⣆
⠀⠀⠀⠀⢀⡀⠁⠀⠀⠈⠙⠛⠂⠈⣿⣿⣿⣿⣿⠿⡿⢿⣆
⠀⠀⠀⢀⡾⣁⣀⠀⠴⠂⠙⣗⡀⠀⢻⣿⣿⠭⢤⣴⣦⣤⣹⠀⠀⠀⢀⢴⣶⣆
⠀⠀⢀⣾⣿⣿⣿⣷⣮⣽⣾⣿⣥⣴⣿⣿⡿⢂⠔⢚⡿⢿⣿⣦⣴⣾⠸⣼⡿
⠀⢀⡞⠁⠙⠻⠿⠟⠉⠀⠛⢹⣿⣿⣿⣿⣿⣌⢤⣼⣿⣾⣿⡟⠉
⠀⣾⣷⣶⠇⠀⠀⣤⣄⣀⡀⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇hi
⠀⠉⠈⠉⠀⠀⢦⡈⢻⣿⣿⣿⣶⣶⣶⣶⣤⣽⡹⣿⣿⣿⣿⡇
⠀⠀⠀⠀⠀⠀⠀⠉⠲⣽⡻⢿⣿⣿⣿⣿⣿⣿⣷⣜⣿⣿⣿⡇
⠀⠀ ⠀⠀⠀⠀⠀⢸⣿⣿⣷⣶⣮⣭⣽⣿⣿⣿⣿⣿⣿⣿⠇
⠀⠀⠀⠀⠀⠀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿

Minecraft!
Nero 7 Jan, 2023 @ 8:33am 
The name of the V2 Deagle is "weapon_ttt_golden_deagle", so if you set that in the classes lua file it spawns with the class. You can find out which name an item has by adding it to a shop via the F1 menu. The name then shows up as a notification line on the left.
Nero 6 Jan, 2023 @ 12:46pm 
@FalcoFire I had the same issue (that the GD wouldn't spawn with its assigned class). However i managed to work around it. It seems like that in the Fate Classes Addon, in the lua file "class_pack_bomber" the Golden Deagle is referenced as "weapon_ttt_goldendeagle". But in the Golden Deagle V1 addon (as in this one, it references the same code) the weapon is referenced as "weapon_ttt_powerdeagle". So i downloaded the original files from both addons via github and changed the referenced weapons names to be identical. Then i put them in the addon directory of gmod. Now it works fine, but it lacks the V2 skin. I hope that helps.
FalcoFire 26 Nov, 2022 @ 9:35am 
Hey. I am useing this Item to have it for the Bountyhunter class. But the class doesn't get this item and only says "Attempted to create unknown entity type weapon_ttt_goldendeagle!" Here my collection if you want to see it: https://steamproxy.net/sharedfiles/filedetails/?id=1343176206
therealyocow 16 May, 2021 @ 1:27pm 
Do you mean the Workshop for Dedicated Servers guide? If so, yes. We already have several other addons. It used to work but we had to switch server hosts and ever since then it stopped showing up for everyone
Zaratusa  [author] 16 May, 2021 @ 3:41am 
Have you followed the guide to install it?
therealyocow 15 May, 2021 @ 11:25pm 
Model is just an error for me and my friends now whenever we play. Is this broken?
Zaratusa  [author] 4 Jul, 2020 @ 2:29am 
It works now!