Garry's Mod

Garry's Mod

68 ratings
[TTT2] Hitman [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
724.353 KB
4 Jun, 2018 @ 2:50pm
23 Feb @ 3:48am
35 Change Notes ( view )

Subscribe to download
[TTT2] Hitman [ROLE]

In 1 collection by Alf21
TTT2-Testing
58 items
Description
The Hitman is a Traitor, always low on credits, he follows his targets to earn his bounty money.

You have to use TTT2 in order to use this role. Additionally using ULX for TTT2 is recommended. Report bugs concerning this role here[github.com] and submit new role ideas here[github.com]. A list of all currently available roles can be found here.

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/TTT-2/ttt2-role_hit




The hitman (known as dealer from Dhalucard) is a new traitor role that spawns with zero credits. Instead of being awarded with credits once a few players are dead, he has to fight for every credit really hard by killing his targets. If he kills his target, he will be instantly rewarded with a credit. If his target dies in another way, he will get nothing in return. In both cases however a new target is selected after the old one died.

If played in combination with TTTC, the hitman is also able to see the classes of all players in his scoreboard.

Plays best with:




Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. There are always a handful of convars automatically created by TTT2, that define the spawn parameters of this role and are found in ULX. Additionally there might be some role specific convars, which have to be set in the server config file.

Normal Role Convars (also found in ULX):
# enable or disable this role ttt_hitman_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_hitman_pct [0.0..1.0] (default: 0.17) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_hitman_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_hitman_random [0..100] (default: 50) # the amount of players needed for this role to spawn ttt_hitman_min_players: [0..n] (default: 6)

Rolespecific Convars:
# The credit bonus given when a hitman kills his target. ttt_target_credit_bonus [0..n] (default: 2) # Enables or disables if the Traitor should be revealed if he killed nontarget. ttt_target_chatreveal [0/1] (default: 0)

--
Credits:
Alf21: creator of this role addon
Mineotopia: designer of the role icon
67 Comments
Tim | Mineotopia  [author] 13 Nov, 2021 @ 2:47am 
Maybe? If you can verify the bug, please open an issue on GitHub. It will get lost otherwise
AelitaStonks 12 Nov, 2021 @ 3:57pm 
Hey :). Is there any bug with hitman receiving another target if the targeted person dies by fall or other causes? We bumped with a hitman getting stuck target when his target dies by fall.
Legacy of Atilla 11 Jul, 2021 @ 5:36am 
I probably have the same problem as FORGTPROX. Since the last update the Hitman sometimes doesnt switch targets when his target dies by someone or something other than the hitman.
F0RGTPR0X 19 Jun, 2021 @ 2:11pm 
hello, with the last update of ttt2, the hitman is broken
Ostross 18 Nov, 2020 @ 5:38am 
While playing, a hitman's target was a fellow traitor. Is this a bug or an intended feature? More importantly, can this be prevented?
Tim | Mineotopia  [author] 9 Sep, 2020 @ 3:14am 
Ren 9 Sep, 2020 @ 1:46am 
Does the Hitman do +50% damage to the target and -50% damage to non-targets?
Tim | Mineotopia  [author] 25 Jun, 2020 @ 3:26am 
Ohne das Target getötet zu haben? Das musst du im Code anpassen
J4ckR1ver 25 Jun, 2020 @ 2:14am 
Wie könnte ich einstellen, dass der hitman auch beim Tod des Targets einen credit kriegt
Tim | Mineotopia  [author] 24 May, 2020 @ 11:03pm 
Instead of