Garry's Mod

Garry's Mod

33 个评价
[TTT2] Trapper [ROLE]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
1.758 MB
2020 年 2 月 22 日 上午 9:29
2021 年 11 月 5 日 上午 12:32
5 项改动说明 ( 查看 )

订阅以下载
[TTT2] Trapper [ROLE]

描述
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 条留言
|UGA|PatPeter 2021 年 9 月 9 日 下午 11:22 
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