Garry's Mod

Garry's Mod

32 ratings
[TTT2] Trapper [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
1.758 MB
Feb 22, 2020 @ 9:29am
Nov 5, 2021 @ 12:32am
5 Change Notes ( view )

Subscribe to download
[TTT2] Trapper [ROLE]

Description
Use the powers of the traitors against them!

You have to use TTT2 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/Spacecoreflake/ttt2-role_tra




The Trapper is at its core an innocent with the powers to detect the traitorous traitor traps. When someone uses a trap, the Trapper gets a visual "ripple" effect where the trap was used. But beware! Also, other trap-users see when the Trapper uses a trap.. (Confusing. but luckily there are convars for that)

Plays best with:
  • Traitors
  • Other roles that can use Traps




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_tra_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_tra_pct [0.0..1.0] (default: 0.17) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_tra_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_tra_random [0..100] (default: 50) # the amount of players needed for this role to spawn ttt_tra_min_players: [0..n] (default: 6) # allow the trapper to use traitor buttons ttt_trapper_traitor_button [0/1] (default: 1)

Rolespecific Convars:

# shows ripple effect to trappers ttt_trapper_tbutton_show_to_trapper # shows ripple effect to others ttt_trapper_tbutton_show_to_others

--
Credits:
James: creator and designer of this role addon
Mineotopia: Assistant who definitely didn't write most of the things.
1 Comments
|UGA|PatPeter Sep 9, 2021 @ 11:22pm 
I created a master configuration file for all of the TTT roles in the first 3 pages of the Workshop search: https://gist.github.com/PatPeter/70b1c090d8c8c311d99632dca76ec513