Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Haunted [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
362.769 KB
13 Nov, 2021 @ 10:44pm
14 Dec, 2023 @ 11:36pm
5 Change Notes ( view )

Subscribe to download
[TTT2] Haunted [ROLE]

In 1 collection by blackmagicfine
TTT2 Mods For BMF's Server
93 items
Description
The first rule of being a Traitor is to not get caught. The second rule is to kill your witnesses as soon as possible, because no one gets the first rule right. The third rule is to have a good back-up plan, because everyone makes mistakes and leaves bloody messes. The fourth and most important rule is to carefully read over every single word on your contract with the Devil, because no traitor worth their salt comes up with a good back-up plan.

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/AaronMcKenney/ttt2-role_haunt




The Haunted is a traitor role. If they are killed, they will haunt their killer. Their killer will leave a trail of smoke, and if they are killed The Haunted shall come back to life. As this ability is quite powerful, the Haunted does not have access to a shop by default.



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_haunted_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_haunted_pct [0.0..1.0] (default: 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_haunted_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_haunted_random [0..100] (default: 30) # the amount of players needed for this role to spawn ttt_haunted_min_players: [0..n] (default: 6)

Rolespecific Convars:
# Who should see announcements about hauntings? ttt2_haunted_declare_mode [0..2] (default: 2) # 0: Don't declare the Haunted's status. # 1: Declare the Haunted's status to every player. # 2: Declare the Haunted's status to only traitors # How much health should the Haunted revive with? ttt2_haunted_revive_health [0..n] (default: 50) # Should players leave a trail of smoke if they are currently being haunted? ttt2_haunted_smoke_mode [0/1] (default: 1) # Should the Haunted respawn at worldspawn or their body? ttt2_haunted_worldspawn [0/1] (default: 0)

--
Credits:
BlackMagicFine: creator of this role addon
Mineotopia: designer of the role thumbnail
KindPNG Haunted House Symbol[www.kindpng.com]: role icon created by modifying this image
Wasted: designer of the Spectre, which this role reuses a lot of code from
Haxray: came up with the idea for the Haunted