Garry's Mod

Help with TTT configiration

Submitted by SovetskiDuck, , Thread ID: 137633

Thread Closed
21-07-2019, 07:26 AM
#1
How can you pre-configure game settings for TTT? It's possible to change values in the console likettt_postround_dm 1 to enable postround deathmatch but this can become very repetitive and is not a permanent soloution. What are the exact parameters that need to be changed in order to permanently affect the gamemode settings? Any help would beaprechiated.
http://ttt.badking.net/config-and-commands/convars

RE: Help with TTT configiration

#2
Here is a section from my server.cfg file. Just coppy this into yours and change the values to what you want:


// ----------------------------- TTT SETTINGS ------------------------------------------
// Make sure Terrorists can't hear Traitor radio
sv_alltalk "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Preparation and post-round
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// The length of the preparation phase that occurs after players spawn in and
// before traitors are selected and a new round begins.
// Specified in seconds.
ttt_preptime_seconds "20"
// The length of the preparation phase for only the first round after a map loads.
// It is useful to make this higher than ttt_preptime_seconds so that players
// do not have to sit out a round just because they loaded slightly too slowly.
ttt_firstpreptime "30"
// The length of time after a round has ended before the next
// preparation phase begins.
// The round report is displayed at the start of this phase.
// During this phase, stats/points are no longer tracked.
ttt_posttime_seconds "15"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Round length
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Enables Haste Mode. In Haste Mode, the initial round time is short.
// Every death increases it by some amount.
// Puts pressure on traitors to keep things moving,
// which is more interesting for the innocent players
ttt_haste "1"
// Replaces ttt_roundtime_minutes when Haste Mode is on.
// Sets the initial time limit.
ttt_haste_starting_minutes "6"
// Specifies the number of minutes that is added to the round time for each death.
// Setting this to 0.5 will result in 0.5 * 60 = 30 seconds being added.
ttt_haste_minutes_per_death "0.5"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Map switching and voting
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// The max number of rounds until the map is switched.
ttt_round_limit "8"
// The max number of minutes until the map is switched or a vote is started
ttt_time_limit_minutes "50"
// Enables the use of your mapcycle.txt even if voting is enabled.
// Since GMod 13 no voting exists (at the time of writing), so this does nothing.
ttt_always_use_mapcycle "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Traitor and Detective counts
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// 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_traitor_pct "0.3"
// Percentage of total players that will be a detective (detective innocent).
// Handled similar to traitor_pct
ttt_detective_pct "0.15"
// 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_detective_min_players "6"
// If a player's Karma falls below this point,
// his chances of being selected as detective are reduced.
ttt_detective_karma_min "800"

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// DNA
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// Maximum range within which a DNA sample of the killer
// is planted on the corpse of the victim.
ttt_killer_dna_range "600"

// Killer's DNA samples time out depending on how near he was to the victim.
// After that time has passed, the sample cannot be gathered anymore.
// This cvar sets the time in seconds when the killer was 0 units away.
// The time is lower when the range was higher, via a falloff curve.
// Note that due to the shape of the curve the time can sink below 0
// even if the killer is within range according to the ttt_killer_dna_range convar,
// if the basetime is too low.
ttt_killer_dna_basetime "100"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Voicechat battery
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// 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_voice_drain "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Other gameplay settings
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ttt_minimum_players "2"
ttt_postround_dm "1"
ttt_dyingshot "1"
ttt_no_nade_throw_during_prep "1"
ttt_weapon_carrying "1"
ttt_weapon_carrying_range "45"
ttt_teleport_telefrags "1"
ttt_ragdoll_pinning "1"
ttt_ragdoll_pinning_innocents "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Karma
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Enable karma on the server.
ttt_karma "1"
// Maximum karma a player can have.
// Note that increasing it above 1000 does not mean players with 1100 karma
// will get a damage bonus. It would just give them a "buffer" before they
// get a damage penalty.
ttt_karma_max "1400"
// If a player has not hurt or killed a teammate this round,
// he will be "healed" an extra 30 karma (for a total of 35, under default settings).
// So if you have bad karma it is rewarding to lie low.
ttt_karma_clean_bonus "40"
// Bonus karma for killing a traitor.
ttt_karma_traitorkill_bonus "5"
// The karma threshold at which players get kicked.
ttt_karma_low_amount "450"
// Kick players that have low karma.
ttt_karma_low_autokick "1"
// Ban players that are kicked for low karma.
ttt_karma_low_ban "1"
// Minutes to ban players, 0 should be perma.
ttt_karma_low_ban_minutes "5"
// Stores the karma of a player in persistent storage,
// at the end of the round or if they disconnect.
// Then upon reconnection it will be loaded.
// This means the karma will persist even when the map changes.
ttt_karma_persist "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Traitor credits
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Number of credits that a traitor starts a round with.
ttt_credits_starting "2"
// When this percentage of the innocent players are dead,
// traitors are awarded more credits.
ttt_credits_award_pct "0.35"
// The number of credits awarded.
ttt_credits_award_size "1"
// Whether the credit reward is repeated.
ttt_credits_award_repeat "1"
// The number of credits recieved when a traitor kills a detective.
ttt_credits_detectivekill "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Detective credits
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Number of credits detective players start with.
ttt_det_credits_starting "1"
// The number of credits recieved when the detective kills a traitor.
ttt_det_credits_traitorkill "0"
// The number of credits recieved when a traitor dies.
ttt_det_credits_traitordead "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Admin Related
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Time in seconds a player is allowed to be idle after a round has started
// before he is moved to spectator.
ttt_idle_limit "90"
// Kicks player that change their name during a round.
ttt_namechange_kick "1"
// Time in minutes to ban players who changed their name. Set to 0 to disable.
ttt_namechange_bantime "2"
// Specifies how automatic bans made by TTT (low karma, namechange, etc)
// should be performed. This lets you specify whether TTT should use
// an admin plugin to ban, which can then make it easier to remove or adjust
// those bans using your admin plugin's interface.
ttt_ban_type "ulx"

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Miscellaneous
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// Causes ragdolls to collied with each other.
ttt_ragdoll_collide "0"

// Toggles locational 3D voicechat for living players.
ttt_locational_voice "1"

// Enable to make detectives get a special hat. May be buggy.
ttt_detective_hats "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_playercolor_mode "2"

// Enable to make the Discombobulator push force reliable for the thrower.
// This means you can easily perform discomb jumps,
// which is fun but exploitable on certain maps.
ttt_allow_discomb_jump "1"

// Spawns players in waves,
// where each wave spawns as many players as there are spawnpoints.
ttt_spawn_wave_interval "3"

RE: Help with TTT configiration

OP
#3
22-07-2019, 12:06 AM
Cfozzi Wrote:
Here is a section from my server.cfg file. Just coppy this into yours and change the values to what you want:


// ----------------------------- TTT SETTINGS ------------------------------------------
// Make sure Terrorists can't hear Traitor radio
sv_alltalk "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Preparation and post-round
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// The length of the preparation phase that occurs after players spawn in and
// before traitors are selected and a new round begins.
// Specified in seconds.
ttt_preptime_seconds "20"
// The length of the preparation phase for only the first round after a map loads.
// It is useful to make this higher than ttt_preptime_seconds so that players
// do not have to sit out a round just because they loaded slightly too slowly.
ttt_firstpreptime "30"
// The length of time after a round has ended before the next
// preparation phase begins.
// The round report is displayed at the start of this phase.
// During this phase, stats/points are no longer tracked.
ttt_posttime_seconds "15"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Round length
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Enables Haste Mode. In Haste Mode, the initial round time is short.
// Every death increases it by some amount.
// Puts pressure on traitors to keep things moving,
// which is more interesting for the innocent players
ttt_haste "1"
// Replaces ttt_roundtime_minutes when Haste Mode is on.
// Sets the initial time limit.
ttt_haste_starting_minutes "6"
// Specifies the number of minutes that is added to the round time for each death.
// Setting this to 0.5 will result in 0.5 * 60 = 30 seconds being added.
ttt_haste_minutes_per_death "0.5"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Map switching and voting
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// The max number of rounds until the map is switched.
ttt_round_limit "8"
// The max number of minutes until the map is switched or a vote is started
ttt_time_limit_minutes "50"
// Enables the use of your mapcycle.txt even if voting is enabled.
// Since GMod 13 no voting exists (at the time of writing), so this does nothing.
ttt_always_use_mapcycle "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Traitor and Detective counts
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// 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_traitor_pct "0.3"
// Percentage of total players that will be a detective (detective innocent).
// Handled similar to traitor_pct
ttt_detective_pct "0.15"
// 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_detective_min_players "6"
// If a player's Karma falls below this point,
// his chances of being selected as detective are reduced.
ttt_detective_karma_min "800"

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// DNA
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// Maximum range within which a DNA sample of the killer
// is planted on the corpse of the victim.
ttt_killer_dna_range "600"

// Killer's DNA samples time out depending on how near he was to the victim.
// After that time has passed, the sample cannot be gathered anymore.
// This cvar sets the time in seconds when the killer was 0 units away.
// The time is lower when the range was higher, via a falloff curve.
// Note that due to the shape of the curve the time can sink below 0
// even if the killer is within range according to the ttt_killer_dna_range convar,
// if the basetime is too low.
ttt_killer_dna_basetime "100"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Voicechat battery
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// 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_voice_drain "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Other gameplay settings
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ttt_minimum_players "2"
ttt_postround_dm "1"
ttt_dyingshot "1"
ttt_no_nade_throw_during_prep "1"
ttt_weapon_carrying "1"
ttt_weapon_carrying_range "45"
ttt_teleport_telefrags "1"
ttt_ragdoll_pinning "1"
ttt_ragdoll_pinning_innocents "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Karma
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Enable karma on the server.
ttt_karma "1"
// Maximum karma a player can have.
// Note that increasing it above 1000 does not mean players with 1100 karma
// will get a damage bonus. It would just give them a "buffer" before they
// get a damage penalty.
ttt_karma_max "1400"
// If a player has not hurt or killed a teammate this round,
// he will be "healed" an extra 30 karma (for a total of 35, under default settings).
// So if you have bad karma it is rewarding to lie low.
ttt_karma_clean_bonus "40"
// Bonus karma for killing a traitor.
ttt_karma_traitorkill_bonus "5"
// The karma threshold at which players get kicked.
ttt_karma_low_amount "450"
// Kick players that have low karma.
ttt_karma_low_autokick "1"
// Ban players that are kicked for low karma.
ttt_karma_low_ban "1"
// Minutes to ban players, 0 should be perma.
ttt_karma_low_ban_minutes "5"
// Stores the karma of a player in persistent storage,
// at the end of the round or if they disconnect.
// Then upon reconnection it will be loaded.
// This means the karma will persist even when the map changes.
ttt_karma_persist "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Traitor credits
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Number of credits that a traitor starts a round with.
ttt_credits_starting "2"
// When this percentage of the innocent players are dead,
// traitors are awarded more credits.
ttt_credits_award_pct "0.35"
// The number of credits awarded.
ttt_credits_award_size "1"
// Whether the credit reward is repeated.
ttt_credits_award_repeat "1"
// The number of credits recieved when a traitor kills a detective.
ttt_credits_detectivekill "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Detective credits
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Number of credits detective players start with.
ttt_det_credits_starting "1"
// The number of credits recieved when the detective kills a traitor.
ttt_det_credits_traitorkill "0"
// The number of credits recieved when a traitor dies.
ttt_det_credits_traitordead "1"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Admin Related
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Time in seconds a player is allowed to be idle after a round has started
// before he is moved to spectator.
ttt_idle_limit "90"
// Kicks player that change their name during a round.
ttt_namechange_kick "1"
// Time in minutes to ban players who changed their name. Set to 0 to disable.
ttt_namechange_bantime "2"
// Specifies how automatic bans made by TTT (low karma, namechange, etc)
// should be performed. This lets you specify whether TTT should use
// an admin plugin to ban, which can then make it easier to remove or adjust
// those bans using your admin plugin's interface.
ttt_ban_type "ulx"

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Miscellaneous
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// Causes ragdolls to collied with each other.
ttt_ragdoll_collide "0"

// Toggles locational 3D voicechat for living players.
ttt_locational_voice "1"

// Enable to make detectives get a special hat. May be buggy.
ttt_detective_hats "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_playercolor_mode "2"

// Enable to make the Discombobulator push force reliable for the thrower.
// This means you can easily perform discomb jumps,
// which is fun but exploitable on certain maps.
ttt_allow_discomb_jump "1"

// Spawns players in waves,
// where each wave spawns as many players as there are spawnpoints.
ttt_spawn_wave_interval "3"
Thanks alot, thought I had to change the lua for base TTTgamemode. So you can only have 1 config per line?

Users browsing this thread: 2 Guest(s)