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/da53020b5ea82a2d06a8d3477d78d496 to your computer and use it in GitHub Desktop.
Save TimGoll/da53020b5ea82a2d06a8d3477d78d496 to your computer and use it in GitHub Desktop.
[i]The lust for fresh blood is pulsing through his body. He really needs to bite someone. Now![/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_vamp]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_vamp]https://github.com/TTT-2/ttt2-role_vamp[/url]
[img]https://i.imgur.com/KeP4fWN.png[/img]
The vampire is a new traitor role without a shop that can gain an advantage by transforming and flying around.
They have to eliminate at least one other player every minute or else they will fall into a state of Bloodlust in which they take one damage point every two seconds.
Whenever they transform into a bat they will also fall into bloodlust.
Additionally a vampire does heal themself for 50% of the damage they deal to other players when they are in bloodlust.
[H1]Plays best with:[/H1]
[list]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1403020444]Hitman[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1883650244]Necromancer[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1371842074]Infected[/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_vamp_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_vamp_pct [0.0..1.0] (default: 0.1)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_vamp_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_vamp_random [0..100] (default: 10)
# the amount of players needed for this role to spawn
ttt_vamp_min_players [0..n] (default: 10)[/code]
[h1]Rolespecific Convars:[/h1]
[code]# the length of the bloodlust phase
ttt2_vamp_bloodtime [0..n] (default: 60)[/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