Garry's Mod

Garry's Mod

26 ratings
[TTT2] Pharaoh & Graverobber [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
10.718 MB
19 Feb, 2020 @ 12:14pm
20 Dec, 2023 @ 9:38am
12 Change Notes ( view )

Subscribe to download
[TTT2] Pharaoh & Graverobber [ROLE]

In 1 collection by Tim | Mineotopia
TTT2 - All Roles
112 items
Description
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 ...

You have to use TTT2 in order to use this role. Additionally using ULX for TTT2 is recommended. Report bugs concerning this role here[github.com] and submit new role ideas here[github.com]. A list of all currently available roles can be found here.

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/TTT-2/ttt2-role_pha




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. If the ankh is in the posession of the graverobber, he gets revived instead of the pharaoh upon death.

The ankh heals its owner if he is close by. Additionally the color of ancient runes around the ankh shows the team of the current owner. The ankh can be destroyed by every player.

Plays best with:




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.

Normal Role Convars (also found in ULX):
# 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)

Rolespecific Convars:
# 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)

--
Credits:
Mineotopia: creator and designer of this role addon
Pythagorion: creator of the ankh model
33 Comments
SirJaeden 8 Nov, 2022 @ 3:48am 
Is it possible to give a convar to disable the graverobber and only keep the pharaoh. Or to have a seperate addon that just has the pharaoh itself?
|UGA|PatPeter 9 Sep, 2021 @ 11:39pm 
I created a master configuration file for all of the TTT roles in the first 3 pages of the Workshop search: https://gist.github.com/PatPeter/70b1c090d8c8c311d99632dca76ec513
Tim | Mineotopia  [author] 3 Aug, 2021 @ 12:52am 
Mangost 2 Aug, 2021 @ 1:36pm 
oh, though i feel like i have lost my special role even when there were some reg ts but maybe not
Tim | Mineotopia  [author] 31 Jul, 2021 @ 4:03pm 
it only replaces a special T role if there is no normal T role
Mangost 31 Jul, 2021 @ 8:30am 
what about having it prioritize default traitors so you are less likely to lose glutton/mes and instead just have a default t get turned?
Mangost 31 Jul, 2021 @ 8:28am 
oh
Tim | Mineotopia  [author] 31 Jul, 2021 @ 2:08am 
@Mangost: While this is a great idea, the TTT roleselection system doesn't allow forcing two roles two spawn always together. Therefore I'd still have to force the role like I do and this would still overwrite the original role. With the only difference being that you wouldn't know that you lost a cool role.
Mangost 30 Jul, 2021 @ 7:23pm 
I feel like one way to help with the problem of special T roles getting overwritten (because it really sucks when you are glutton/mes/haunted and you just turn to graverobber) by basically spawning the graverobber at the start of the round (if there is a pharaoh) but they just show as a reg t until the ankh is placed. that way you dont get turned from a fun role into graverobber you were just it all along.
Tim | Mineotopia  [author] 19 Apr, 2021 @ 1:34pm 
It would be really helpful if you'd open an issue on GitHub so I don't forget it. Right now I'm busy with the new roundend screen