Garry's Mod

Garry's Mod

402 ratings
Town Of Terror - More roles for TTT (The Original Custom Roles mod for TTT)
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
128.709 MB
27 Jul, 2017 @ 11:50pm
23 Mar, 2023 @ 7:49am
114 Change Notes ( view )

Subscribe to download
Town Of Terror - More roles for TTT (The Original Custom Roles mod for TTT)

In 6 collections by Jenssons
KingsNJenssons Gmod Event Collection
107 items
Real Stuff
96 items
Jenssons Mods
50 items
the testing pack
43 items
Testing collection
173 items
Pans Server Stuff
24 items
Description
This Mod was requested by Ben from the Yogscast!!

This mod adds new roles to ttt.

if you have avoid Detective on you wont be a new role

Current roles added:
Survivalist (who has a buy menu and is on the Innocent team),
Jester (if he is killed by a player he wins. the Jester also does no damage),
Phoenix (When Dies the first time he will respawn back in place)
SerialKiller (Aim is to kill everyone, and your evil will show after 1 min and 30 seconds)
Infected (You need to kill people with melee to infect them)


Commands
Default
What they do
ttt_survivalist_min_players
2
The miniable players needed
ttt_jester_min_players
6
ttt_phoenix_min_players
5
ttt_serialkiller_min_players
8
ttt_infected_min_players
8
ttt_randomnewroles
0
This will alow roles to be random. 0 is not random, 1 is all random, 2 is only one role will spawn
ttt_israndom_survivalist
1
This will set if you want the roles to have a chance to spawn during a round or not. 0 is always spawn, 1 is random and 2 is never
ttt_israndom_jester
1
ttt_israndom_phoenix
1
ttt_israndom_serialkiller
1
ttt_israndom_infected
1
ttt_survivalist_chance
2
How often you want the roles to spawn, higher the number less of a chance
ttt_jester_chance
2
ttt_phoenix_chance
2
ttt_serialkiller_chance
7
ttt_infected_chance
7
ttt_phoenix_blind
1
If this is set to 2 then the phoenix screen will go dark when their down
ttt_phoenix_respawn_time
12
how many seconds till the phoenix respawns
ttt_serialkiller_smoke_timer
60
how many seconds till the sk smoke spawns
ttt_infected_Speed
1.5
how fast does the infected move
OpInfected
0
if 1 they can one shot people
ttt_sur_credits_starting
1
the starting credits of the survivalist
ttt_sk_credits_starting
6
the starting credits of the serialkiller
jesterwinstate
1
default When the Jester dies the round is over
jesterwinstate
2
When the Jester dies who killed him also dies
jesterwinstate
3
When the Jester dies the person who killed him becomes a Jester
jesterwinstate
4
When the Jester dies who killed him dies but the Jester respawns with the Role of the person who killed him
jesterwinstate
5
Is just like 4 apart from when you kill a jester they don't become your role, they become the opposite role
jesterwinstate
6
Is a ticking time bomb in the sense off when you kill the jester you die but the jester comes back up as a jester and there is no limit to how much the jester comes back
jesterwinrandom
1
this will make the jester each round have a different win state, 1 is not random, 2 is random you can set this in GarrysMod\garrysmod\data\rolecommands\jesterwinsates.txt
jestercomments
1
this will say who killed the jester. 1 only says the traitor killed the jester, 2 will say who in general killed the jester
jesterrandomcomments
1
this will tell everyone what the jester is at the start of each round. 1 will not tell people, 2 will tell everyone
jestertraitor
0
if the traitors are effect by the jester. 0 yes they are, 1 traitors can kill the jester and nothing happens unless its winstate 1
jesterinfected
0
if the infected are effect by the jester. 0 yes they are, 1 infected can kill the jester and nothing happens unless its winstate 1
weaponsrandom
0
this will randomise the buy menu. 0 is nomral, 1 is random
weaponsrandomrounds
3
how many rounds untill the random shop chances
tweaponlimit
5
how big you want the random shop to be for the traitors
sweaponlimit
3
survivalist random shop cap
dweaponlimit
3
detetives random shop cap
skweaponlimit
2
serialkiller random shop cap
randomtraitorweaponson
1
if you want that roles buy menu to be random. 0 is not random, 1 is random
randomsurvivalistweaponson
0
randomdetectiveweaponson
0
randomserialkillerweaponson
0

the command
weaponshop
this will allow you to customise the buy menus for roles and allow items to always be in the shop even if its random

---ttt damage logs---
-- Force autoslain players to be innocents (ULX only)
-- Do not enable this if another addon interferes with rls (Pointshop rls for example)
Damagelog.ULX_Autoslay_ForceRole = false
Set it to false and restart

our patreon page
https://www.patreon.com/user?u=2794734&ty=h&u=2794734

join my steam group if you want to submit ideas for Roles
http://steamproxy.net/groups/KingsNJenssons

if you would like to support me in any way please have alook at my channel
https://www.youtube.com/channel/UCBigb4s9gIDfBeljGO1Or2w
DISCORD
please do not join the discord and just leave its annoying
https://discord.gg/qG43RQn
PLEASE if you need SUPPORT join our discord and go to the garrys mod questions or bugs channels
Popular Discussions View All (50)
13
3 Nov, 2019 @ 10:58am
Jester Respawning as Deactivated Role?
Pickled Tiger
7
20 Jun, 2021 @ 10:47am
New Error: help.lua:135: attempt to call field 'GetLanguageNames' (a nil value)
Quiddy of Many Colours
8
19 May, 2019 @ 9:38pm
Ok so where am i supposed to put those commands?
Trapped In A Bagel
855 Comments
johnny roast beef [DG] 6 Jul, 2023 @ 5:24pm 
Is the Engineer role planned to come?
Jenssons  [author] 23 Mar, 2023 @ 8:52pm 
anytime!
staryoshi06 23 Mar, 2023 @ 6:59pm 
thanks :)
Jenssons  [author] 23 Mar, 2023 @ 7:50am 
i never touched the function so its must using a older version but i did a temp fix that you asked for, thank you
Jenssons  [author] 23 Mar, 2023 @ 7:30am 
i was thinking of recreating the mod but ill go fix it
staryoshi06 22 Mar, 2023 @ 10:09pm 
Further note: this is in cl_wepswitch for reference. It seems this issue was fixed for original TTT in 2017 so I guess you just used an old version of the gamemode. Hopefully you can fix this.
staryoshi06 22 Mar, 2023 @ 9:50pm 
Are you able to fix WSWITCH:ConfirmSelection()?

Base TTT calls input.SelectWeapon(w), which calls Deploy() on both server and client
Your mod calls RunConsoleCommand("wepswitch", w:GetClass()), which calls Deploy() on server only. This can break custom weapons that need clientside functionality when the weapon is deploy.
LeRawr UwU 20 Aug, 2022 @ 8:50pm 
i figured out wha caused the problem.
I disabled an addon of a weapon i added to a role that it wasn't defaulted to.
Jenssons  [author] 20 Aug, 2022 @ 7:41pm 
make sure to check your garrysmod/data/roleweapons you most likely added a weapon there it doesnt like

also check GarrysMod\garrysmod\data\roleweapons
LeRawr UwU 20 Aug, 2022 @ 7:26pm 
when you go into a weaponshop, it has nothing and in the problems tab it says

[Town Of Terror - More roles for TTT (The Original Custom Roles mod for TTT)] gamemodes/terrortown/gamemode/cl_equip.lua:71: attempt to index a nil value
1. GetEquipmentForRole - gamemodes/terrortown/gamemode/cl_equip.lua:71
2. unknown - gamemodes/terrortown/gamemode/cl_equip.lua:495
3. unknown - lua/includes/modules/concommand.lua:54