Garry's Mod

Garry's Mod

36 ratings
[TTT2] Mesmerist [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
732.667 KB
21 Jun, 2020 @ 4:17pm
1 Feb, 2022 @ 8:07am
21 Change Notes ( view )

Subscribe to download
[TTT2] Mesmerist [ROLE]

In 4 collections by Wasted
TTT2 Dingus Server
581 items
Dingus Playerside
320 items
TTT2 Dingus Beta Collection
45 items
Dingode TTT2
326 items
Description
Your a traitor with a secret weapon, the ability to brainwash the dead onto your side!

Based on the Hypnotist role from Custom Roles for TTT.

Requires TTT2 in order to use this role. A list of all currently available roles can be found here .

Source: https://github.com/ZacharyHinds/ttt2-role-mesmerist

Please report bugs here or on github!





The Mesmerist is a traitor with a special defib that allows them to revive a dead player, brainwashing them into a traitor!




Normal Role Convars (also found in F1 Menu):
# enable or disable this role ttt_mesmerist_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_mesmerist_pct [0.0..1.0] (default 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_mesmerist_max [0.0..n] (default: 1) # the probility each round of this role being spawned at all ttt_mesmerist_random [0..100] (default: 33) # the amount of players needed for this role to spawn ttt_mesmerist_min_players: [0..n] (default: 6)

Role Specific Convars (also found in F1 Menu):
# how much ammo the mesmerist's defib has (so how many times they can revive people) ttt2_mesdefi_ammo [1..n] (default 1) # how long it takes the revive using the defib ttt2_mesdefi_revive_time [0.0..n] (default 3.0) # how long it takes the defib to reset after encountering a revive error ttt2_mesdefi_error_time [0.0..n] (default 1.5) # whether or not Thralls can be re-revived by the Mesmerist's defib ttt2_mesdefi_res_thrall [0 or 1] (default 1) # should the Thrall inherit the Mesmerist's team ttt2_thr_inherit_team [0 or 1] (default 1)

--
Credits:
Wasted: creator of this role addon
Tim | Mineotopia: person whose defib code I relentlessly pilfered to jury-rig my own. AND the person who made these sweet icons
11 Comments
SvveetMavis 8 Jun, 2024 @ 7:32pm 
When reviving someone who is in spec dm from this addon https://test-steamproxy.haloskins.io/sharedfiles/filedetails/?id=1997666028 it says you can't revive them because they are already alive
SvveetMavis 6 Apr, 2024 @ 9:37am 
could you add a convar to make someone revive as a traitor rather than thrall?
Tim | Mineotopia 28 Feb, 2024 @ 2:38am 
@SvveetMavis You can safely ignore that for now
SvveetMavis 27 Feb, 2024 @ 5:17pm 
im getting this error in the console when reviving someone, like they revive fine but the console error kinda lets people know someone was revived

[TTT2 (Base) - v0.13.1b] [DEPRECATION WARNING]: You should use the REVIVAL_BLOCK enum here.
1. Revive - gamemodes/terrortown/gamemode/server/sv_player_ext.lua:848
2. BeginRevival - gamemodes/terrortown/entities/weapons/weapon_ttt_mesdefi.lua:178
3. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_mesdefi.lua:301
Cpt.Haxray 23 Apr, 2021 @ 12:43pm 
Will do! Thanks for the fix.
Wasted  [author] 23 Apr, 2021 @ 12:03pm 
@Cpt.Haxray These issues should be fixed in the most recent update. Let me know if either persist (or if there are new ones)
Cpt.Haxray 22 Apr, 2021 @ 10:38pm 
Heyo, got two bug reports. Made a github issue about it but friend insisted 'you should also leave a steam comment'.

If the Mesermist is in the middle of Defibbing someone and is killed, the dead person will still get revived.

Additionally, through some specific timing(i sadly do not know the exact timing i've simply seen people do it) it is possible to revive someone and switch away from the Defib, causing you to keep the Defib and gain the ability to revive someone else(This is referring to the default settings where it can only revive a single time)
Wasted  [author] 24 Jul, 2020 @ 6:29pm 
@Jasorn yeah you're spot on. If I ever come up with ideas for what to do, I'd like to add some options that are Thrall specific
Jasorn 24 Jul, 2020 @ 3:41pm 
whats the thrall role then, i assume the role they become when mesmerist revives them?
Wasted  [author] 22 Jun, 2020 @ 12:09pm 
@Ford, I've fixed some of the ConVar issues, but I haven't been able to replicate the infinite defib problem