Garry's Mod

Garry's Mod

35 个评价
[TTT2] Clairvoyant [ROLE]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
360.789 KB
2018 年 4 月 9 日 下午 12:16
2023 年 10 月 10 日 上午 8:59
38 项改动说明 ( 查看 )

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

在 Alf21 的 1 个合集中
TTT2-Testing
58 件物品
描述
Looking at the aura of players surrounding him everything becomes clear for him. Finally someone will be able to stop all these lies.

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_cv




The clairvoyant is an innocent that sees special roles. This includes all special inocent and traitor roles as well as all other special roles in the round. Special roles are all roles besides the normal innocent, traitor and detective. They don't see the special role, they only see if they have one or not.
The amount of roles that the clairvoyant can see can be set with a convar.

Additionally in combination with the sidekick and the jester, they can kill the jester as the only player without receiving a penalty or triggering the jesters winstate! After their death, the jester will immedially respawn as a sidekick of the clairvoyant.

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_clairvoyant_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_clairvoyant_pct [0.0..1.0] (default: 0.13) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_clairvoyant_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_clairvoyant_random [0..100] (default: 100) # the amount of players needed for this role to spawn ttt_clairvoyant_min_players: [0..n] (default: 8)

Rolespecific Convars:
# the percentage of visible player's roles" ttt2_cv_visible [0..n] (default: 100)

--
Credits:
Alf21: creator of this role addon
Mineotopia: designer of the role icon
23 条留言
Skulduggeryx3 9 月 24 日 上午 7:20 
This role doesnt work
Maxwell 7 月 21 日 上午 3:23 
Can you make a video/gameplay to show examples and commands on how to use this role?
hawky_ 4 月 17 日 上午 8:39 
Seems to be bugged, they dont seem to be confirmed dead even if they are dead.
TheEnhancedExe 2023 年 3 月 17 日 上午 10:31 
Can you add an option to set a maximum number of visible roles? That way, you could set a constant number of visible roles that isn't determined by the amount of special roles that got chosen in a particular round.

For example you could set it to 1 and no matter whether there's 2 or for example 5 special roles, the clairvoyant would only be able to see one player with a special role even if you put the percentage to 100%. This is currently not possible with only percentages.
Tim | Mineotopia  [作者] 2021 年 7 月 17 日 上午 10:16 
could you open an issue on GitHub? Because it is hard to keep track of issues when they are only here in the comments. Thanks!
Tim | Mineotopia  [作者] 2021 年 7 月 4 日 上午 9:18 
@Catherine: Is there an error?
Tim | Mineotopia  [作者] 2020 年 12 月 17 日 上午 3:56 
you can set the percentage (ttt2_cv_visible). Maybe yours isn't 100%?
EvilDude95 2020 年 12 月 17 日 上午 3:55 
so is this still bugged? i have everything set up working fine, every other role work fine for me but clairvoyant just doesnt work, clairvoyant dont see other clairvoyant as special roles first of all, i also had instances of clairvoyant not seeing some roles such as trapper or lycanthrope sometimes, but some other times it work perfectly
Nintend 2020 年 3 月 2 日 下午 4:46 
So I tried ttt2_clairvoyant_mode but it doesn't seem to be a command. I tried "ttt" instead of "ttt2", I tried "cv" instead of "clairvoyant" and also checked the list of ConVars that are supplied while using the TTT2 ULX menu and it wasn't there. There was "ttt2_cv_visible [0-100]" which should presumably fix my problem, but it only vaguely worked at the default 100 (like with the ability to tell that Infected people had a special role but not exactly what it was, but this didn't remotely work with any other role).

Guess I have conflicting addons or something, oh well. I really like the concept of this role!
Nintend 2020 年 3 月 2 日 下午 3:03 
I'll try again later today, but it said that the command didn't exist. Probably a typo, thanks for the help to both of you!