Garry's Mod

Garry's Mod

2,134 ratings
[TTT/2|Sandbox] Golden Deagle V1
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
5.226 MB
27 Apr, 2014 @ 3:57am
7 Jul, 2020 @ 4:26pm
27 Change Notes ( view )

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

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)

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



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 seems to be modified version of this one[css.gamebanana.com]. I agree to remove this item if the Author or Valve wishes to.

Thanks for reading, enjoy and have fun!
30 Comments
TimeLost 26 Jul @ 10:10am 
Hey, how can i edit the convars? Is there anything in the F1 menu?
Zaratusa  [author] 16 Jul, 2020 @ 9:02am 
Sure he can!
Shogomort 16 Jul, 2020 @ 4:54am 
Can an innocent person use it?
Zaratusa  [author] 4 Jul, 2020 @ 2:30am 
It works now!
MikeTheBomb 18 Apr, 2020 @ 8:32pm 
I want to play with custom roles if there a a way to add those to the ones itll kill
Parzival 30 Mar, 2020 @ 12:28pm 
ah I see a rickroll that I will bypass and go to the next addon.

_________________________________________________
Marshgray 8 Dec, 2019 @ 11:21am 
Worldmodel works but ViewModel is error
Mr. Potato 17 Nov, 2019 @ 3:06pm 
...................„-~~'''''''~~--„„_
..............„-~''-,::::::::::::::::::: ''-„
..........,~''::::::::',:::::::::::::::: ::::|',
.....::::::,-~'''¯¯¯''''~~--~'''¯'''-,:|
.........'|:::::|: : : : : : : : : : : ::: : |,'
........|:::::|: : :-~~---: : : -----: |
.......(¯''~-': : : :'¯°: ',: :|: :°-: :|
.....'....''~-,|: : : : : : ~---': : : :,'
...............|,: : : : : :-~~--: : ::/ NEVER GONNA GIVE YOU UP
......,-''\':\: :'~„„_: : : : : _,-' NEVER GONNA LET YOU DOOOWN
__„-';;;;;\:''-,: : : :'~---~''/| NEVER GONNA RUN AROUND AND DESERT YOU
;;;;;/;;;;;;;\: :\: : :____/: :',__
;;;;;;;;;;;;;;',. .''-,:|:::::::|. . |;;;;''-„__
;;;;;;,;;;;;;;;;\. . .''|::::::::|. .,';;;;;;;;;;''-„
;;;;;;;|;;;;;;;;;;;\. . .\:::::,'. ./|;;;;;;;;;;;;;|
;;;;;;;\;;;;;;;;;;;',: : :|¯¯|. . .|;;;;;;;;;,';;|
;;;;;;;;;',;;;;;;;;;;;\. . |:::|. . .'',;;;;;;;;|;;/
;;;;;;;;;;\;;;;;;;;;;;\. .|:::|. . . |;;;;;;;;|/
;;;;;;;;;;;;,;;;;;;;;;;|. .\:/. . . .|;;;;;;;;|
69ArmyBug 10 Oct, 2019 @ 2:56pm 
@carsten stahl
you can't, it's a detective only weapon.
Rainer Wahnsinn 18 Jan, 2019 @ 6:06am 
How i can Activate it for Traitor Shop?