Garry's Mod

Garry's Mod

評價次數不足
[TTT2] Rat [ROLE]
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
檔案大小
發佈於
更新時間
390.307 KB
2024 年 6 月 5 日 下午 2:07
2024 年 8 月 11 日 下午 4:35
9 項更新註記 (檢視)

訂閱以下載
[TTT2] Rat [ROLE]

在 cheezbawlz 的 1 個收藏中
krunkttt
101 個項目
描述
The Rat has finally opened up and joined the light side. And he's willing to pay the price of freedom, His life or theirs.

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]. A list of all currently available roles can be found here.

Discord: https://discord.gg/9njYXGY
Source: https://github.com/milkwxter/RatTTT2



The Rat is a new innocent role. He suddenly remembers who one evil traitor is sometime into the round. But be careful! When the Rat remembers the name of a Traitor, he will become exposed, meaning the Traitors can see him through walls and will kill him quickly.

A message will show up in the middle of The Rat's screen when a configurable timer ends, informing them of the one traitor's identity, and the impending chaos.

This can make for an interesting Cat and Mouse chase where The Rat must turn to some form of safety, while the Traitors are in a race against time to end their ex-Traitor buddy.


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_rat_enabled [0/1] (default 1) # the percentage of players that are spawned as this role ttt_rat_pct [0.0..1.0] (default 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_rat_max [0..n] (default 1) # the probability each round of this role being spawned at all ttt_rat_random [0..100] (default 33) # the amount of players needed for this role to spawn ttt_rat_min_players [0..n] (default 6)

Rat Specific Convars (also found in ULX)
# the time it takes for the rat to realize one traitor, and for the traitors to start tracking the rat (in seconds) ttt2_rat_traitor_reveal_timer (def. 120) # whether or not traitors should instantly see the rat or wait until the reveal timer ttt2_rat_instant_expose (def. 0)

--
Credits
milkwater: Coding
cheezbawlz: Coding and Role Idea
Adrien Coquet: Rat icon, from the Noun Project
4 則留言
Combex 2024 年 7 月 17 日 上午 2:41 
thx! nice work!!!! :physgun::physgun::physgun:
cheezbawlz  [作者] 2024 年 7 月 17 日 上午 2:11 
@Combex Its been added to the F1 menu.
cheezbawlz  [作者] 2024 年 7 月 16 日 下午 9:06 
@Combex I'll look into it!
Combex 2024 年 7 月 15 日 上午 6:27 
To counter this role, we thought it would be nice if the traitor could see the rat before the rat even knew about the traitor.
It would be great if this time could be set using Convars.