Garry's Mod

Garry's Mod

TTT Custom Roles EMU
[SPAYED]Bud  [developer] 30 Jun, 2020 @ 3:55pm
How to Customize Your Server (CVARs)
With TTT EMU, I'm slowly trying to expand the server owner's ability to freely customize many, if not all, aspects of TTT. There are already a ton of TTT settings that can be changed using CVAR commands. Some are vanilla, some are custom roles, and some I've created.

What are CVARs?
If you're not familiar with using CVARs in Gmod or other source games, I suggest googling it, but here's the short answer[wiki.facepunch.com] and these are applied to your listenserver.cfg or server.cfg depending on if you are running a local server or dedicated server respectively.

Base TTT CVARs
Official TTT CVARs[www.troubleinterroristtown.com]

Base Custom Roles CVARs
Custom Roles CVARs[github.com]

Additional Custom Roles CVARS
Role Enablement
ttt_bouncer_enabled -- (Default: 1) Enables bouncer role
ttt_cultist_enabled -- (Default: 1) Enables cultist role
ttt_emt_enabled -- (Default: 1) Enables EMT role

ttt_bouncer_chance -- (Default: 0.25) Percentage chance the bouncer will spawn
ttt_cultist_chance -- (Default: 0.25) Percentage chance the cultist will spawn
ttt_emt_chance -- (Default: 0.25) Percentage chance the EMT will spawn

ttt_bouncer_required_innos -- (Default: 2) Number of innocent players for the bouncer to spawn
ttt_cultist_required_innos -- (Default: 2) Number of innocent players for the cultist to spawn
ttt_emt_required_innos -- (Default: 2) Number of innocent players for the EMT to spawn

Cultist Config
ttt_cultist_pledge_time -- (Default: 3) Number of seconds it takes to pledge to the cultist
ttt_cultist_shrine_ammo -- (Default: 3) Number of shrines the master cultist spawns with
ttt_cultist_pledge_health -- (Default: 105) Amount of health a cultist begins with on a successful pledge

EMT Config
ttt_emt_hot_initial -- (Default: 20) The immediate health boost from the EMT Healing Ray
ttt_emt_hot_amount -- (Default: 5) The amount of health received per interval from the Healing Ray HoT

Hypnotist Config
ttt_hypnotist_dot_initial -- (Default: 20) The immediate damage from the Hypnotist Poison Ray
ttt_hypnotist_dot_charges -- (Default: 5) The amount of health damage per interval from the Poison Ray DoT
ttt_cultist_shrine_name -- (Default: "The Almighty One") The deity name displayed for shrine related messages

Vampire Config
ttt_vampire_bite_interval -- (Default: 5) The interval of infection damage from bite
ttt_vampire_bite_damage -- (Default: 10) The damage per interval of bite
ttt_vamp_eat_health -- (Default: 100) The health boost from eating a corpse up to a max of 200

Other
ttt_revive_time -- (Default: 8) The number of seconds it takes a Hypnotist or an EMT to revive a player

ttt_exploration_rewards_enabled 1 -- (Default: 0) Enables Health Pots that spawn randomly around the map to encourage exploration [experimental]
Last edited by [SPAYED]Bud; 19 Sep, 2020 @ 5:26pm