Each round after detectives and traitors are chosen, some of the remaining players may be chosen as jesters. The following ConVars can be used to configure the requirements and restrictions on how jesters spawn.
ConVar | Default | Type | Description |
---|---|---|---|
ttt_independent_chance | 0.5 | Float (0-1) | The chance that a single independent (or jester if ttt_single_jester_independent is enabled) will spawn in a round. (Requires ttt_multiple_jesters_independents to be disabled.) |
ttt_jester_chance | 0.5 | Float (0-1) | The chance that a single jester will spawn in a round. (Requires ttt_single_jester_independent and ttt_multiple_jesters_independents to be disabled.) |
ttt_single_jester_independent | 1 | Boolean | Whether only a single jester or independent should spawn in a round. |
ttt_single_jester_independent_max_players | 0 | Integer | The maximum players to have only a single jester or independent spawn in a row. If there are more players than this both a jester and an independent can spawn in the same round. (Set to 0 to disable. Requires ttt_single_jester_independent to be enabled.) |
ttt_multiple_jesters_independents | 0 | Boolean | Whether more than one jester/independent should be allowed to spawn in each round. (Enabling this will ignore ttt_independent_chance , ttt_jester_chance , ttt_single_jester_independent , and ttt_single_jester_independent_max_players .) |
ttt_jester_independent_max | 2 | Integer | The maximum number of players that can spawn as a jester or independent. (Requires ttt_multiple_jesters_independents to be enabled.) |
ttt_jester_independent_pct | 0.13 | Float (0-1) | Percentage of players, rounded up, that have the chance to spawn as a jester or independent. (Requires ttt_multiple_jesters_independents to be enabled.) |
ttt_jester_independent_chance | 0.5 | Float (0-1) | The chance that a jester or independent will spawn in each individual slot made by ttt_jester_independent_pct . (Requires ttt_multiple_jesters_independents to be enabled.) |
ttt_*_notify_confetti | 0 | Boolean | Whether to throw confetti when this role is killed. Replace * with the name of the jester role you want to configure without spaces or capital letters. (Does not apply to the Clown.) |
ttt_*_notify_killer | 0 | Boolean | Whether to notify the killer when this role is killed. Replace * with the name of the jester role you want to configure without spaces or capital letters. (Does not apply to the Clown.) |
ttt_*_notify_mode | 0 | Integer (0-4) | The logic to use when notifying players that this role is killed:
Killer is notified unless ttt_*_notify_killer is disabled.
|
ttt_*_notify_sound | 0 | Boolean | Whether to play a cheering sound when this role is killed. Replace * with the name of the jester role you want to configure without spaces or capital letters. (Does not apply to the Clown.) |
Example: ttt_independent_chance
is 0.5, ttt_jester_chance
is 0.5, ttt_single_jester_independent
is 1, and ttt_single_jester_independent_max_players
is 0 as per the default values above. As ttt_single_jester_independent
is set to 1 there can only be a single jester or independent in each round and ttt_jester_chance
will be ignored. This means there is a 50% chance that a jester or independent will spawn in the round as ttt_independent_chance
is set to 0.5. If ttt_single_jester_independent
were instead set to 0, there is a 50% chance that a jester will spawn in the round as ttt_jester_chance
is set to 0.5. This jester could spawn in addition to an independent, but there will only ever be one of each. If ttt_single_jester_independent_max_players
were now set to 8, this would mean that in games with 8 or less players only a single jester or independent could spawn, but in games with 9 or more players there is a chance for both a jester and an independent to spawn.
If ttt_multiple_jesters_independents
was set to 1, ttt_independent_chance
, ttt_jester_chance
, ttt_single_jester_independent
, and ttt_single_jester_independent_max_players
would all be ignored and the jester and independent roles are combined into one group. In this example there are eight players in the game, ttt_jester_independent_pct
is 0.13, and ttt_jester_independent_chance
is 0.5 as per the default values above. At most 13% of players (rounded up) can be jesters or independents as ttt_jester_independent_pct
is set to 0.13. This means that there will be at most two jesters or independents. However, each of those players only has a 50% chance to be a jester or independent as ttt_jester_independent_chance
is set to 0.5. This means it is possible for the round to have zero, one, or two jesters and independents. All remaining players who have not had a role assigned will be part of the innocent or monster teams.
If you always wanted the same number of jesters and independents in each round with no variation, set ttt_jester_independent_chance
to 1. Setting either ttt_jester_independent_pct
or ttt_jester_independent_chance
to 0 will make it impossible for jesters and independents to spawn while ttt_multiple_jesters_independents
is enabled.
Additionally, the following miscellaneous ConVars can be used to configure options that apply to all jesters.
ConVar | Default | Type | Description |
---|---|---|---|
ttt_jesters_trigger_traitor_testers | 1 | Boolean | Whether jesters trigger traitor testers as if they were traitors. |
ttt_jesters_visible_to_traitors | 1 | Boolean | Whether jesters are revealed (via overhead icons, color/icon on the scoreboard, etc.) to members of the traitor team. |
ttt_jesters_visible_to_monsters | 1 | Boolean | Whether jesters are revealed (via overhead icons, color/icon on the scoreboard, etc.) to members of the monster team. |
ttt_karma_jesterkill_penalty | 50 | Integer | The karma penalty for killing the jester. |
ttt_karma_jesterdmg_ratio | 0.5 | Float | The fraction of damage dealt to jesters, that should be taken from the attacker's karma. (e.g. If a player dealt 40 damage to a jester and ttt_karma_jesterdmg_ratio is 0.5, the attacker would lose 20 karma as 40x0.5=20.) |
Instructions for using ConVars can be found on the Configuring ConVars tutorial page, and ConVars specific to configuring each role can be found below.