Garry's Mod
Оцінок: 2,134
[TTT/2|Sandbox] Golden Deagle V1
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Tags: Fun, Roleplay
Розмір файлу
Додано
Оновлено
5.226 MB
27 квіт. 2014 о 3:57
7 лип. 2020 о 16:26
Змін 27 ( перегляд )

Підпишіться, аби завантажити
[TTT/2|Sandbox] Golden Deagle V1

Опис
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
TimeLost 26 лип. о 10:10 
Hey, how can i edit the convars? Is there anything in the F1 menu?
Zaratusa  [автор] 16 лип. 2020 о 9:02 
Sure he can!
Shogomort 16 лип. 2020 о 4:54 
Can an innocent person use it?
Zaratusa  [автор] 4 лип. 2020 о 2:30 
It works now!
MikeTheBomb 18 квіт. 2020 о 20:32 
I want to play with custom roles if there a a way to add those to the ones itll kill
Parzival 30 берез. 2020 о 12:28 
ah I see a rickroll that I will bypass and go to the next addon.

_________________________________________________
Marshgray 8 груд. 2019 о 11:21 
Worldmodel works but ViewModel is error
Mr. Potato 17 листоп. 2019 о 15:06 
...................„-~~'''''''~~--„„_
..............„-~''-,::::::::::::::::::: ''-„
..........,~''::::::::',:::::::::::::::: ::::|',
.....::::::,-~'''¯¯¯''''~~--~'''¯'''-,:|
.........'|:::::|: : : : : : : : : : : ::: : |,'
........|:::::|: : :-~~---: : : -----: |
.......(¯''~-': : : :'¯°: ',: :|: :°-: :|
.....'....''~-,|: : : : : : ~---': : : :,'
...............|,: : : : : :-~~--: : ::/ NEVER GONNA GIVE YOU UP
......,-''\':\: :'~„„_: : : : : _,-' NEVER GONNA LET YOU DOOOWN
__„-';;;;;\:''-,: : : :'~---~''/| NEVER GONNA RUN AROUND AND DESERT YOU
;;;;;/;;;;;;;\: :\: : :____/: :',__
;;;;;;;;;;;;;;',. .''-,:|:::::::|. . |;;;;''-„__
;;;;;;,;;;;;;;;;\. . .''|::::::::|. .,';;;;;;;;;;''-„
;;;;;;;|;;;;;;;;;;;\. . .\:::::,'. ./|;;;;;;;;;;;;;|
;;;;;;;\;;;;;;;;;;;',: : :|¯¯|. . .|;;;;;;;;;,';;|
;;;;;;;;;',;;;;;;;;;;;\. . |:::|. . .'',;;;;;;;;|;;/
;;;;;;;;;;\;;;;;;;;;;;\. .|:::|. . . |;;;;;;;;|/
;;;;;;;;;;;;,;;;;;;;;;;|. .\:/. . . .|;;;;;;;;|
69ArmyBug 10 жовт. 2019 о 14:56 
@carsten stahl
you can't, it's a detective only weapon.
Rainer Wahnsinn 18 січ. 2019 о 6:06 
How i can Activate it for Traitor Shop?