Garry's Mod

Garry's Mod

34 avaliações
[TTT2] Clairvoyant [ROLE]
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Tamanho:
Publicado em:
Atualizado em:
360.789 KB
9 abr. 2018 às 12:16
10 out. 2023 às 8:59
38 notas de alterações ( ver )

Subscreve para transferir
[TTT2] Clairvoyant [ROLE]

Numa coleção por Alf21
TTT2-Testing
58 itens
Descrição
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
20 comentários
TheEnhancedExe 17 mar. 2023 às 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  [autor] 17 jul. 2021 às 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  [autor] 4 jul. 2021 às 9:18 
@Catherine: Is there an error?
Tim | Mineotopia  [autor] 17 dez. 2020 às 3:56 
you can set the percentage (ttt2_cv_visible). Maybe yours isn't 100%?
Leo 17 dez. 2020 às 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 2 mar. 2020 às 16: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 2 mar. 2020 às 15: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!
Alf21  [autor] 2 mar. 2020 às 3:22 
You can switch the mode with the ConVar mentioned here in the description :)
Tim | Mineotopia  [autor] 1 mar. 2020 às 14:45 
You can see special roles, so no innocents, traitors and detectives
howeber the other roles mentioned by you should work
Nintend 1 mar. 2020 às 14:39 
What roles are supposed to be seen by the Clairvoyant? I think that Clairvoyant is supposed to tell if someone has a special role instead of seeing their exact role, but not even that works for me. The role that Clairvoyant can see is Infected. I have visibility at 100% and am confused as to why I can't see Innocents, Jackals, Sidekicks, Survivors, Serialkillers, Spies, Traitors, Jesters, etc..

Do you know of something that I could be missing or doing wrong?