Skip to content

Instantly share code, notes, and snippets.

@TimGoll
Created July 4, 2020 09:28
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/e19ed17af66b00e4d1611cdc03a19360 to your computer and use it in GitHub Desktop.
Save TimGoll/e19ed17af66b00e4d1611cdc03a19360 to your computer and use it in GitHub Desktop.
[i]Luck struck him when he found a lonely credit lying on the ground. He should probably use it to buy something nice.[/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_surv]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_surv]https://github.com/TTT-2/ttt2-role_surv[/url]
[img]https://i.imgur.com/KeP4fWN.png[/img]
The survivalist is an enhanced innocent that has his own shop. The shops items can be configured by the server owner and by default is identical to the detective shop.
[H1]Plays best with:[/H1]
[list]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1885871635]Sheriff[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1363049665]Jester[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1795539570]Bodyguard[/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_survivalist_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_survivalist_pct [0.0..1.0] (default: 0.15)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_survivalist_max [0..n] (default: 2)
# the probability each round of this role being spawned at all
ttt_survivalist_random [0..100] (default: 100)
# the amount of players needed for this role to spawn
ttt_survivalist_min_players: [0..n] (default: 7)[/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