Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Seance [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
375.459 KB
23 Oct, 2021 @ 5:10pm
16 Dec, 2023 @ 10:22am
9 Change Notes ( view )

Subscribe to download
[TTT2] Seance [ROLE]

In 1 collection by blackmagicfine
TTT2 Mods For BMF's Server
93 items
Description
I see dead people.

...It's pronounced "Shawnce".


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_sean




The Seance is an Innocent role who can see spectators (sort of). There is a 30 second delay between the player's death and when their "ghost" becomes visible by default. These "ghosts" look like semi-transparent yellow orbs which follow the spectator. They only update their positions every 10 seconds or so, and are offset from the spectator's actual position (so if 6 dead players are spectating the same player, the Seance will see 6 yellow orbs near the player in question, despite all 6 spectators occupying the same position).

In addition, when one of these orbs appears, the Seance is informed about the recently deceased player's death as well as the number of dead players. Both of these tidbits of information will be 30 seconds old, with their appearance corresponding with the appearance of the "ghosts".

If a Spectator is possessing a prop, the Seance will perceive a yellow glow about the prop, similar to how spectators see possessed props.



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

Rolespecific Convars:
# How many seconds after a player's death must pass until The Seance is made aware (visually and/or textually)? ttt2_seance_notification_time [0..n] (default: 30) # Can The Seance see Spectators as yellow orbs? ttt2_seance_visual_orb_enabled [0/1] (default: 1) # How many seconds should pass before the orb's position is updated (<=1 will prevent updates, and orb will linger at death position)? ttt2_seance_visual_orb_update_time [1..n] (default: 10) # Will The Seance receive a text informing them about the recently deceased (Note: Information will not be up to date. It will be off by ttt2_seance_notification_time seconds)? ttt2_seance_dead_text_mode [0..2] (default: 1) # 0: No textual information # 1: They are told that some player died. They are told the number of dead players # 2: They are told that a player died, and their specific name. They are told the number of dead players

--
Credits:
BlackMagicFine: creator of this role addon
Smuggles: designer of the role icon
Mineotopia: designer of the role thumbnail