Garry's Mod

Garry's Mod

Not enough ratings
TTT Traitor Count Randomizer - SERVER
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun
File Size
Posted
Updated
441.000 B
8 Jul, 2015 @ 12:43pm
8 Jul, 2015 @ 7:56pm
5 Change Notes ( view )

Subscribe to download
TTT Traitor Count Randomizer - SERVER

In 1 collection by AutomaticFrenzy
AutomaticFrenzy's Server Files
53 items
Description
This addon gives the server 3 cvars to control the number of traitors in a TTT round.

tc_min_pct (def .25) - Minimum percent of traitors

tc_max_pct (def .32) - Max percent of traitors

tc_enabled (def 1) - Whether or not the addon randomizes the values (WARNING: Disabling it wont turn the vaue back to deafult)


Clients shouldn't be able to see the cvar changing, but if they can, you will need to remove some lines in terrortown.txt ingarrysmod\gamemodes\terrortown

Remove all lines past settings, but leave the last brace intact. Example below

_____________________________________________
"terrortown"
{
"base" "base"
"title" "Trouble in Terrorist Town"
"maps" "^ttt_"
"menusystem" "1"
}
_______________________________________________

Please let me know if there are any bugs or additional features that people would like to see!
18 Comments
AutomaticFrenzy  [author] 20 Jun, 2020 @ 8:00am 
No, sorry. Been too long since I've messed around with this stuff. Might look into it someday or if I get back into gmod addon making!
Krobie ツ 20 Jun, 2020 @ 5:44am 
Actually, there are 2 Announcements. I guess one is from the mod and one is from Gmod itself.

https://ibb.co/cNrcrT3

it WOULD be enough for us to just get rid of the "There are 1 Traitor, 1 Innocent ......." Part.
Do you have any Idea how to get that. :D
Larry Lobster 15 Apr, 2020 @ 4:08pm 
Hey, i tried this addon, added the commands to my server.cfg but its not working... do i just add them and delete the normal ttt_traitor_pct or what. could need your help ;)
AutomaticFrenzy  [author] 11 Apr, 2020 @ 8:00am 
Oh I think that's a new change, I haven't updated the mod since that update. I might take a look at it soon and see if I can do anything.
Krobie ツ 11 Apr, 2020 @ 2:39am 
Theres still the Anouncements about how much Innocents, Detectives and Traitors are in the round. Already changed the lines in the terrortown.txt, but doesnt seems to work. Any fixes?
[Toshi] Von Yoosten 24 Jan, 2019 @ 2:09pm 
wher do I edit the T amounds? The commands don't do anything and are not recognized my the console (e.g. tc_min_pct (def .25)). But the chat displayed a T chance switch at the start of the round tho.
Vision 1 Apr, 2017 @ 3:41am 
Hi,
just wanted to say it worked perfectly. Everything was working. I added the Addon on the server and it was working. I had to remove some lines tho.
Great Addon
Mom 2 Feb, 2017 @ 12:08am 
Just a thought, could not having cheats enabled have been the problem?
Mom 7 Aug, 2016 @ 6:23pm 
Thanks a bunch
AutomaticFrenzy  [author] 7 Aug, 2016 @ 6:22pm 
Hm, I'm a bit busy atm, but I'll add you and we can work out what the issue is