Skip to content

Instantly share code, notes, and snippets.

@TimGoll
Created February 19, 2020 19:45
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/202e74a6f0f282c3932450511368fa28 to your computer and use it in GitHub Desktop.
Save TimGoll/202e74a6f0f282c3932450511368fa28 to your computer and use it in GitHub Desktop.
[i]The power of ancient magic flows through the ankh. With trembling hands the Pharaoh places this item. But he did not know about the evil forces he created ...[/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_pha/issues]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_pha]https://github.com/TTT-2/ttt2-role_pha[/url]
[img]https://i.imgur.com/KeP4fWN.png[/img]
The pharaoh plays in the innocent team. He spawns with a special item - the ankh. Upon placing the ankh in a strategic position, a random traitor gets converted to a graverobber and is now his personal adversary. The graverobber is still in the traitor team.
The ankh is a precious item. When the pharaoh dies, he will be once revived at the position of his ankh. However his adversary, the graverobber, is able to steal this artefact from him. He has to be careful to not draw any attention on himself or he might show his true role to the other players.
[H1]Plays best with:[/H1]
[list]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1363905854]Serial Killer[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=1885871635]Sheriff & Deputy[/URL]
[*][URL=https://steamcommunity.com/sharedfiles/filedetails/?id=2001213453]Amnesiac[/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_pha_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_pha_pct [0.0..1.0] (default: 0.17)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_pha_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_pha_random [0..100] (default: 50)
# the amount of players needed for this role to spawn
ttt_pha_min_players: [0..n] (default: 6)[/code]
[h1]Rolespecific Convars:[/h1]
[code]# is the pharaoh able to pick up his ankh
ttt_ankh_pharaoh_pickup [0/1] (default: 1)
# is the graverobber able to pick up his ankh
ttt_ankh_graverobber_pickup [0/1] (default: 0)
# does the ankh heal itself if his owner is close by
ttt_ankh_heal_ankh [0/1] (default: 1)
# does the ankh heal its owner if he is close by
ttt_ankh_heal_owner [0/1] (default: 1)
# does the ankh light up if his owner is close by
ttt_ankh_light_up [0/1] (default: 1)
# how long it takes to convert the ankh
ttt_ankh_conversion_time [0..n] (default: 6)
# how many HP the ankh has
ttt_ankh_health [0..n] (default: 500)[/code]
--
[h1]Credits:[/h1]
[URL=https://steamcommunity.com/id/mineotopia]Mineotopia[/URL]: creator and designer of this role addon
[URL=https://steamcommunity.com/id/bypythagyros/]Phythagorion[/URL]: creator of the ankh model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment