Skip to content

Instantly share code, notes, and snippets.

@TimGoll
Last active July 4, 2020 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TimGoll/ccb9887aec3311dc27367b04e6b7126c to your computer and use it in GitHub Desktop.
Save TimGoll/ccb9887aec3311dc27367b04e6b7126c to your computer and use it in GitHub Desktop.
[i]Looking at the aura of players surrounding him everything becomes clear for him. Finally someone will be able to stop all these lies.[/i]
You have to use [URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556]TTT2[/URL] in order to use this role. Additionally using [URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1362430347]ULX for TTT2[/URL] is recommended. Report bugs concerning this role [URL=https://github.com/TTT-2/ttt2-role_cv]here[/URL] and submit new role ideas [URL=https://github.com/TTT-2/addon-ideas]here[/URL]. A list of all currently available roles can be found [URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1737053146]here[/URL].
Discord: [url=https://discord.gg/Npcbb4W]https://discord.gg/Npcbb4W[/url]
Source: [url=https://github.com/TTT-2/ttt2-role_cv]https://github.com/TTT-2/ttt2-role_cv[/url]
[img]https://i.imgur.com/KeP4fWN.png[/img]
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.
[H1]Plays best with:[/H1]
[list]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1363049665]Jester[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1367125625]Sidekick[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1403020444]Hitman[/URL]
[/list]
[img]https://i.imgur.com/jIBWtbM.png[/img]
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.
[h1]Normal Role Convars (also found in ULX):[/h1]
[code]# 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)[/code]
[h1]Rolespecific Convars:[/h1]
[code]# the percentage of visible player's roles"
ttt2_cv_visible [0..n] (default: 100)[/code]
--
[h1]Credits:[/h1]
[URL=https://steamcommunity.com/id/alf21]Alf21[/URL]: creator of this role addon
[URL=https://steamcommunity.com/id/mineotopia]Mineotopia[/URL]: designer of the role icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment