Garry's Mod

Garry's Mod

1,186 ratings
Custom Roles for TTT [OUTDATED]
3
15
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
File Size
Posted
Updated
17.176 MB
Nov 29, 2017 @ 2:14am
Oct 23, 2021 @ 9:43pm
453 Change Notes ( view )

Subscribe to download
Custom Roles for TTT [OUTDATED]

Description
THIS ADDON IS OUT OF DATE - THE NEW VERSION CAN BE FOUND HERE

Thanks to Jenssons for the 'Town of Terror' mod which was the foundation of this mod.

Innocent Team:
Goal: Kill all members of the traitor team

Innocent
• A standard player. Has no special abilities

Detective
• All other players are notified of the Detectives at the start of the round
• Can search bodies of dead players
     ◦ Reveals the role, what killed them, who they last saw and other useful information to all players
     ◦ If other players try to search a body it will instead alert Detectives of the body’s location
• Has access to a shop
     ◦ Spawns with two credits
     ◦ Gains a credit whenever a member of the traitor team is killed

Glitch
• Has a chance to spawn instead of an Innocent
• Appears as a Traitor (or Zombie) to members of the traitor team
• Prevents members of the traitor team from using team text and voice chat

Mercenary
• Has a chance to spawn instead of an Innocent
• Has access to a shop
     ◦ Spawns with one credit
     ◦ Can buy any naturally occuring weapon or items available to both Detectives and Traitors

Phantom
• Has a chance to spawn instead of an Innocent
• Haunts attackers on death
     ◦ Haunted players leave a smoke trail behind them
     ◦ Killing the haunted player will revive the Phantom on 50 health
     ◦ Detectives are notified when the Phantom is killed or revived

Traitor Team:
Goal: Kill all members of the innocent team

Traitor
• Notified of team members and Jesters at the start of the round
• Has access to a shop
     ◦ Spawns with one credit
     ◦ Gains a credit whenever enough innocent team members are killed

Assassin
• Has a chance to spawn instead of a Traitor
• Notified of team members and Jesters at the start of the round
• Given a random target at the start of the round
     ◦ Deals double damage to the target and half damage to all other players
     ◦ When the target dies a new target is selected
     ◦ Detectives will always be the final targets
     ◦ Killing the wrong player will fail the contract and the Assassin will deal half damage to all players
• Has access to a basic shop
     ◦ Spawns with no credits
     ◦ Gains a credit whenever enough innocent team members are killed

Hypnotist
• Has a chance to spawn instead of a Traitor
• Notified of team members and Jesters at the start of the round
• Spawns with a brain washing device
     ◦ When used on a dead body it will revive them at full health
     ◦ Changes the role of the revived player to Traitor
     ◦ Cannot be used on Jesters and Swappers
• Has access to a basic shop
     ◦ Spawns with no credits
     ◦ Gains a credit whenever enough innocent team members are killed

Vampire
• Has a chance to spawn instead of a Traitor
• Notified of team members and Jesters at the start of the round
• Spawns with fangs
     ◦ When used on a dead body it will destroy the body and heal 50 health up to a maximum of 125 health
     ◦ Right click will grant short term speed and invisibility on a cooldown
• Has access to a basic shop
     ◦ Spawns with no credits
     ◦ Gains a credit whenever enough innocent team members are killed

Zombie
• Has a chance to spawn instead of all Traitors
• Notified of team members and Jesters at the start of the round
• Spawns with claws
     ◦ Deals 50 damage to members of the innocent team
     ◦ If used to kill a player they will repsawn as a zombie
• Deals half damage will all standard weapons
• Has access to a perk shop
     ◦ Spawns with no credits
     ◦ Gains a credit upon infecting another player with the claws

Independent Players:

Jester (Goal: Get killed by another player)
• Has a chance to spawn instead of an Innocent
• Deals no damage to other players or props
• Takes no environmental damage (e.g. fire, fall, explosion...)
• Can message members of the traitor team using team text and voice chat but will not recieve replies

Swapper (Goal: Get killed by another player and then fulfill their old goal)
• Has a chance to spawn instead of an Innocent
• Appears as a Jester to members of the traitor team
• Deals no damage to other players or props
• Takes no environmental damage (e.g. fire, fall, explosion...)
• Can message members of the traitor team using team text and voice chat but will not recieve replies
• When killed by another player the Swapper swaps roles with their attacker
     ◦ The attacker will die instead and the Swapper will respawn with the newly swapped role
     ◦ If a Detective searches the body of the attacker they will look like a Swapper

Killer (Goal: Be the last player standing)
• Has a chance to spawn instead of an Innocent
• Spawns with 150 health and maximum health
• Traitors are notified if there is a Killer
• Has access to a shop
     ◦ Spawns with one credit
     ◦ Can buy any naturally occuring weapon or items available to both Detectives and Traitors

Special Thanks:
Jenssons for the 'Town of Terror' mod which was the foundation of this mod
Bodysnatch Thunderpants for the 'Better Equipment Menu' mod
Milky for the code used to create the pile of bones after the Vampire eats a body taken from the 'TTT Traitor Weapon Evolve' mod
Wizard Cat for the code used for the Hypnotist's brain washing device taken from the 'Defibrillator for TTT' mod
Fresh Garry for the 'TTT Sprint' mod which was used as the base for this mods sprinting mechanics
• Kommandos, Lix3, FunCheetah, B1andy413, Cooliew, The_Samarox, Arack12 and Aspirin for helping me test

Source Code:
https://github.com/NoxxFlame/TTT-Custom-Roles-Outdated
Popular Discussions View All (39)
5
May 15, 2021 @ 10:14pm
Detective not working
DoruSonico
4
1
Jan 13, 2021 @ 10:10am
Peer to Peer Problem
Ölschi
3
Oct 30, 2020 @ 9:13pm
Scoreboard glitches to never close
LukeBeforeYouGame
261 Comments
Nick  [author] Oct 23, 2021 @ 9:50pm 
This addon is outdated as of a few months ago. All of the features that were part of this mod and way more roles are now available here https://steamcommunity.com/sharedfiles/filedetails/?id=2421039084
Orrisama Apr 29, 2021 @ 12:12pm 
I'm trying to get it so when I have 5 players in my game I get 1 traitor no detectives and 25% chance of getting swapper or jester. But the Jesters won't spawn even with ttt_jester_required_innos 2 and ttt_jester_chance .99. As soon as I add a 5th bot to make the game 6 players the jesters spwan fine. What's preventing jesters from spawning in a 5 player round?
Stella Starfall Apr 7, 2021 @ 3:42pm 
This mod seems to be experiencing errors, namely the following.

[Custom Roles for TTT] gamemodes/terrortown/gamemode/vgui/sb_row.lua:34: attempt to index global 'DRINKS' (a nil value)

[Custom Roles for TTT] gamemodes/terrortown/gamemode/vgui/sb_row.lua:356: attempt to index field 'nick' (a nil value)
1. unknown - gamemodes/terrortown/gamemode/vgui/sb_row.lua:356
Blimblam Apr 7, 2021 @ 2:21pm 
the glitch pretty much ruins this sadly, no vc makes the traitors very easy to find
SnakeyJakey Mar 13, 2021 @ 2:03pm 
is there a way to make it so the traitors can still talk to the innocents ???
Crystalblue Mar 3, 2021 @ 5:10pm 
Prob's the glitch, he prevents team chat between traitors using text chat and voice chat
Bullet Feb 21, 2021 @ 10:21pm 
As well, traitors straight up cant use voice chat
Bullet Feb 21, 2021 @ 10:13pm 
The thing that displays people talking in my HUD won't appear, some people can't be heard at all sometimes, and the role signs disapear for some
[KaP] Portres Jan 19, 2021 @ 5:22am 
I subbed but do not get any new roles :( why?
|UGA|PatPeter Dec 19, 2020 @ 2:50pm 
Does this addon remove the Voice Indicator? In the top-right of my screen, it no longer shows voice indicators when people are talking. Is it this addon doing that and how do I restore it?