Skip to content

Instantly share code, notes, and snippets.

@TimGoll
Created March 5, 2020 18:19
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/cde9c20dba61707c613ba01692db38cc to your computer and use it in GitHub Desktop.
Save TimGoll/cde9c20dba61707c613ba01692db38cc to your computer and use it in GitHub Desktop.
[i]Fighting alone against everyone else he has the sudden urge to find himself a sidekick.[/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_jack]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_jack]https://github.com/TTT-2/ttt2-role_jack[/url]
[img]https://i.imgur.com/KeP4fWN.png[/img]
The Jackal is a normal shoppingrole, comparable to the traitor. But instead of fighting in the traitor team against the innocent players, he does it while fighting in his own team. Since fighting alone is hard and waiting until everybody else is dead is no solution to this problem, his role comes with a twist: the sidekick. Shooting any player with a sidekickdeagle converts them to a sidekick of the jackal. If the shot is missed you can try again after a cooldown. It is your goal to eliminate all other teams and be the last team standing.
Obviously the sidekick has to be installed as well in order for this functionality to work.
Additionally when playing with the priest, the jackal is able to convert the whole brotherhood to sidekicks by shooting the priest with his sidekickdeagle.
[H1]Plays best with:[/H1]
[list]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1367125625]Sidekick[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1357256725]Survivalist[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1737101500]Pirate[/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_jack_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_jack_pct [0.0..1.0] (default: 0.14)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_jack_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_jack_random [0..100] (default: 50)
# the amount of players needed for this role to spawn
ttt_jack_min_players: [0..n] (default: 7)[/code]
[h1]Rolespecific Convars:[/h1]
[code]# Does the Jackal spawn with a sidekick deagle
ttt_jackal_spawn_siki_deagle [0/1] (default 1)
# The Armor value that the Jackal starts with
ttt_jackal_armor_vale [0..100] (default 30)[/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