Garry's Mod

Garry's Mod

Not enough ratings
Useful and interesting server commands for TTT
By Fluffy Terrorist ❤
   
Award
Favorite
Favorited
Unfavorite
Commands
ttt_traitor_pct (def. 0.25):
Percentage of total players that will be a traitor. The number of players will be multiplied by this number, and then rounded down. If the result is less than 1 or more than the player count, it is clamped to those values.
ttt_detective_pct (def. 0.13):
Percentage of total players that will be a detective (detective innocent). Handled similar to traitor_pct (rounded down etc).
ttt_detective_min_players (def. 10):
Minimum number of players before detectives enter play. At lower playercounts it will be purely normal innocents vs traitors, at higher ones some innocents will be detective.
ttt_voice_drain (def. 0):
Enables the voicechat battery feature. Voicechatting reduces a battery meter, when it's empty the player can't voicechat and must wait a few seconds for it to recharge.
ttt_karma_ratio (def. 0.001):
The ratio of the damage that is used to compute how much of the victim's karma is subtracted from the attacker's. You can make penalties larger by slightly(!) increasing this, to eg. 0.0015, or smaller by reducing it.
ttt_karma_clean_half (def. 0.25):
When a player's Karma is above the starting level (meaning the karma max has been configured to be higher than that), all his karma increases will be reduced based on how far his karma is above that starting level. So it goes up slower the higher it is.

This reduction goes in a curve of exponential decay: initially it's fast, and it slows down as the increment gets smaller. This convar sets at what point the bonus has been halved (so the half-life). With the default value of 0.25, if a the starting amount of karma is 1000 and the max 1500, and a player has karma 1125 ((1500 - 1000) * 0.25 = 125), then his clean round bonus will be 30 / 2 = 15. So to make the bonus go down faster you'd set this convar lower, to make it go down slower you'd increase it towards 1.

ttt_spec_prop_control (def. 1):
Toggle whether spectators can possess props.

ttt_detective_hats (def. 0):
Enable to make detectives get a special hat. May be buggy.

ttt_playercolor_mode (def. 1):
Sets player coloring mode. 0 = off, 1 = muted/dark colors only, 2 = select from a larger list of colors including brighter ones, 3 = fully random colors.

ttt_roundrestart
Triggers the round to restart, will go immediately to a new round in the form of a new preparation phase. Requires GMod admin/superadmin status, or sv_cheats enabled.

ttt_print_traitors
Prints who are the traitors. Requires admin status, or RCON.

ttt_print_adminreport
Prints who killed who. Requires admin status/RCON.

ttt_print_damagelog
First enable the convar ttt_log_damage_for_console (set to 1) to enable damage logging. Then use this command to print out the log of the current round. Note that this is a lot of data.

ttt_locational_voice (def. 0):
Toggles locational 3D voicechat sound for living players.
1 Comments
blackskytf2 Oct 3, 2020 @ 4:04pm 
ok