Garry's Mod

Garry's Mod

96 ratings
Custom Roles for TTT [OUTDATED]
5
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
File Size
Posted
Updated
19.879 MB
2 Apr, 2020 @ 3:22pm
19 Jun, 2021 @ 4:12pm
235 Change Notes ( view )

Subscribe to download
Custom Roles for TTT [OUTDATED]

Description
AS OF June 29th, 2021 - This version of Custom Roles for TTT is no longer being actively developed. Almost all of the changes and fixes that I have done to it have been merged into the new Custom Roles for TTT co-developed by myself and Noxx along with other members of the community (Mattyp, The Stig, etc.). That version of CR is now the actively developed version that everyone should switch to. I will not be deleting this version or anything so you can keep using it if you'd like but I will no longer be actively developing it. It is open source so if you'd like to branch it and maintain it yourself (for whatever reason) you have my permission as long as credit is given to myself and the previous developers and contributors.

Thanks to Jenssons for the 'Town of Terror' mod which was the foundation of this mod.
Thanks to Noxx, Lix3, and Kommandos0 for the original version of this mod.

Edits (and replaces) the original version to restore some of the Town of Terror functionality

Innocent Team
Goal: Kill all members of the traitor and monsters teams

Innocent - A standard player. Has no special abilities
Detective - Inspect dead bodies to help identify the baddies
Glitch - An innocent that appears as a Traitor to members of the Traitor team
Mercenary - An innocent with a weapon shop
Phantom - Will haunt your killer, showing black smoke. When avenged, you have another chance for life

Traitor Team
Goal: Kill all non-team members (except Jester/Swapper)

Traitor - Use your extensive weapon shop to help your team win
Assassin - Kill all of your targets in order to do massive damage and win for the Traitor team
Hypnotist - Use your brain washing device on dead players to make more traitors
Detraitor - An evil replacement for the Detective who has access to all detective features (e.g. body search, detective buy menu) and appears to be a detective to non-traitors. Not enabled by default. See the Configuration section below to enable.

Monster Team
Goal: Kill all non-monsters (except Jester/Swapper)

Vampire - Kill players and use your fangs to convert other players, regain health, and fade from view
Zombie - Kill players with your claws to make more zombies

NOTE: Vampire and Zombie can be included in the Traitor team via the ttt_monsters_are_traitors ConVar. See Configuration for more information

Independent Players
Goal: Work on your own to win the round by playing your role carefully

Jester - Get killed by another player
Swapper - Get killed by another player and then fulfill their old goal
Killer - Be the last player standing. If you don't kill often enough, your evil essence will start to show, alerting other players of your ill intentions

Special Thanks
Literally too many to list on this page, it won't fit.
Please see the full list here.[github.com]

Changes from the Original Version
https://github.com/Malivil/TTT-Custom-Roles-Outdated/blob/master/CHANGES.md

Conflicts
  • Any other addon that adds roles such as Town of Terror, TTT2, or the original version of Custom Roles for TTT. There is no reason to use more than one role addon so remove all the ones you don't want.
  • Better Equipment Menu - This has its functionality built in
  • TTT Damage Logs[github.com]
  • TTT DeadRinger - Overrides several scripts that are core to TTT that this also overrides (notably, the scoreboard and client initialization). As a workaround, you can use this version instead.

Configuration
https://github.com/Malivil/TTT-Custom-Roles-Outdated/blob/master/CONVARS.md

FAQs
Do I need the other version of Custom Roles or Town of Terror as well?
No, you should only use one addon that adds roles. That means only this version of Custom Roles, no Town of Terror, no TT2, etc.

This lags everyone when I play on my peer-to-peer (aka listen, aka local) server/game
Everyone needs to subscribe to this workshop item, not just the host. I'm not sure why that is, it's the same for every version of this addon not just mine.

I would suggest making a workshop collection of the addons you have and then having your friends subscribe to them all.

How do I change X, Y, or Z?
Check out the Configuration section above and add the setting value you want in your server.cfg. If you don't see a setting for what you want to change, leave a comment and I'll either help you find it or try to add one.

How do I make a Detective spawn every round?
Set the following settings:

ttt_detective_min_players 1
ttt_detective_pct 1

Also if you want ONLY one detective, set:
ttt_detective_max 1

Source Code
https://github.com/Malivil/TTT-Custom-Roles-Outdated
Popular Discussions View All (1)
6
5 Jun, 2020 @ 8:05am
Using this mod has caused an issue with roles I can't undo
Judd
486 Comments
Malivil  [author] 29 Jun, 2021 @ 6:02am 
AS OF June 29th, 2021 - This version of Custom Roles for TTT is no longer being actively developed. Please see note at the top of the description.
Thairoon 19 Jun, 2021 @ 5:05pm 
yep worked, yw and thanks again^^
Malivil  [author] 19 Jun, 2021 @ 4:14pm 
I figured it out. There was a bug that could cause all of the roleweapons features (and shop randomization) to not work with certain weapons.

Should be fixed now, thanks for the report =)
Malivil  [author] 19 Jun, 2021 @ 3:21pm 
Hmm, interesting. I'll look into that
Thairoon 19 Jun, 2021 @ 1:47pm 
also weapons of type EQUIP2 cant be excluded. Is that a bug? See for example https://gtm.you1.cn/sharedfiles/filedetails/?id=1377883019&searchtext=ttt+controllable+manhack
Thairoon 18 Jun, 2021 @ 2:16pm 
oh nicee, i thank you for implementing^^
Malivil  [author] 18 Jun, 2021 @ 12:44pm 
And now there is. Thanks for the idea =)
Malivil  [author] 18 Jun, 2021 @ 12:07pm 
There is not currently a way to do that, no
Thairoon 18 Jun, 2021 @ 12:05pm 
hey, is there a way of excluding equipment weapons like the radar? only found an option too include in the docs.
Thairoon 13 Jun, 2021 @ 6:18am 
hmm okay