Skip to content

ConVars

Filip Tomaszewski edited this page Sep 30, 2018 · 18 revisions
Name Values Description
sm_rtd2_version string RTD version. Do not touch it... or do... it's your funeral.
sm_rtd2_enabled 0/1 Enable or disable the plugin.
sm_rtd2_autoupdate 0/1 Should the plugin update automatically when Updater is installed?
sm_rtd2_reloadupdate 0/1 Should the plugin reload itself automatically while a new update is downloaded and installed?
Messages
sm_rtd2_log 0/1 Should the plugin's actions be logged.
sm_rtd2_chat binary Which chat messages should be shown.
sm_rtd2_showtriggers 0/1 Should the chat triggers be shown once they're typed?
sm_rtd2_showtime 0/1 Should the duration the perk was applied for be displayed?
Perk application
sm_rtd2_duration number Default time for the perk to last. This value can be overridden for any perk in rtd2_perks.custom.cfg
sm_rtd2_interval number Time in seconds a client has to wait to roll again after a perk has finished.
sm_rtd2_disabled string Enter the effects you'd like to disable, seperated by commas. You can use IDs, tokens or tags which occur in a single perk. ('0, toxic, sandvich' disables first 3)
Access & Triggers
sm_rtd2_accessflags string Admin flags which are required to use RTD. If blank, all is assumed.
sm_rtd2_insetup 0/1 Should players be able to roll in Setup?
sm_rtd2_triggers string Chat triggers which will initiate rolls, seperated by comma.
Modes & Restrictions
sm_rtd2_team 0/1/2 Restrict teams, 0 - No team restriction, 1 - Only BLU, 2 - Only RED.
sm_rtd2_mode 0/1/2 No restrain except the interval, 1 - Limit by rollers, 2 - Limit by rollers in team.
sm_rtd2_playerlimit number How many players could use RTD at once. Active only when RTD Mode is 1
sm_rtd2_teamlimit number How many players in each team could use RTD at once. Active only when RTD Mode is 2
sm_rtd2_respawnstuck 0/1 Should players who's been detected stuck be automatically respawed (e.g. after Tiny Mann)?
Repeat caps
sm_rtd2_repeat_player number How many perks are not allowed to repeat, per player.
sm_rtd2_repeat_perk number How many perks are not allowed to repeat, globally.
Chances
sm_rtd2_chance 0.0-1.0 Chance of rolling a good perk.
sm_rtd2_dchance 0.0-1.0 Chance of rolling a good perk if roller is a donator.
sm_rtd2_donatorflag flag Admin flag required for donators.
HUD position
sm_rtd2_timerpos_x 0.0-1.0 The X position of the perk HUD timer display. -1.0 to center.
sm_rtd2_timerpos_y 0.0-1.0 The Y position of the perk HUD timer display. -1.0 to center.